scottrice / Ice

Application to automatically add ROMs to Steam
http://scottrice.github.io/Ice/
MIT License
837 stars 96 forks source link

WiiU .RPX support #444

Open WeHaveFunHere opened 7 years ago

WeHaveFunHere commented 7 years ago

Some WiiU games run off an .rpx file, I've attempted to add it to my console settings as seen below but ICE only adds the WUD/WUX files.

[Nintendo Wii U] nickname=Wii U emulator=Cemu extensions=wud, wux, rpx

If ICE could read the .rpx file and add it like the WUD/WUX that would be outstanding! I don't know if that's possible but I thought I'd check with the master!

On a separate note, I noticed that when Steam has an added shortcut from a folder that has the 'copyright' special character, running ICE will corrupt the shortcuts.vdf file in the /Steam/userdata folder.

Everything else is working outstanding! Thank you so much for all of your hard work!

adamblaine commented 7 years ago

Just wanted to second the request for *.rpx support, and also request that rpx files can be found within a game's folder structure. For example, the location: " ...\WiiU Games\Mario Kart 8 [AMKE01]\code\Turbo.rpx" Thanks!

HEspoke commented 7 years ago

ICE can find the rpx files. It's not a issue of ICE being able to find one file over another file. ICE will always find the file type you specify in the txt file. The issue is that someone needs to edit the code so that ICE will look into a folder and do it in a Recursive fashion. In other words, it needs to keep looking through a folder, then the subfolder after that, then the subfolder after that etc..... until it finds the RPX file. ICE cant look beyond a subdirectory and that's why it cant see your RPX file. I know nothing of coding, I wish that someone could teach me (like Scott Rice) and then I could fix the problem myself. Sorry!

vereis commented 7 years ago

Whilst not an solution per se, could you not just make a shortcut to the file you want in the outermost folder and reference it as .lnk?

If not, you could always write a bat file and reference the bat? It probably wouldn't be very difficult at all to write a script which will generate these for you.

HEspoke commented 7 years ago

I like your train of thought @Vereis . but unfortunately I have exhausted all of the symbolic link options I could think of last month. The symbolic link works if you were to run it directly through the emulator but it fails when running it through Steam. If you could figure and test out a solution that uses a .lnk that would be great and please post it. Thanks

vereis commented 7 years ago

I'll work on something since I needed something similar to run Dolphin as a shortcut so I can start it minimised :) I'll see what I can come up with.

HEspoke commented 7 years ago

473 Please check out this post. SRM works with every emulator, including CEMU.