fallout[12]enthusiast
First time out of the vault
I want to share with you a bash script 'fallout-wine' (attached) I wrote, which eases installation, launching, and updating versions of Fallout[12] + mods on Linux.
It currently supports:
- Fallout 1 (+ Fixt)
- Fallout 1.5 Resurrection
- Fallout 2 (+ Unofficial Patch)
- Fallout 2 (+ Restoration Project)
- Fallout Nevada
- Fallout Last Hope
- fixing 'too many items'-bugged savegames in a convenient way
To use it, one has to download and/or extract the patch and mod files, and specify their paths at the top of the script file, everything else is automated. When the script is run, it presents a multiple choice menu where you can select what to install (if not already installed) and then run.
I thoroughly tested the script (Arch Linux + sway 1.0 + wine-4.11 + bash 5.0.7(1)).
The script was written with a focus on maintainability. It's mostly pure bash and coreutils (only mkdir and cp), the only other dependencies are sed, find and wine. It is fairly short and there are comments where they matter. It is easily extendable and could support other mods too. The logic is straight forward, abstraction is high. Feel free to change it to your liking. Use the '-d' switch for debugging.
Comments and criticism (especially in regard to bash programming style) are welcome! Please let me know if there is something that could be done better!
Best wishes!
PS: Excuse my English.
PPS: The forum does not allow uploading *.tar.gz files.
It currently supports:
- Fallout 1 (+ Fixt)
- Fallout 1.5 Resurrection
- Fallout 2 (+ Unofficial Patch)
- Fallout 2 (+ Restoration Project)
- Fallout Nevada
- Fallout Last Hope
- fixing 'too many items'-bugged savegames in a convenient way
To use it, one has to download and/or extract the patch and mod files, and specify their paths at the top of the script file, everything else is automated. When the script is run, it presents a multiple choice menu where you can select what to install (if not already installed) and then run.
I thoroughly tested the script (Arch Linux + sway 1.0 + wine-4.11 + bash 5.0.7(1)).
The script was written with a focus on maintainability. It's mostly pure bash and coreutils (only mkdir and cp), the only other dependencies are sed, find and wine. It is fairly short and there are comments where they matter. It is easily extendable and could support other mods too. The logic is straight forward, abstraction is high. Feel free to change it to your liking. Use the '-d' switch for debugging.
Comments and criticism (especially in regard to bash programming style) are welcome! Please let me know if there is something that could be done better!
Best wishes!
PS: Excuse my English.
PPS: The forum does not allow uploading *.tar.gz files.
Attachments
Last edited: