I know it's not directly related to cheatengine, but it can be useful for changing item ids.
If you want to change item id only for yourself without changing the id of the rest ingame items you need a craftable item with a long id. How to add it?
tools needed:
[Link]
[Link] (use save as on „Raw” buton and save in unpacked quickbms location)
DO A COPY OF res.pak FILE
Open cmd in quickbms location
command to extract the necessary files
Code: Select all
quickbms -f "{}.xml;{}.cdb" Shiro_Games_PAK_script.bms "<wartales patch>res.pak" "<output folder patch>"
in <output folder patch>\data.cdb search for example SwordUncoCraftT4. You will find two results, in both cases one line above opens the section with "{" and "}" in the same column closes it (np++ clearly marks it).
Under first resoult section paste
Code: Select all
{
"id": "SwordCraftVeryVeryVeryVeryVeryLongName",
"name": "Long id sword",
"weight": 1.5,
"baseBonus": [],
"props": {
"model": "chars/Weapons/Sword_06.fbx",
"skill": "Slice",
"disableLoot": true,
"requireLevel": 11,
"fixedLevel": 12,
"feature": "Alazar1_Update"
},
"iconeDone": true,
"group": 8,
"icon": {
"file": "ui/Icons/GearIcons/1HSwordsIcons.png",
"size": 96,
"x": 5,
"y": 0,
"height": 2
},
"type": "Sword",
"price": 236,
"rarity": 3,
"desc": ""
},
Under second resoult section paste
Code: Select all
{
"item": "SwordCraftVeryVeryVeryVeryVeryLongName",
"tool": "Anvil",
"recipe": [],
"props": {},
"jobLevel": 1,
"learnCost": [],
"itemCost": []
},
In <output folder patch>\lang\export_<your game language>.xml search for the id you used to search in the previous file and after line close it (e.g. </SwordUncoCraftT4>) paste
Code: Select all
<SwordCraftVeryVeryVeryVeryVeryLongName>
<name>Long id sword</name>
<desc>Long id sword</desc>
</SwordCraftVeryVeryVeryVeryVeryLongName>
re-import command
Code: Select all
quickbms -w -r -r Shiro_Games_PAK_script.bms "<wartales patch>res.pak" "<output folder patch>"
Craft new item, change id, save game, completly close the game and run it again, after load saved game you can craft next added item and change id to another item id without changing id previously crafted item and other ingame items.