Settings Configuration

PKGi PS3 stores its persistent state and user preferences in a plain text configuration file called config.txt.

Location

The configuration file is generated automatically and is located on the PS3's internal hard drive at:

/dev_hdd0/game/NP00PKGI3/USRDIR/config.txt

You can alter these settings either by editing the file manually via FTP/USB, or by changing the options within the application's in-app menu (accessed by pressing the Triangle button). Changes made in the GUI are immediately flushed to config.txt.

Supported Configuration Keys

Below is a comprehensive list of all keys parsed by the configuration engine (pkgi_config.c).

Database Synchronization

These keys define the URLs used when you select the Refresh... option in the menu. You can define a master list, or categorize them to load into specific content arrays.

Key Description Example
url The URL to the main pkgi.txt database. url http://my-site.com/pkgi.csv
url_games Populates pkgi_games.txt (Content Type 1). url_games http://my-site.com/games.csv
url_dlcs Populates pkgi_dlcs.txt (Content Type 2). url_dlcs http://my-site.com/dlcs.csv
url_themes Populates pkgi_themes.txt (Content Type 3). url_themes http://my-site.com/themes.csv
url_avatars Populates pkgi_avatars.txt (Content Type 4). url_avatars http://my-site.com/avatars.csv
url_demos Populates pkgi_demos.txt (Content Type 5). url_demos http://my-site.com/demos.csv
url_updates Populates pkgi_updates.txt (Content Type 6). url_updates http://my-site.com/updates.csv
url_emulators Populates pkgi_emulators.txt (Content Type 7). url_emulators http://my-site.com/emus.csv
url_apps Populates pkgi_apps.txt (Content Type 8). url_apps http://my-site.com/apps.csv
url_tools Populates pkgi_tools.txt (Content Type 9). url_tools http://my-site.com/tools.csv

Default UI State

These keys determine how the list looks when the application is launched.

Key Description Example
sort Default sorting method. Valid options: title, region, name, size. sort name
order Default sorting direction. Valid options: asc, desc. order asc
filter Regional filtering bitmask. Accepts comma-separated values: ASA, EUR, JPN, USA. filter USA,EUR
content The default content category tab (0-9). 0 means "All". content 1

Application Behavior

These keys toggle specific functionality within the app.

Key Description Example
no_version_check If set to 1, disables the automatic API call to GitHub to check for new pkgi-ps3 releases on startup. no_version_check 1
dl_mode_background If set to 1, defaults the download engine to "Background Downloads" instead of "Direct Downloads". dl_mode_background 1
no_music If set to 1, disables the background S3M module music (haiku_s3m_bin). no_music 1
language Forces a specific language code (e.g., en, es, fr, de, pt). If missing or invalid, the app reads the PS3 system language (SYSUTIL_SYSTEMPARAM_ID_LANG). language es

Example config.txt

A typical, fully configured file might look like this:

url_games http://www.mysite.com/games_list.csv
url_dlcs http://www.demos.com/dlc_list.csv
url_emulators http://www.example.com/emulators.csv
sort name
order asc
filter USA,EUR
dl_mode_background 1
no_music 0
content 1
language en

Notes on Syntax

  • Keys and values are separated by a space.
  • Newlines act as delimiters.
  • The parser uses strict string matching (pkgi_stricmp), so ensure spelling is exact, though keys are case-insensitive.
  • Invalid keys are silently ignored.