skerit / romcollectionbrowser

Automatically exported from code.google.com/p/romcollectionbrowser
GNU General Public License v2.0
0 stars 0 forks source link

Waited 10 hours for my 3254 roms to be scraped and then it said I have 0 items #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have no idea why this is even possible .

Mame roms on XBMC 10.1 live . 

Original issue reported on code.google.com by kruyk...@gmail.com on 31 May 2011 at 12:08

GoogleCodeExporter commented 9 years ago
Damn. Thats not good. Did you try to navigate around with arrow keys or with 
the remote? Did you exit the script and start it again? Sometimes it is just a 
problem with refreshing the UI after game import.

How large is your db (MyGames.db in XBMC userdata folder)? If it is around 20KB 
then it really did not import anything. Can you check your xbmc.log file if 
there are any errors while scraping the data?

Only thing I can imagine is that it had no write access to store the artwork 
and then skips the game import because it thinks there is no artwork available.

Original comment by maloep on 31 May 2011 at 5:15

GoogleCodeExporter commented 9 years ago
I get 2 types of errors 
06:16:00 T:2900704112 M:1694257152  NOTICE: RCB_WARNING: Error in 
getThumbFromOnlineSource: [Errno 13] Permission denied: 
'/home/xbmc/Mame/Roms/cabinet'
and

06:16:00 T:3077724032 M:1694257152   ERROR: ClearBlock: Trying to clear non 
existent block /home/xbmc/.xbmc/addons/script.games.rom.collection.browser
06:16:04 T:2900704112 M:1694265344   ERROR: Previous line repeats 1 times.

I assume i can just change the permissions . but what about the second error?

Original comment by kruyk...@gmail.com on 1 Jun 2011 at 2:33

GoogleCodeExporter commented 9 years ago
I think I made things worse when i tried to clear RCB's data and deleted 
/home/xbmc/.xbmc/addons/script.games.rom.collection.browser how do i get that 
back?
Thank you.

Original comment by kruyk...@gmail.com on 1 Jun 2011 at 3:20

GoogleCodeExporter commented 9 years ago
Sorry for the hassle. It is on my list for a long time to stop the import if 
there are permission errors. I will make it a higher priority now.

You can ignore the 2nd error, only the 1st one is important.

You did not delete the data, you deleted the script itself. No problem, just 
reinstall it. If XBMC does not provide it for download anymore (because it 
thinks it is already installed), you can download the latest version from this 
site in the Downloads section.

If you want to delete the data, you have to delete this folder: 
/home/xbmc/.xbmc/userdata/addon_data/script.games.rom.collection.browser

Original comment by maloep on 1 Jun 2011 at 6:11

GoogleCodeExporter commented 9 years ago
i am trying again with only 2 games. the artwork is downloaded and both games 
are listed so there's progress there.
when i try to launch it just restarts xbmc.
i tried w/ escape cmd on and off.

Original comment by kruyk...@gmail.com on 1 Jun 2011 at 7:39

GoogleCodeExporter commented 9 years ago
PS: i had to manually edit the config to launch /usr/games/mame i could not 
navigate to it using the wizard

Original comment by kruyk...@gmail.com on 1 Jun 2011 at 7:59

GoogleCodeExporter commented 9 years ago
Sounds like you have "Use emu solo" set to "True". If you don't have an 
additional window manager, this won't work.

If you still have trouble with launching games please check the xbmc.log again 
to see what command RCB tries to invoke.

About the wizard: Didn't you see the whole "/usr"-node? Maybe another 
permission issue?

Original comment by maloep on 1 Jun 2011 at 12:34

GoogleCodeExporter commented 9 years ago
It seems i misread the wiki it asked to use NON-emu solo for XBMC live.
As far as /usr goes it only showed me /XBMC and sub directories .
I will try again when i get home :)

Original comment by kruyk...@gmail.com on 1 Jun 2011 at 10:49

GoogleCodeExporter commented 9 years ago
Ok went home and set use emu solo to false, chose /usr/games/sdlmame as the 
executable now when i try to launch the game , i see mame saying "loading" for 
half a second then it goes back to RCB.

Original comment by kruyk...@gmail.com on 2 Jun 2011 at 6:32

GoogleCodeExporter commented 9 years ago
here's my log http://is.gd/h13QW8

Original comment by kruyk...@gmail.com on 2 Jun 2011 at 6:48

GoogleCodeExporter commented 9 years ago
Did you set the path to your roms in mame.ini?

Check this wiki page for more info how to configure sdlmame with ALA or RCB: 
http://www.gwenael.org/xbmc/index.php?title=MAME_/_XMAME_/_SDLMAME#Linux

Another idea: Try to set "Escape emu cmd" to "False" in Addon settings.

Original comment by maloep on 2 Jun 2011 at 8:21

GoogleCodeExporter commented 9 years ago
sorry for being suck a pain but where would mame.ini be?

Original comment by kruyk...@gmail.com on 2 Jun 2011 at 8:24

