jackcmedia
Level: Goblin
Rank Points: 15
Registered: 06-21-2015
IP: Logged
|
Issue exporting custom hold on compiled KDD source (+3)
Hi all,
I'm interesting in game development and figured out I may learn a lot about gamedev in general, and DROD in particular, if I were to compile and tweak the source code.
Since I only own KDD2.0 and JtRH, I downloaded the source for the DROD Engine 2.0 and compiled it following a guide by fellow forumite Andy101, titled "A guide to compiling DROD on Windows" (can't post links, yay!!!). The binary comes out fine and I put it in a copy of my KDD2.0 installation folder, to use the same assets.
The thing is, I'm currently interested in how the game exports holds and preserves all the data in a coherent structure, so I decided to create a custom hold with a mostly empty room and a couple of obstacles.
I exported it, and decided to load it on the original KDD2.0, but it complains the file is corrupted. I recreated the same hold in KDD2.0 and exported it, which can't be imported by my compiled binary. A binary diff shows me that the files are largely different.
I have no idea on why this is happening. My initial suspect was the version of zlib I am compiling against but, thinking about it, that wouldn't make any sense as compressed data should be inflated by zlib, regardless of which version generated it.
I compiled this using Dev-C++ with the following libraries:
· SDL 1.2.11
· SDL_ttf 2.0.8
· zlib 1.2.3
· libcurl 7.15.0
· Expat 2.0.0
· FMOD 3.75
· libjpeg 6b-4
· libpng 1.2.12
Any idea why my compiled binary exports holds differently than the official KDD2.0 binary?
|