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)



RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2013-01-24

e2zippo Wrote:Hey malte! Just thought I'd mention that yesterday I was playing around with RCB and the switch between windowed/fullscreen mode when launching & quiting a game worked flawlessy, it always switched back to fullscreen when quiting a game. And I haven't seen that weird bug when the gamelist went blank in quite some time either.
Although I did not change anything since your last report this is nice to hearSmile

e2zippo Wrote:The only issues I still have seem to be related to Aeon Nox, for instance, videos not playing.

And I can't start a game from their rom widget either.

Do you know if that is beeing looked into, if not I can notify them?
Starting games from widget is already fixed in RCB SVN and Nox Git. But both are not available as "official" releases yet.

Videos don't work here too. Phil65 knows about it, but I guess they have enough other things to do to get their new release ready. I will check this myself in the next days and see if I find anything. Otherwise we have to wait until the Aeon Nox guys have time again to check it.


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Ghostdivision - 2013-01-25

(2013-01-24, 13:58)malte Wrote:
krasenpaskaa Wrote:I am using zsnes. Maybe there is a fullscreen option but I can't see one.
There is a -v option. E.g. "-v 20" should set it to "1024x768 DS FULL" mode. You can check all options here: http://zsnes-docs.sourceforge.net/html/advanced.htm

Ghostdivision Wrote:This is my .bat file i am using maybe you could help me make the necessary adjustments?

After this im done and will have everything working!

@echo off

cd /d %~dp0
dolphin.exe /b /e %1
I am not sure if it works to have a .bat file that is launched via applaunch.bat. But I guess it should be possible. Elsewise you could copy and paste the parts from applaunch.bat in your dolphin.bat like this (not tested):
Code:
REM Is XBMC running?
taskkill /f /IM XBMC.exe

REM Wait for the kill
REM sleep

REM Launch app
cd /d %~dp0
dolphin.exe /b /e %1


REM SOMETIMES xbmc starts too fast, and on some hardware if there is still a millisecond of sound being used, XBMC starts witout sound and some emulators say there is a problem with the sound hardware. If so, remove comment:
REM sleep 1


REM Done? Restart XBMC
"%PROGRAMFILES%\XBMC\XBMC.exe"


Thanks for your help, unfortunately using this gives me that application error make sure the log is writeable error, which was fixed using the other bat files you posted for other emulators.

This last part always has to be difficult Sad



RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2013-01-25

Ok, I forgot about this. You could try this:

Code:
@echo off
Title Running %*

REM Set Variables
REM Change to Userdata Directory
cd /d "%XBMC_PROFILE_USERDATA%"
cd ..
set XBMCLaunchCmd="%XBMC_HOME%\XBMC.exe"
REM Check for portable mode
echo %XBMC_PROFILE_USERDATA%|find /i "portable_data">nul
if errorlevel 0 if not errorlevel 1 set XBMCLaunchCmd=%XBMCLaunchCmd% -p

echo Stopping XBMC...
echo.
taskkill /f /IM xbmc.exe>nul 2>nul
REM Give it a second to quit
cscript //B //Nologo "%cd%\addons\script.games.rom.collection.browser\Sleep.vbs" 1
echo Starting %*...
echo.
cd /d %~dp0
dolphin.exe /b /e %1

REM Restart XBMC
echo Restarting XBMC...
cscript //B //Nologo "%cd%\addons\script.games.rom.collection.browser\LaunchXBMC.vbs" %XBMCLaunchCmd%



RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Ghostdivision - 2013-01-25

Thanks again for your help, i dont get that error anymore, but xbmc is not launching when i close dolphin.

Yet it seems to be tracking the state, when i manually relaunch xbmc it does load back into rcb on the game where i left off at. If xbmc could relaunch when i close it, everything would be all set.




RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2013-01-25

You could try to replace this part:
Code:
%cd%\addons\script.games.rom.collection.browser
with the real path to your xbmc userdata folder:
Code:
C:\Users\yourname\AppData\Roaming\XBMC\userdata\addons\script.games.rom.collection.browser



RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Ghostdivision - 2013-01-26

Thanks! seems to be working, i had to change it slightly, rcb seemed to be in C:\Users\yourname\AppData\Roaming\XBMC\addons

not userdata for some reason. Did i screw something up?

If i click on user data i have an addon_data folder.
Also you mentioned your plan is to move the script files to the userdata folder next release so they dont get wiped out?

