Skip to content

Quick and easy dev setup

Richard Preen edited this page Jul 18, 2024 · 9 revisions

Quickly bootstrap a local development setup.

Also see:

Pick a place to put it

cd ~

Clone Forsaken

Replace this url with your own fork if desired.

git clone https://github.com/ForsakenX/forsaken.git

Use it as your game folder too

cd forsaken
git clone https://github.com/ForsakenX/forsaken-data.git data
git clone https://github.com/ForsakenX/forsaken-libs.git libs
mkdir -p savegame logs configs pilots

Compile all the required 3rd party libraries

Pay attention to any errors.

Install missing tools ex: mecurial cmake etc.

./libs/src/build.sh

Compile Forsaken

./libs/make.sh

Run Forsaken

./libs/run.sh

Notes on Scripts

I generally make a few wrappers around make.sh and run.sh that have common shortcuts for my workflow.

Using another game folder

If you ever want to point to another asset folder for testing then just pass -chdir as the last option pointing to your game folder.

You don't need to do that here since in this case we treat this folder as the game folder.

Clone this wiki locally