mirror of
https://github.com/flibitijibibo/RogueLegacy1.git
synced 2025-12-05 18:20:42 -08:00
Rogue Legacy Source Code
|
|
||
|---|---|---|
| .github | ||
| .vscode | ||
| DS2DEngine | ||
| InputSystem | ||
| RogueCastle | ||
| SpriteSystem | ||
| Tweener | ||
| .gitignore | ||
| EXCEPTIONS.md | ||
| LICENSE.md | ||
| rd.xml | ||
| README.md | ||
| RogueLegacy.Core.csproj | ||
| RogueLegacy.sln | ||
Rogue Legacy 1 Source Code
This is the source code for Rogue Legacy - more specifically, it is only the code, and only the FNA build. The assets and contentproj are not included.
License
Rogue Legacy's source code is released under a specialized, non-commercial-use license. See LICENSE.md for details.
Build Environment
The build environment for Rogue Legacy matches the one recommended by the FNA project:
https://fna-xna.github.io/docs/1%3A-Setting-Up-FNA/
Build Instructions
First, download this repository, FNA, and the native FNA libraries:
git clone --recursive https://github.com/FNA-XNA/FNA.git
git clone --recursive https://github.com/flibitijibibo/RogueLegacy1.git
curl -O https://fna.flibitijibibo.com/archive/fnalibs3.tar.bz2
tar xvfj fnalibs3.tar.bz2 --one-top-level
From here you should be able to dotnet build RogueLegacy.sln. The output
should be at RogueCastle/bin/x64/Debug/net40/.
Lastly, you'll need to copy a few files to the output folder manually:
- Copy the Content folder from your personal copy of the game
- Depending on your OS/architecture, copy the appropriate native libraries from fnalibs (for example, on Windows you would copy
fnalibs/x64/*.dllnext to RogueLegacy.exe)
The game should now start!