Update All/MAME Getter - download ROMs to NAS?

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
retrofan01
Posts: 24
Joined: Mon May 25, 2020 7:48 am
Has thanked: 3 times
Been thanked: 4 times

Update All/MAME Getter - download ROMs to NAS?

Unread post 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.
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

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

Unread post 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
retrofan01
Posts: 24
Joined: Mon May 25, 2020 7:48 am
Has thanked: 3 times
Been thanked: 4 times

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

Unread post 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?
Milspex
Posts: 167
Joined: Wed Jun 10, 2020 6:46 pm
Has thanked: 38 times
Been thanked: 35 times

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

Unread post by Milspex »

yes , usb0 is a usb path

maybe its something like ROMMAME=/media/smb/games/mame
retrofan01
Posts: 24
Joined: Mon May 25, 2020 7:48 am
Has thanked: 3 times
Been thanked: 4 times

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

Unread post 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?
gameboyhomeboy
Posts: 14
Joined: Wed Jan 19, 2022 6:21 pm

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

Unread post by gameboyhomeboy »

I have this same issue and hoping for a solution.
Post Reply