Closed SeamusFD closed 1 year ago
The logic to check whether a directory is a game directory should be optimized for other Paradox games.
@SeamusFD
I do not own CK3 in Steam and mainly test this plugin using Stellaris game directory and some mods. So:
Is there a json file named 'launcher-settings.json' under directory game
, or it's parent directory Crusader Kings III
?
If it exists, please send to me.
Is the exe file named ck3.exe
and where is it located in?
{ "gameId": "ck3", "displayName": "Crusader Kings III", "version": "1.8.1 (Robe)", "rawVersion": "1.8.1", "distPlatform": "steam", "gameDataPath": "%USER_DOCUMENTS%/Paradox Interactive/Crusader Kings III", "dlcPath": "../game", "ingameSettingsLayoutPath": "settings-layout.json", "themeFile": "./assets/theme-settings.json", "browserDlcUrl": "https://store.steampowered.com/dlc/1158310/", "browserModUrl": "https://steamcommunity.com/app/1158310/workshop/", "exePath": "../binaries/ck3.exe", "exeArgs": [ "-gdpr-compliant" ], "alternativeExecutables": [ { "label": { "de": "Spiel im Debug-Modus öffnen", "en": "Open game in Debug Mode", "es": "Abrir juego en modo de depuración", "fr": "Ouvrir le jeu en mode débogage", "ja": "デバッグモードでゲームを開", "ko": "디버그 모드로 게임 열기", "pl": "Uruchom grę w trybie debugowania", "pt": "Abrir jogo em modo debug", "ru": "Запустить игру в режиме разработчика", "zh-hans": "以调试模式打开游戏", "zh-hant": "以調試模式打開遊戲", "tr": "Oyunu hata ayıklama modunda başlatın" }, "exePath": "../binaries/ck3.exe", "exeArgs": [ "-gdpr-compliant","-debug_mode" ] } ] }
That is the launcher settings. And yes, it's path is in the exePath which is the Crusader Kings III/binaries/ck3.exe
NOTE: the launcher-settings.json is inside the launcher folder shown in the next comment
Also the project structure is like this the game folder holds all the needed common, history etc folders
So how tricky it is...
Yeah I would help with a PR but I cannot get the project to work anymore
It will be fixed on next version, with some new features about "scopes". yeah. So CWTools will be likely useless when next version of my plugin is released o( ̄︶ ̄)o
Very nice, when can I expect the new version?
Hre is a preview (scope context inlay hints):
Also scope context quick documentation (should be different from CWTools).
When adding a new library you cannot choose a valid game folder for ck3. Works with Stellaris but not the folder structure of ck3