This is for TrueNAS Scale specifically but leaving this here as well just in case and checking out the cross-post function.
cross-posted from: https://lemmy.world/post/1202672
> Since getting done with backing up all our DVDs and Blu-rays I've been searching for another project when I came across RomM. It's a great archiving tool for your retro roms. I also wanted a way to run emulators from the browser, if possible. Thankfully TrueCharts had me covered with having RomM and EmulatorJS readily available as apps.
>
> I didn't see any install instructions for TrueNAS so maybe someone will find this useful.
>
> Prerequisites -
> 1. TrueCharts catalog
> 2. Shared folder where you can upload your roms after backup
> 3. Twitch Account with 2FA
>
> File structure is pretty important so make sure you have a share folder setup for your roms and break them down by device
>
>
> /mnt/Main/Monitor/Roms/gb
>
> /mnt/Main/Monitor/Roms/gba
>
> /mnt/Main/Monitor/Roms/gbc
>
> etc..
>
> **Installing RomM**
>
> Before installing we need to do some work to get a client ID and Client secret from IGDB.
>
> - https://api-docs.igdb.com/#getting-started
>
> It's all pretty straight forward but the naming OAuth and Category may throw some people off.
>
> **Name:** IGDB-yourusername
>
> **OAuth redirect URL:** https://127.0.0.1
>
> **Category:** Application Integration
>
> Once that is setup you can go back to your TrueNAS and actually start the install process.
>
> If you do currently have the share setup for access go ahead and turn off the share for now to bypass the integrity check.
>
> 1. Grab your Client ID and Client secret from the steps above.
> 2. Input your Client ID and client Secret in the appropriate fields
> 3. Under "Storage and Persistence" click "Add"
>
> **Type of Storage:** Host Path
>
> **Automatic Permissions:** Checked
>
> **Host Path:** /path/to/roms
>
> **Mount Path:** /romm/library/roms
>
> 4. Click "Save" and wait to launch
> 5. Once launched click "Open" from your applications page
> 6. Once in the RomM dashboard select "Library" and then "Scan"
> 7. Check "Complete Scan" and then click "Scan"
> 8. You should see the devices and rom names appear as it begins to index your roms.
> 9. Once that's done you can click on "Platforms" and select which device you want and should see all your roms in a beautiful web front end!
>
>
> ![](https://lemmy.world/pictrs/image/6f95e387-e3be-4010-a5d9-00e88d84ff0d.png)
>
> You may have some titles that did not come through correctly and will be a white cover.
>
> 1. Select the game by clicking on the cover
> 2. Once inside the meta data page select the three dots below the cover
> 3. Select "Search IGDB"
> 4. Fix the match of the game.
>
> This should fix the cover and metadata of any games that weren't found on IGDB correctly.
>
> From here RomM is good to go. You can now turn your share back on from TrueNAS and add games as you backup and scan from RomM when needed!
>
> **Disclaimer**
> You can stop here. There's really no need to install EmulatorJS if you want to use something like retroarch. Simply point retroarch to your shared folder with your roms and scan that directory. It will go into the device subfolders and find all your roms. For me I figured if I was setting all this up I might as well go full bore with EmulatorJS as well.
>
> **Installing EmulatorJS**
>
> As before if your roms folder is currently setup as a share go ahead and turn it off via your TrueNAS Shares menu.
>
> 1. Select "Available Applications" and search "Emulator"
> 2. Select "Install" on "EmulatorJS"
> 3. Scroll down to "Storage and Persistence" and select "Add"
>
> This is the slightly annoying part as I could not find a reliable way to mount all the folders without doing it device by device. This is how I did it but there may be a better solution I'm not aware of.
>
> **Type of Storage:** Host Path
>
> **Auto Permissions:** Checked
>
> **Host Path:** /path/to/roms/gb
>
> **Mount Path:** /data/gb/roms
>
> Again, you will have to add a storage point for each of your device folders. Rinse and repeat as needed.
>
> 4. Once done click "Save" and wait for it to launch. This does have a DB and a front end so you may see "Deploying 1/2" this is normal
> 5. Click "Open" on EmulatorJS
> 6. This will take you to the Manager page of emuJS This will download some assets and other things. Let it finish and click the X in the top right
> 7. At the top you should see your devices. gb, gba, gbc..ect and you should see a Roms and Scanned count. Click scan on the first one and let it scan. Once done you should see the Roms and Scanned count update and the Scanned count should match the Roms count.
> 8. You should see the device be added to the left hand menu.
> 9. Click on the device
> 10. You should see a list of ID'd roms and some steps on the left.
> 11. Click "Download all Available Art"
> 12. Click "Add All Roms to Conig"
> 13. Repeat steps 7 - 12 as needed
> 14. Open a new tab and go to tru.nas.ip.add:10124
> 15. You'll get a popup saying there's no games added and to add games. Select "OK"
> 16. Click on the folder in the top left
> 17. On the top right click "Pull Default Config"
> 18. Close that tab and refresh tru.nas.ip.add:10124
>
> EmulatorJS should now be setup and ready for use! I would suggest bookmarking this page as the main page as "Open" in trunas just takes you to the management page.
>
>
> ![](https://lemmy.world/pictrs/image/2f82fc7e-544f-4d16-a80e-da2b05178766.png)
>
> That's it! Make sure to turn on your Rom share again from your TrueNAS Shares menu to access your roms folder again.
>
> This was a long post but hopefully someone finds this useful or likes to backup their retro games like I do to preserve their gaming history. Make sure to check out their official GitHub pages and star them or buy them some coffee! Thank you TrueCharts for providing the Apps on TrueNAS as well!
>
> RomM: https://github.com/zurdi15/romm
>
> EmuJS: https://github.com/EmulatorJS/EmulatorJS
I’ve been using adgaurd home from the official truenas apps. Running for about 3 or 4 months. It’s doing it’s job but it’s no silver bullet. Also added a good few custom lists.
I’ve been using adgaurd home from the official truenas apps. Running for about 3 or 4 months. It’s doing it’s job but it’s no silver bullet. Also added a good few custom lists.
I've been backing up a lot of my old GB/GBC/GBA (thanks gb operator!) but I would really like something akin to Romm. It's got a great front end but it's really only for archiving.
I'm running truenas and they do have emulatorjs but it's fairly limited as when I'm done with my GB collection I'm on to PSX PS2 and OG Xbox. Which emulatorjs doesn't support.
Anyone found any good solutions?
INB4 retroarcher it's currently not being worked on or is not in a production state. Maybe someday.
Edit: Ultimately I went down RomM and EmuJS route. If anyone is interested here's my write up to get you started.
https://lemmy.world/post/1202672
I’ve been using adgaurd home from the official truenas apps. Running for about 3 or 4 months. It’s doing it’s job but it’s no silver bullet. Also added a good few custom lists.