GoogleCodeExporter commented 9 years ago
Not sure. I guess it will be here in XBMCLive: /etc/sdlmame/mame.ini

On Windows I had to create the ini file with "mame.exe -createconfig", but I 
think for sdlmame it is already there.

Original comment by maloep on 2 Jun 2011 at 8:35

GoogleCodeExporter commented 9 years ago
edited the mame.ini and "mame -sc" and "sdlmame -sc" show the correct 
configuration but still when i try to launch via RCB it shows mame loading for 
a fraction of a second then back to RCB

Original comment by kruyk...@gmail.com on 2 Jun 2011 at 9:50

GoogleCodeExporter commented 9 years ago
Did you check the 2nd advice: Try to set "Escape emu cmd" to "False" in Addon 
settings.

And:

What happens if you run the command from command line (I guess you have to try 
this while XBMC is running):
"/usr/games/sdlmame" "/home/xbmc/Mame/roms2/nemesis.zip"

If this behaves the same, it is a general mame issue and not RCB related. (Not 
that I won't try to help you anymore, just to check where it comes from:))

Original comment by maloep on 2 Jun 2011 at 10:17

GoogleCodeExporter commented 9 years ago
i get this error:
xbmc@XBMCLive:~$ "/usr/games/sdlmame" "/home/xbmc/Mame/roms2/nemesis.zip"
Loading BDF font... (256 characters loaded)
Loading BDF font... (512 characters loaded)
Loading BDF font... (768 characters loaded)
Loading BDF font... (1024 characters loaded)
Loading BDF font... (1280 characters loaded)
Loading BDF font... (1536 characters loaded)
Generating cached BDF font...
init kbd.
Could not initialize SDL Unable to open a console terminal

Original comment by kruyk...@gmail.com on 2 Jun 2011 at 10:24

GoogleCodeExporter commented 9 years ago
Ok, maybe this happens because XBMC is not running in background and acting as 
a window manager.

Did you also try the "Escape emu cmd" option?

Original comment by maloep on 2 Jun 2011 at 10:40

GoogleCodeExporter commented 9 years ago
I tried both

Original comment by kruyk...@gmail.com on 2 Jun 2011 at 10:43

GoogleCodeExporter commented 9 years ago
One more try: Use -inipath in your emu params like this:

-inipath "/etc/sdlmame/mame.ini" "%ROM%"

Original comment by maloep on 2 Jun 2011 at 12:41

GoogleCodeExporter commented 9 years ago
No go , here's the log:
http://is.gd/PHjixP

Original comment by kruyk...@gmail.com on 2 Jun 2011 at 3:55

GoogleCodeExporter commented 9 years ago
Looks like you have put it in the wrong place.

Your emu cmd should look like this:
/usr/games/sdlmame

Your emu params like this:
-inipath "/etc/sdlmame/mame.ini" "%ROM%"

maybe try it without mame.ini at the end, I am not sure which one is correct. I 
am using mame instead of sdlmame on linux and I ahve to use it without mame.ini 
like this:
-inipath "/etc/sdlmame/" "%ROM%"

And: maybe try it with different games. I also had the problem that some games 
are working and some not.

Original comment by maloep on 2 Jun 2011 at 7:08

GoogleCodeExporter commented 9 years ago
I did that and added about 30 games to the collection . They scrape fine. But 
when I try to launch them the just show a loading percentage that goes up 
slower for bigger roms then it says complete and goes back to RCB. So I think 
RCB is sending the right rom to mame but I donno what is wrong.

Original comment by kruyk...@gmail.com on 3 Jun 2011 at 6:19

GoogleCodeExporter commented 9 years ago
If you see the loading screen then I would say the connection between RCB and 
MAME is working. The problem must be inside MAME. I also have a lot of games 
here that are not loading (just showing the loading screen and then do 
nothing). Try it with more games or start a google search what games are known 
to be working with your MAME version. Some roms also require additional files 
to work properly etc.

Original comment by maloep on 3 Jun 2011 at 8:49

GoogleCodeExporter commented 9 years ago
I used the same roms that use on my linux laptop  and 0 out of 30+ work.
I have tried everything and I'm givingup.
Thank you for your help.

Original comment by kruyk...@gmail.com on 4 Jun 2011 at 12:45

GoogleCodeExporter commented 9 years ago
Ok, sorry to hear.

Other people also had problems with certain mame versions like mentioned here 
in the thread: http://forum.xbmc.org/showpost.php?p=811540&postcount=1338

This problem occured on Windows but looks similar to your problem.

Original comment by maloep on 7 Jun 2011 at 7:31

GoogleCodeExporter commented 9 years ago
Thanks for the reply, i use the same roms with the same emulator on my linux 
laptop and they all work 100% . not sure what the problem is

Original comment by kruyk...@gmail.com on 7 Jun 2011 at 7:43

GoogleCodeExporter commented 9 years ago
Ok. I will close this issue now. You can also come to the thread at XBMC.org to 
ask for support any time.

Original comment by maloep on 9 Jun 2011 at 10:45