EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: 1 [2]   Go Down

Author Topic: Scanning complains that there is no valid sets in rompath!!!  (Read 22845 times)

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3425
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 10.0 Safari 10.0
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #20 on: 06 October 2019, 12:14 »

simply create a dat with one set and all files in it :-)
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3425
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 77.0.3865.90 Chrome 77.0.3865.90
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #21 on: 06 October 2019, 12:36 »

and now back to the original problem....Yay...I can repeat it on a network drive ;-)
Since I used a network drive on the other side of the world it was way too quick that it could have calculated the checksum that fast....interesting....after some coffee and cake I will investigate this later tonight.

but on the other hand I guess it is related to the length of the path...

\\something here\Emulation\ISOz\NINTENDO GameCube (Redump.org) (NKit)\2 Games in 1 - Bob L'eponge - Le Film + Tak 2 - Le Sceptre des Reves (France) (Disc 1) (Bob L'eponge - Le Film)\2 Games in 1 - Bob L'eponge - Le Film + Tak 2 - Le Sceptre des Reves (France) (Disc 1) (Bob L'eponge - Le Film).nkit.gcz

is beyond the path limit while
\\something here\Emulation\ISOz\NINTENDO GameCube (Redump.org) (NKit)\2 Games in 1 - Bob L'eponge - Le Film + Tak 2 - Le Sceptre des Reves (France) (Disc 1) (Bob L'eponge - Le Film).zip
is not

I know of at least one Window library call which has a problem with such long names (some directory tree walk call).....will test later if it's related to that one....if so I need to find a walkaround (sigh) (see comment on the nightly build post)
« Last Edit: 06 October 2019, 12:44 by Roman »
Logged

retaliator

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Firefox 69.0 Firefox 69.0
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #22 on: 06 October 2019, 13:16 »

Thanks Roman for investigating this, I appriciate it and of course your hard work for this nice program! :)

Btw., I also tried a shorter path on my NAS and it hadn't worked either with uncompressed files.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3425
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 13.0.1 Safari 13.0.1
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #23 on: 06 October 2019, 15:57 »

You need to reach something below 260 chars includong the filename
Logged

retaliator

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Firefox 69.0 Firefox 69.0
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #24 on: 06 October 2019, 18:27 »

Confirmed, testing with "\\SYNOLOGY_DS414J\public\GC\4x4 Evo 2 (USA)\4x4 Evo 2 (USA).nkit.gcz" works fine. But with the set in same place "\\SYNOLOGY_DS414J\public\GC\007 - Agent im Kreuzfeuer (Germany)\007 - Agent im Kreuzfeuer (Germany).nkit.gcz" it doesn't work.
« Last Edit: 06 October 2019, 18:28 by retaliator »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3425
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 77.0.3865.90 Chrome 77.0.3865.90
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #25 on: 06 October 2019, 18:33 »

Actually I found the cause....

\\?\c:\dir\file.txt UNC Drive path   32k bytes
\\?\UNC\server\share\dir\file.txt UNC Server path 32k bytes

means that you (actually cmpro (*)) needs to specify a different prefix for a network path...

When doing so it will at least start to calculate the hash...but there seem to be other places where such a long network path fails...so I need to check some other stuff as well.

(*) the nightly build of cmpro sees if a path is too long and automatically adds \\?\ in front of it (as long it's not a network path or a relative path). But for network paths it needs to add \\?\UNC\ ..
« Last Edit: 06 October 2019, 18:36 by Roman »
Logged

retaliator

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Firefox 69.0 Firefox 69.0
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #26 on: 06 October 2019, 18:50 »

I tried to put \\?\UNC\ in settings by using F2, but it seems like it doesn't change a thing. After hitting return it's back to \\SYNOLOGY_DS414J\public\Emulation\ISOz\NINTENDO GameCube (Redump.org) (NKit)\ .

Maybe I did something wrong? Should the path be \\?\UNC\\\SYNOLOGY_DS414J\public\Emulation\ISOz\NINTENDO GameCube (Redump.org) (NKit)\ ?
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3425
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 77.0.3865.90 Chrome 77.0.3865.90
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #27 on: 06 October 2019, 18:55 »

\\?\UNC\SYNOLOGY_DS414J\public\.....

(just one (1) backslash \  after UNC) ...but since cmpro's nightly build auto-adds/removes it you may run into trouble....gimme some time to fix it (in the meantime I found the reason for the other problem, too...there was a not mapped file operation which did not run through the prefix adder...)

try this:
http://mamedev.emulab.it/clrmamepro/binaries/cmpro20191006.rar
« Last Edit: 06 October 2019, 19:08 by Roman »
Logged

retaliator

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Firefox 69.0 Firefox 69.0
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #28 on: 07 October 2019, 03:53 »

Works fine now! Many thanks Roman!! :)

About oxyandys request:

Like an option to simply 'ignore setname' this way an existing dat such as:
NINTENDO GameCube (Redump.org)
..\007 - Agent im Kreuzfeuer (Germany)\007 - Agent im Kreuzfeuer (Germany).nkit.gcz
Could be used to store / scan all files at root level 'minus' the subfolders.

That would be nice not forced to put every file in a folder... :)
« Last Edit: 07 October 2019, 04:04 by retaliator »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3425
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 77.0.3865.90 Chrome 77.0.3865.90
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #29 on: 07 October 2019, 06:18 »

Thanks for reporting and helping...

Well, about that "I want them all uncompressed in a folder" support.....you need to see how MAME originally works. A set usually contains more than one file (gfx roms, sound roms, dumps holding the code etc), so they got a container, a folder named after the set, holding these files. Using an archive (7z/rar/zip) is pretty the same - a container (again named after the set).

Scanning/Merging/Rebuilding is built around this.

I see your point when it comes to 1-file-per-set collections. Keeping them decompressed leads to the a bit obsolete storage method with the extra folder.

What you can do is to change the datfile definition to only define one set where all files are stored. This would allow to have all files in one folder (named after the setname defined in the dat). Cons: you loose additional information like a detailed description per set (however as you can see from these big filenames, they simply put all in there...) and you get the scan results after finisihing this one giant set.

Theoretically I can add an option which changes a loaded datfile into an one-set-billion-roms dat......time will tell
Logged

retaliator

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Firefox 69.0 Firefox 69.0
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #30 on: 07 October 2019, 14:12 »

This isn't anything of rush, Clrmame is already my favorite rom auditing tool. Thanks for your hard work!! :)
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 77.0.3865.90 Chrome 77.0.3865.90
    • View Profile
    • .
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #31 on: 07 October 2019, 22:11 »

Here is a basic response just to say thanks Roman for even considering this.
When I have time in the next few days I will point out a few issues you may not even be aware of.
As you know I like to include detail in my posts so will not just make a 'rushed post',
I'll take my time and draft a really decent response, include screenshots and real examples to remove any ambiguity.
Cheers 👍
Oxyandy
« Last Edit: 07 October 2019, 22:27 by oxyandy »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3425
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 77.0.3865.90 Chrome 77.0.3865.90
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #32 on: 08 October 2019, 06:00 »

better I run for cover..... ;-)
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 77.0.3865.90 Chrome 77.0.3865.90
    • View Profile
    • .
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #33 on: 09 October 2019, 20:20 »

Hi Roman,
other than RAM and HDD what could cause hash computations to be an incorrect result please (wrong CRC calculated)
Thanks
EDIT: silly question I know 🤣
Failing: motherboard, processor, i/o controller, inadequate or failing power supply.
Time to dump this hardware (well most)
Scanner Output: "wrong crc32: Some_file.bin [wrong: 537b1a1f] [right: f38a3b0f]"
Yet, independently - Some_file.bin is actually f38a3b0f
« Last Edit: 10 October 2019, 01:15 by oxyandy »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3425
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 77.0.3865.90 Chrome 77.0.3865.90
    • View Profile
Re: Scanning complains that there is no valid sets in rompath!!!
« Reply #34 on: 10 October 2019, 06:12 »

theoretically any involved driver or hardware...or even software (a virusscanner might block the access...but that should end in a missing or not accessible file rather than a bad hash)
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.077 seconds with 22 queries.