r/kingsbounty • u/LilyHarmin • 2h ago
Crossworlds KB Editor and new launcher
So the progress has been made. I will go through all the information:
- things that were done
- what is not yet done
- future plans for it.
- what the project is and is not
Things that were done (+ backstory):
As some of you know from the previous post - I have been working on the port of the original KB: Crossworlds to "new engine" - recreating the engine from the scratch, decompiled files, and a lot of luck.
The prototype semi worked, I managed to get the first location working, most of the files decoded and ran. It was not enough to even call it an alpha though. It was terrible, not 100% close to original, not even 80% (at least in my mind). With help of AI, the process went faster - finding the actual parts of the code, comparing with what I have, porting.
Right now I have a working game, and editor.





As you can see - things work, and "exist". They are not in perfect state though. From simple things to some minor details. Some are even game-breaking: Like sometimes bugged Digging (locking you from doing tutorial - yes, it is NOT perfect yet).
Changes from the original game:
- so far nothing has crashed
- exclusive window is more stable, and allows for screenshots
- no need to restart the game after changing game mode
- DX11 instead of DX9
- There are miniscule visual changes, but you shouldn't be able to notice them (around 99% identical to the original game, so like PNG vs JPG quality)
- supports mods from RAR
- bumped LUA to newer version (automatically patches the old LUA files to work properly)
What is not yet done
- There are still bugs. A lot of them. Some clearly visible, some only manifest in weird, rare scenarios. So need to go through all spells, all locations, all encounters.
- The game hasn't been fully played yet, and so I don't know if there isn't more game-breaking things that just block.
- Proper launcher. Now it just starts with command-line.
- Editor is barely touched. It does render the game + all physics, but the UI is still... Very much not-intuitive and rough.
(TLDR: bugs and editor)
Future plans for it.
- Ability to run and modify (editor) all KB games from this one exe - Legend, Crossworlds, WoTN, Dark Side.
- Opt-in features from different games - like unit experience, and instant-battle (never finished Legend because of lack of instant-battle)
- better support for mods - right now I only have minor check against the Hirao's mod. I plan to have option to have a list of mods downloaded and checkbox them to run - no "install/uninstall" - just one list with checkboxes.
- KB extended - splitting API into original and extended - giving even more options for you to modify the game.
- integration of your ideas and feature requests (and bug fixes)
What the project is and is not
It is a fan-project, aiming to fix some annoying bugs, crashes, and combine all four games into one simple launcher, while bringing the experience from each better release to other ones (beforementioned XP and instant-battle)
It is in big measure AI assisted. The initial versions were done by hand, Ghidra and sheer *beep* will. Combining the previous code, human eye, and a *beep* ton of agents to find "what the hell is going on in that binary" (and I don't even mean the .exe. The shaders, lighting, and scripts were a nightmare - and I never got even close to what I wanted)
It is not a project meant to crack/pirate the game - it is, but a replacement of the exe file. It still requires you to buy the game, to load the assets you *LEGALLY* obtained. It does ship with shaders - but well, it is DX9->DX11 swap so, yes.
Final words
It is not yet ready to play by anyone. I don't want to ship half-assed, half-slopped project to the masses. First I want to go through the obvious and less obvious bugs I can find, to make the gameplay basically identical to the original. Once done - I will start closed-beta, for people who want - especially modders and veterans - MUCH easier to find bugs, and add simple features. From that point I hope it to become a collaboration, and soon after, open-source project - with fully working game AND editor.
Any update will be mentioned here, in the comment. (I don't want to spam 1000 posts)
I am open to your opinions, ideas, questions, and words.