turtle-insect / UnicornOverlord

Switch Unicorn Overlord SaveDate Editor
GNU General Public License v3.0
33 stars 2 forks source link

add functionality for voice/faces/other characters #7

Open Algo1122 opened 5 months ago

Algo1122 commented 5 months ago

This is kind of a niche issue but I've been dumping uocd's and editing them in hex to make them other characters with middling success on account of the voices and faces being stashed elsewhere in the data. I've tried mapping this data to no avail and was wondering if maybe the save editor could have features for this.

Algo1122 commented 5 months ago

save data cheat sheet I just made a list of the bytes I found in the uocd's that point to their data. Hopefully it can make it easier if those options do get considered. I don't know what voice ID is for what yet, I just know that 04 is Alain; Besides that, face IDs are kind of odd. Everything else there is pretty clear cut and dry though.

Algo1122 commented 5 months ago

Oh crap I forgot to include cyan, cyan is voice ID.

turtle-insect commented 5 months ago

great work

turtle-insect commented 5 months ago

If I could ask, could I use the following format? ※start index = 0

ex.) class ID start 0x28 length 1 https://github.com/turtle-insect/UnicornOverlord/blob/main/UnicornOverlord/Character.cs#L30

Algo1122 commented 5 months ago

I'm not too versed on actual coding unfortunately lmao but it seems fine to me, P.S it seems like you found the stuff for names but just in case... ex setting those 4 bytes to FF FF FF FF will make the game use the name attached to the chara ID. Similar to how the voice display option FF is blank on the idealist handmirror menu. But yeah everything looks great! Thanks for looking into it. voice list by ID.txt This is also the list of every characters voice ID that I've found so far. It has basically every playable characters voice except for umerus. I only found Galerius' last night so I still need to look more. Hopefully that helps too.

turtle-insect commented 5 months ago

thanks

turtle-insect commented 5 months ago

oops I wish you could tell me the numerical value because the colors are so similar that I couldn't distinguish the addresses.

turtle-insect commented 5 months ago

voice list

great work!

Algo1122 commented 5 months ago

Sorry, that's my bad. If it helps I did manage to track down all the name IDs. generic name list.txt These are the ones the game randomly generates for enemies as well as the selectable ones for your mercs. The field for it is these two bytes here. In little endian, as I'm sure you know lmao bytes The name of the unit here is Remi, which is name ID 345 or in hex little endian, 59 01 (159 in big endian). Sorry that I can't give exact numerics, best I can do is highlight the bytes that do what.

Algo1122 commented 5 months ago

Also! I found out what the first byte in the face ID stuff I sent you, the darker red one on the left. It's the gender of the sprite used. 02 is typically female, 01 is male. Using it on classes that dont have male/female counterparts can be a little weird.

Algo1122 commented 5 months ago

Alright here, this is an 010 template a friend of mine and I helped make. Save_CharData.zip It should have the index and all that for every set of bytes along with what each of them are/mean. I hope it helps