MiSTer FPGA (computer/console/arcade hardware simulation)

Discussion in 'Retro & Arcade' started by elvis, Oct 14, 2018.

  1. OP
    OP
    elvis

    elvis Old school old fool

    Joined:
    Jun 27, 2001
    Messages:
    37,892
    Location:
    Brisbane
    Great work!

    I'll make some DAT files when I get back, but pleased to see your stuff is moving quick.
     
    self_slaughter and MUTMAN like this.
  2. self_slaughter

    self_slaughter Member

    Joined:
    Dec 12, 2010
    Messages:
    1,490
    Location:
    4165
    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. :D

    [​IMG]
     
    flain, elvis and MUTMAN like this.
  3. MUTMAN

    MUTMAN Member

    Joined:
    Jun 27, 2001
    Messages:
    6,516
    Location:
    4109
    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 :)
     
  4. OP
    OP
    elvis

    elvis Old school old fool

    Joined:
    Jun 27, 2001
    Messages:
    37,892
    Location:
    Brisbane
    Every time this thread gets bumped in reminded I haven't done those damned DAT files. Been so busy... :(
     
  5. MUTMAN

    MUTMAN Member

    Joined:
    Jun 27, 2001
    Messages:
    6,516
    Location:
    4109
    busy doing what ? helping an old fool with his old microbee files ?
    :lol: :lol: :lol:
     
    Vanne and elvis like this.
  6. self_slaughter

    self_slaughter Member

    Joined:
    Dec 12, 2010
    Messages:
    1,490
    Location:
    4165
    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. :/
     
    MUTMAN likes this.
  7. MUTMAN

    MUTMAN Member

    Joined:
    Jun 27, 2001
    Messages:
    6,516
    Location:
    4109
    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.
     
    Last edited: Oct 6, 2019
  8. MUTMAN

    MUTMAN Member

    Joined:
    Jun 27, 2001
    Messages:
    6,516
    Location:
    4109
    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 ?
     
  9. self_slaughter

    self_slaughter Member

    Joined:
    Dec 12, 2010
    Messages:
    1,490
    Location:
    4165
    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)
     
    Last edited: Oct 6, 2019
    MUTMAN likes this.
  10. MUTMAN

    MUTMAN Member

    Joined:
    Jun 27, 2001
    Messages:
    6,516
    Location:
    4109

    Thanks.
    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 ...
    :)
     
  11. MUTMAN

    MUTMAN Member

    Joined:
    Jun 27, 2001
    Messages:
    6,516
    Location:
    4109
  12. OP
    OP
    elvis

    elvis Old school old fool

    Joined:
    Jun 27, 2001
    Messages:
    37,892
    Location:
    Brisbane
    I wish that was all. :lol:
     
    MUTMAN likes this.
  13. OP
    OP
    elvis

    elvis Old school old fool

    Joined:
    Jun 27, 2001
    Messages:
    37,892
    Location:
    Brisbane
    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).
     
  14. MUTMAN

    MUTMAN Member

    Joined:
    Jun 27, 2001
    Messages:
    6,516
    Location:
    4109
    That sounds good to me :)
     
  15. OP
    OP
    elvis

    elvis Old school old fool

    Joined:
    Jun 27, 2001
    Messages:
    37,892
    Location:
    Brisbane
    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.
     
    self_slaughter, MUTMAN and Vanne like this.
  16. MUTMAN

    MUTMAN Member

    Joined:
    Jun 27, 2001
    Messages:
    6,516
    Location:
    4109
    I have a hammer and poor eyesight, i can try but i get the feeling i already know the result :lol:
     
    elvis likes this.
  17. OP
    OP
    elvis

    elvis Old school old fool

    Joined:
    Jun 27, 2001
    Messages:
    37,892
    Location:
    Brisbane
    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.
     
    Last edited: Oct 10, 2019
  18. OP
    OP
    elvis

    elvis Old school old fool

    Joined:
    Jun 27, 2001
    Messages:
    37,892
    Location:
    Brisbane
    MUTMAN likes this.
  19. MUTMAN

    MUTMAN Member

    Joined:
    Jun 27, 2001
    Messages:
    6,516
    Location:
    4109
    I cant get bloody SMB working to my NAS :( , but onwards and upwards :)

    upload_2019-10-14_20-2-21.png


    Results are in ..


    Source-Files: 30968

    - 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
     
    Last edited: Oct 14, 2019 at 9:44 PM
    elvis likes this.
  20. MUTMAN

    MUTMAN Member

    Joined:
    Jun 27, 2001
    Messages:
    6,516
    Location:
    4109
    WOW !
    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


    20191014_205804.jpg

    elvis I followed this
    https://github.com/RetroPie/RetroPi...ng,-Rebuilding,-and-Filtering-ROM-Collections
    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 ???
     
    elvis likes this.

Share This Page

Advertisement: