THIS PAGE IS ONLY OF INTEREST TO NERDS and people who'd like to make their own patches for STEINS;GATE (or some other SciADV titles) - and even then, you'll need a nerd to deal with this.
This is a snapshot of our root project for the STEINS;GATE patch, with some assets removed.
It's going to be painful and these instructions may not be complete. As you can see, our build is kind of a mess, and you'll need to extract assets from an already patched game installation. This isn't the release we'd like to have made, but we hope it's better than nothing.
Clone this repository recursively. Some of our internal dependencies are submodules.
- Most of our code is released under liberal open source licenses, check the repositories
- Please do not pirate the game
- If you release a patch, take care to find and change all relevant text to not misrepresent us as the authors of your patch. There is a lot of such text scattered throughout:
content/languagebarrier/patchdef.json(please use your own AppData directory too)installer/userdata- Hardcoded in the launcher source code at
launcher/realboot(note, there's a technical support link pointing to our Discord, please don't keep it that way without asking us first) - EXE metadata in
terribuild.ps1 - We probably forgot something
Third-party dependencies included in this repository:
7zS2.sfx: Customised 7-Zip SFX module (public domain)rcedit-x86.exe: rcedit (MIT)xdelta3.exe: xdelta3 version 3.1.1 (Apache 2.0)Newtonsoft.Json.dll: Json.NET (MIT)DXVK: dxvk (Zlib)
- Visual Studio 2022
- Qt 5.15.2 for Visual Studio 2019
- Libraries for noidget (see
installer/noidget/conf.pri.sample) - DirectX 9 SDK - make sure the
DXSDK_DIRenvironment variable is set to e.g.C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\ - Python 2.7 - make sure it's in PATH
- 7-Zip - make sure it's in PATH
- Build
sc3toolsusing thecargo build --releasein its subfolder (this also happens during the main build but you'll need it for asset extraction first). - You do not need to build LanguageBarrier or xdelta3, these are built during the main build and noidget build, respectively.
- Export edited images to the
cc-edited-imagessubfolder in this repository. Sorry, no convenient way to do this right now - takelanguagebarrier/c0data.mpkfrom a patched copy and copy things to the appropriate paths according toc0data_toc.csv. - Build SciAdv.Net with its
build.cmd. - Extract
languagebarrier/enscript.mpkandlanguagebarrier/enscript_c.mpkwithungelifyfrom SciAdv.Net somewhere. - Dump patched script text with
sc3tools(also from SciAdv.Net):sc3tools.exe extract-text *.scx ccin the extraction folders. - Copy the output .txt files from
enscript.mpkinto acc-scriptssubfolder and the output .txt files fromenscript_c.mpkinto acc-scripts-consistencysubfolder. - Extract the Steam version's original
USRDIR/script.mpkinto thescript_archive_steamsubfolder. - Copy
languagebarrier/audio,languagebarrier/subsandlanguagebarrier/videotocontent/languagebarrier
- Copy
installer/noidget/conf.pri.sampletoinstaller/noidget/conf.priand adjust for your system. - Copy
config.ps1.sampletoconfig.ps1and adjust for your system
- Run
terribuild.ps1 - Get a billion errors
- Cry