[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.6473301 [View]
File: 610 KB, 1810x992, launcherscript_examples.jpg [View same] [iqdb] [saucenao] [google]
6473301

>>6472301
In case any linux-friends care, I want to share this bash script I wrote for myself as a PR/GLBoom+ launcher. It can be used interactively or through arguments only.

https://pastebin.com/D6yM5dDA

The idea is that it auto-applies sprite fixes and dssecret, as well as optional DEH patches and perk's DoomSFX. It also has a list of wads that it recognizes for which it applies the correct complevel, IWAD, and wad-specific fixes. If you play a WAD that's not recognized, it just asks you what cl and iwad to use. It also integrates demo playing/recording and passes any extra arguments directly to glboom. It also copies the final launch command to the clipboard in case you want to retry a demo recording right away after interactive mode

Keep in mind you should tell it where to find your pr/glboom binary in the first couple of lines. It should detect any wads in your DOOMWADPATH environment variable, or failing that, inside ~/.prboom-plus. Or just in the current directory.

It might not be terribly useful to anyone except myself, but I thought I'd share anyway, on the off chance that someone likes it. It should work just as well for Mac-friends. Don't know how much tinkering it would need for Windows-friends. If you feel like it, try to break it and let me know if you find anything wrong so I can fix it!

Navigation
View posts[+24][+48][+96]