Rocky5 / XBMC-Emustation

Front end for some emulators, using XBMC
GNU General Public License v3.0
156 stars 28 forks source link

Scanning roms #80

Closed Knehall1 closed 1 year ago

Knehall1 commented 1 year ago

I am having an issue scanning roms. Emulators affected are sega cd, turbo grafx 16 cd, pc engine cd, mame,fbl, and n64. Now all these were worki g without a hitch. I started with emustaion 1.2 then upgraded to 1.3 then on to 1.4. I did a full rescan of all roms about a week ago and it all went haywire. I keep getting errors and resan roms prompts. I upgraded to the test build with no luck and then downgraded back to the stable 1.4. I found a work around on the cd emulators by scanning the cue files first then ftp'ing over the rest of the files afterwards. The other ones seem to be a lost cause. Any help is appreciated 🙏

Rocky5 commented 1 year ago

I need a log, E:\TDATA\Rocky5 needs these\

Knehall1 commented 1 year ago

02:29:05 M: 35364864 NOTICE: -->Python Initialized<-- 02:29:14 M: 35307520 NOTICE: -->Python Initialized<-- 02:29:22 M: 32854016 ERROR: Control 10 in window 10101 has been asked to focus, but it can't 02:31:19 M: 33210368 ERROR: --> ------------------------------------------ <-- 02:31:19 M: 33210368 ERROR: --> Python script returned the following error <-- 02:31:19 M: 33210368 ERROR: --> ------------------------------------------ <-- 02:31:19 M: 33210368 ERROR: Error Type: <type 'exceptions.NameError'> 02:31:19 M: 33210368 ERROR: Error Contents: name 'Found_Roms' is not defined 02:31:19 M: 33210368 ERROR: Traceback (most recent call last): File "Q:\emustation\scripts\create_rom_lists.py", line 1508, in if not xbmc.getCondVisibility('Window.IsVisible(10000)') and Found_Roms == 1: NameError: name 'Found_Roms' is not defined 02:31:19 M: 33210368 ERROR: --> --------------------------------- <-- 02:31:19 M: 33210368 ERROR: --> End of Python script error report <-- 02:31:19 M: 33210368 ERROR: --> --------------------------------- <--

On Wed, Feb 1, 2023 at 2:28 AM John @.***> wrote:

I need a log, E:\TDATA\Rocky5 needs these\

— Reply to this email directly, view it on GitHub https://github.com/Rocky5/XBMC-Emustation/issues/80#issuecomment-1411648143, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5TBQLAM4JHAEHF6774BG5DWVINBDANCNFSM6AAAAAAUNLQFVE . You are receiving this because you authored the thread.Message ID: @.***>

Rocky5 commented 1 year ago

Scan your games from the carousel and not when in a game list.

But it’s failing right at the very end of the scan (scan is complete)

also it’s N64 you’re scanning above, is that the EarthwormJames set? As that’s the only set supported.

Knehall1 commented 1 year ago

it is the earthworm james set......... 212 rom pack. ive tried 2 different sets downloaded from 2 different sources. i can run them from the emulator fine, but not through the carousel. ive tried scanning both while in the game list and while on the carousel.

fbl show a list of the games and artwork. wont show synopsis info or the correct game titles. when i try to start a game the screen goes black for about 15 seconds then returns to the game list.

mame show the same as fbl but when i click on a game it tells me to rescan my roms. ive tried to scan those both while in the game list and on the carousel.

On Wed, Feb 1, 2023 at 2:43 AM John @.***> wrote:

Scan your games from the carousel and not when in a game list.

But it’s failing right at the very end of the scan (scan is complete)

also it’s N64 you’re scanning above, is that the EarthwormJames set? As that’s the only set supported.

— Reply to this email directly, view it on GitHub https://github.com/Rocky5/XBMC-Emustation/issues/80#issuecomment-1411669032, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5TBQLC6IPMGFPPREBVGLLLWVIOZLANCNFSM6AAAAAAUNLQFVE . You are receiving this because you authored the thread.Message ID: @.***>

Rocky5 commented 1 year ago

it is the earthworm james set......... 212 rom pack. ive tried 2 different sets downloaded from 2 different sources. i can run them from the emulator fine, but not through the carousel. ive tried scanning both while in the game list and while on the carousel. fbl show a list of the games and artwork. wont show synopsis info or the correct game titles. when i try to start a game the screen goes black for about 15 seconds then returns to the game list. mame show the same as fbl but when i click on a game it tells me to rescan my roms. ive tried to scan those both while in the game list and on the carousel. 


Make sure your paths are correct if using custom paths. Also do a full scan from the carousel and when you get an error or the script stops. Grab the log from Q:\system\

