Skip to content

User Resource Directory

Flávio Monteiro edited this page Dec 9, 2016 · 6 revisions

Description

The User Resource Directory, also known as the config folder, is used to store user-specific files such as SystemMessages.log, screenshots, and sceneshots.

Some of the files in this directory are can only be read and write by OpenSpades while there is any instance of it running.

Location

These are the locations for each operating system:

Operating system Location
Windows %APPDATA%\OpenSpades\Resources
OS X ~/Library/Application Support/OpenSpades/Resources
GNU/Linux $XDG_DATA_HOME/openspades/Resources

This directory is guaranteed to be owned and writable by a user.

How to access the User Resource Directory?

Since 0.1.0, it's possible to access the User Resource Directory using the Startup Window "General" tab.

In previous versions, you need to manually open the location for your operating system, as listed above.

Structure

This is the (incomplete) structure of the User Resource Directory, as of 0.1.0:

File/Folder Description Additional Information
SystemMessages.log Log file from the last instance of OpenSpades Used for debugging purposes
SPConfig.cfg File where OpenSpades stores all settings See also: Config Variables
favorite_servers.json Contains all the user favorite servers See also: Server Browser
NetLogs/ Directory used to store NetLogs See also: NetLogs

NOTE: This page is still in a work-in-progress state, containing incomplete information.