Thank you for the converter. I wiped BG3 off my computer for a fresh install, because of possible lingering bugs or old files which happens from time to time with steam, but I had thought that the .PAK files were easy to make a project from.
I'm glad this tool exists because I was not looking forward to copy/pasting everything from my old mod zip file again just to remake the mod. :D
Is there any reason the glasses modder would not load some of the stats. Im missing my rush spells edits, shout spells edits, and only half of my weapon edits are appearing. The rush, shout, and armor spells are in the correct spot in the folders.
So here is the link. BG3 recover attempt.mp4 - Google Drive Start of video: Converted in bg3 modder multitool. 0:34 Used project converter exe. 0:58 Moved armor stat into stat folder because the converter does not put the file in the correct folder. 1:14 Moved folders to bg3 folder 3:19 light hammer and circus clown hammer weapons edits are showing in stat editor. 4:07 Rush spells don't appear at all in stat editor as well as shout spells.
ah I see whats going on now ^^ either the original file had an error and the toolkit doesnt know how to handle it so it just stops loading the file after the error, or its a datatype that hasnt been recored in the db.json file yet ^^' I noticed in your vid that the Weapons stopped loading after the first, which might mean that theres something going on with the second one, just to test, try removing the data "Weapon Group" line from that one and see if that works
Whatever happened in the 1.0.1 update fixed the weapons not showing up. its just the shout spell data that's not appearing. This is what im getting when I click shout
[StatsEditor] Can not load document. Detailed error message: Invalid character in the given encoding. Line 161, position 123.. Stack trace: at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount) at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount) at System.Xml.XmlTextReaderImpl.ReadData() at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr) at System.Xml.XmlTextReaderImpl.ParseAttributes() at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o) at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) at System.Xml.Linq.XDocument.Load(Stream stream, LoadOptions options) at Stats.StatsEditor.Documents.StatsDocument.DoLoad(Path filePath)
I have a simple mod that just overrides some text in the game, so has a Mods/meta.lsx and a Localization folder with an xml/loca https://www.nexusmods.com/baldursgate3/mods/5329 (Try the all/small file if you want to test, second download in the list)
I downloaded the exe version from Github and used the multitool to extract. It reported some duplicate localization tags, ok I removed the original and left the fixed version
I ran it again and it reports
←[33m[config] bg3.exe found [db] Loading auxiliary ID Database...←[39m ←[36m[main] Converting Stats files:←[39m
←[36m[main] Converting LSX files:←[39m
but otherwise does nothing, nothing is created, no new folder.
it tries looking for a public and mod folder before trying to create a project you can just create an empty folder called Public next to the Mods folder and it should prompt the project conversion ^^
So I had never used python before, but I was able to figure it out with some trial and error and reading online and recover my Elementalist Class files. I can't thank you enough for this, I really appreciate it!
31 comments
I'm glad this tool exists because I was not looking forward to copy/pasting everything from my old mod zip file again just to remake the mod. :D
[stats] Missing Pre-Configured Data Type: ValueOverride
[stats] Missing Pre-Configured Data Type: ValueOverride
[stats] Missing parent entries in: Armor.txt
[info] Converted Armor.txt (UUID: 239de60a-29b5-4010-bf7d-f6169d4ddd8a)
[info] Converted Interrupt.txt (UUID: c496009d-a970-44a3-b882-7ed3364dc271)
[stats] Missing parent entries in: Passive.txt
[info] Converted Passive.txt (UUID: 3e76b74c-a5ae-4268-944a-aa9c31e2185e)
[stats] Missing parent entries in: Spell_Projectile.txt
[info] Converted Spell_Projectile.txt (UUID: 67731907-4ad8-4be6-9326-d6f5b982140e)
[info] Converted Spell_Rush.txt (UUID: bbe0e72e-fa2a-41d2-be9a-c604af561421)
[stats] Missing parent entries in: Spell_Shout.txt
[info] Converted Spell_Shout.txt (UUID: 9fd4ac7a-fad7-424f-83df-0893eae93c38)
[stats] Missing parent entries in: Spell_Target.txt
[info] Converted Spell_Target.txt (UUID: e988a674-28fe-49d2-a6ce-c5c1e0141f4c)
[info] Converted Spell_Zone.txt (UUID: 4fcdf163-88be-40b5-bf02-680ac5d776d9)
[stats] Missing parent entries in: Status_BOOST.txt
[info] Converted Status_BOOST.txt (UUID: e2a8d59b-0e34-4a7c-bf5f-db7a2bb34cde)
[stats] Missing parent entries in: Weapon.txt
[info] Converted Weapon.txt (UUID: a1fa1d2f-c335-4902-898c-4228c3c07d52)
[main] Converting LSX files:
[info] Converted Spells.lsx (UUID: b4f18c50-e2c0-4be6-9609-5367fef946db)
[info] Converted SpellLists.lsx (UUID: 3f5063e7-e02b-4849-a503-9ba01dc6e2e6)
[info] Converted Progressions.lsx (UUID: 53912403-fe14-4ce0-89aa-96acb1dee21a)
[locale] Fixed english.xml (Duplicates: 0; Version Resets: 13)
[Project] Attempting to create Project 'test2_e31faec8-0b5a-10b8-efe5-cadfcac4762a'
Enter Project name (type X to skip or leave empty to use default):
I dont know what to do.
"bg3path": "C:\Program Files (x86)\Steam\steamapps\common\Baldurs Gate 3",
"compileAux": 0
}
Like that
otherwise it will fail to find the path
[db] Loading auxiliary ID Database...
[main] Converting Stats files:
[stats] Missing Pre-Configured Data Type: ValueOverride
[stats] Missing Pre-Configured Data Type: ValueOverride
[stats] Missing parent entries in: Armor.txt
[info] Converted Armor.txt (UUID: 239de60a-29b5-4010-bf7d-f6169d4ddd8a)
[info] Converted Interrupt.txt (UUID: c496009d-a970-44a3-b882-7ed3364dc271)
[stats] Missing parent entries in: Passive.txt
[info] Converted Passive.txt (UUID: 3e76b74c-a5ae-4268-944a-aa9c31e2185e)
[stats] Missing parent entries in: Spell_Projectile.txt
[info] Converted Spell_Projectile.txt (UUID: 67731907-4ad8-4be6-9326-d6f5b982140e)
[info] Converted Spell_Rush.txt (UUID: bbe0e72e-fa2a-41d2-be9a-c604af561421)
[stats] Missing parent entries in: Spell_Shout.txt
[info] Converted Spell_Shout.txt (UUID: 9fd4ac7a-fad7-424f-83df-0893eae93c38)
[stats] Missing parent entries in: Spell_Target.txt
[info] Converted Spell_Target.txt (UUID: e988a674-28fe-49d2-a6ce-c5c1e0141f4c)
[info] Converted Spell_Zone.txt (UUID: 4fcdf163-88be-40b5-bf02-680ac5d776d9)
[stats] Missing parent entries in: Status_BOOST.txt
[info] Converted Status_BOOST.txt (UUID: e2a8d59b-0e34-4a7c-bf5f-db7a2bb34cde)
[stats] Missing parent entries in: Weapon.txt
[info] Converted Weapon.txt (UUID: a1fa1d2f-c335-4902-898c-4228c3c07d52)
[main] Converting LSX files:
[info] Converted Spells.lsx (UUID: b4f18c50-e2c0-4be6-9609-5367fef946db)
[info] Converted SpellLists.lsx (UUID: 3f5063e7-e02b-4849-a503-9ba01dc6e2e6)
[info] Converted Progressions.lsx (UUID: 53912403-fe14-4ce0-89aa-96acb1dee21a)
[locale] Fixed english.xml (Duplicates: 0; Version Resets: 13)
[Project] Attempting to create Project 'test2_e31faec8-0b5a-10b8-efe5-cadfcac4762a'
Enter Project name (type X to skip or leave empty to use default):
Im getting the same thing. Exept bg3.exe found. For some reason im still getting missing parent entries, and missing pre-configured data type.
BG3 recover attempt.mp4 - Google Drive
Start of video: Converted in bg3 modder multitool.
0:34 Used project converter exe.
0:58 Moved armor stat into stat folder because the converter does not put the file in the correct folder.
1:14 Moved folders to bg3 folder
3:19 light hammer and circus clown hammer weapons edits are showing in stat editor.
4:07 Rush spells don't appear at all in stat editor as well as shout spells.
either the original file had an error and the toolkit doesnt know how to handle it so it just stops loading the file after the error, or its a datatype that hasnt been recored in the db.json file yet ^^'
I noticed in your vid that the Weapons stopped loading after the first, which might mean that theres something going on with the second one, just to test, try removing the data "Weapon Group" line from that one and see if that works
This is what im getting when I click shout
[StatsEditor] Can not load document.
Detailed error message: Invalid character in the given encoding. Line 161, position 123..
Stack trace: at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
at System.Xml.XmlTextReaderImpl.ReadData()
at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(Stream stream, LoadOptions options)
at Stats.StatsEditor.Documents.StatsDocument.DoLoad(Path filePath)
https://www.nexusmods.com/baldursgate3/mods/5329
(Try the all/small file if you want to test, second download in the list)
I downloaded the exe version from Github and used the multitool to extract. It reported some duplicate localization tags, ok I removed the original and left the fixed version
I ran it again and it reports
you can just create an empty folder called Public next to the Mods folder and it should prompt the project conversion ^^
But can u make a reverse version?I mean make toolkit mod convert to old file patter style.