I assume i will need to be on my toes and change my path whenever you implement that update?


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Ghostdivision - 2013-01-26

I am on version 2.0.0 if that matters as well.


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Ghostdivision - 2013-01-26

You know what im an idiot, all i had to do was put /B /E "%ROM%" in arguments in RCB and it appears to all work



RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Ghostdivision - 2013-01-26

Well, I cant seem to win, everything was working on the surface and i was finally happy, now at times i am noticing after using solo mode and relaunching xbmc everything goes fine, but xbmc is now freezing sometimes when i exit out of rcb.

I have no idea whats going on, I launch a game, play game, exit the game, xbmc launches, i can browse rcb, then hit back to go into xbmc main menu and 50% of the time it will freeze exiting rcb.

Dont know if the log will say anything useful.

02:33:31 T:1404 NOTICE: RCB_INFO: Begin showPublisher
02:33:31 T:1404 NOTICE: RCB_INFO: Selected Console: 5
02:33:31 T:1404 NOTICE: RCB_INFO: begin showFilterControl: 800
02:33:31 T:1404 NOTICE: RCB_INFO: End showPublisher
02:33:31 T:1404 NOTICE: RCB_INFO: Begin showCharacterFilter
02:33:31 T:1404 NOTICE: RCB_INFO: End showCharacterFilter
02:33:31 T:1404 ERROR: EXCEPTION: Non-Existent Control 1100
02:33:31 T:1404 NOTICE: RCB_ERROR: Control with id: 1100 could not be found. Check WindowXML file. Error: Non-Existent Control 1100
02:33:31 T:1404 NOTICE: RCB_INFO: Begin showGames
02:33:31 T:1404 NOTICE: RCB_INFO: helper.buildLikeStatement
02:33:31 T:1404 NOTICE: showGames: load games from db in 50 ms
02:33:31 T:1404 NOTICE: RCB_INFO: showGames: load 2 games to list in 1 ms
02:33:31 T:1404 NOTICE: RCB_INFO: End showGames
02:33:31 T:1404 NOTICE: RCB_INFO: Begin showGameInfo
02:33:31 T:1404 NOTICE: RCB_INFO: End showGameInfo
02:33:31 T:1404 NOTICE: RCB_INFO: End loadViewState
02:33:31 T:1404 NOTICE: RCB_INFO: End onInit
02:33:32 T:1404 NOTICE: RCB_INFO: onAction: 1
02:33:32 T:1404 NOTICE: RCB_INFO: Begin showGameInfo
02:33:32 T:1404 NOTICE: RCB_INFO: End showGameInfo
02:33:34 T:1404 NOTICE: RCB_INFO: onAction: 92
02:33:34 T:1404 NOTICE: RCB_INFO: onAction: ACTION_CANCEL_DIALOG
02:33:34 T:1404 NOTICE: RCB_INFO: exit
02:33:34 T:1404 NOTICE: RCB_INFO: Begin saveViewState
02:33:34 T:1404 NOTICE: RCB_INFO: Begin saveViewMode
02:33:34 T:1404 ERROR: EXCEPTION: Non-Existent Control 1100
02:33:34 T:1404 NOTICE: RCB_ERROR: Control with id: 1100 could not be found. Check WindowXML file. Error: Non-Existent Control 1100
02:33:34 T:1404 NOTICE: RCB_INFO: End saveViewMode
02:33:34 T:1404 NOTICE: RCB_INFO: Begin helper.saveViewState
02:33:34 T:1404 NOTICE: RCB_INFO: End helper.saveViewState
02:33:34 T:1404 NOTICE: RCB_INFO: End saveViewState
02:33:34 T:1404 NOTICE: close Connection


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Ghostdivision - 2013-01-26

Well it appears related to my skin and rcb, I am using aeon mq4 and not sure why this is happening.

I dont really know how to diagnose it either, i am using the latest frodo version of the skin i dont know if you ever tested aeon mq4 with it?

I hate to give up the skin because i spent months customizing it.


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2013-01-26

Ghostdivision Wrote:Thanks! seems to be working, i had to change it slightly, rcb seemed to be in C:\Users\yourname\AppData\Roaming\XBMC\addons

not userdata for some reason. Did i screw something up?

If i click on user data i have an addon_data folder.
No, it is ok. I just wrote down the path from memory and I was wrong.

Ghostdivision Wrote:Also you mentioned your plan is to move the script files to the userdata folder next release so they dont get wiped out?

