• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 360 361 362 363 364 ... 1197 Next »

Unexpected Parameter with Emulation Station
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Unexpected Parameter with Emulation Station
12-15-2016, 01:53 AM (This post was last modified: 12-15-2016, 02:00 AM by Slannder.)
#1
Slannder Offline
Junior Member
**
Posts: 5
Threads: 1
Joined: Dec 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>
Find
Reply
12-15-2016, 02:12 AM
#2
Slannder Offline
Junior Member
**
Posts: 5
Threads: 1
Joined: Dec 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
Find
Reply
12-15-2016, 02:14 AM (This post was last modified: 12-15-2016, 02:16 AM by JosJuice.)
#3
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,931
Threads: 7
Joined: Oct 2014
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...
Find
Reply
12-15-2016, 02:26 AM
#4
Slannder Offline
Junior Member
**
Posts: 5
Threads: 1
Joined: Dec 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
Find
Reply
12-15-2016, 12:02 PM
#5
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,512
Threads: 55
Joined: Dec 2011
Next time be sure to rename your games properly when you dump them from their original discs.
Website Find
Reply
12-16-2016, 12:16 AM
#6
Slannder Offline
Junior Member
**
Posts: 5
Threads: 1
Joined: Dec 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
Find
Reply
12-16-2016, 12:59 AM
#7
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,931
Threads: 7
Joined: Oct 2014
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>
Find
Reply
12-16-2016, 06:16 AM
#8
Slannder Offline
Junior Member
**
Posts: 5
Threads: 1
Joined: Dec 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
Find
Reply
12-17-2016, 12:20 AM
#9
envisaged0ne Offline
The Force Is Strong With This One
*****
Posts: 759
Threads: 15
Joined: Mar 2009
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
Windows 11 Home x64
Intel Core i7-10700
Nvidia Rtx 2060 6GB
32.0 GB DDR4 RAM
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode