Rogue Legacy Source Code
Find a file
Ethan Lee 59a6fbec87
Some checks failed
CI / Linux (push) Has been cancelled
AOT: Integrate SDL_RunApp into Main
2024-12-21 01:05:56 -05:00
.github CI: Explicitly target RogueLegacy.sln 2024-12-02 11:25:00 -05:00
.vscode Add dll path for windows in launch config json (#3) 2024-10-17 22:36:49 -04:00
DS2DEngine Initial RL1 source release 2024-10-11 13:53:30 -04:00
InputSystem Initial RL1 source release 2024-10-11 13:53:30 -04:00
RogueCastle AOT: Integrate SDL_RunApp into Main 2024-12-21 01:05:56 -05:00
SpriteSystem Replace some uses of System.IO.File with TitleContainer.OpenStream 2024-12-12 11:39:50 -05:00
Tweener Initial RL1 source release 2024-10-11 13:53:30 -04:00
.gitignore Initial RL1 source release 2024-10-11 13:53:30 -04:00
EXCEPTIONS.md Initial RL1 source release 2024-10-11 13:53:30 -04:00
LICENSE.md Initial RL1 source release 2024-10-11 13:53:30 -04:00
rd.xml Add NativeAOT runtime directives 2024-12-02 12:19:21 -05:00
README.md Add link to level editor 2024-12-19 11:34:12 -05:00
RogueLegacy.Core.csproj AOT: Be specific about certain properties for console targets 2024-12-13 13:13:33 -05:00
RogueLegacy.sln Initial RL1 source release 2024-10-11 13:53:30 -04:00

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/*.dll next to RogueLegacy.exe)

The game should now start!

Level Editor

The original level editor used to make Rogue Legacy can be found here. Note, however, that the editor is no longer compatible with the latest version of the game!