Currently, this project can only be built for 32-bit Windows, with Visual Studio ≥2022 and a Tup-based build setup. However, since IDE integration is horribly broken for both Makefile and directory projects, we strongly recommend literally anything else to edit the code.
You'll therefore need the following:
Visual Studio Community ≥2022, with the Desktop development for C++ workload.\ If you haven't already installed the IDE for other projects and don't plan to, you can install only the command-line compilers via the Build Tools installer.
Tup in the latest Windows version.\
Place tup.exe
and its DLLs somewhere in your PATH
.
Your favorite code editor.\ A ready-to-use configuration for Visual Studio Code is part of this repository. Make sure to install the default recommended C++ extensions when asked.
To build:
Invoke build.bat
in your way of choice:
If you use Visual Studio Code, open the editor from this command-line environment:
code .
Then, you can run the build task with the default Ctrl-Shift-B
keybinding.
Or you can always run build.bat
directly from this shell.
The binary will be put into the bin/
subdirectory, where you can also place the game's original data files.
By default, both Debug and Release configurations are built.
If you only need one of them and want to speed up the build process, you can pick a single one by creating a file named tup.config
in the root directory of this repository:
CONFIG_BUILDTYPE=debug # builds only in Debug mode
CONFIG_BUILDTYPE=release # builds only in Release mode
CONFIG_BUILDTYPE= # builds in both modes
.PDB files are generated for Debug and Release builds, so you should get symbol support with any Windows debugger.
Select between Debug and Release modes in the Run and Debug menu (Ctrl-Shift-D
by default), and start debugging with the ▶ button or its keybinding.
We don't support it for compilation, but you can still use it for debugging by running
devenv bin/GIAN07d.exe &::to run the Debug binary
devenv bin/GIAN07.exe &::to run the Release binary
from the x64_x86 Cross Tools Command Prompt. Strangely enough, this yields a superior IntelliSense performance than creating any sort of project. 🤷
Original README by pbg below.
以下のコードについては、見つかり次第追加するかもしれません。