Discussion in 'Retro & Arcade' started by elvis, Oct 14, 2018.
I'll make some DAT files when I get back, but pleased to see your stuff is moving quick.
Seems the updater automatically downloads my script now.
Made a small tweak so it generates and reads the MAME_DIR from an ini file now, rather than having to edit the script directly every time it updates. It also quits with an error telling you to edit the ini file if it can't find the folder specified. Should make things a bit clearer and defaults to a nice generic location of /media/fat/mame/roms if even that's too hard. lol
Seems there's quite the influx of arcade cores incoming, so this worked out nicely.
weird, i ran the updater twice and still no sign of your script ....
I'm just ssh'd in now and no sign of it anywhere
gunna assume its on a git somewhere ? and i just need to search for it
Every time this thread gets bumped in reminded I haven't done those damned DAT files. Been so busy...
busy doing what ? helping an old fool with his old microbee files ?
The updater script should throw it in /media/fat/Scripts along with the rest of the scripts so you can run it directly from the mister scripts menu.
If not you can grab it from here: https://github.com/MiSTer-devel/Scripts_MiSTer/blob/master/other_authors/build_mame_roms.sh
The interface you get from the scripts menu is pretty locked down compared to a standard ssh session. Took a while to work around some of its quirks and limitations like not liking relative paths or being able to set a path etc. :/
Thanks mate. gunna run it now
edit - 3 verified, 86 failed ......
wow, I really do need to get my rom collection in order it seems.
hey self_slaughter any ideas what a network share should/would look like in your .ini file ?
I've tried the local host name as well as IP, but not much luck.
I wonder do i need to specify cifs or samba or something ?
My script doesn't mount network shares directly. Easiest way is to use the cifs_mount.sh script to mount your network share somewhere and just point my script to wherever that mounts your mame roms locally.
As far as what roms work, It just uses the official build scripts for each core on github, so a non-merged mame set is preferable as everything for every game is in the one zip. (Which is what the build scripts expect)
You know when i read that it seems so bloody obviously the way. And yet i was for uknown reasons looking for a harder way to do it ...
I wish that was all.
Some progress today on my lunch break. Out of 90 MiSTer arcade titles I've got 69 (teehee) generating perfectly, and 21 busted.
I'm not doing anything manually, just scripting to find files in my merge sets (different to split sets, so I can't use existing scripts on my stuff) and let the build_roms.sh scripts do the rest. So finding bugs in one tends to fix others.
Once I've got them all generating correctly, step 2 is to use ClrMAMEPro's "dir2dat" feature to generate DAT files.
Step 3 is to then use that in ClrMAMEPro (or any other tool that can use standard DAT files) to see if I can generate clean .zips for self_slaughter 's scripts to pick up and run with. That means anyone with an existing MAME set, regardless of age, file names or whatever, can generate a clean set of MiSTer arcade zip files to used based on checksums alone (filename inside or outside MAME zip files doesn't matter).
That sounds good to me
MiSTer arcade DAT files done. Up on GitHub. These will rebuild exact zips with correctly named files inside them from MAME sets, ready for clean conversion.
If you know how to use tools like ClrMAMEPro, RomCenter, RomVault and others, as well as the build_rom script in the MiSTer repos and/or self_slaughter's new scripts, please test these out.
I have a hammer and poor eyesight, i can try but i get the feeling i already know the result
I've been meaning to write a guide for MAME use. Now it doubles for MiSTer, so perhaps I should.
Hrm... it would need pictures. I'm loathed to do a video, but I might have to, because that's how people want to consume things these days.
Ever wanted to read a 100 page technical document on Cave first gen hardware being re-implemented on FPGA? Me either. But here it is if you do.
I cant get bloody SMB working to my NAS , but onwards and upwards
Results are in ..
- now even counting files in archives -
Analyzed Files: 249980
Created Files: 973
Matched Files: 8235
Skipped Files: 249093
one error ??
can't open 7z file \\NAS\files\download\cmp4035_64\temp\s7_22375.7z
So i'm left with 87 roms which i'll slide over to MiSTer now and see what self slaughters build rom script does ....
que the drum roll
Thanks elvis and self_slaughter
I have heaps of new cores to pay with now
I'm glad I didnt do this last thursday, I'd have gone down a rabbit hole over the last five days off work
So from SS's script i get
elvis I followed this
to get clrmamepro to do the rebuild. first time user, just a few little things tripped me up, but easy.
I really should of taken a few screenshots and cut and paste the bits from that link ... maybe tomorrow. Now to work out why RallyX isnt in the list of cores ???