- Windows 10 or later
- Visual Studio 2022 Community edition
- Inno Setup (optional, needed to build the installer)
- Open the solution
Fallout76-QuickConfiguration\Fo76ini\Fo76ini.sln
in Visual Studio 2022. - Set the build target to "Release", "Any CPU", and "Fo76ini_Updater"
- Click Build → Build Solution (F6)
- Copy (and replace) the content of
Fallout76-QuickConfiguration\Fo76ini_Updater\bin\Release\
intoFallout76-QuickConfiguration\Fo76ini\bin\Release\
. (Create the latter directory, if it does not exist) - Next, set the build target to "Release", "Any CPU", and "Fo76ini"
- Once again, click Build → Build Solution (F6)
- Copy the content of
Fallout76-QuickConfiguration\Additional files\
intoFallout76-QuickConfiguration\Fo76ini\bin\Release\
- Done.
- Open
Fallout76-QuickConfiguration\setup.iss
in Inno Setup Compiler. - Edit the first few lines, such as
ProjectVersion
andProjectGitDir
- You'll probably also need to edit these lines:
to something like this:
[Files] Source: "{#ProjectGitDir}\Publish\v{#ProjectVersion}\Fo76ini.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "{#ProjectGitDir}\Publish\v{#ProjectVersion}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Files] Source: "{#ProjectGitDir}\Fo76ini\bin\Release\Fo76ini.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "{#ProjectGitDir}\Fo76ini\bin\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
- Build the setup.
First, install all requirements from the "Manual build process" section.
Next, install these additional requirements for this build script:
I recommend installing these using scoop
and pip
:
# First, install scoop:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
irm get.scoop.sh | iex
# Add the 'extras' bucket to scoop:
scoop bucket add extras
# Install all requirements:
scoop install 7zip python rcedit inno-setup nuget pandoc
python -m pip install colorama
(Paste this line by line into a PowerShell window)
When you open a terminal in the folder containing the script and run python pack_tool.py
, you should see something like this:
From here, you can simply build the app and it should put the result into the folder Publish
.
The script has an interactive mode (which you can see in the screenshot) that starts when no command line arguments are supplied.
If you want to build the app for release quickly, enter this: python pack_tool.py -r -b -p -s
This will build the app, pack it into a zip, and build the setup.
You can also run python pack_tool.py --build-debug
to make a debug build.
$ python pack_tool.py --help
usage: pack_tool.py [-h] [-v] [-r] [-b] [-d] [-p] [-s] [-w]
Helper script for building Fallout 76 Quick Configuration
options:
-h, --help show this help message and exit
-v, --set-version set the current version
-r, --restore restore nuget packages
-b, --build build the app and updater
-d, --build-debug build the app and updater (Debug configuration)
-p, --pack pack the app into a zip archive
-s, --build-setup build the setup
-w, --whatsnew update the "What's new?" files
See Updating the "autocomplete.txt"
Run python pack_tool.py --whatsnew
and commit the changes.
Or, if you want to do it manually with pandoc:
pandoc --standalone -f gfm "What's new.md" -o "whatsnew.html" --css=Pandoc/pandoc-style.css -H Pandoc/pandoc-header.html
pandoc --standalone -f gfm "What's new.md" -o "whatsnewdark.html" --css=Pandoc/pandoc-style-dark.css -H Pandoc/pandoc-header.html
pandoc --standalone "What's new.md" -o "What's new.rtf"
The GitHub action should do the rest... It copies the files into felisdiligens.github.io/Fo76ini/
, therefore making it public to all users.