Skip to content

Commit

Permalink
Merge pull request #187 from EternalWraith/v0.11
Browse files Browse the repository at this point in the history
V0.11.2
  • Loading branch information
EternalWraith authored Jan 4, 2025
2 parents 1074e0c + 3d3d559 commit f950466
Show file tree
Hide file tree
Showing 21 changed files with 2,116 additions and 168 deletions.
4 changes: 2 additions & 2 deletions CxFreezeCompile.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
base = "Win32GUI" if sys.platform == "win32" else None

setup(
name = "PalEdit v0.11.1",
version = "0.11.1",
name = "PalEdit v0.11.2",
version = "0.11.2",
description = "A simple tool for editing PalWorld saves",
options={"build_exe": build_options},
executables=[Executable("PalEdit.py", base=base, icon="palworld_pal_edit/resources/MossandaIcon.ico")],
Expand Down
2 changes: 2 additions & 0 deletions PalEdit.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import palworld_pal_edit.PalEdit


palworld_pal_edit.PalEdit.main()

405 changes: 405 additions & 0 deletions pals/error_0.json

Large diffs are not rendered by default.

46 changes: 28 additions & 18 deletions pals/error_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"struct_type": "Guid",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": "00000000-0000-0000-0000-000000000001",
"value": "00000000-0000-0000-0000-000000000000",
"type": "StructProperty"
},
"InstanceId": {
"struct_type": "Guid",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": "6b415b44-452a-b6e7-c4fc-ab8a23547e7e",
"value": "383b3d61-453e-403a-9828-ce818ec91dbe",
"type": "StructProperty"
},
"DebugName": {
Expand All @@ -33,20 +33,20 @@
"value": {
"CharacterID": {
"id": null,
"value": "BOSS_Male_DesertPeople",
"value": "BOSS_Ninja",
"type": "NameProperty"
},
"Level": {
"id": null,
"value": {
"type": "None",
"value": 36
"value": 28
},
"type": "ByteProperty"
},
"Exp": {
"id": null,
"value": 206194,
"value": 46272,
"type": "Int64Property"
},
"EquipWaza": {
Expand Down Expand Up @@ -76,7 +76,7 @@
"value": {
"Value": {
"id": null,
"value": 1839000,
"value": 2409000,
"type": "Int64Property"
}
},
Expand All @@ -86,7 +86,7 @@
"id": null,
"value": {
"type": "None",
"value": 96
"value": 88
},
"type": "ByteProperty"
},
Expand All @@ -102,22 +102,32 @@
"id": null,
"value": {
"type": "None",
"value": 59
"value": 97
},
"type": "ByteProperty"
},
"PassiveSkillList": {
"array_type": "NameProperty",
"id": null,
"value": {
"values": [
"PAL_Sanity_Up_2"
]
},
"type": "ArrayProperty"
},
"OwnedTime": {
"struct_type": "DateTime",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": 638705317240230000,
"value": 638709247137510000,
"type": "StructProperty"
},
"OwnerPlayerUId": {
"struct_type": "Guid",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": "00000000-0000-0000-0000-000000000001",
"value": "0f86d090-0000-0000-0000-000000000000",
"type": "StructProperty"
},
"OldOwnerPlayerUIds": {
Expand All @@ -127,7 +137,7 @@
"prop_name": "OldOwnerPlayerUIds",
"prop_type": "StructProperty",
"values": [
"00000000-0000-0000-0000-000000000001"
"0f86d090-0000-0000-0000-000000000000"
],
"type_name": "Guid",
"id": "00000000-0000-0000-0000-000000000000"
Expand All @@ -148,15 +158,15 @@
"struct_type": "Guid",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": "04292cd4-4fc4-4c39-d36a-118bb41b1c0d",
"value": "3c6523cd-4b57-f4c5-ca37-33999218febe",
"type": "StructProperty"
}
},
"type": "StructProperty"
},
"SlotIndex": {
"id": null,
"value": 27,
"value": 1,
"type": "IntProperty"
}
},
Expand Down Expand Up @@ -325,17 +335,17 @@
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": {
"x": -62616.34972912388,
"y": 402420.0642573488,
"z": -999999.0
"x": -130061.80231977624,
"y": 228725.38261903182,
"z": -1000000000.0
},
"type": "StructProperty"
},
"LastNickNameModifierPlayerUid": {
"struct_type": "Guid",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": "00000000-0000-0000-0000-000000000001",
"value": "0f86d090-0000-0000-0000-000000000000",
"type": "StructProperty"
},
"IsRarePal": {
Expand All @@ -353,7 +363,7 @@
0,
0
],
"group_id": "410dbcbd-4d88-d130-c170-92b74f241f10"
"group_id": "afcf146e-445f-2ecc-daa2-ff8d6dcb77b8"
},
"type": "ArrayProperty",
"custom_type": ".worldSaveData.CharacterSaveParameterMap.Value.RawData"
Expand Down
45 changes: 25 additions & 20 deletions pals/error_2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"struct_type": "Guid",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": "00000000-0000-0000-0000-000000000001",
"value": "00000000-0000-0000-0000-000000000000",
"type": "StructProperty"
},
"InstanceId": {
"struct_type": "Guid",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": "b1463b73-49e1-7087-817e-d28d61595b42",
"value": "ee592747-4e03-edfd-8007-c48696cf5dc6",
"type": "StructProperty"
},
"DebugName": {
Expand All @@ -33,20 +33,20 @@
"value": {
"CharacterID": {
"id": null,
"value": "BOSS_Police_old",
"value": "BOSS_Believer_Fat_GiantClub",
"type": "NameProperty"
},
"Level": {
"id": null,
"value": {
"type": "None",
"value": 57
"value": 30
},
"type": "ByteProperty"
},
"Exp": {
"id": null,
"value": 9619412,
"value": 67524,
"type": "Int64Property"
},
"EquipWaza": {
Expand Down Expand Up @@ -76,7 +76,7 @@
"value": {
"Value": {
"id": null,
"value": 4216000,
"value": 2438000,
"type": "Int64Property"
}
},
Expand All @@ -86,23 +86,23 @@
"id": null,
"value": {
"type": "None",
"value": 68
"value": 64
},
"type": "ByteProperty"
},
"Talent_Shot": {
"id": null,
"value": {
"type": "None",
"value": 97
"value": 73
},
"type": "ByteProperty"
},
"Talent_Defense": {
"id": null,
"value": {
"type": "None",
"value": 69
"value": 96
},
"type": "ByteProperty"
},
Expand All @@ -111,7 +111,7 @@
"id": null,
"value": {
"values": [
"PAL_masochist"
"PAL_rude"
]
},
"type": "ArrayProperty"
Expand All @@ -120,14 +120,14 @@
"struct_type": "DateTime",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": 638705307161100000,
"value": 638709253302150000,
"type": "StructProperty"
},
"OwnerPlayerUId": {
"struct_type": "Guid",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": "00000000-0000-0000-0000-000000000001",
"value": "0f86d090-0000-0000-0000-000000000000",
"type": "StructProperty"
},
"OldOwnerPlayerUIds": {
Expand All @@ -137,13 +137,18 @@
"prop_name": "OldOwnerPlayerUIds",
"prop_type": "StructProperty",
"values": [
"00000000-0000-0000-0000-000000000001"
"0f86d090-0000-0000-0000-000000000000"
],
"type_name": "Guid",
"id": "00000000-0000-0000-0000-000000000000"
},
"type": "ArrayProperty"
},
"SanityValue": {
"id": null,
"value": 58.3298225402832,
"type": "FloatProperty"
},
"SlotID": {
"struct_type": "PalCharacterSlotId",
"struct_id": "00000000-0000-0000-0000-000000000000",
Expand All @@ -158,15 +163,15 @@
"struct_type": "Guid",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": "04292cd4-4fc4-4c39-d36a-118bb41b1c0d",
"value": "3c6523cd-4b57-f4c5-ca37-33999218febe",
"type": "StructProperty"
}
},
"type": "StructProperty"
},
"SlotIndex": {
"id": null,
"value": 6,
"value": 2,
"type": "IntProperty"
}
},
Expand Down Expand Up @@ -335,17 +340,17 @@
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": {
"x": -686540.0456187662,
"y": -380252.5087792862,
"z": -999999.0
"x": -78794.6374120747,
"y": 192635.35184451967,
"z": -1000000000.0
},
"type": "StructProperty"
},
"LastNickNameModifierPlayerUid": {
"struct_type": "Guid",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": "00000000-0000-0000-0000-000000000001",
"value": "0f86d090-0000-0000-0000-000000000000",
"type": "StructProperty"
},
"IsRarePal": {
Expand All @@ -363,7 +368,7 @@
0,
0
],
"group_id": "410dbcbd-4d88-d130-c170-92b74f241f10"
"group_id": "afcf146e-445f-2ecc-daa2-ff8d6dcb77b8"
},
"type": "ArrayProperty",
"custom_type": ".worldSaveData.CharacterSaveParameterMap.Value.RawData"
Expand Down
32 changes: 32 additions & 0 deletions palworld_pal_edit/EmptyObjectHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,35 @@
"value": {"value": 0, "type":"None"},
"type": "ByteProperty"
}

EmptyGotWorkObject = {
"array_type": "StructProperty",
"id": None,
"value": {
"prop_name": "GotWorkSuitabilityAddRankList",
"prop_type": "StructProperty",
"values": [

],
"type_name": "PalWorkSuitabilityInfo",
"id": "00000000-0000-0000-0000-000000000000"
},
"type": "ArrayProperty"
}

EmptyWorkObject = {
"WorkSuitability": {
"id": None,
"value": {
"type": "EPalWorkSuitability",
"value": None
},
"type": "EnumProperty"
},
"Rank": {
"id": None,
"value": 0,
"type": "IntProperty"
}
}

Loading

0 comments on commit f950466

Please sign in to comment.