Page 1 of 1

Update All/MAME Getter - download ROMs to NAS?

Posted: Wed Feb 02, 2022 5:42 pm
by retrofan01
I''ve mounted a CIFS share on my NAS to MiSTer so that it looks there first when loading ROMs. I have my arcade ROMs stored on my NAS and the arcade cores load them from there with no problems.

However, I'd like the MAME Getter and HBMAME Getter scripts in Update All to download any ROMs to that same folder on my NAS instead of /mister/sdcard/games/mame which is where it currently defaults to - how do I do this? I've currently set LOCAL_DIR="cifs" in cifs_mount.sh and the MAME ROM directory to games/mame.

Re: Update All/MAME Getter - download ROMs to NAS?

Posted: Wed Feb 02, 2022 6:00 pm
by jca
Try something similar to that:

update_mame-getter.ini

MRADIR=/media/usb0/_Arcade
ROMMAME=/media/usb0/games/mame
ROMHBMAME=/media/usb0/games/hbmame

update_hbmame-getter.ini

MRADIR=/media/usb0/_Arcade
ROMMAME=/media/usb0/games/mame
ROMHBMAME=/media/usb0/games/hbmame

Re: Update All/MAME Getter - download ROMs to NAS?

Posted: Wed Feb 02, 2022 10:05 pm
by retrofan01
I'm getting the error 'Inexistent or small rom folder detected. /media/usb0/_Arcade: no such file or directory'. I don't have any USB drives attached, only SD card and SMB share accessed via Ethernet. I'm guessing the usb0 part of those paths work is incorrect given this?

Re: Update All/MAME Getter - download ROMs to NAS?

Posted: Thu Feb 03, 2022 12:38 pm
by Milspex
yes , usb0 is a usb path

maybe its something like ROMMAME=/media/smb/games/mame

Re: Update All/MAME Getter - download ROMs to NAS?

Posted: Thu Feb 03, 2022 5:20 pm
by retrofan01
Just trying HBROMMAME=/media/smb/games/hbmame in update_hbmame-getter.ini as a test but I get the following output:

Code: Select all

mkdir: cannot create directory ?/media/smb?: Read-only file system

Using /tmp_ua_settings_update_hbmame-getter.ini

Inexistent or small rom folder detected.
My NAS is a Napp-It VMware VM and the username I've defined in cifs_mount.ini has full read/write permissions. I've also tried setting ADDITIONAL_MOUNT_OPTIONS to "vers=2.0" and "vers=3.0".

Loading games off SMB works fine and if I set HBROMMAME to /media/fat/games/hbmame, arcade ROMs are downloaded onto SD card with any problems. Any further ideas?

Re: Update All/MAME Getter - download ROMs to NAS?

Posted: Fri Feb 04, 2022 9:06 pm
by gameboyhomeboy
I have this same issue and hoping for a solution.