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)



- Paybac - 2010-06-19

Wimpy's above workaround works, added all games except those with matching filenames of which it adds only one of the duped file. Might be nice to add acception to add dupes into the games list ??

Ok so the problem appears to be with the CRC's i checked the a selection of games CRC's from the SMS and they all matched fine with whats in the synopsis.

Let me know what else you want me to check or look at Malte about why CRC checking works for some systems and not for others.


- Hopelessone - 2010-06-19

Hi,

In Setup test scenario from http://code.google.com/p/romcollectionbrowser/wiki/Main#Installation

it says:
9. Start xbmc and launch RCB <- Where is it in Confluence?
I see it in AEON but it says script failed.. or what skin do you use?

Ubuntu 10.04 64bit

Thanks


- Paybac - 2010-06-19

Any skin that has a scripts menu, in confluence if scripts isn't part of the main menu then you will need to enable it in skin settings. then as long as you installed RCB into the XBMC\scripts\ folder then it should show up in the scripts menu.


- Hopelessone - 2010-06-19

OK I just deleted the whole .xbmc folder after backin up..

redid everything and I can see it now...

but get error on the screen that says:
Code:
error script failed! Rom Collection Browser V0.5

What can I do to get this going?

Thanks


- malte - 2010-06-19

Paybac: I tested your parser and your synopsis file. Everything is ok with it. The problem must be something else. I think I have lost some debug information with the latest version. I will try to get some more info about crc values in my logs again and then you could try to import a small set of roms again with debug log enabled. But actually I am working on a fullscreen video "browser" and it will need some more days to complete. I will upload it when it is done.

Did you have time to test the cut file creation when launching a game?

About xbox config: I will create three different commented configs: windows, linux and xbox. Xbox version will contain xbox examples.

About adding games with the same name: I think game names should be unique in rom collections. I will try to find out what is the problem with detecting the crc values. If this really doesn't work for some reason we can come back to these kind of work arounds.


@Hopelessone: As veysey mentioned in his post he had trouble to get this script working on 64bit. Can you check if your error in AEON is the same as his one? Something like: ERROR: Unable to load Rom Collection Browser V0.5/resources/platform_libraries/Linux/pysqlite2/_sqlite.so, reason: wrong ELF class: ELFCLASS32. You should find it in xbmc.log.

I am afraid that you will receive the same error if you try to launch it in confluence.


- Hopelessone - 2010-06-19

hi,

here's the log file maybe it will help..

Code:
15:50:10 T:140101329782816 M:3358445568   ERROR: Failed to create common scripts symlink.
15:50:10 T:140101329782816 M:3358318592  NOTICE: -----------------------------------------------------------------------
15:50:10 T:140101329782816 M:3358318592  NOTICE: Starting XBMC, Platform: GNU/Linux.  Built on May 23 2010 (SVN:26018)
15:50:10 T:140101329782816 M:3358318592  NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
15:50:10 T:140101329782816 M:3358318592  NOTICE: special://masterprofile/ is mapped to: /home/blade/.xbmc/userdata
15:50:10 T:140101329782816 M:3358318592  NOTICE: special://home/ is mapped to: /home/blade/.xbmc
15:50:10 T:140101329782816 M:3358318592  NOTICE: special://temp/ is mapped to: /home/blade/.xbmc/temp
15:50:10 T:140101329782816 M:3358318592  NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
15:50:10 T:140101329782816 M:3358318592  NOTICE: Log File is located: /home/blade/.xbmc/temp/xbmc.log
15:50:10 T:140101329782816 M:3358318592  NOTICE: -----------------------------------------------------------------------
15:50:11 T:140101329782816 M:3357671424  NOTICE: Setup SDL
15:50:11 T:140101329782816 M:3357298688  NOTICE: load settings...
15:50:11 T:140101329782816 M:3357298688  NOTICE: special://profile/ is mapped to: special://masterprofile/
15:50:11 T:140101329782816 M:3357298688  NOTICE: loading special://masterprofile/guisettings.xml
15:50:11 T:140101329782816 M:3357298688  NOTICE: Getting hardware information now...
15:50:11 T:140101329782816 M:3357298688  NOTICE: Checking resolution 11
15:50:11 T:140101329782816 M:3357298688  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
15:50:11 T:140101329782816 M:3357298688  NOTICE: Loaded playercorefactory configuration
15:50:11 T:140101329782816 M:3357298688  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
15:50:11 T:140101329782816 M:3357298688  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
15:50:11 T:140101329782816 M:3357298688  NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
15:50:11 T:140101329782816 M:3357298688  NOTICE: Default DVD Player: dvdplayer
15:50:11 T:140101329782816 M:3357298688  NOTICE: Default Video Player: dvdplayer
15:50:11 T:140101329782816 M:3357298688  NOTICE: Default Audio Player: paplayer
15:50:11 T:140101329782816 M:3357298688  NOTICE: special://masterprofile/sources.xml
15:50:12 T:140101329782816 M:3354980352  NOTICE: Using fbConfig[0]
15:50:12 T:140101329782816 M:3352190976  NOTICE: GL_VENDOR = Tungsten Graphics, Inc
15:50:12 T:140101329782816 M:3352190976  NOTICE: GL_RENDERER = Mesa DRI Intel(R) G41 GEM 20091221 2009Q4
15:50:12 T:140101329782816 M:3352190976  NOTICE: GL_VERSION = 2.1 Mesa 7.7.1
15:50:12 T:140101329782816 M:3352190976  NOTICE: GL_EXTENSIONS = GL_EXT_compiled_vertex_array GL_EXT_texture_env_add GL_ARB_copy_buffer GL_ARB_depth_texture GL_ARB_depth_clamp GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_half_float_pixel GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shading_language_120 GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_cull_vertex GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_framebuffer_blit GL_EXT_framebuffer_object GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ATI_blend_equation_separate GL_ATI_envmap_bumpmap GL_ATI_texture_env_combine3 GL_ATI_separate_stencil GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_texture_signed_rgba GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_depth_clamp GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1 GL_OES_read_format GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays
15:50:12 T:140101329782816 M:3351150592  NOTICE: UDisks: Added /mnt/hdd_2
15:50:12 T:140101329782816 M:3351150592  NOTICE: UDisks: Added /mnt/hdd_4
15:50:12 T:140101329782816 M:3351150592  NOTICE: UDisks: Added /mnt/hdd_3
15:50:12 T:140101329782816 M:3351150592  NOTICE: UDisks: Added /mnt/hdd_5
15:50:12 T:140101329782816 M:3351150592  NOTICE: UDisks: Added /home
15:50:12 T:140101329782816 M:3351150592  NOTICE: UDisks: Added /mnt/hdd_1
15:50:12 T:140101329782816 M:3351150592  NOTICE: start dvd mediatype detection
15:50:12 T:140101329782816 M:3351150592  NOTICE: initializing playlistplayer
15:50:12 T:140101329782816 M:3351150592  NOTICE: DONE initializing playlistplayer
15:50:12 T:140101329782816 M:3351150592  NOTICE: load default skin:[Confluence]
15:50:12 T:140101329782816 M:3346579456  NOTICE: initialize done
15:50:12 T:140101329782816 M:3346579456  NOTICE: Running the application...
15:50:12 T:140101329782816 M:3346579456  NOTICE: ES: Starting event server
15:50:12 T:140101329782816 M:3346444288  NOTICE: DS: Starting dbus server
15:50:12 T:140100923852560 M:3346444288  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
15:50:12 T:140100923852560 M:3346444288  NOTICE: UDP: Listening on port 9777
15:50:12 T:140100907067152 M:3346317312  NOTICE: DS: Starting DBUS server in Run Application aka thread
15:50:12 T:140101329782816 M:3346317312  NOTICE: starting zeroconf publishing
15:50:16 T:140100779026192 M:3333468160  NOTICE: -->Python Interpreter Initialized<--
15:50:17 T:140100779026192 M:3333468160   ERROR: Unable to load /home/blade/.xbmc/scripts/My Scripts/Rom Collection Browser V0.5/resources/platform_libraries/Linux/pysqlite2/_sqlite.so, reason: /home/blade/.xbmc/scripts/My Scripts/Rom Collection Browser V0.5/resources/platform_libraries/Linux/pysqlite2/_sqlite.so: wrong ELF class: ELFCLASS32
15:50:17 T:140100779026192 M:3333468160   ERROR: xbp_dlopen failed to load /home/blade/.xbmc/scripts/My Scripts/Rom Collection Browser V0.5/resources/platform_libraries/Linux/pysqlite2/_sqlite.so
15:50:17 T:140100779026192 M:3333468160  NOTICE: Traceback (most recent call last):
15:50:17 T:140100779026192 M:3333468160  NOTICE:   File "/home/blade/.xbmc/scripts/My Scripts/Rom Collection Browser V0.5/default.py", line 39, in ?
15:50:17 T:140100779026192 M:3333468160  NOTICE: import gui
15:50:17 T:140100779026192 M:3333468160  NOTICE:   File "/home/blade/.xbmc/scripts/My Scripts/Rom Collection Browser V0.5/resources/lib/gui.py", line 7, in ?
15:50:17 T:140100779026192 M:3333468160  NOTICE: from pysqlite2 import dbapi2 as sqlite
15:50:17 T:140100779026192 M:3333468160  NOTICE:   File "/home/blade/.xbmc/scripts/My Scripts/Rom Collection Browser V0.5/resources/platform_libraries/Linux/pysqlite2/dbapi2.py", line 27, in ?
15:50:17 T:140100779026192 M:3333468160  NOTICE: from pysqlite2._sqlite import *
15:50:17 T:140100779026192 M:3333468160  NOTICE: ImportError
15:50:17 T:140100779026192 M:3333468160  NOTICE: :
15:50:17 T:140100779026192 M:3333468160  NOTICE: unknown dlopen() error
15:50:17 T:140100779026192 M:3333468160   ERROR: Scriptresult: Error
15:50:19 T:140101329782816 M:3333697536  NOTICE: Storing total System Uptime
15:50:19 T:140101329782816 M:3333697536  NOTICE: Saving settings
15:50:19 T:140101329782816 M:3333849088  NOTICE: stop all
15:50:19 T:140101329782816 M:3333849088  NOTICE: ES: Stopping event server
15:50:19 T:140101329782816 M:3333849088  NOTICE: stopping zeroconf publishing
15:50:20 T:140100923852560 M:3333849088  NOTICE: ES: UDP Event server stopped
15:50:20 T:140100907067152 M:3333849088  NOTICE: DS: DBUS server stopped
15:50:20 T:140101329782816 M:3333849088  NOTICE: stop dvd detect media
15:50:20 T:140101329782816 M:3333849088  NOTICE: stop sap announcement listener
15:50:20 T:140101329782816 M:3333849088  NOTICE: clean cached files!
15:50:20 T:140101329782816 M:3333849088  NOTICE: unload skin
15:50:22 T:140101329782816 M:3334004736  NOTICE: stop python
15:50:22 T:140101329782816 M:3334004736  NOTICE: stopped
15:50:22 T:140101329782816 M:3334004736  NOTICE: destroy
15:50:22 T:140101329782816 M:3334004736  NOTICE: unload sections