upload it to pastebin.com and paste the link here please.

As what your describing shouldn’t be happening.

Knehall1 commented 1 year ago

just finished full rom scan. scan did not stop. no error messages either. still have same problems. fbl wont show synopsis or load a game. mame wont show synopsis. mame and n64 give me a rescan roms message when selecting a game to run.

On Wed, Feb 1, 2023 at 3:15 AM John @.***> wrote:

it is the earthworm james set......... 212 rom pack. ive tried 2 different sets downloaded from 2 different sources. i can run them from the emulator fine, but not through the carousel. ive tried scanning both while in the game list and while on the carousel. fbl show a list of the games and artwork. wont show synopsis info or the correct game titles. when i try to start a game the screen goes black for about 15 seconds then returns to the game list. mame show the same as fbl but when i click on a game it tells me to rescan my roms. ive tried to scan those both while in the game list and on the carousel. 
 <#m-119486989355384913>

Make sure your paths are correct if using custom paths. Also do a full scan from the carousel and when you get an error or the script stops. Grab the log from Q:\system\

upload it to pastebin.com and paste the link here please.

As what your describing shouldn’t be happening.

— Reply to this email directly, view it on GitHub https://github.com/Rocky5/XBMC-Emustation/issues/80#issuecomment-1411715782, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5TBQLBSB453J7GMVKBAMMTWVISUJANCNFSM6AAAAAAUNLQFVE . You are receiving this because you authored the thread.Message ID: @.***>

Rocky5 commented 1 year ago

just finished full rom scan. scan did not stop. no error messages either. still have same problems. fbl wont show synopsis or load a game. mame wont show synopsis. mame and n64 give me a rescan roms message when selecting a game to run. 


I still need the log after you do a scan. If it’s not loading systems it’s failed along the way somewhere.

Knehall1 commented 1 year ago

https://pastebin.com/wwVKsjx6

On Wed, Feb 1, 2023 at 4:20 AM kenny hall @.***> wrote:

just finished full rom scan. scan did not stop. no error messages either. still have same problems. fbl wont show synopsis or load a game. mame wont show synopsis. mame and n64 give me a rescan roms message when selecting a game to run.

On Wed, Feb 1, 2023 at 3:15 AM John @.***> wrote:

it is the earthworm james set......... 212 rom pack. ive tried 2 different sets downloaded from 2 different sources. i can run them from the emulator fine, but not through the carousel. ive tried scanning both while in the game list and while on the carousel. fbl show a list of the games and artwork. wont show synopsis info or the correct game titles. when i try to start a game the screen goes black for about 15 seconds then returns to the game list. mame show the same as fbl but when i click on a game it tells me to rescan my roms. ive tried to scan those both while in the game list and on the carousel. 
 <#m_153389541202026722m-119486989355384913_>

Make sure your paths are correct if using custom paths. Also do a full scan from the carousel and when you get an error or the script stops. Grab the log from Q:\system\

upload it to pastebin.com and paste the link here please.

As what your describing shouldn’t be happening.

— Reply to this email directly, view it on GitHub https://github.com/Rocky5/XBMC-Emustation/issues/80#issuecomment-1411715782, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5TBQLBSB453J7GMVKBAMMTWVISUJANCNFSM6AAAAAAUNLQFVE . You are receiving this because you authored the thread.Message ID: @.***>

Rocky5 commented 1 year ago

https://pastebin.com/wwVKsjx6 


Ok that seems to have worked fine, I may update the log to display systems being added.

Can you send me the gamelist.xml of the problem systems?

Knehall1 commented 1 year ago

final burn legends mame n64 pcengine 16 sega cd turbo grafx cd

On Wed, Feb 1, 2023 at 4:18 PM John @.***> wrote:

https://pastebin.com/wwVKsjx6 
 <#m_1780756347894581114_m_6774367584727256898_m4801634975953031453>

Ok that seems to have worked fine, I may update the log to display systems being added.

Can you send me the gamelist.xml of the problem systems?

— Reply to this email directly, view it on GitHub https://github.com/Rocky5/XBMC-Emustation/issues/80#issuecomment-1412816258, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5TBQLGW24JDTA53VNXISHLWVLOMPANCNFSM6AAAAAAUNLQFVE . You are receiving this because you authored the thread.Message ID: @.***>

Knehall1 commented 1 year ago

the cd based emulators scan bin and cue or cue and iso to make duplicates. they were originally folderized by emustation when i originally uploaded them. now they wont scan if they are in individual folders. so i put all files of each rom set in the individual rom folder they should be in. they now scan but show every iso or bin

On Wed, Feb 1, 2023 at 4:36 PM kenny hall @.***> wrote:

final burn legends mame n64 pcengine 16 sega cd turbo grafx cd

On Wed, Feb 1, 2023 at 4:18 PM John @.***> wrote:

https://pastebin.com/wwVKsjx6 
 <#m_-7775852954223412231_m_1780756347894581114_m_6774367584727256898_m4801634975953031453>

Ok that seems to have worked fine, I may update the log to display systems being added.

Can you send me the gamelist.xml of the problem systems?

— Reply to this email directly, view it on GitHub https://github.com/Rocky5/XBMC-Emustation/issues/80#issuecomment-1412816258, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5TBQLGW24JDTA53VNXISHLWVLOMPANCNFSM6AAAAAAUNLQFVE . You are receiving this because you authored the thread.Message ID: @.***>

Rocky5 commented 1 year ago

the cd based emulators scan bin and cue or cue and iso to make duplicates. they were originally folderized by emustation when i originally uploaded them. now they wont scan if they are in individual folders. so i put all files of each rom set in the individual rom folder they should be in. they now scan but show every iso or bin 


Do you have the scan for IOS/Bin/img files enabled under scanner > scanner options?

if so disable it as that’s only used if you’re not using bin/cue files for segacd.

Knehall1 commented 1 year ago

i did have it checked. ran a scan for sega cd, pce cd and turbo cd. sega cd looks good. the others are in cue/iso/mp3. im thinking i should download a bin/cue set of each instead.

On Wed, Feb 1, 2023 at 4:53 PM John @.***> wrote:

the cd based emulators scan bin and cue or cue and iso to make duplicates. they were originally folderized by emustation when i originally uploaded them. now they wont scan if they are in individual folders. so i put all files of each rom set in the individual rom folder they should be in. they now scan but show every iso or bin 
 <#m9000864324772832320>

Do you have the scan for IOS/Bin/img files enabled under scanner > scanner options?

if so disable it as that’s only used if you’re not using bin/cue files.

— Reply to this email directly, view it on GitHub https://github.com/Rocky5/XBMC-Emustation/issues/80#issuecomment-1412852348, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5TBQLGUN3OZLBK4LIHHKPTWVLSOZANCNFSM6AAAAAAUNLQFVE . You are receiving this because you authored the thread.Message ID: @.***>

Rocky5 commented 1 year ago

i did have it checked. ran a scan for sega cd, pce cd and turbo cd. sega cd looks good. the others are in cue/iso/mp3. im thinking i should download a bin/cue set of each instead. 


Pce-cd and tg-cd are the same emulator just different menu icon and they only support cue/bin files in emustation.

If it’s a CD based system, use bin/cue except for segacd as it ends up 70GB when the ISO/MP3 combos works fine. (Requires you download the emulator from the downloader)

Knehall1 commented 1 year ago

Gotcha. Working on a new bin/cue set for those now. Any idea on the other emulators? Do you think i should just delete the emustation folder and reload 1.2 from the xtras disc?

On Thu, Feb 2, 2023, 6:51 AM John @.***> wrote:

i did have it checked. ran a scan for sega cd, pce cd and turbo cd. sega cd looks good. the others are in cue/iso/mp3. im thinking i should download a bin/cue set of each instead. 
 <#m8889289201761637646>

Pce-cd and tg-cd are the same emulator just different menu icon and they only support cue/bin files in emustation.

If it’s a CD based system, use bin/cue except for segacd as it ends up 70GB when the ISO/MP3 combos works fine. (Requires you download the emulator from the downloader)

— Reply to this email directly, view it on GitHub https://github.com/Rocky5/XBMC-Emustation/issues/80#issuecomment-1413695099, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5TBQLCR5TZVYGF6ZYPRH7TWVOUTTANCNFSM6AAAAAAUNLQFVE . You are receiving this because you authored the thread.Message ID: @.***>

Rocky5 commented 1 year ago

Gotcha. Working on a new bin/cue set for those now. Any idea on the other emulators? Do you think i should just delete the emustation folder and reload 1.2 from the xtras disc? 


You’re the only one with issues 🙈 I always do a full rescan of all my stuff before I release anything, so I know I haven’t broken anything.

All my systems scan in fine, none have any issues including the ones you have problems with.

N46 is a pain in my rectum, but once it’s setup it works.

FBL/Mame you just put rom zips in the fbl and mame folder and run the script and that’s it 😂 they are found and if you installed artwork for them it’s shown. (Synopsis is included with emustation for fbl and mame)

there are other FBL variants that won’t get synopsis, but those you don’t need to use fbaxxx is one, as those are only there because there were builds released for those a long long time again, so I included them.

