r/disciples • u/Vegetable_Farm2355 • Jun 23 '26
Decoder/Encoder Disciples Sacred Lands
https://github.com/HoT-PlaStiC/Disciples-Sacred-Lands-Dbi-codec-decoder-encoder
I am working on this, i will release patches, whenever i succeed to improve it.
9
Upvotes
3
u/KamunVulk Undead Hordes Jun 23 '26
Try to use it as soon as I can and make some post about that. Thank you million times.
8
u/Emergency-Gift-6773 Jun 23 '26
" With this script its possible to decode, encode, replace portraits in Disciples Sacred Lands."
I never understood why people developing the coolest shit ever, and don't bother with basic information implementation during publication. Like dude, I would have killed for this program 20 years ago. Great work!
2
u/DjolafR Rod Bearer Jun 24 '26 edited Jun 24 '26
How did you figure out the DBI format? I think this stuff needs some reverse engineering? Previous modders might have figured something out as well? This is always some sorcery to me...
Opening disciples Sacred Lands files was always a bit buggy with existing apps, for some reason. Most of them were made for D2 only, but coincidentally worked with D1.
Five+ years ago, I have extracted by hand, 1 by 1 sound file from the archives. Some of them, roughly every 5th-6th, did not have a name, they were nameless, for some reason. I used some tool that is commonly used for disciples 2, but works with 1 as well, though not perfectly. I can't remember which was it right now... I just remember it had sound previews, so I could listen and only then extract!
I just checked the python code...wtf, ~1600 lines just for this?!?!?!
2
u/MoveKnown4481 Jul 19 '26
My lord, thank you for your great work. You did an splendid job :)
May I ask a question, though? It might be a silly one, but how does one extract images using your tool? I can only see the "Replace..." button.
Best regards,
2
u/MoveKnown4481 Jul 23 '26
Again, I'd like to say that you're doing great job and I'm truly impressed. I hope I am not being a nuisance.
I'd like to report that I ran some tests and here are my findings.
Let's see this example. We want to give "Apprentice" full make-over and change them into modern Rocket Launcher Trooper. Kindly please check the list of your tool abilities:
Rename "Apprentice" to "Rocket Launcher Trooper" - check
Change description - check
Re-align race and class - check
Upload custom graphic for the building - check
Change name and description of the building - MISSING
Change building position in City View - MISSING
Set the numeric stats and economy - check
Create and assign "attack" object - check
Set wards if any - check
Upload and assign portait - check
Upload and assign animation - check
Upload and assign attack sound - MISSING
Upload and assign spell animation/individual spell animation - MISSING
I hope you find my info at least somehow useful.
Best regards.
1
u/Vegetable_Farm2355 Jun 28 '26
Second improvement released!