10.04 64bit sucks at the moment..


- malte - 2010-06-19

This is the same error that veysey is running into. I don't think it is really RCB related. But I have to check if there is a way to include 64 bit versions of the referenced libraries (if they are available).


- Hopelessone - 2010-06-19

Hi malte!

Thanks for helpin!

I'll wait for your post what to do next..as i have N.F.I. what to do to get it going..

Thanks..


- malte - 2010-06-20

Veysey and Hopelessone:

Somebody seems to have a solution for your problem: http://forum.xbmc.org/showthread.php?tid=75764

Can you try to download this file and copy the files from "platform_libraries\Linux_x86_64\pysqlite2" to RCBs "platform_libraries\Linux\pysqlite2"?

If this works I will add the 64bit detection code and ship these files with the next release.


- Hopelessone - 2010-06-20

YES! YES!

Thanks you O-so much!!!

Image


Fix works for me as well - veysey - 2010-06-20

Hi Malte - Thanks for your replies. As with hopelessone, the fix works for me.

Not that it matters, but I'm running the previous version of ubuntu (9.04). So it works on at least two versions.

Cheers,

John


- malte - 2010-06-21

@veysey, Hopelessone: glad that its working. I will add the new library and 64bit detection to the next release.


@all:
I have finished a new test version with a fullscreen video browser (first working video support on xbox;-)). I am still working on it and there are some known issues. But I would be glad if some of you could download it and try it out in this early stage.

