Hello everyone!
I managed to compile CK4 from source code: https://pckf.com/viewtopic.php?t=11505
The game works and plays as expected.
Next step I imported the levels in Abiathar using the template for Commander Keen 4
When playing the game, entering a new game, the game crashes with "RF_NewMap: Map too tall!"
I noticed that Abiathar will generate a MAPHEAD.CK4 file that is 1KB
Inside the the sources in static I get a MAPHEAD.CK4 file that is 23KB
I tried to build with both and neither will solve the issue.
Patching the game will fail because CK4PATCH.EXE won't recognize the .EXE file, as I did small modifications to it.
How do I get over this crux?
Solved: Abiathar & CK4 from source
Solved: Abiathar & CK4 from source
Last edited by c64cosmin on Mon Oct 23, 2023 6:42 pm, edited 1 time in total.
Re: Abiathar & CK4 from source
Solution: The files MAPHEAD.CK*, EGADICT.CK*, EGAHEAD.CK* need to be copied to ./static folder
Then you have to run the make.bat file to generate the .obj files for those.
Rebuild the whole game and that will do the trick.
Then you have to run the make.bat file to generate the .obj files for those.
Rebuild the whole game and that will do the trick.