Is there a way to import a custom portrait without creating a new character ?
Greetings, people of the past. It is I, Reinhark, The great cheater. I have came here bearing the news.
It is possible to do this, but this is pretty difficult. Please proceed if you have what it takes.
Programs you need are the following:
Cheat engine
XNBextract
1. Find out what portrait you are using, and what you want to use.
Every underrail has portrait folder where the profile pics are stored.
What you want to do, is find which profile picture you are using, and what you want to replace it with.
Use program named XNBextract or something. I think this file is used for stardew valley. follow it to download.
Let's say I want to replace my current picture, which is named "scavle2" ("_l" and "_s" do not count, as they stand for small and large. )
...To the faceless stealth specialist located in "genderless" folder, named "flst"
Here are some actions you need to do.
THE IMAGE MUST BE IN THE SAME GENDER FOLDER AS YOUR CHARACTER. Therefore I copy "flst" XNB files to "Male".
THE IMAGE NAME MUST BE THE SAME LENGTH AS ORIGINAL. Therefore I must extend my image name to 7 characters, "flst" to "flstest".
The easy part is done. Now let's move on to hardest part. Start the Underrail and load your character.
Use the cheat engine, target underrail as your process, and find your character's name.
Here are the instructions:
Use this chart and convert your character name to hex.
My character is named "Reinhark" so it should be...
52 65 69 6E 68 61 72 6B
Now insert 00 for every single characters. so it should look like:
52 00 65 00 69 00 6E 00 68 00 61 00 72 00 6B 00
Run cheat engine and:
Change "Value type" to "array of byte".
Click checkbox named "Hex" at the left side of input box.
Input above hex(In this case, [52 00 65 00 69 00 6E 00 68 00 61 00 72 00 6B 00]) and run it.
You should get 2 to 20 results.
If, for some reason memory disappears conduct the search again.
Right click each one and pick "Browse this memory region".
Find the location of memory location where your name and your picture name is near each other. if picture name cannot be found in one memory just go to another memory.
NOW CHANGE THAT PICTURE NAME FROM THE ORIGINAL (scavle2) TO THE NEW ONE (fltest)
It should take effect, immediately.
(alternatively, you can try to scan the file name, [73 00 63 00 61 00 76 00 6C 00 65 00 32 00] which stands for "scavle2". But this game has long pre-loading sequence so it is not recommended.)
I REALLY wish I knew changing portraits during a playthrough is going to be nigh-impossible, because I would've downloaded the custom pack before I actually started playing for the first time.
It now INFURIATES me that I cannot change it - believe it or not I followed every step in this guide (I've used CE before though I'm no code wizard) - and I CANNOT find the hex value for my character's portrait next to its name. It probably doesn't help that I used the armored helmeted male portrat (mt_l.png and mt_s.png) which has a primitive two-character file name.
And yes I actually did convert a custom portrait's .png file to .xnb and put it in the game files, though I did not get far enough to test if it would work.
Is there SERIOUSLY no other way to change your character's portrait on an existing save file? I think I'm roughly halfway through the game so I've got days of gameplay left and I'd like to not be bothered by the unfitting portrait. Immersion is a huge deal-breaker for me.