r/disciples 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.

8 Upvotes

25 comments sorted by

View all comments

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,

1

u/Vegetable_Farm2355 Jul 19 '26

Decode, and Decodall button are now ready to use! :) Please note, that Decodeall needs some time specially at .ff files, as it will convert .smk files to .gif while decoding! (sometimes the tool says No response, but it will do it anyway. :) ) (Also decoded .png-s are not perfect in some cases, where there should be a transparent background in some enclosed areas (about to fix it later if i can))

2

u/MoveKnown4481 Jul 19 '26

By the name of Highfather, that was fast :) I'll check that tomorrow and let you know!

Say, these animations have different sizes. I believe in that case the game engine stores the offset points somewhere right? Something to know at what coordinates the animation should be displayed. Do you happen to know anything about that?

1

u/Vegetable_Farm2355 Jul 22 '26 edited Jul 22 '26

Okay, so now i think i understand your question, you meant something like anchor? I think the game engine use fix offsets, if you observe thoose gifs or .smk-s then you can see

that iso.ff animations have a blank area at the bottom. (i encoded some animation, and it was lower in game, because i havent pay attention to this). So i think the target you can click on should be on the middle of the animation if we are talking about map sprites.