Download link: http://romcollectionbrowser.googlecode.com/files/Rom%20Collection%20Browser%20V0.6g.zip

Add this line to every RomCollection in your config.xml and import Settings again (maybe you have to restart RCB):
Code:
<fileTypeForMainViewFullscreenVideo>gameplay</fileTypeForMainViewFullscreenVideo>

Now you should see a button "Play Video Fullscreen" below the screenshots in Info and Info2 view.

RCB uses standard XBMC playlist and fullscreen player so I don't have a lot of possibilities to interact with the playback. It creates a video playlist with every game in your current filter selection and starts playback in fullscreen. You can zap the videos of all filtered games and use the builtin Info Overlay with title, thumbnail and duration.

I had to make some changes to my keymap.xml to get the zapping feature (make sure that you have access to "SkipNext" and "SkipPrevious" in FullscreenVideo and FullscreenInfo):

Windows/Linux keyboard.xml:
Code:
<FullscreenVideo>
    <keyboard>
     ...
      <!--<period>StepForward</period>
      <comma>StepBack</comma>-->
      <period>SkipNext</period>
      <comma>SkipPrevious</comma>
      ...
    </keyboard>
</FullscreenVideo>
<FullscreenInfo>
    <keyboard>
      ...
      <!--<period>StepForward</period>-->
      ...
    </keyboard>
</FullscreenInfo>

Xbox keymap.xml
Code:
<FullscreenVideo>
    ...
    <gamepad>
      ...
      <dpadup>SkipNext</dpadup>
      <dpaddown>SkipPrevious</dpaddown>
      ...
    </gamepad>
</FullscreenVideo>


I tested this on Windows, Linux and Xbox. On a PC this is quite smooth. On xbox there may be some performance issues. But xbox performance is a general todo on my list.

Known issues:
- Zapping in "Video browser" does not change selection when you come back to RCB
- If there are videos missing in your game list, RCB will start fullscreen video with a wrong starting video

Feel free to report any new issues here in the thread or add an issue to the list at the projects page.

Regards,
malte


Questions for Wimpys, Paybac - veysey - 2010-06-28

Hi folks -

I've been reading through your posts on this thread, and following the fantastic work over on the Ressurection Xtras project. I love Wimpys work on the Rx Synopsis system.

I notice that you folks have posted various examples of synopsis files for systems, as you attempt to work through parser compatibility issues. Apart from grabbing the versions you have posted, are these available anywhere? At one point Paybac referred to "grabbing the synopsis.net made ones", but I'm not sure what this site might be. And as far as I can tell Wimpys frontend is just for individual games.

Might I also add that your collection of info on the Odyssey 2 is obscure and inspired!

Cheers and thanks.

PS. Totally understand if you don't want things getting public until they're finalized enough, including compatibility with Malte's wonderful plugin.


- wimpy - 2010-06-28

There isn't really a thread here on XBMC.org forums regarding R.Xtras project, but please pop in on efnet #ressurectionxtras for a chat Smile

Atm the synopsis files are released together with xport emus for xbox, but some of those are out of date as we constantly work on improving the entries in the synopsis system. The "new/updated" synopsis.txt files are not really "out there" yet since we want to make sure we fix as much as possible first. Paybac, as a tester of RCB, has a user account on my system to fetch these files himself so that's what he meant by this.

Glad to hear you enjoying the work of both our project and Maltes. This script is indeed a very very nice script and will grow in the time to come i'm sure!

On another note (MALTE): I've gotten my 2tb drive working on my xbox so i'm rather eager to test out the XBOX part of the RCB script. I'm currently filling up the HDD now Smile

Paybac: Are you around still? Havn't heard from you in a while :o)


Re: synopsis - veysey - 2010-07-02

Thanks for the reply Wimpy. I found some of the older versions and have joined in on the ResX forums. That gives me plenty to putter with as I figure out and set up RCB.

I may be back to bother you at that point. Wink Or better yet, I'll be qualified to help ...

Cheers and keep up the good work!