I assume i will need to be on my toes and change my path whenever you implement that update?
Yes, thats true. Then I will move the files to the userdata folder and my above suggestion of the path would be right again. Maybe I was already before the timeSmile

Ghostdivision Wrote:Well it appears related to my skin and rcb, I am using aeon mq4 and not sure why this is happening.

I dont really know how to diagnose it either, i am using the latest frodo version of the skin i dont know if you ever tested aeon mq4 with it?

I hate to give up the skin because i spent months customizing it.
I did test with MQ4 some time ago but I am quite sure that I did not test with solo mode intensively. I will check this when I find the time in the next days.



RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - pjbridger - 2013-01-26

Hi Guys,

Im new to XBMC and im trying to get mae working properly,

so far i have all roms imported and i have changed the .ini file and the emu prefs as per the guide by angelscry,

XBMC loads the romfile up to 100% but then the window closes and it goes straight back to XBMC

this is the log file,

14:30:46 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:47 T:5340 NOTICE: RCB_INFO: Begin launchEmu
14:30:47 T:5340 NOTICE: RCB_INFO: launching game with id: 30
14:30:47 T:5340 NOTICE: RCB_INFO: Begin launcher.launchEmu
14:30:47 T:5340 NOTICE: RCB_INFO: files for current game: [(u'C:\\EMULATORS\\mamev0.116u3\\roms\\mvsc.zip',)]
14:30:47 T:5340 NOTICE: RCB_INFO: launcher.buildCmd
14:30:47 T:5340 NOTICE: RCB_INFO: emuCommandLine: C:\EMULATORS\mamev0.116u3\mameppkgui.exe
14:30:47 T:5340 NOTICE: RCB_INFO: preCmdLine:
14:30:47 T:5340 NOTICE: RCB_INFO: postCmdLine:
14:30:47 T:5340 NOTICE: RCB_INFO: Getting Multiple Disc Parameter
14:30:47 T:5340 NOTICE: RCB_INFO: emuParams: -inipath "C:\EMULATORS\mamev0.116u3" "%ROM%"
14:30:47 T:5340 NOTICE: RCB_INFO: rom: C:\EMULATORS\mamev0.116u3\roms\mvsc.zip
14:30:47 T:5340 NOTICE: RCB_INFO: No precmd created.
14:30:47 T:5340 NOTICE: RCB_INFO: No postcmd created.
14:30:47 T:5340 NOTICE: RCB_INFO: cmd: call "C:\EMULATORS\mamev0.116u3\mameppkgui.exe" -inipath "C:\EMULATORS\mamev0.116u3" "C:\EMULATORS\mamev0.116u3\roms\mvsc.zip"
14:30:47 T:5340 NOTICE: RCB_INFO: precmd: call
14:30:47 T:5340 NOTICE: RCB_INFO: postcmd: call
14:30:47 T:5340 NOTICE: RCB_INFO: launchEmu on non-xbox
14:30:47 T:5340 NOTICE: RCB_INFO: screenMode: Windowed
14:30:47 T:5340 NOTICE: RCB_INFO: launch emu
14:30:48 T:5340 NOTICE: RCB_INFO: onAction: 100
14:30:50 T:5340 NOTICE: RCB_INFO: launch emu done
14:30:51 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:51 T:5340 NOTICE: RCB_INFO: End launcher.launchEmu
14:30:51 T:5340 NOTICE: RCB_INFO: End launchEmu
14:30:51 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:51 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:51 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:51 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:51 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:51 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:51 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:51 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:51 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:51 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:51 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:52 T:5340 NOTICE: RCB_INFO: Begin launchEmu
14:30:52 T:5340 NOTICE: RCB_INFO: launching game with id: 28
14:30:52 T:5340 NOTICE: RCB_INFO: Begin launcher.launchEmu
14:30:52 T:5340 NOTICE: RCB_INFO: files for current game: [(u'C:\\EMULATORS\\mamev0.116u3\\roms\\msh.zip',)]
14:30:52 T:5340 NOTICE: RCB_INFO: launcher.buildCmd
14:30:52 T:5340 NOTICE: RCB_INFO: emuCommandLine: C:\EMULATORS\mamev0.116u3\mameppkgui.exe
14:30:52 T:5340 NOTICE: RCB_INFO: preCmdLine:
14:30:52 T:5340 NOTICE: RCB_INFO: postCmdLine:
14:30:52 T:5340 NOTICE: RCB_INFO: Getting Multiple Disc Parameter
14:30:52 T:5340 NOTICE: RCB_INFO: emuParams: -inipath "C:\EMULATORS\mamev0.116u3" "%ROM%"
14:30:52 T:5340 NOTICE: RCB_INFO: rom: C:\EMULATORS\mamev0.116u3\roms\msh.zip
14:30:52 T:5340 NOTICE: RCB_INFO: No precmd created.
14:30:52 T:5340 NOTICE: RCB_INFO: No postcmd created.
14:30:52 T:5340 NOTICE: RCB_INFO: cmd: call "C:\EMULATORS\mamev0.116u3\mameppkgui.exe" -inipath "C:\EMULATORS\mamev0.116u3" "C:\EMULATORS\mamev0.116u3\roms\msh.zip"
14:30:52 T:5340 NOTICE: RCB_INFO: precmd: call
14:30:52 T:5340 NOTICE: RCB_INFO: postcmd: call
14:30:52 T:5340 NOTICE: RCB_INFO: launchEmu on non-xbox
14:30:52 T:5340 NOTICE: RCB_INFO: screenMode: Windowed
14:30:52 T:5340 NOTICE: RCB_INFO: launch emu
14:30:53 T:5340 NOTICE: RCB_INFO: onAction: 100
14:30:53 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:55 T:5340 NOTICE: RCB_INFO: launch emu done
14:30:56 T:5340 NOTICE: RCB_INFO: onAction: 107
14:30:56 T:5340 NOTICE: RCB_INFO: End launcher.launchEmu
14:30:56 T:5340 NOTICE: RCB_INFO: End launchEmu
14:31:04 T:5340 NOTICE: RCB_INFO: onAction: 107
14:31:04 T:5340 NOTICE: RCB_INFO: onAction: 107
14:31:04 T:5340 NOTICE: RCB_INFO: onAction: 107
14:31:04 T:5340 NOTICE: RCB_INFO: onAction: 107
14:31:04 T:5340 NOTICE: RCB_INFO: onAction: 107
14:31:04 T:5340 NOTICE: RCB_INFO: onAction: 107
14:31:04 T:5340 NOTICE: RCB_INFO: onAction: 107
14:31:04 T:5340 NOTICE: RCB_INFO: onAction: 107
14:31:04 T:5340 NOTICE: RCB_INFO: onAction: 107
14:31:04 T:5340 NOTICE: RCB_INFO: onAction: 107


