SRR2 is a modified fork of The Simpsons: Hit & Run with lots of enhancements, including C++20 support, x64, and VCPkg for easier third-party library management.
This repository and or build distributations contains a modified version of The Simpsons: Hit & Run, using its original source code and assets strictly for non-commercial, educational, and archival purposes under fair use. There is no intent to cause harm to the original work or its market.
- End-User Restrictions: (YOU) You are not permitted to sell or commercially distribute this project in any form. Anyone attempting to do so will be blocked if found and reported to wherever it is distributed.
- Purpose: Enhancement, preservation, and research.
- Use of Copyrighted Material: Assets and source code are used strictly for modifications and improvements.
- No Commercial Intent: This project is not sold, monetized, or distributed for profit. Donations are not accepted.
If you encounter issues, please create an issue.
- Download the latest build from the Releases page.
- Extract the contents of the zip file to your desired location.
- Navigate to the extracted folder and locate
SRR2.exe
. - You can now run the game. (Note: The game will crash without the required assets)
Xbox (Will work on Windows too but requires controller for input; note - it will also act as the console version because it is)
NOTE: Sadly Xbox One is not supported right now so it will just crash Xbox Series is okay and another thing to note is on UWP no matter PC or Xbox there is a memory leak and issues with the srrmemory.cpp
file which end up causing a crash.
- Navigate to the Releases page.
- Download two files one will be named like
SRR2_UWP_X.X.X.X_x64_XXX.appx
and the otherDependencies.zip
. - Now navigate to the Xbox dev mode portal (https://xbox:11443/ or the local IP and port the dev mode dashboard shows you) or if on PC just double click the AppX and install then run and make sure a controller is connected.
- Then press "Add" and drag and drop the AppX you downloaded.
- Once done it should run.
To work with the source code, ensure you have the following:
When working on the code you must have some things
- Visual Studio (Install from Microsoft if not already present)
- C++ Language Support (In the Visual Studio installer, select the
Desktop development with C++
andUniversal Windows Platform development
options) - VCPkg support (When selecting
Desktop development with C++
, ensurevcpkg package manager
is checked on the right side)
- Open command prompt and navigate to a directory where you want to store the source and run
git clone --recurse-submodules https://github.com/3UR/Simpsons-Hit-Run
- When done you can open
SRR2.sln
with Visual Studio. - Once in Visual Studio press
Tools -> Command Line -> Developer Command Prompt
- A Developer Command Prompt will open enter the following
vcpkg.exe install
- Once that is done you may need to run
vcpkg integrate install
If the setup was successful, you should now be able to build any project in the solution. When building for UWP don't forget to change the config! e.g if it's ReleaseWindows
make it ReleaseUwp
.
Note
All builds previewed in the media are built using the source on this repository.