To start GZDoom on my mac the shortest directory is like this:
/ZDoom.app/Contents/MacOS/zdoom
I cannot start it like Windows users:
C:doom.exe
Is there a way to have a shorter path?
Mac OS game directory in Terminal
Re: Mac OS game directory in Terminal
Create an alias in your shell, zsh on recent versions of macOS, and bash on older ones. This has nothing to do with GZDoom itself because support of aliases is a common shell applications' feature.
Re: Mac OS game directory in Terminal
Terminal seems to not like me creating aliases of commands! So for example this works:
alias doom="/ZDoom.app/Contents/MacOS/zdoom -iwad doom2.wad -skill 4"
Typing
doom
into terminal will bring up Entryway, but if I make this alias:
alias s0='-loadgame /Users/myimac/Documents/ZDoom/Savegames/save0.zds'
Which is a save game of the beginning of The Gantlet, then try this in terminal:
doom s0
It loads the beginning of Entryway again! Similarly:
alias w3='-warp 03'
And in terminal:
doom w3
Still brings me to Entryway!
Seems like I can't create an alias of commands? But the first alias (which starts off as a file path string) contains commands and they do work! I even checked the skill level in console and it is correct! I also use the "alias" command in terminal to check if all the above aliases are known to my system. Indeed they are, just not being recognized by ZDoom!? Argggghhhh!!
alias doom="/ZDoom.app/Contents/MacOS/zdoom -iwad doom2.wad -skill 4"
Typing
doom
into terminal will bring up Entryway, but if I make this alias:
alias s0='-loadgame /Users/myimac/Documents/ZDoom/Savegames/save0.zds'
Which is a save game of the beginning of The Gantlet, then try this in terminal:
doom s0
It loads the beginning of Entryway again! Similarly:
alias w3='-warp 03'
And in terminal:
doom w3
Still brings me to Entryway!
Seems like I can't create an alias of commands? But the first alias (which starts off as a file path string) contains commands and they do work! I even checked the skill level in console and it is correct! I also use the "alias" command in terminal to check if all the above aliases are known to my system. Indeed they are, just not being recognized by ZDoom!? Argggghhhh!!