![]() |
|
Unexpected Parameter with Emulation Station - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support) +--- Forum: Support (https://forums.dolphin-emu.org/Forum-support) +--- Thread: Unexpected Parameter with Emulation Station (/Thread-unexpected-parameter-with-emulation-station) |
Unexpected Parameter with Emulation Station - Slannder - 12-15-2016 When I load Dolphin i can play my roms no problem but when i try and load the rom through Emulation Station (ES) it gis me an Unexpected Parameter 'Mario' error and not sure how to fix it. The forums over at ES are terrible and full of spam so I'm here for some help if anyone knows what's going on...My System code line in ES is this <system> <name>gc</name> <fullname>Nintendo GameCube</fullname> <path>~\.emulationstation\roms\gc</path> <extension>.iso .ISO .gcm .GCM</extension> <command>C:\Users\"Slannder"\.emulationstation\systems\dolphin\Dolphin.exe -e "%ROM_RAW%"</command> <platform>gc</platform> <theme>gc</theme> </system> RE: Unexpected Parameter with Emulation Station - Slannder - 12-15-2016 Ok I fixed that issue, the rom came with spaces in the name that i had to delete but now when I load the rom through ES the Dolphin window opens with the Banner of Super Mario Sunshine but doesnt actually load it, just sits their at that screen RE: Unexpected Parameter with Emulation Station - JosJuice - 12-15-2016 Those quote marks around "Slannder" look suspicious. Does the folder name really have quote marks in it? EDIT: Nevermind I guess, since you solved it by removing the spaces. It should be possible to make it work even though there are spaces, though... RE: Unexpected Parameter with Emulation Station - Slannder - 12-15-2016 thats what i thought too, all my other roms with different systems all come with spaces and they load just fine...wierd. but i dont understand why when i click on the rom i wanna play through ES it loads up dolphin but then dolphin just sits their with the list of roms i have and doesnt load the one i selected in ES RE: Unexpected Parameter with Emulation Station - Shonumi - 12-15-2016 Next time be sure to rename your games properly when you dump them from their original discs. RE: Unexpected Parameter with Emulation Station - Slannder - 12-16-2016 i actually figured out the real reason i was getting Unexpected parameter errors on the 2nd name of any file with a space in the middle and also why ES wouldnt load the rom i told it to through dolphin, this line of code did Not have " " around Dolphin.exe <command>C:\Users\"Slannder"\.emulationstation\systems\dolphin\"Dolphin.exe" --batch --exec="%ROM_RAW%"</command> when I added them all the issues went away and my roms loaded just fine. No need to rename the files anymore RE: Unexpected Parameter with Emulation Station - JosJuice - 12-16-2016 That doesn't seem like the true reason. The intended way to do it is probably <command>C:\Users\Slannder\.emulationstation\systems\dolphin\Dolphin.exe --batch --exec="%ROM_RAW%"</command> RE: Unexpected Parameter with Emulation Station - Slannder - 12-16-2016 (12-16-2016, 12:59 AM)JosJuice Wrote: That doesn't seem like the true reason. The intended way to do it is probably <command>C:\Users\Slannder\.emulationstation\systems\dolphin\Dolphin.exe --batch --exec="%ROM_RAW%"</command> that's what i thought as well but if i enter that command i get Unexpected parameters on any rom that has a space in the name. and if i change the name to have no spaces ES will try and load the rom, Dolphin will start and then just sit their, if i add the " " around Dolphin.exe the error goes away and the rom loads through dolphin just fine RE: Unexpected Parameter with Emulation Station - envisaged0ne - 12-17-2016 When you have a space in the name, Windows tries to read it as two separate commands, and thus gives you an "unexpected parameter" error. When you put the command in quotes, it allows it to just run the command as it's all typed out and the program running it is happy. I have to keep similar things in mind when I create batch files to launch some of my games that have spaces in the names |