So, I couldn't figure out what's going on with the unknown data block inside decompressed NAM_1.dat - the only thing I found out was the fact that it contains font characters.
But I managed to create new Granados mobster names and keep the total number of characters (2787) intact. I'll have to do the same thing with Roth Syndicate mobsters, since their names are located in NAM_2.bal as well.
As for the NAM_1.dat blocks, I created new names for Corleones (generic mobsters and recruits), Rosatos (Carmine and Tony) and Manganos; only the Almeidas remain.
After that, I'll import these names into NAM_1.dat (for compressed strings) and .str archive (for NAM_2.bal strings), and adjust the pointer values; so everything about editing this text .str archive is pretty much clear.
______________________________________________________________________________________________________
In the meantime, I wanted to try something else. While changing character clothes (player or made men) there is an option for changing the clothes color. I'd like to edit that color palette by replacing several colors with shades of gray and red, and I'd also like to add the black color.
Here are some screenshots:
https://ibb.co/FBZBmWn
https://ibb.co/YtkJyKv
The problem is, I don't know the rgb values for those colors. I've been searching the ram with keywords such as "color", "rgb", "hsv" and "hsl" and looking up the neighboring values (using hex editor) but I couldn't find anything useful. I suspect that these values are stored in
allcharacters.str or
globals_global.str, but I don't know which values I should be looking for so I decided to find them in the active memory first.
The options in the clothes editor are highlighted; in the first screenshot, the color option is highlighted and the color is lighter, and in another one I highlighted the last option which made the color dimmer. This highlighter affects the displayed color, so I'm unable to simply take a screenshot and use the color picker to get the rgb value.
So, I'm trying to find something in the ram without knowing its value, or even the address. Could Cheat Engine be useful for this?