Setting Up Project Filesystem - dylondark/cob-taylor-games GitHub Wiki
Fonts
Make sure you install the fonts in the projectfonts folder on your system.
Directory Structure
The project requires the correct directory structure in order for it to work. There are four folders that must be present in the same folder as the project executable, gamefiles, menufiles, profanitycheck, and leaderboard. Copy these from your project folder and paste them into your build folder autogenerated by Qt Creator, which is usually in your project folder ("cob-taylor-games"). Below is a screenshot of the required directory structure.
Errors
If you don't have the required directory structure, you may get one or more of the following fatal errors:
The game may also launch but not display certain images and assets.
Notes
- Make sure you repeat this process when switching branches, as the data in the folders can be branch-specific.
- By default the project will look for the necessary folders in the same folder that the executable is in. You can use the -p command line argument to change the directory where the program looks for the files (see Command Line Arguments).