Please help Smile




RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Maleficium - 2013-01-26

Hey Malte,

Any news about the problem in MobyGames scrapper that doesn't import any data if some field isn't present in MB webpage ?


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2013-01-27

pjbridger Wrote:Im new to XBMC and im trying to get mae working properly,

so far i have all roms imported and i have changed the .ini file and the emu prefs as per the guide by angelscry,

XBMC loads the romfile up to 100% but then the window closes and it goes straight back to XBMC
Does this happens with all games that you are trying to load? What happens when you invoke this command in a cmd window?
Code:
"C:\EMULATORS\mamev0.116u3\mameppkgui.exe" -inipath "C:\EMULATORS\mamev0.116u3" "C:\EMULATORS\mamev0.116u3\roms\mvsc.zip"
This should show you some errors in the cmd window if MAME is reporting anything.


Maleficium Wrote:Any news about the problem in MobyGames scrapper that doesn't import any data if some field isn't present in MB webpage ?
Sorry, no. Problem is, I guess this error is related to my basic "scraping engine" that I wrote at the beginning of RCB. While it does a nice job with setting up new sites or adapting little layout changes it is a pain to handle more complex scenarios or sometimes even little issues like missing properties. So, I am planning to rewrite the whole thing some day to get it more stable and reliable. Additionally, I want to redesign the database to reflect more complex scenarios like showing all game sequels, or all different releases of one game on the game details page. As this would also affect the scraping process, I think about doing these two things in one step to avoid doing similar work several times. I am still not sure how to proceed. This or that way, it is nothing that I would expect to happen too soon. But it is one of the things with high priority on my list so I hope it should happen at least.


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - pecospete - 2013-01-27

Hi guys!

Is there any way to make rcb's game list be persistent, making rcb load the game list virtually instantly? I seldom need to import/scrap new games, and having rcb take 2 or 3 three minutes to reload the mame games when you load rcb, or switch between filters in rcb is quite painful... It puts me off from actually _playing_ games.