Game Files

This wiki page focuses on the PC-Version. Other platforms might have different game files and save locations, but because the files on those platforms cannot be modified anyway this is not significant.

On Windows Colt Canyon's game files can be found in two directories.

1. The installation directory, aka main game files (depends on where you've installed the game)
2. The local save directory (%localappdata%/ColtCanyon)

Almost all files, except for .ini-files (which are configuration files) are encyrypted and modifying these files might corrupt them.

## Game files

The game file location depends on the user's installation and can be different for everyone. On steam the local game files can be found by selecting "Manage > Browse local files" after right-clicking Colt Canyon in your library.

When you browse the local game files of Colt Canyon you will find the following files:

* A "language" folder
	+ Various .ini-files containing localization data for all languages the game supports
	+ The ini files can easily be opened and edited with text editors like Notepad
	+ These language files can be modified and duplicated to customize the game's localization
* 5 audiogroup .dat-files
	+ These files contain audio data and cannot be modified
* ColtCanyon.exe
	+ This is the main executable file to run the game
* data.win
	+ Various important game data like graphics, cannot be modified
* options.ini
	+ This is a default file created by the game's engine Game Maker and contains some basic configuration options
	+ Should not be confused with the settings.ini found within the save locations
	+ Does not actually contain options that can be found in-game
* Various .dll-files
	+ Used by the game to allow additional Windows functionality and communication with API's like Steam or GoG

## Save files

Colt Canyon uses various local, and depending on the platform, also cloud-synced save files to store the player's progress between game sessions.

All save files are stored in the game's local save location. On Windows this is in *C:\Users\[username]\AppData\Local\ColtCanyon.*

To open the save file location on Windows you can press Win + R and then execute the following line:

Here you will find some folders and files. Depending on your progress and how often you have played the game and what features you have used the files and folders might be different for you.

* gamelogs/
	+ Contains all gamelogs (.txt-files)
	+ Also contains a logging.ini, which is a settings file for the logging system
* language/
	+ This folder is optional and might not exist for you. You can create it to add custom language files which will not be modified when updating the game.
	+ Localization files placed here will be recognized by the game
* scripts/
	+ This folder can contain mods and scripts
* userdata/
	+ This folder contains actual progress data and also the folder that contains run savegames
	+ savefiles/
		- In this sub-folder of the userdata folder the game will store run savegames
		- This only exists after version 1.2. Older versions of Colt Canyon do not suppor run saves.
		- Every run save has its own subfolder here. By default the game only supports a single savegame though, therefore there will only be one subfolder here, which is the default savegame folder:
		- autosave/
			* This is the default run save location and might not even exist unless there is currently a run in progress
			* The content of a run savegame depends on the progress of the run, but there will always be a metadata file which can be opened using a text editor and a main .sav-file with the same name as the folder.
	+ save.sav
		- This contains overall progress data (not the progress within a run!)
		- Stuff like unlocked loadouts, characters or stats is stored here
		- It's the most important file and cannot be modified
	+ settings.ini
		- This file contains user settings (stuff like game resolution, key bindings, volume etc.)
		- The file can be opened and modified using text editors like notepad