Skip to content

Commit 528eabb

Browse files
authored
Palworld: add UE4SS related settings (#1569)
1 parent 60e93f9 commit 528eabb

4 files changed

Lines changed: 83 additions & 2 deletions

File tree

palworld-moddedconfig.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,32 @@
3636
"DefaultValue": "True",
3737
"EnumValues": {}
3838
},
39+
{
40+
"DisplayName": "Enable UE4SS Console",
41+
"Category": "Palworld:stadia_controller",
42+
"Subcategory": "Server:dns:1",
43+
"Description": "",
44+
"Keywords": "",
45+
"FieldName": "ConsoleEnabled",
46+
"InputType": "number",
47+
"Hidden": true,
48+
"ParamFieldName": "Debug.ConsoleEnabled",
49+
"DefaultValue": "1",
50+
"EnumValues": {}
51+
},
52+
{
53+
"DisplayName": "Disable UE4SS GUI Console",
54+
"Category": "Palworld:stadia_controller",
55+
"Subcategory": "Server:dns:1",
56+
"Description": "",
57+
"Keywords": "",
58+
"FieldName": "GuiConsoleEnabled",
59+
"InputType": "number",
60+
"Hidden": true,
61+
"ParamFieldName": "Debug.GuiConsoleEnabled",
62+
"DefaultValue": "0",
63+
"EnumValues": {}
64+
},
3965
{
4066
"DisplayName": "Server Name",
4167
"Category": "Palworld:stadia_controller",

palworld-moddedmetaconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"ConfigType": "ini",
1111
"AutoMap": true,
1212
"ConfigFormat": "{0} = {1}",
13-
"ConfigFormatRegex": "^(?<key>.+?) = (?<value>.*?)$"
13+
"ConfigFormatRegex": "^(?<key>.+?)\\s*=\\s*(?<value>.*?)$"
1414
},
1515
{
1616
"ConfigFile": "Pal/Binaries/Win64/ue4ss/UE4SS-settings.ini",
1717
"ConfigType": "ini",
1818
"AutoMap": true,
1919
"ConfigFormat": "{0} = {1}",
20-
"ConfigFormatRegex": "^(?<key>.+?) = (?<value>.*?)$"
20+
"ConfigFormatRegex": "^(?<key>.+?)\\s*=\\s*(?<value>.*?)$"
2121
}
2222
]

palworldconfig.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,32 @@
3636
"DefaultValue": "True",
3737
"EnumValues": {}
3838
},
39+
{
40+
"DisplayName": "Enable UE4SS Console",
41+
"Category": "Palworld:stadia_controller",
42+
"Subcategory": "Server:dns:1",
43+
"Description": "",
44+
"Keywords": "",
45+
"FieldName": "ConsoleEnabled",
46+
"InputType": "number",
47+
"Hidden": true,
48+
"ParamFieldName": "Debug.ConsoleEnabled",
49+
"DefaultValue": "1",
50+
"EnumValues": {}
51+
},
52+
{
53+
"DisplayName": "Disable UE4SS GUI Console",
54+
"Category": "Palworld:stadia_controller",
55+
"Subcategory": "Server:dns:1",
56+
"Description": "",
57+
"Keywords": "",
58+
"FieldName": "GuiConsoleEnabled",
59+
"InputType": "number",
60+
"Hidden": true,
61+
"ParamFieldName": "Debug.GuiConsoleEnabled",
62+
"DefaultValue": "0",
63+
"EnumValues": {}
64+
},
3965
{
4066
"DisplayName": "Server Name",
4167
"Category": "Palworld:stadia_controller",
@@ -349,6 +375,21 @@
349375
"Json": "JSON"
350376
}
351377
},
378+
{
379+
"DisplayName": "Enable UE4SS UObject Listeners (Windows)",
380+
"Category": "Palworld:stadia_controller",
381+
"Subcategory": "Server:dns:1",
382+
"Description": "If set, UObject listeners will be created in GUObjectArray to create a fast cache for use instead of iterating GUObjectArray. Recommended to keep disabled for UE4SS mods to avoid crashes. Windows only",
383+
"Keywords": "ue4ss,uobject,listeners,bUseUObjectArrayCache",
384+
"FieldName": "bUseUObjectArrayCache",
385+
"InputType": "checkbox",
386+
"ParamFieldName": "General.bUseUObjectArrayCache",
387+
"DefaultValue": "false",
388+
"EnumValues": {
389+
"False": "false",
390+
"True": "true"
391+
}
392+
},
352393
{
353394
"DisplayName": "Custom Command Line Arguments",
354395
"Category": "Palworld:stadia_controller",

palworldmetaconfig.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,19 @@
1010
"AutoMap": true,
1111
"ConfigType": "template",
1212
"ConfigFileTemplate": "palworld/AMP_PalWorldSettings.ini"
13+
},
14+
{
15+
"ConfigFile": "Pal/Binaries/Win64/UE4SS-settings.ini",
16+
"ConfigType": "ini",
17+
"AutoMap": true,
18+
"ConfigFormat": "{0} = {1}",
19+
"ConfigFormatRegex": "^(?<key>.+?)\\s*=\\s*(?<value>.*?)$"
20+
},
21+
{
22+
"ConfigFile": "Pal/Binaries/Win64/ue4ss/UE4SS-settings.ini",
23+
"ConfigType": "ini",
24+
"AutoMap": true,
25+
"ConfigFormat": "{0} = {1}",
26+
"ConfigFormatRegex": "^(?<key>.+?)\\s*=\\s*(?<value>.*?)$"
1327
}
1428
]

0 commit comments

Comments
 (0)