Official repository for Pathos content and modules
Official repository for Pathos content and modules
This repository contains all content definitions and module generations for the traditional roguelike game Pathos. Fork this repository to start creating a new variant of Pathos! All game assets such as images, sounds and translation files reside in this repository.
Pathos has never been monetised and it is required that variants must not be commercialised in any way.
The content definitions and module generations are declared as C# code. This code must be built into an assembly before it can be executed by Pathos. The main project compiles against the assemblies for the installed version of Pathos for Windows Desktop. The game installation files include the PathosMaker.exe tool which is automated to process the asset pipeline.
C:\Games\Pathos **.** you will need to edit the paths in PathosOfficial.csproj if you don't use this default location.
PathosOfficial.sln.PathosOfficial.code-workspace.Ctrl+Shift+B to build.F5 to run PathosOfficial project.If these steps are successful, the Pathos game will launch, running the forked code. Exit the game and make a minor change to the code before building and running again to see the difference in the game.
NOTE: when the Pathos game self-updates you need to pull the latest commits from the Official repository and vice versa.
The main file is PathosOfficial.cs as it the top-level class that declares the campaign content and modules.
| Folder | Description |
|---|---|
| Albums | mp3 files for sound effects |
| Assets | translation files, change updates and music tracks |
| Atlases | png files for tilesets |
| Codex | C# files for content definition |
| Modules | C# files for module generation |
| Resources | Additional files referenced by the content and modules |
| Reports | Generated text file to visualise the declared content |
The Manifest is a neutral content definition that is executed by the game engine. It is intended to have no knowledge of the individually declared content.
The Codex is a way of naming the individual content that is registered in the manifest. This is useful for declaring content and for writing module generation algorithms as it allows direct reference to content. For example, the barbarian class starts with the two-handed sword item.
Because of the way .NET JIT (Just-In-Time) compilation works, it is desirable to serialise the codex into a binary file. This is named Pathos.Codex and is automatically compiled by the PathosMaker tool.
In Visual Studio, the View > Output window shows information about the build. The PathosMaker tool will give information about what happened including any errors or warnings.
…Please reach out to me for any help or even just to share your variant :)
Discord
Made with Invention
No open issues yet, or sync has not completed.