1
clrmame Discussion / Re: clrmame first-run questions
« on: 23 October 2024, 03:14 »
Thanks, I figured the script could run on the existing release but I understand now.
The new forum is online, hope you enjoy it!
and it works when you don't specify a parameter like -listxml
This is weird since it automatically adds "-listxml" when no parameter is given. So no matter if you specify -listxml in the XML/EXE box or not, it will always run mame -listxml.
Z:\home\testing\Emulation\Emulators\MAME\mame -listxml
2024-10-02 16:06:19 info creating xml export
2024-10-02 16:06:19 error running .\mame -listsoftware failed due to remove: Sha ring vio lation.: "Z:\home\testing\Desktop\cm\exports\661de8ad-listsoftware.xml"
2024-10-02 16:06:19 info loading: Z:\home\testing\Desktop\cm\exports\661de8ad-listsoftware.xml
2024-10-02 16:06:19 error can't parse Z:\home\testing\Desktop\cm\exports\661de8ad-listsoftware.xml
2024-10-02 16:06:19 info Done, overall time: 0 seconds
2024-10-02 16:06:19 error errors occured, please check log
$ /home/testing/Emulation/Emulators/MAME/mame -listsoftware
No software lists found for this system
$ /home/testing/Emulation/Emulators/MAME/mame -listxml
(works - produces expected output)
$ cd /home/testing/Emulation/Emulators/MAME
$ ./mame -listsoftware
(works - produces expected output)
$ cd /home/testing/Emulation/Emulators/MAME
$ ./mame -listxml
(works - produces expected output)
https://mamedev.emulab.it/clrmamepro/binaries/clrmame_006_013_2.zipThanks, Roman. However I'm now getting:
for the linux guys....
2024-10-02 12:10:05 info creating xml export
2024-10-02 12:10:05 error can't run: Z:\home\testing\Emulation\Emulators\MAME\mame -listsoftware
2024-10-02 12:10:05 info loading: Z:\home\testing\Desktop\cm\exports\661de8ad-listsoftware.xml
2024-10-02 12:10:05 error can't parse Z:\home\testing\Desktop\cm\exports\661de8ad-listsoftware.xml
2024-10-02 12:10:05 info Done, overall time: 0 seconds
2024-10-02 12:10:05 error errors occured, please check log
Does adding the '.exe' to the command help?
Z:\home\testing\Emulation\Emulators\MAME\mame.exe -listsoftware
- when loading a -listsoftware data basis (either exe import or standalone dat), additional softwarelists can be added either by:
prio #1 - you used an exe with -listsoftware command, then it looks up the exe path for a hash folder
2024-10-01 13:57:16 info loading: Z:\home\testing\Emulation\Emulators\MAME\mame -listsoftware
2024-10-01 13:57:16 error can't parse Z:\home\testing\Emulation\Emulators\MAME\mame -listsoftware
2024-10-01 13:57:16 info Done, overall time: 0 seconds
2024-10-01 13:57:16 error errors occured, please check log
The ones from the hash folder are simply added internally, so they are handled as the ones which are already in the listsoftware output. See screenshot above in this thread….the 3do_m2 one at the top is an added one…Yup, and all 11 sets I mentioned are there in the log, your process seems like it works perfectly.
Lemme sleep over it before I post a nighly build…maybe I have an idea for John‘s scenario, too
hmm...I've compared coleco.xml from 269 against 270 and there are only 3 changed descriptions. Surely clrmame will show the updated description if the file would be missing...but of course nothing really changes regarding the content of the files....
ok...my idea was pretty easy to add:
So in case of an exe based -listsoftware export, the tool now checks if there is a hashfolder for the exe file, takes all *.xml files in there which are not already matching a softwarelist name in the -listsoftware export and additionally loads them to the collection....
works fine...so the only thing which is assumed is that the hash xml filename does match its stored softwarelist name attribute value.....
So...no more overseen skipped software list hashes....(unless -listsoftware export does not also skip entries within exported data)
attache, coleco_homebrew, coleco, evio, lk3000, etc..
What do you mean exactly? -listsoftware lists them and clrmame complains about machines in there when something is missing in there (or unneeded)
...
Update: 1) or do you mean only the hash xml changed...well, if -listsoftware was used, clrmame stores an export of it in its export folder and rememebers the hash of the exe file....so pure changes in a mame hash folder aren't automatically detected. You could clean the exports folder though...
regarding the 2nd list, yes, -listsoftware does not include all data from MAME's hashfolder. I don't know why (actually I also not asked MAME devs about it) but it's known for years. And yes, such entries will be reported as unneeded since they are not included in -listsoftware.
So a solution would be to keep them separated and scan them with a hash xml....
have to think about it more deeply....
...
2) Hmm...maybe when doing a -listsoftware export from an exe file I could try to locate the hashfolder and match up if there are xml files in there which aren't included and simply merge them in......as I said...I need to think about it...but I like the idea.
I've been wanting to add to my site for a while now a dat that includes the lists in \hash but not yet included in -listsoftware.
Regarding item 1, I used to have 30 or so \hash\xmls that I would bring into the old clrmamepro but with the new one I just use the single file output of mame.exe -listsoftware and then use an XPath filter statement that only checks \software directories I collect. This is much cleaner and less steps.
attache
coleco_homebrew
coleco
evio
lk3000
nes_kstudio
nes_ntbrom
pv1000
pv2000
smc777
supracan
3do_m2
advantage
carbeena
gba_ereader
gtfore
ique
lisa2
pippin_flop
sat_vccart
snes_vkun
tandy6k