Kodi Community Forum
[RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Game Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=291)
+---- Thread: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs (/showthread.php?tid=70115)



- malte - 2010-12-15

Thanks a lot but I have to ask you again. The logs don't seem to be complete and you have "use solo" turned off.

Could you please do this:

- Disable "Escape cmd" in Addon Settings
- Enable "Use Emu solo" in Addon Settings
- Launch a game in RCB
- Post complete xbmc.log and xbmc.old.log at pastebin.com or pastebin.org (you can just copy and paste the complete files there and post the links here)
- after launching XBMC you should delete the file autoexec.py from your XBMC userdata folder (otherwise it will start RCB every time again)

With this I can find out what command is used to launch games on your Mac and (so I hope) why RCB does not delete the autoexec.py from your system.


- smush420 - 2010-12-15

Thanks and sorry for the trouble

http://pastebin.com/MAHD6yKe

http://pastebin.com/yrht7bQh


- zippenpipper - 2010-12-15

is there currently any way to exit the game and go back into xbmc?


- wimpy - 2010-12-15

zippenpipper Wrote:is there currently any way to exit the game and go back into xbmc?

on windows i just press alt-f4 in the emu (or ESC for some) and it opens xbmc again. (xbmc keeps running in the background)


- Tomkun - 2010-12-15

wimpy Wrote:on windows i just press alt-f4 in the emu (or ESC for some) and it opens xbmc again. (xbmc keeps running in the background)

You can use eventghost to set up a macro too. That way you can map it to a remote control button.


- malte - 2010-12-15

smush420 Wrote:Thanks and sorry for the trouble

http://pastebin.com/MAHD6yKe

http://pastebin.com/yrht7bQh
No problem. Thanks for testing this out.

Problem 1 (Game Launching):
Could you try to launch these commands in a terminal to check if it works like this on a Mac (different ways of handling whitespaces in rom path)?

Code:
Non-solo mode:
"/Applications/Snes9x/Snes9x.app/Contents/MacOS/Snes9x" "/Applications/Snes9x/ROMS/Mega Man X.smc"
/Applications/Snes9x/Snes9x.app/Contents/MacOS/Snes9x /Applications/Snes9x/ROMS/Mega\ Man\ X.smc

Solo Mode (Only works if XBMC is running in the background):
"/Users/danlitwin/Library/Application Support/XBMC/addons/script.games.rom.collection.browser/applaunch.sh" "/Applications/Snes9x/Snes9x.app/Contents/MacOS/Snes9x" "/Applications/Snes9x/ROMS/Mega Man X.smc"
/Users/danlitwin/Library/Application\ Support/XBMC/addons/script.games.rom.collection.browser/applaunch.sh /Applications/Snes9x/Snes9x.app/Contents/MacOS/Snes9x /Applications/Snes9x/ROMS/Mega\ Man\ X.smc


Problem 2 (not deleting autoexec.py):
Sorry, wrong log again (my fault, I thought RCB would manage to terminate XBMC in solo mode). Could you please try to launch a game in solo mode again and then exit and restart XBMC? It should launch RCB again until you delete the autoexec.py. But I need the xbmc.log of this first launch after restarting XBMC. I need to know why RCB does not manage to delete (or restore) the file autoexec.py at startup.


- smush420 - 2010-12-15

Tried those commands, none of them worked. The second one for non-solo mode launched the app but not the rom. None of the others did anything.

http://pastebin.com/gzQthZEA

http://pastebin.com/8JFZ1zvE


- malte - 2010-12-15

Thats strange. Do you see any errors in the terminal when launching the rom? And can you play the rom if you select it from snes?

Any more mac users here that can successfully launch roms from RCB and/or terminal? I need to know how the correct command line on mac should look like.

About the autoexec problem: It looks like the file would be deleted. But maybe I have to add some more log info into the next version. I can't say for sure that deletion was successful. And if you say RCB still autolaunches at XBMC startup it sounds like it is not deletedSmile


- smush420 - 2010-12-16

If I load the rom manually in Snes9x it works fine. No errors come up in the terminal when I run the command.


- elcid20 - 2010-12-16

Hey Malte, I'm having the same issue as smush420. I'm also running the latest Dharma on a Mac. Snes9x seems to launch, but the ROM doesn't load. It must be a Mac thing, cause I've had the same problem with ALA.

Smush420, can you tell me where to find the XBMC.log file so I can post?


- malte - 2010-12-16

Thanks for the info. Maybe it has problems with spaces on the mac? I know ryo had this working with the solo option but I am not sure if he had to do any special tricks.

Maybe you can play around a a bit with using "" or without or try to launch a rom without whitespaces.

Did you also try another emulator? Not sure if it is a general mac command line problem or just snes9x.

If you find a way to launch the game on a Mac I will try to reflect that in the code.


- TheUriah - 2010-12-16

Just wanted to say that this is an awesome plugin that I've been really liking.

One thing I haven't been able to figure out is this:

The wizard that runs the first time you run the program is GREAT, and makes adding emulators really intuitive and easy. Why can't we then use that method to add (or remove) emulators after the first run? (which is a MAJOR pain)


- malte - 2010-12-16

TheUriah Wrote:The wizard that runs the first time you run the program is GREAT, and makes adding emulators really intuitive and easy. Why can't we then use that method to add (or remove) emulators after the first run? (which is a MAJOR pain)
Just a matter of time. But it is one of the next features on my list.


- quakes - 2010-12-16

Just wanted to let you know I sort of forked RCB (well, I wrote 98% from scratch, but was inspired by RCB) into my own project, Emulatopia, to scratch my particular itch. Just wanted to say thanks to you; I feel I wouldn't have gotten very far (or at least it would've taken me twice as long) if I didn't have some working code to look at while working on the add-on. XBMC is really abysmally documented.

Anyway, thanks again malte.


- malte - 2010-12-16

Damn. I thought I have already asked you if you would like to help me with developing RCB but I only sent this to jimyx and carabalb. I guess it is too late nowSmile

EDIT: oh, and jimy and carabalb: don't misundertsand the "only"Big Grin

I am a bit sorry that you took this route. Would have been nicer to work together on the same thing in my oppinion. But anyway, I hope you have fun with it.