Legacy-of-Sylvanaar / prat-3-0

Prat-3.0 is a chat enhancement addon for world of warcraft
https://www.curseforge.com/wow/addons/prat-3-0
GNU General Public License v3.0
26 stars 18 forks source link

Copy chat window settings between characters #214

Open dryya opened 1 week ago

dryya commented 1 week ago

Is your feature request related to a problem? Please describe.

Chat windows (aka tabs) are not synchronized between characters, so it's annoying to set them up on a new alt or propagate a change across characters.

To be clear, I'm referring to these settings - ideally both any custom windows (created in the default UI by right-clicking the 'General' tab then 'Create new window', as well as customizations to which channels show in which windows. image

Describe the solution you'd like

As part of the memory module, (optionally) copy these settings across characters as well.

Describe alternatives you've considered

Manually apply settings, or use a different addon like: https://www.curseforge.com/wow/addons/copybara-chat-settings-copy-continued

Additional context

N/A

tflo commented 2 days ago

It seems these things are saved in the chat-cache.txt file.

Excerpt from my chat-cache.txt file ```denizenscript WINDOW 1 NAME General SIZE 17 COLOR 21 20 31 178 LOCKED 1 UNINTERACTABLE 0 DOCKED 1 SHOWN 1 POSITION BOTTOMLEFT 0.002709 0.056667 DIMENSIONS 429.999969 205.000000 MESSAGES SYSTEM SYSTEM_NOMENU SAY EMOTE YELL WHISPER PARTY PARTY_LEADER RAID RAID_LEADER RAID_WARNING GUILD OFFICER MONSTER_SAY MONSTER_YELL MONSTER_EMOTE MONSTER_WHISPER MONSTER_BOSS_EMOTE MONSTER_BOSS_WHISPER ERRORS AFK DND IGNORED BG_HORDE BG_ALLIANCE BG_NEUTRAL COMBAT_FACTION_CHANGE SKILL LOOT MONEY ACHIEVEMENT GUILD_ACHIEVEMENT TARGETICONS BN_WHISPER BN_WHISPER_INFORM BN_CONVERSATION BN_INLINE_TOAST_ALERT CURRENCY BN_WHISPER_PLAYER_OFFLINE PET_BATTLE_INFO INSTANCE_CHAT INSTANCE_CHAT_LEADER GUILD_ITEM_LOOTED OPENING PET_INFO COMBAT_XP_GAIN COMBAT_HONOR_GAIN COMBAT_MISC_INFO VOICE_TEXT END ```

You can sync the chat-cache.txt file across your chars by placing symlinks[^1], you do not need Prat's Memory for this. In fact, using symlinks you do not need Prat's Memory module at all. (I know, symlinks do not work for everything in the WTF folder, but for the chat settings it does work. Doing this for many years.)

[^1]: At least on macOS. But I think Windows has an equivalent to symlinks.

dryya commented 1 day ago

I play on Linux so that's definitely doable for me, thanks for the workaround!