Python script to connect a remote server and mounting games folders automatically.
Add the following to the bottom of downloader.ini:
[willoucom/MisterFPGA_Network_Shares]
db_url = https://raw.githubusercontent.com/willoucom/MisterFPGA_Network_Shares/db/db.json.zip- create a
network_shares.iniin the same directory (read the configuration section of the readme) - run
network_shares.py
Configuration is a simple ini file with sections.
You can configure both CIFS and NFS, but NFS has an higher priority for symlinks.
[Settings]
runatstartup = True/False Enable the script to run when misterfpga starts.
symlinks = True/False Link each folder in your share to the same folder in games.[CIFS]
Server = <ip> or <network name> *Mandatory Ex: 192.168.1.1
Share = <shared folder> *Mandatory Ex: /myshare/mister
Username = <username> *Optionnal
Password = <password> *Optionnal
ADDITIONAL_MOUNT_OPTIONS= <additionnal mount parameters> *Optionnal[NFS]
Server = <ip> or <network name> *Mandatory Ex: 192.168.1.1
Share = <shared folder> *Mandatory Ex: /myshare/mister
ADDITIONAL_MOUNT_OPTIONS= <additionnal mount parameters> *Optionnal