nuhrin / pandafe

"Universal" SDL frontend for Pandora
GNU General Public License v3.0
5 stars 0 forks source link

Support for new platform "Nintendo DS" and new emulator "Drastic" #1

Closed porg closed 11 years ago

porg commented 11 years ago

Tried to add it through the "platform > new" procedure, but failed. Just launched DraStic but not the rom. Guess the call arguments must be customized. Surely not a big deal for you, as you got this right with other emus ;-)

nuhrin commented 11 years ago

I took a quick look at this, but Drastic requires the DS bios files, and while I do have a DS sitting around I haven't had the time to try extracting the bios files. So, I wasn't able to determine one way or another whether its going to be possible.

I will say though that's it didn't look good. Drastic doesn't seem to support specifying rom or options on the command line. It may be just that the check for bios files trumps everything else, but the stdout messages when run with various arguments do not give any indication that the arguments were parsed in any way.

porg, could you test this for us when you get the chance? Either mount the pnd directly or using pandafe to get a terminal inside the mounted pnd (edit the custom command, choose terminal). Then try running the binary with a rom given on the command line.

I will eventually get around to getting the bios files installed and testing myself, but you could almost certainly beat me to it.

porg commented 11 years ago

I have the proper BIOS file installed. /mnt/utmp/DraStic/drastic /path/to/rom.zip worked perfectly fine. Drastic starts with the given rom.

Therefore the issues you experienced likely have been purely related to not having a proper BIOS file.

nuhrin commented 11 years ago

Thanks for your help with that. It did work just fine and the custom command is about as simple as could be.

Take a look at the committed Program definition. All I did is add the "$@" to the call, which passes every argument through to ./drastic (with each argument quoted to account for spaces and such in filenames). When trying to add a new program, that's a good first step and often all it takes. Some programs require other options or workarounds to get them to start straight into the game, or with fullscreen, etc, but happily DraStic was easy here.

Since presumably folks would like to use this sooner then later, without going through the manual motions, I'll put out a new pnd for this. I'd like get fixes in for #3 and #9 first, since those are bugs, but if I can't find time for that soon I'll just go ahead with a release.

Thanks again.