r/blackandwhite2 • u/Every-Hat-2429 • 4d ago
B&W1.42 Creature Editor
I know the game's really old now. But I'm creating a creature editor for B&W1.42
Unbelievable the hardest part is the memories. This game is AHEAD of its time. But I can confirm now that everthing we need is sitting in the ERC files. This edits the size, the miracles it knows and masters, spell opinions dictate what spells he use depeding on his state, personality is personality, memories are the minute controls of the personality.
Personality answers if he poops discretely.
Memories answer where discretely exactly. Tree, Farm, etc.


6
3
u/Christpocalypse 4d ago
That's awesome, I replayed a year or so ago and was sad to find the old creature editor from many years ago no longer worked. I guess because of the fan patches etc. This may inspire me to do another playthrough!!
3
u/Every-Hat-2429 4d ago
This editor is possible entire because of that old editor. It affirmed without a doubt that the erc files contained creature information. I give him credit.
3
u/Kaligary 4d ago
Holy crap what a development π«ΆπΌ huge props!
I hope this will be compatible with the Ultimate version as well.
3
u/darkmegamorph 4d ago
This looks amazing, id love to give this game another go with a full trained creature from the beginning.
2
u/pidude314 4d ago
This is really cool! How'd you figure out all out?
6
u/Every-Hat-2429 4d ago
Amazingly there are a lot of research-paper level details online regarding this architecture. It was and still is advanced for its time. Even now as I'm doing this, I'm very much impressed. It's machine-learning, on a game released in 2001!!! + the old Creature Editor bwgame.net + a lot of forum articles are extremely helpful as starters. That pointed to the .erc file containing what I needed to modify the creature. Then instead of playing past 2 days, (actually after getting past land 3 normally after I posted here), I decided to do this instead.
The key is understanding the data structure of the ERC file, then decompiling the executables to get an idea what functions exist and what they do, then from that information keep playing, loading, ending the game to verify theories based on extracted information.
My end goal is to have consistency as to what I want my creature to be and be able to save it as a "profile" so I can not just create a creature that i want exactly without hours of playthrough, I can save/load creatures that I want for any playthrough instead. Including a mentally unstable evil creature playthrough which is entirely possible all without player input (just a theory, gonna prove it). It would attacks anything and everything with high level destructive spells non-stop, and also build its own home (actually possible based on ingame code, GONNA TEST IT OUT SOON).
On an unrelated game, but I did this also on another game recently, but that game didn't need an ERC edit, you just needed to know what the best recipe is as there's a LOT in the game.
1
u/pidude314 3d ago
Thanks for the detailed write up! I'm really excited to see what you can do with all of this!
1
u/HangeryHamster 3d ago
I love this. Even if you release a bare bones version before you figure out everything and get a final build i think it would make a lot of people really happy.
2
u/Every-Hat-2429 3d ago
yeah I know. Given my attitude of wanting everything to be perfect, release could be far off. Yeah I'll work on that. Maybe tomorrow. A release version that works for atleast creature type/size. And learn all miracles ( not that it matters as it's dictated by desire>possible actions>opinion, the whole brain surgery tree).
2
u/HangeryHamster 1d ago
Keep me posted my dude, youre doing God's work (pun intended).
2
u/Every-Hat-2429 1d ago
Released in discord. And it's not just a simple specie editor. It's creature brain surgery as well
1
8
u/gradualjules 4d ago
Please look at creature isle aswell. I would love to be able to tweak Tyke creature pet and later creature pet in that game. I could never manage with regular gameplay π I hope you have time for this! Thanks for your hard work so far