Skip to content

Instantly share code, notes, and snippets.

@kalilistic
Last active August 24, 2021 12:01
Show Gist options
  • Save kalilistic/7dbbbc3d21b320f195fe6503187f3db3 to your computer and use it in GitHub Desktop.
Save kalilistic/7dbbbc3d21b320f195fe6503187f3db3 to your computer and use it in GitHub Desktop.
Add Kapture Language
Guide to adding new messages or support for other languages.
----------------------------------------------------------------
Turn on logging
----------------------------------------------------------------
1. Ensure game is off.
2. Open C:\Users\USERNAME\AppData\Roaming\XIVLauncher\pluginConfigs\Kapture.json.
3. Set "DebugLoggingEnabled" to true.
----------------------------------------------------------------
Ensure all filters are off.
----------------------------------------------------------------
1. On Events tab, make sure everything is checked.
2. On Content tab, make sure everything is unchecked.
3. On Items tab, make sure everything is unchecked.
4. On Filters tab, make sure everything is unchecked.
----------------------------------------------------------------
Trigger/Save Chat Messages (using Purchase as example)
----------------------------------------------------------------
1. Type /xllog to open log view (can also copy from addon/dalamud.txt).
2. Purchase item from marketboard.
3. Copy and save off loot message (and make sure to let me know which one it matches in list below).
4. Send me the list of scenarios on discord or a github issue.
Sample Message
{"XivChatType":57,"LogKind":57,"LogKindName":"System","LootMessageType":57,"LootMessageTypeName":"System","Message":"Recherche de l'objet “ Matéria de la parade stratégique VII”...","MessageParts":["Recherche de l'objet “",""," Matéria de la parade stratégique VII","”..."],"ItemId":25190,"ItemName":"Matéria de la parade stratégique VII","IsHq":false}
----------------------------------------------------------------
To add a language, I need logs for these scenarios:
----------------------------------------------------------------
1. You search for an item
2. Item added to loot list in dungeon
3. Unable to obain item (drops to floor in dungeon)
4. You purchase an item from market board
5. You discard / throw away item
6. You obtain item from deynsthesis
7. You retrieve materia from gear
8. You fail to retrieve materia from gear
9. You obtain loot in dungeon
10. You cast lot on loot
11. You roll need on loot
12. You roll greed on loot
13. Other player obtains loot in dungeon
14. Other player casts lot on loot
15. Other player rolls need on loot
16. Other player rolls greed on loot
17. Other player rolls greed on loot (from different world)
18. You desynthesize an item
19. Orchestration added to your list
20. You sell an item to npc
21. You use an item
22. You obtain an item from coffer
23. Other player uses an item
24. You meld materia
25. You extract materia
26. You quicksynth
27. You gather item (btn or min)
28. You catch fish
29. You craft an item
30. Other player crafts an item
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment