|
Post by papazark on Mar 22, 2009 12:48:46 GMT -5
Hello there I'm using PSX emu with a multi emu frontend, and I wanted to use a different memory card for every game. Since I'm launching psxfin from the command line, I was wondering if it was possible to select the memory card to use (Slot 1 - cards/GAMENAME.bin) I guess I could modify the .ini before launching the game, but that would be messy
|
|
|
Post by Ultima on Mar 22, 2009 15:30:53 GMT -5
Run the emulator from the commandline with the -? commandline switch to see all of the commandline options.
In particular, what you're looking for is: -a<slot>,<fname> Insert memory card
<slot> is a zero-based slot index (0 for slot 1, 1 for slot 2)
<fname> is the path+file to the memory card file. Relative paths can be used, but whether you use an absolute or relative path, make sure it doesn't contain spaces. If it does, either rename the portions of the path that contain spaces, or use the 8.3 short file+path. Why? The commandline interpreter doesn't support the use of quotes around the <fname> parameter (as most users might expect would encapsulate paths with spaces).
|
|
|
Post by papazark on Mar 22, 2009 17:27:06 GMT -5
Don't know how I missed that ! Thanks for the help !
|
|
|
Post by papazark on Mar 23, 2009 18:01:37 GMT -5
Ok, I tested and it worked like a charm. Except the 'no space' limitation wich is very annoying.
ISO have a lot of spaces in the file names, and since the .cue are in their own folder, the short name is always blahhh~1. So, I end up with duplicates in the cards folder (a lot of dragon~1 for example)
Any idea if the Author sees that as a limitation worthy of being fixed ?
|
|
|
Post by Gamesoul Master on Mar 24, 2009 9:49:38 GMT -5
I hate that limitation as much as anybody else (I like using full names like "Final Fantasy VII", "Legend of Legaia", etc). I highly doubt that pSX Author will change that particular aspect, since he would've probably done so by now if he intended to.
You really have two solutions at this point. You can either change the filenames to be shorter (using my last example again, you could go with names like "FFVII", "LoL", etc). Your other option would be to have your frontend load Ultima's pSX Frontend instead. Depending on your frontend, you could also just have it call "Advanced shortcuts" created by Ultima's pSX Frontend (which would start pSX right away, but with the pre-defined settings you chose beforehand).
Purely out of curiousity, what multi-emulator frontend are you using?
|
|
|
Post by papazark on Mar 24, 2009 10:41:00 GMT -5
I don't want to change the file names since they are linked to a .dat file and I want to stay in sync with it (redump PSX dat) I also plan on adding stuff from emumovies, and they should all be named the same way. Having my frontend calling another frontend to call the actual emulator seems overkill and I'd prefer to avoid that too How does Utlima frontend works behind ? Is it generating a temporary psx.ini before launching the emu ? (can't test right now sorry) Does the memcard file support spaces in the .ini ? For info, the front end I'm using is GameEx, and I'm quite happy with it
|
|
|
Post by papazark on Mar 28, 2009 19:36:49 GMT -5
Just for Info, I finally got it working through some scripting. I'm just calling a script that replaces 'spaces' with 'underscores', and simplify the game name to remove references to the disk number, and then calls psx executable.
Thanks for the help guys
|
|
|
Post by Gamesoul Master on Mar 28, 2009 19:45:52 GMT -5
Hey, we didn't do much... sounds like you found your own solution... Just for reference, pSX Frontend has it's own .ini file for settings. What it does is directly modify pSX's .ini file as needed (thus allowing you to have memory cards with spaces, since pSX *can* handle them... just not through the commandline).
|
|