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)



- danz0l - 2010-09-16

TheHazel3yes Wrote:You made the same mistake as I did (should be some post before yours) - solo mode must be FALSE in XBMC Live. For me it works really great except the issue with the missing list entries and the crashes caused by the used skin (Alaska).

OH i thought solo was supposed to be True, bugger, will try again.

Thought it was on False as default.


- danz0l - 2010-09-16

harryzimm Wrote:Im pretty sure fluxbox is installed on xbmc-live. You could create a script to start fluxbox and zsnes. Something like



Save it as zsnes.sh

sudo chmod +x zsnes.sh

Then point the executer addon to it.

cheers

Nice one, if i can't get this to work will try that later. Thanks mate.


- hikaricore - 2010-09-16

danz0l Wrote:I tried zsnes through commandline and it refuses to run on the xbmclive beta distro so all i can assume is the lack of a proper windows manager. Not sure how to proceed to get that running so will leave it for now. Ironically zsnes worked fine on 9.11.

1. Zsnes doesn't require a window manager to run only an X session
2. You clearly don't understand the proper meaning of ironic. :p


- danz0l - 2010-09-16

Well still can't get it to run anything Sad

Zsnes is installed and my config now looks like this

Code:
<config>
        <Consoles>
                <Console>
                        <name>Super Nintendo</name>
                </Console>
        </Consoles>    
        <RomCollections>
                <RomCollection>
                        <name>Super Nintendo</name>
                        <consoleName>Super Nintendo</consoleName>
                        <emulatorCmd>zsnes -m "%ROM%"</emulatorCmd>
               <useEmuSolo>False</useEmuSolo>
                        <romPath>home/xbmc/Testdata 0.6.x/Collection V3/Roms/*.sfc</romPath>
                </RomCollection>
        </RomCollections>
</config>



- Flomaster - 2010-09-16

Danz0l, I notice you dont have the debugging logging bit in your code...
I also notice you do not have the path to Zsnes in your <emulatorcmd> field

here is a config I was using that worked for me

Code:
<config>
        <RCBSettings>
                <logLevel>INFO</logLevel>
        </RCBSettings>
        <Consoles>
                <Console>
                        <name>Nintendo</name>
                </Console>
                <Console>
                        <name>Super Nintendo</name>
                </Console>
         </Consoles>
        <RomCollections>
                <RomCollection>
                        <name>NES</name>
                        <consoleName>Nintendo</consoleName>
                        <emulatorCmd>/usr/games/mednafen -fs 1 "%ROM%"</emulatorCmd>
                        <romPath>/mnt/1tb/Games/NES/*.zip</romPath>
                </RomCollection>
                <RomCollection>
                        <name>SNES</name>
                        <consoleName>Super Nintendo</consoleName>
                        <romPath>/mnt/1tb/Games/SNES/*.zip</romPath>
                        <emulatorCmd>/usr/bin/zsnes -m "%ROM%"</emulatorCmd>
                </RomCollection>
        </RomCollections>
</config>



- danz0l - 2010-09-16

Flomaster Wrote:Danz0l, I notice you dont have the debugging logging bit in your code...
I also notice you do not have the path to Zsnes in your <emulatorcmd> field

here is a config I was using that worked for me

Thanks Jason, didn't help Sad

I think zsnes will only run as root. How do i assign it xbmc as a user with run privileges ?


- Flomaster - 2010-09-16

have you added your user name to the admin account?

I don't think that makes a difference

xbmc@XBMCLive:~$ ls -l /usr/bin/zsnes
-rwxr-xr-x 1 root root 3229604 2009-08-21 15:13 /usr/bin/zsnes

my user is xbmc and opens Zsnes just fine

but if you want to try
Code:
sudo chown xbmc:xbmc /usr/bin/zsnes



-=Jason=-


- wimpy - 2010-09-16

Code:
19:35:54 T:2987903856 M:1183887360  NOTICE: RCB_INFO: Building file crcs done
19:35:54 T:2987903856 M:1183887360  NOTICE: RCB_INFO: Searching for game in parsed results:

Hmm i'm trying this on a linux machine now and it stalls after that line in xbmc.log.. Any tips Malte? Or anyone got a working "single-console" clean config.xml file?


- malte - 2010-09-16

Wimpy: Not sure what you are trying to do. Maybe you can give me your config.xml and a complete log?


- wimpy - 2010-09-16

Code:
<config>
    <RCBSettings>        
        <preventUnfilteredSearch>True</preventUnfilteredSearch>
        <logLevel>DEBUG</logLevel>
    </RCBSettings>
    <Consoles>        
        <Console>
            <name>Xbox</name>
        </Console>
    </Consoles>
    <FileTypes>
        <FileType>
            <name>cover</name>
            <type>image</type>
            <parent>game</parent>
        </FileType>
        <FileType>
            <name>action</name>
            <type>image</type>
            <parent>game</parent>
        </FileType>
        <FileType>
            <name>misc01</name>
            <type>image</type>
            <parent>game</parent>
        </FileType>
        <FileType>
            <name>title</name>
            <type>image</type>
            <parent>game</parent>
        </FileType>
        <FileType>
            <name>cartridge</name>
            <type>image</type>
            <parent>game</parent>
        </FileType>
        <FileType>
            <name>boxfront</name>
            <type>image</type>
            <parent>game</parent>
        </FileType>
        <FileType>
            <name>3dbox</name>
            <type>image</type>
            <parent>game</parent>
        </FileType>
        <FileType>
            <name>hyperspin</name>
            <type>image</type>
            <parent>game</parent>
        </FileType>         
        <FileType>
            <name>gameplay</name>
            <type>video</type>
            <parent>game</parent>
        </FileType>        
    </FileTypes>
    <RomCollections>        
        <RomCollection>            
            <name>Xbox</name>
            <consoleName>Xbox</consoleName>
            <searchGameByCRC>False</searchGameByCRC>
            <ignoreOnScan>False</ignoreOnScan>
            <useFoldernameAsCRC>True</useFoldernameAsCRC>
            <descriptionParserFile>/home/xbmc/XBOX/parser.xml</descriptionParserFile>
            <descFilePath>/home/xbmc/XBOX/synopsis.txt</descFilePath>
            <emulatorCmd>%ROM%</emulatorCmd>
            <romPath>/home/xbmc/XBOX/Games/default.xbe</romPath>                        
            <mediaPath type="cover">/home/xbmc/XBOX/Artwork/Box Front/%GAME%.png</mediaPath>
            <mediaPath type="3dbox">/home/xbmc/XBOX/Artwork/3d Boxart/%GAME%.png</mediaPath>
            <mediaPath type="action">/home/xbmc/XBOX/Artwork/Action/%GAME%.png</mediaPath>
            <mediaPath type="misc01">/home/xbmc/XBOX/Artwork/Misc01/%GAME%.png</mediaPath>
            <fileTypeForGameList>cover</fileTypeForGameList>
            <fileTypeForGameListSelected>3dbox</fileTypeForGameListSelected>
            <fileTypeForMainViewGameInfoBig>cover</fileTypeForMainViewGameInfoBig>            
            <fileTypeForMainViewBackground>action</fileTypeForMainViewBackground>                  
                        <fileTypeForMainViewGameInfoUpperLeft>cover</fileTypeForMainViewGameInfoUpperLeft>
                        <fileTypeForMainViewGameInfoUpperRight>3dbox</fileTypeForMainViewGameInfoUpperRight>
                        <fileTypeForMainViewGameInfoLowerLeft>action</fileTypeForMainViewGameInfoLowerLeft>
                        <fileTypeForMainViewGameInfoLowerRight>misc01</fileTypeForMainViewGameInfoLowerRight>
            <fileTypeForGameInfoViewBackground>action</fileTypeForGameInfoViewBackground>
            <fileTypeForGameInfoViewGamelist>cover</fileTypeForGameInfoViewGamelist>            
        </RomCollection>
    </RomCollections>
</config>

Just trying to import some XBOX xtras on my linux box. (I've created "fake" default.xbe files to trigger game findings). I'm doing this to ensure the collection is complete before we release it into the wild Smile

So basically it's a config file for a XBOX-games collection only. No other console etc needed.


- Flomaster - 2010-09-16

wimpy I notice this... I could be wrong, but in my config I point that to my NES and SNES emulators
<emulatorCmd>%ROM%</emulatorCmd>
its not poiting to the location of the the xbox emulator

-=Jason=-


- malte - 2010-09-16

@Jason: I think this is a copy of an xbox config. So, %ROM% should be right (if you don't want to launch the emuSmile)


@wimpy: ah, ok: may be an error with the synopsis. Can you upload synopsis and parserConfig?


- danz0l - 2010-09-16

Flomaster Wrote:have you added your user name to the admin account?

I don't think that makes a difference

xbmc@XBMCLive:~$ ls -l /usr/bin/zsnes
-rwxr-xr-x 1 root root 3229604 2009-08-21 15:13 /usr/bin/zsnes

my user is xbmc and opens Zsnes just fine

but if you want to try
Code:
sudo chown xbmc:xbmc /usr/bin/zsnes

-=Jason=-

mmm no xbmc hasn't got admin access rights. How do i do that jason ?


- Flomaster - 2010-09-16

danz0l Wrote:mmm no xbmc hasn't got admin access rights. How do i do that jason ?

sudo adduser [usernamehere] admin

so for me

sudo adduser xbmc admin

-=Jason=-


- danz0l - 2010-09-16

Thanks mate for the help.

well tried adding xbmc to admin account but xbmc already has admin access Sad So i tried changing the ownership to xbmc from root with

sudo chown xbmc:xbmc /usr/bin/zsnes

ownership is now root but RCB refuses to launch it Sad No idea what else to try to be honest.