@@ -11,8 +11,8 @@ The ARM architecture is not supported.
1111
1212## Compiling
1313
14- - For EasyRPG Player: Run build.cmd
15- - For EasyRPG Editor: (currently unsupported)
14+ - For EasyRPG Player: Run ` build.cmd `
15+ - For EasyRPG Editor: Run ` download_qt6.cmd ` and ` build_editor.cmd `
1616
1717This bootstraps vcpkg and builds all required libraries.
1818
@@ -26,14 +26,14 @@ prebuilt version. Run ``download_prebuilt.cmd`` to obtain them.
2626This precompiled version will only work on the latest version of Visual Studio
27272022 . If you are using a different version, please compile it yourself.
2828
29- ## After compiling
30-
31- ### Environment setup
29+ ## Environment setup
3230
3331Run `` setup_env.cmd `` once to configure the necessary environment variables.
3432
3533Then log out of Windows to ensure that the changes take effect.
3634
35+ ## Compile instructions for EasyRPG Player
36+
3737### Configuring
3838
3939Open the "Developer Command Prompt for Visual Studio 2022" from the Start menu
@@ -71,5 +71,44 @@ Player.
7171Open the `` EasyRPG_Player.sln `` file created in `` build\[PRESET] `` in Visual
7272Studio (`` [PRESET] `` is equal to the value after `` --preset `` above).
7373
74- When the build type is different to Debug, you must set the correct build type
75- manually in Visual Studio, otherwise you will get strange build errors.
74+ ## Compile instructions for EasyRPG Editor
75+
76+ ### Enabling Long Path Support
77+
78+ Compiling the editor fails because the path length of the Kirigami dependency
79+ exceeds the legacy Windows limit of 260 characters.
80+
81+ To resolve this issue, either enable long path support in the Windows 11
82+ Developer Settings, or run the following command in PowerShell as an
83+ administrator:
84+
85+ ``` psh
86+ New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" `
87+ -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
88+ ```
89+
90+ ### Configuring
91+
92+ Open the "Developer Command Prompt for Visual Studio 2022" from the Start menu
93+ and navigate to your _ EasyRPG Editor_ directory.
94+
95+ To configure the editor run:
96+
97+ ```
98+ cmake --preset windows-x64-vs2022-[BUILD_TYPE]
99+ ```
100+
101+ liblcf is not provided by the buildscript. Either compile it yourself or use
102+ the triplet ` windows-x64-vs2022-liblcf-[BUILD_TYPE] ` to build it as part of
103+ the Editor.
104+
105+ Options for `` [BUILD_TYPE] `` :
106+
107+ - `` debug `` : Debug build
108+ - `` relwithdebinfo `` : Release build with debug symbols
109+ - `` release `` : Release build without debug symbols
110+
111+ ### Building
112+
113+ Open the `` EasyRPG_Editor.sln `` file created in `` build\[PRESET] `` in Visual
114+ Studio (`` [PRESET] `` is equal to the value after `` --preset `` above).
0 commit comments