DrMoney Posted April 28, 2012 Posted April 28, 2012 ..\HyperSpin\Emulators\Super Nintendo Entertainment System\Roms\ I use relative for my portable hard drive so it's easier to transfer between builds. I point the program at my root Hyperspin folder (M:\Hyperspin\) whenever I load it up. TUTORIAL!: Xpadder and You If you're super into using genuine controllers for emulation check THIS GUY out.
BladeZX Posted April 28, 2012 Author Posted April 28, 2012 If you were to change your relative paths to exclude the HyperSpin folder then if I detect a relative path (starts with ..\) I could replace that with your main HS folder. Let me know as that is not a big change HyperPin Manager | HyperSpin Manager | HyperSpin Checker | HyperSpin Renamer ASRock Z77 Extreme4 MB | Core i5 3570K | Coolermaster Hyper212 EVO CPU cooler | 16GB RAM | OCZ Vertex 4 128Gb SSD (Windows 8) | OCZ Vertex 4 256Gb SSD (HS and all emulators and media) | Gigabyte GTX670 2Gb video card | 27" ASUS LED monitor | 650W Corsair PSU
DrMoney Posted April 28, 2012 Posted April 28, 2012 Do you mean in HyperHQ? If so, then I don't think it will let me. Sorry if I'm misunderstanding you still. Some other thoughts were to have it only ask for the Hyperspin folder once and write it to a settings file so you don't have to navigate to the same path every time. Secondly, if instead of having a Generate button on the Reports window, just have it load the report whenever you load a wheel from the dropdown menu kind of like how HyperHQ does. Lastly, if it would be possible to click the field headers (Game/Rom/Wheel/etc.) to sort the list by whatever field is clicked similar to what happens when you click "Type" or "Date modified" in Windows. None of these are super important they just came to mind as convenient while I was messing with it. Thank you very much taking the time to go through the trouble of sorting all this out by the way, I really appreciate it. TUTORIAL!: Xpadder and You If you're super into using genuine controllers for emulation check THIS GUY out.
jonnieboyrevel Posted April 28, 2012 Posted April 28, 2012 Just wanted to say thanks for this. A fantastic program, just what I was looking for.
BladeZX Posted April 28, 2012 Author Posted April 28, 2012 Do you mean in HyperHQ? If so, then I don't think it will let me. Sorry if I'm misunderstanding you still. Some other thoughts were to have it only ask for the Hyperspin folder once and write it to a settings file so you don't have to navigate to the same path every time. Secondly, if instead of having a Generate button on the Reports window, just have it load the report whenever you load a wheel from the dropdown menu kind of like how HyperHQ does. Lastly, if it would be possible to click the field headers (Game/Rom/Wheel/etc.) to sort the list by whatever field is clicked similar to what happens when you click "Type" or "Date modified" in Windows. None of these are super important they just came to mind as convenient while I was messing with it. Thank you very much taking the time to go through the trouble of sorting all this out by the way, I really appreciate it. I just posted build 1.0.10 on the first page. See if the relative path works for you now. I removed the Generate button on the reports page and when you change systems it will generate automatically now The hyperspin folder will be saved now to a settings.ini file in the app folder. Let me know how it works HyperPin Manager | HyperSpin Manager | HyperSpin Checker | HyperSpin Renamer ASRock Z77 Extreme4 MB | Core i5 3570K | Coolermaster Hyper212 EVO CPU cooler | 16GB RAM | OCZ Vertex 4 128Gb SSD (Windows 8) | OCZ Vertex 4 256Gb SSD (HS and all emulators and media) | Gigabyte GTX670 2Gb video card | 27" ASUS LED monitor | 650W Corsair PSU
DrMoney Posted April 28, 2012 Posted April 28, 2012 Everything works great now, thanks again BladeZX! This turning out to be a really promising little program. TUTORIAL!: Xpadder and You If you're super into using genuine controllers for emulation check THIS GUY out.
BladeZX Posted April 28, 2012 Author Posted April 28, 2012 Glad to hear it. Enjoy HyperPin Manager | HyperSpin Manager | HyperSpin Checker | HyperSpin Renamer ASRock Z77 Extreme4 MB | Core i5 3570K | Coolermaster Hyper212 EVO CPU cooler | 16GB RAM | OCZ Vertex 4 128Gb SSD (Windows 8) | OCZ Vertex 4 256Gb SSD (HS and all emulators and media) | Gigabyte GTX670 2Gb video card | 27" ASUS LED monitor | 650W Corsair PSU
Rain Posted April 29, 2012 Posted April 29, 2012 Relative paths are not working for me neither, and relative paths are all I use. Though I am sure you do not need this, here is a spot of code I use to handle relative paths in my HyperSpin sub applications: Language C# [color=#0000ff]if[/color] (RomFolder.StartsWith([color=#b22222]"."[/color])) { RomFolder = System.IO.[color=#0000ff]Path[/color].GetDirectoryName(HyperSpinBaseLocation + RomPath); } [b] Return String: [/b] [color=#0000ff]private string[/color] GetFolderLocation([color=#0000ff]string[/color] RootFolder, [color=#0000ff]string[/color] SubFolder) { [color=#0000ff]string[/color] DestinationDirectory = [color=#0000ff]string[/color].Empty; DestinationDirectory = System.IO.[color=#0000ff]Path[/color].GetDirectoryName(RootFolder + SubFolder); [color=#0000ff]return[/color] DestinationDirectory; } [i]Call Using: [/i] [color=#0000FF]if[/color] (RomFolder.StartsWith([color=#B22222]"."[/color])) { RomFolder = GetFolderLocation(HyperSpinDirectory, SystemFolder); } For instance if: HyperSpinBaseLocation = "c:\HyperSpin\" RomPath = "..\bin\roms\nintendo entertainment system\" Then the routine would return the true path which would be "c:\HyperSpin\bin\roms\nintendo entertainment system\". Anyhow, just thought that I would share that information with you. I really like the concept of this program, seems simple yet effecient! I can't wait to see relative paths working in the program, love it so far, good work. If you ever need help with anything just ask. Happy coding, and take care!
BladeZX Posted April 29, 2012 Author Posted April 29, 2012 Relative paths are not working for me neither, and relative paths are all I use. Though I am sure you do not need this, here is a spot of code I use to handle relative paths in my HyperSpin sub applications:Language C# [color=#0000ff]if[/color] (RomFolder.StartsWith([color=#b22222]"."[/color])) { RomFolder = System.IO.[color=#0000ff]Path[/color].GetDirectoryName(HyperSpinBaseLocation + RomPath); } [b] Return String: [/b] [color=#0000ff]private string[/color] GetFolderLocation([color=#0000ff]string[/color] RootFolder, [color=#0000ff]string[/color] SubFolder) { [color=#0000ff]string[/color] DestinationDirectory = [color=#0000ff]string[/color].Empty; DestinationDirectory = System.IO.[color=#0000ff]Path[/color].GetDirectoryName(RootFolder + SubFolder); [color=#0000ff]return[/color] DestinationDirectory; } [i]Call Using: [/i] [color=#0000FF]if[/color] (RomFolder.StartsWith([color=#B22222]"."[/color])) { RomFolder = GetFolderLocation(HyperSpinDirectory, SystemFolder); } For instance if: HyperSpinBaseLocation = "c:\HyperSpin\" RomPath = "..\bin\roms\nintendo entertainment system\" Then the routine would return the true path which would be "c:\HyperSpin\bin\roms\nintendo entertainment system\". Anyhow, just thought that I would share that information with you. I really like the concept of this program, seems simple yet effecient! I can't wait to see relative paths working in the program, love it so far, good work. If you ever need help with anything just ask. Happy coding, and take care! Thanks Rain I will check it into and fix that up. HyperPin Manager | HyperSpin Manager | HyperSpin Checker | HyperSpin Renamer ASRock Z77 Extreme4 MB | Core i5 3570K | Coolermaster Hyper212 EVO CPU cooler | 16GB RAM | OCZ Vertex 4 128Gb SSD (Windows 8) | OCZ Vertex 4 256Gb SSD (HS and all emulators and media) | Gigabyte GTX670 2Gb video card | 27" ASUS LED monitor | 650W Corsair PSU
BladeZX Posted April 29, 2012 Author Posted April 29, 2012 I posted a new build (1.0.11) in the first post. Hopefully relative paths are working. Please try it and let me know Thanks HyperPin Manager | HyperSpin Manager | HyperSpin Checker | HyperSpin Renamer ASRock Z77 Extreme4 MB | Core i5 3570K | Coolermaster Hyper212 EVO CPU cooler | 16GB RAM | OCZ Vertex 4 128Gb SSD (Windows 8) | OCZ Vertex 4 256Gb SSD (HS and all emulators and media) | Gigabyte GTX670 2Gb video card | 27" ASUS LED monitor | 650W Corsair PSU
Rain Posted April 29, 2012 Posted April 29, 2012 Now were cooking, latest build works splendid! Great job on the application, simply does what it's supposed to do; I love it! Thanks for the hard work Blade!
BladeZX Posted April 29, 2012 Author Posted April 29, 2012 Thanks Rain. It is only a minor contribution compared to what you have done for us I tried to make it easy. Enjoy HyperPin Manager | HyperSpin Manager | HyperSpin Checker | HyperSpin Renamer ASRock Z77 Extreme4 MB | Core i5 3570K | Coolermaster Hyper212 EVO CPU cooler | 16GB RAM | OCZ Vertex 4 128Gb SSD (Windows 8) | OCZ Vertex 4 256Gb SSD (HS and all emulators and media) | Gigabyte GTX670 2Gb video card | 27" ASUS LED monitor | 650W Corsair PSU
BladeZX Posted April 29, 2012 Author Posted April 29, 2012 You may want to try the HyperSpin Manager app I wrote as well. I use both of these together. Hyperspin Manager will allow to fix the issues found by the checker. HyperSpin Manager HyperPin Manager | HyperSpin Manager | HyperSpin Checker | HyperSpin Renamer ASRock Z77 Extreme4 MB | Core i5 3570K | Coolermaster Hyper212 EVO CPU cooler | 16GB RAM | OCZ Vertex 4 128Gb SSD (Windows 8) | OCZ Vertex 4 256Gb SSD (HS and all emulators and media) | Gigabyte GTX670 2Gb video card | 27" ASUS LED monitor | 650W Corsair PSU
emb Posted May 4, 2012 Posted May 4, 2012 Relative paths are not working for me neither, and relative paths are all I use. Though I am sure you do not need this, here is a spot of code I use to handle relative paths in my HyperSpin sub applications:Language C# [color=#0000ff]if[/color] (RomFolder.StartsWith([color=#b22222]"."[/color])) { RomFolder = System.IO.[color=#0000ff]Path[/color].GetDirectoryName(HyperSpinBaseLocation + RomPath); } [b] Return String: [/b] [color=#0000ff]private string[/color] GetFolderLocation([color=#0000ff]string[/color] RootFolder, [color=#0000ff]string[/color] SubFolder) { [color=#0000ff]string[/color] DestinationDirectory = [color=#0000ff]string[/color].Empty; DestinationDirectory = System.IO.[color=#0000ff]Path[/color].GetDirectoryName(RootFolder + SubFolder); [color=#0000ff]return[/color] DestinationDirectory; } [i]Call Using: [/i] [color=#0000FF]if[/color] (RomFolder.StartsWith([color=#B22222]"."[/color])) { RomFolder = GetFolderLocation(HyperSpinDirectory, SystemFolder); } For instance if: HyperSpinBaseLocation = "c:\HyperSpin\" RomPath = "..\bin\roms\nintendo entertainment system\" Then the routine would return the true path which would be "c:\HyperSpin\bin\roms\nintendo entertainment system\". Anyhow, just thought that I would share that information with you. I really like the concept of this program, seems simple yet effecient! I can't wait to see relative paths working in the program, love it so far, good work. If you ever need help with anything just ask. Happy coding, and take care! Sorry to bring up an older post. FYI, it can be done more efficiently...figured a little food for thought wouldn't hurt any: installPath = "c:\HyperSpin"; romPath = "..\some\relative\path"; if (!Path.IsPathRooted(romPath)) { romPath = Path.GetFullPath(Path.Combine(installPath, romPath)); } romPath will now always be the absolute path instead of the relative path. %5BSIGPIC%5D[/sIGPIC] Download HyperSpin Tools and check out my MAME cabinet
Halfaworldaway Posted May 4, 2012 Posted May 4, 2012 Great program, thanks BladeZX, keep up the good work.
Bartymouse Posted May 10, 2012 Posted May 10, 2012 Thanks for your Software! i have a little problem (if i did something wrong, you may throw bananas or something elese at me) an error message appears when my "Nintendo Nes.xml" is scanned - this message appears also with hyperspin manager at the same position. this is the error message: "Caught this exception parsing xml file (C:\HyperSpin\Databases\Nintendo NES\Nintendo NES.xml)--> Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 387, Position 46." the error message appears also on other xml files, whenever a "&" is used (i´m using Windows XP SP3 in german) this is the line 387 in my "Nintendo Nes.xml" <game name="Sesame Street - Big Bird's Hide & Speak (USA)" index="" image=""> Position 46 should be the " " after the "&" i created the xml with ROM2XML. windows is up to date (no updates available with microsoft update)
BladeZX Posted May 11, 2012 Author Posted May 11, 2012 Make sure to change all & characters to & HyperPin Manager | HyperSpin Manager | HyperSpin Checker | HyperSpin Renamer ASRock Z77 Extreme4 MB | Core i5 3570K | Coolermaster Hyper212 EVO CPU cooler | 16GB RAM | OCZ Vertex 4 128Gb SSD (Windows 8) | OCZ Vertex 4 256Gb SSD (HS and all emulators and media) | Gigabyte GTX670 2Gb video card | 27" ASUS LED monitor | 650W Corsair PSU
Bartymouse Posted May 11, 2012 Posted May 11, 2012 sure, that would be possible, but i thought maybe the developer would like to fix this.
BladeZX Posted May 29, 2012 Author Posted May 29, 2012 Try the new version in the first post. I have added some code that hopefully should fix this on the fly. Let me know HyperPin Manager | HyperSpin Manager | HyperSpin Checker | HyperSpin Renamer ASRock Z77 Extreme4 MB | Core i5 3570K | Coolermaster Hyper212 EVO CPU cooler | 16GB RAM | OCZ Vertex 4 128Gb SSD (Windows 8) | OCZ Vertex 4 256Gb SSD (HS and all emulators and media) | Gigabyte GTX670 2Gb video card | 27" ASUS LED monitor | 650W Corsair PSU
ScottEK Posted December 28, 2012 Posted December 28, 2012 This tool works great but it seems the recent change to .mp4 videos has killed the video checker. Any way to update the program to check for .flv & .mp4?
BladeZX Posted December 28, 2012 Author Posted December 28, 2012 OK I have updated the code and converted it to VB.Net 4.0 as well HyperPin Manager | HyperSpin Manager | HyperSpin Checker | HyperSpin Renamer ASRock Z77 Extreme4 MB | Core i5 3570K | Coolermaster Hyper212 EVO CPU cooler | 16GB RAM | OCZ Vertex 4 128Gb SSD (Windows 8) | OCZ Vertex 4 256Gb SSD (HS and all emulators and media) | Gigabyte GTX670 2Gb video card | 27" ASUS LED monitor | 650W Corsair PSU
Recommended Posts
Archived
This topic is now archived and is closed to further replies.