Star Wars: The Old Republic Settings Updater
A library to update the *_PlayerGUIState.ini settings for all your characters.
Usage
- Create a backup of
%LOCALAPPDATA%\SWTOR\swtor\settings. - Run
pip install swtor-settings-updater. - Create a
my_settings.pycorresponding to the settings you want to apply to your characters (an example follows). - Run the script.
import logging
from swtor_settings_updater import character, Chat, default_settings_dir
def my_settings(char, s):
s["Show_Chat_TimeStamp"] = "true"
s["GUI_Current_Profile"] = "myprofile"
s["GUI_WelcomeWindowIsOpen"] = "false"
s["GUI_ShowCompletedReputations"] = "false"
s["GUI_ShowUnstartedReputations"] = "false"
s["GUI_ShowAlignment"] = "true"
s["GUI_InvitesAsSocialMessage"] = "true"
s["GUI_ShowCooldownText"] = "true"
s["GUI_CooldownStyle"] = "3"
s["GUI_GCDStyle"] = "1"
s["GUI_MiniMapZoom"] = "0.842999994755"
s["GUI_MapFadeTo"] = "50.0"
s["GUI_GCConfirmOpenPack"] = "false"
s["GUI_ConfirmAmplifierCharge"] = "false"
s["GUI_InventoryAutoCloseBank"] = "false"
s["GUI_InventoryAutoCloseVendor"] = "false"
s["GUI_QuickslotLockState"] = "true"
s["GUI_WhoListNumberInChat"] = "0"
s["GroupFinder_Operation_InProgress"] = "true"
s["GUI_CraftingMoveQuality"] = "6"
# swtor_settings_updater.Chat sets the ChatChannels, Chat_Custom_Channels
# and ChatColors settings.
chat = Chat()
chn = chat.standard_channels
chn.group.color = chn.ops.color
chat.panel("General")
other = chat.panel("Other")
# Any channels not explicitly displayed on a panel will be displayed on
# the first panel (General).
other.display(
# chn.trade,
# chn.pvp,
# chn.general,
chn.emote,
chn.yell,
chn.officer,
chn.guild,
chn.say,
chn.whisper,
chn.ops,
chn.ops_leader,
chn.group,
chn.ops_announcement,
chn.ops_officer,
# chn.combat_information,
# chn.conversation,
chn.character_login,
chn.ops_information,
# chn.system_feedback,
chn.guild_information,
chn.group_information,
chn.error,
# chn.server_admin,
)
if char.name not in ["Kai Zykken", "Plagueis"]:
chat.custom_channel("Gsf")
if char.server_id == "he4000":
chat.custom_channel("Redleader")
chat.custom_channel("Narwhal")
myguild = chat.custom_channel("Myguild")
myguild.color = chn.guild.color
other.display(myguild)
elif char.server_id in ["he3000", "he3001"]:
chat.custom_channel("Endgame")
chat.apply(s)
if __name__ == "__main__":
logging.basicConfig(level=logging.INFO)
character.update_all(default_settings_dir(), my_settings)
Metadata
Release files for swtor-settings-updater 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swtor-settings-updater-0.0.7.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swtor_settings_updater-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.5 kB
Release files / swtor-settings-updater-0.0.7.tar.gz
| Download URL | swtor-settings-updater-0.0.7.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44799697b920fac0b54c685c048bceef1c717b8ae6b385f0cbf96ace27684973
|
|
BLAKE2b-256 checksum How to use checksums |
d81cae175f6955a9923c188978b3dcde1c4e6e7eb43736c00692a3cca3bbb3cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.1 Windows/10
|
Release files / swtor_settings_updater-0.0.7-py3-none-any.whl
| Download URL | swtor_settings_updater-0.0.7-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7b971986584e76c09f8b42836ae593e423bc411e0e0c7b4dedbc19b7a29741b
|
|
BLAKE2b-256 checksum How to use checksums |
323fc712cb1086faaab7ff10915ff51f3534321fc1f98b28145701cc33712804
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.1 Windows/10
|