I’m trying to do the same thing. I would essentially like to hide Doom .wad and .pk3 files, using only .gz files to keep my GZDoom library organized. I have a “GZDoom HD Pre-build” setup I’m working on in Windows, which includes .bat scripts for launching different wads and mods easily. So, I had the scripts basically set up for use already, with some editing needed to conform it to Batocera/Linux filesystem - stuff lol.
I have quite a few scripts which I’ve tried everything I could think of to get working.
I put iwads and pwads in the /userdata/roms/gzdoom/ directory, inside WADs/ and MODs/ folders respectively. Then, (working just with the vanilla Doom wad…) edited the Doom.gz file to read:
-iwad “WADs\DOOM.WAD”
-iwad “WADs/DOOM.WAD”
That didn’t work.
I moved the aformentioned folders to a ~/userdata/GZDoom/ directory (in an attempt to hide WADs and PK3 files). And added # to each entry in the config file that points it to search the roms/gzdoom folder for suitable wads.
Then changed the Doom.gz file to read:
-iwad “userdata/GZDoom/WADs/DOOM.WAD”
-iwad “/userdata/GZDoom/WADs/DOOM.WAD”
-iwad “~/userdata/GZDoom/WADs/DOOM.WAD”
Nothing.
They do work when I just plop the WADs in the /userdata/roms/gzdoom/ folder, but the scripts aren’t working no matter what I do. And the individual WADs and PK3 files still show up in Batocera even when I comment out the search paths in the config file.
Hope to find a solution to this issue or a future update that provides ease of access when dealing with wads and pk3s.
Sidenote: Featherpad opens .gzdoom files for editing, but not .gz files. So I have to rename each file and back again any time I need to go about editing each script. ALSO, GZDoom seems to load .gz files and not .gzdoom files on my end…