If the scan completes, but you get the scan your roms again error then one of the roms has broke the xml, could be a file name for example. If you open the gamelist.xml for that system you can scroll to the bottom to see what the next rom would be or if the xml is malformed in anyway shape or form. (Why I asked for you to send me some of the problem ones)

Knehall1 commented 1 year ago

It was all working just fine. I was installing xbox roms and to my f and g drives and reslized if i stsrt downloading dlc's to my e drive i was gonna have a problem. All my emulators were in e drive. I moved them to the f drive. I updated my custom paths afterwards. I did also delete a bunch of computer based emulators after the move. Decided on going with arcade, handhelds and console based emulators. I may have gotten rid of something accidentally .

On Thu, Feb 2, 2023, 7:23 AM John @.***> wrote:

Gotcha. Working on a new bin/cue set for those now. Any idea on the other emulators? Do you think i should just delete the emustation folder and reload 1.2 from the xtras disc? 
 <#m3399702849835445236>

You’re the only one with issues 🙈 I always do a full rescan of all my stuff before I release anything, so I know I haven’t broken anything.

All my systems scan in file, none have any issues including the ones you have problems with.

N46 is a pain in my rectum, but once it’s setup it works.

FBL/Mame you just put rom zips in the fbl and mame folder and run the script and that’s it 😂 they are found and if you installed artwork for them it’s shown. (Synopsis is included with emustation for fbl and mame)

— Reply to this email directly, view it on GitHub https://github.com/Rocky5/XBMC-Emustation/issues/80#issuecomment-1413741163, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5TBQLCTV6XNKCTDS6JGHXDWVOYO5ANCNFSM6AAAAAAUNLQFVE . You are receiving this because you authored the thread.Message ID: @.***>

Rocky5 commented 1 year ago

It was all working just fine. I was installing xbox roms and to my f and g drives and reslized if i stsrt downloading dlc's to my e drive i was gonna have a problem. All my emulators were in e drive. I moved them to the f drive. I updated my custom paths afterwards. I did also delete a bunch of computer based emulators after the move. Decided on going with arcade, handhelds and console based emulators. I may have gotten rid of something accidentally . 


When moving them dont have them on the root of a partition. (Roms, media and emulators for example) Put then in a root folder if you haven’t, I use XBMC-E Files on F and the roms, media and emulators folders are inside there. Then I point the custom paths to those folders and that’s it’s done.

Not much has changed for scanning between 1.2 and 1.4 bar refinement and additional systems.

I need to fix homebrew in other scripts that parses ports and Xbox as those are treated as xbe systems and not roms. But that doesn’t affect the scan or launching scripts.

Knehall1 commented 1 year ago

so i did what you recommended. i moved my emustation folder from e: drive to f: drive. placed my emulators back into the emustation/emulators folder. updated my custom paths. did a rescan of all systems. everything is back where it should be. games scan in perfect. artwork and synopsis files are as they should. fbl and mame load and run games. my cd based emulators created proper folders for games. even the notorious n64 emulator is good to go.

thanks so much for helping me sort this out.

as always i commend you and others for your great work.

On Thu, Feb 2, 2023 at 7:40 AM John @.***> wrote:

It was all working just fine. I was installing xbox roms and to my f and g drives and reslized if i stsrt downloading dlc's to my e drive i was gonna have a problem. All my emulators were in e drive. I moved them to the f drive. I updated my custom paths afterwards. I did also delete a bunch of computer based emulators after the move. Decided on going with arcade, handhelds and console based emulators. I may have gotten rid of something accidentally . 
 <#m944037294395183914>

When moving them dont have them on the root of a partition. (Roms, media and emulators for example) Put then in a root folder if you haven’t, I use XBMC-E Files on F and the roms, media and emulators folders are inside there. Then I point the custom paths to those folders and that’s it’s done.

Not much has changed for scanning between 1.2 and 1.4 bar refinement and additional systems.

I need to fix homebrew in other scripts that parses ports and Xbox as those are treated as xbe systems and not roms. But that doesn’t affect the scan or launching scripts.

— Reply to this email directly, view it on GitHub https://github.com/Rocky5/XBMC-Emustation/issues/80#issuecomment-1413763279, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5TBQLCNGNJGULO32IXGJF3WVO2LPANCNFSM6AAAAAAUNLQFVE . You are receiving this because you authored the thread.Message ID: @.***>

Rocky5 commented 1 year ago

Brilliant 😁 yeah Python doesn’t like the folders on to root of the partitions for some reason.

But am happy it’s working as should 😁 have fun in emustation 😂