Home
Name Modified Size InfoDownloads / Week
dbsg-1.8.zip 2023-05-15 4.9 kB
readme.md 2023-05-15 4.8 kB
dbsg-1.7.zip 2020-09-28 4.9 kB
dbsg-1.6.zip 2020-09-25 4.5 kB
dbsg-1.5.zip 2020-09-16 4.2 kB
dbsg-1.4.zip 2020-09-14 3.1 kB
dbsg-1.3.zip 2020-09-11 3.5 kB
dbsg-1.2.zip 2020-09-10 3.2 kB
dbsg-1.1.7z 2020-09-07 2.2 kB
dbsg-1.0.7z 2020-09-06 2.0 kB
Totals: 10 Items   37.3 kB 4

DESCRIPTION

Command-line GZDoom Windows batch script generator.

Generates editable dbsg-<game>.bat where <game> is a game file.

Generated script can accept user parameters.

Project site

FEATURES

  • Generates editable Windows batch GZDoom command-line launch script.
  • Should work with any GZDoom compatible port.
  • User can control generation using custom configuration.
  • Generated script can be easily customized.
  • Generated script is portable.
  • Generated script can accept user parameters.
  • Last saved game can be loaded on startup.
  • Generated script can set own last write time to launch time.
  • Generated script -w switch performs Wad Archive game search.
  • Generated script -g switch Googles game.
  • Generated script -c switch opens GZDoom command line parameters help.

USAGE

Copy script and game files to GZDoom dir first.

dbsg.bat [-w] game [config.bat]

PARAMETERS

Parameter Description Default
-w game is standalone, e.g. doom2.wad, etc.
game any supported game (wad, pk3, zip, etc.)
config.bat user batch config dbsg-config.bat

CONFIG

User batch config is executed first. The following variables are supported:

Variable Description Default
doom GZDoom executable gzdoom.exe
doomConfig GZDoom user configuration gzdoom-%USERNAME%.ini
wad main wad doom2.wad
mods mods (wad, pk3, zip, etc.)
deh DEH patch
bex BEX patch
prependSavedir prepend saves dir to save
savedir savegames subdir saves
shortdir screenshots dir screenshots
params any parameters
loadLast load last save if set
saveExt save extension zds
scriptPrefix generated script prefix. "" for no prefix %%scriptName%%-
updateLaunch update last script launch time if set set in config

EXAMPLES

Edit generated script if you have any additional files.

  • Generate with default config:
dbsg.bat dead-air_v2.pk3
  • Generate with custom config:
dbsg.bat dead-air_v2.pk3 dbsg-my-config.bat
  • Specify -w flag for standalone game:
dbsg.bat -w square1.pk3

GENERATED SCRIPT

Run script to launch the game. Any GZDoom parameters are accepted as script parameters if no script specific switches are specified.

COMMAND LINE

Switches are mutually exclusive, only one at a time:

Switch Description
-w Wad Archive game search
-g Google game search
-c open GZDoom command line parameters help

KNOWN ISSUES

Names with spaces, percent and culture-specific characters may not be handled properly.

Source: readme.md, updated 2023-05-15