Eu992: In any case, checking some old post, I read something about editing the .exe directly using hex editor programm such as HxD; so that's what I did but I've only managed to change names, descriptions and skill icons. I've also used Cheat Enginge to find some values but I've only managed to swap skill sets between already-existing classes.
From what i'm seeing there's a translation portion in gtext and gtext_uk files in the res directory. That's where names/descriptions are basically stored for all languages, as the raw names internally for the spells/skills is something a bitshorter. Like 'MagicMissile'. then you have AV_MagicMissile which i think is the information for particle effects and sounds associated with it. If you find one, all the other names are bound to be close by. So I'd wager it's a combination locale lookup, and depending on the input you're using, it swaps between the controllerkeyboard inputs (
as this was released on consoles so just swapping the textures and texts is easy-peasy so long as you can change the pointer).
But that doesn't tell me how it handles the default config, how it determines the spells/skill set, only that it's confusing enough, and using a debugger/cheating tool certainly can help in the moment, but isn't quite enough to help as a mod.
I'll look over the video, though I'm not expecting much. I wouldn't be surprised if in the save file the characters skills are listed, how many points are put into them each. That would be more universal, while the character creation copies a bulk template for starting character and gear. It might come down to making save files with different modifications and just importing them; but as the save has error correction checks, you'd likely have to make them in game, then save them like i did for stats for them to stick.
Makes me miss the old Diablo 2 saves, which was only like 800 bytes and you could find and edit everything easily. (
then they added their own CRC and you had to update that too, but that's another issue)
Eu992: EDIT: I've managed to unlock the skills to the shortcut slots via Cheat Engine. Only cons: they do not scale in ranks ;( need to figure out how to make it work
Hmmmm.... I remember once when i had to help with a MSDOS program to create a TSR (
Terminate-Stay-Resistant) program that one of the solutions i had was to use a call/jump from a known working code to an empty block of code to add my own, then return. So hooking in to almost anywhere will work. The real problem is still finding it.
As for making it scale; well i found where the stats are stored in memory (
and can easily find it again) but that would be closer to hard-coding it. That's fine if it never moves.
I really really wish games were written so their sources were included with the game; Albeit encrypted or something so they can be unlocked or cracked later and modded. Copyright as it is (
creation of arts and works) is useless when companies have the mentality the copyright will never end and games just disappear wholesale into the void.