Underrail Forum

Underrail => General => Topic started by: Kilgore Trout on May 05, 2017, 03:26:47 am

Title: Strength to Intelligence Stat
Post by: Kilgore Trout on May 05, 2017, 03:26:47 am
Strength to Intelligence Stat

Hey guys, hope someone can help me with this. I was playing UR on a laptop with a crappy D-pad and ended up spending a point on strength instead of intelligence. This was a while ago however, didn't think it would mind at the time but I can feel the difference now. The other problem being I don't have an older save.

I read through some sources that it is possible to change stats with cheat engine, e.g. :

https://steamcommunity.com/app/250520/discussions/0/494632768632577823/?l=french

and

http://forum.cheatengine.org/viewtopic.php?t=18163

I've tried both of these with little success (perhaps total lack of coding or sleep deprivation). Essentially what I wish to do is I just want to move that one point from strength to intelligence. If anyone can provide me with some guidelines, assistance or an idiot's guide to solve this it would be greatly appreciated.

Cheers,
Otsirk
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 05, 2017, 03:57:12 am
Greetings. I am Reinhark, the great cheater.

Since it is real pain in the butt to actually edit the save file, I will just give you the cheat engine table.

Check your PM. Thank you.

Edit: Can't put attachments with PM. I will just post the CE table here, because cheat engine forum is mostly gone now. It is a VERY powerful table tool thingy, and you may ask me for instructions if you do not know how to use it.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 05, 2017, 05:28:26 am
Sir,

There are no word to express my gratitude, other than you are a god among men.

I shall try it now and if I have any problems, I shall ask thee for they help

Honestly, thank you so much!

Kind regards,
Otsirk
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 05, 2017, 06:40:40 am
Dear Sir Reinhark,

My apologies for having to rely on your assistance so soon. I first boot Cheat Engine. Then, I proceed to open the table you have provided me with. When asked "Keep the current address list/code list" I select yes. Next, I proceed to boot UR and load my chosen save file.

From there, I go back to Cheat Engine and click on the computer icon with the magnifying glass and select UR as the process is wish to open. This is where things start to get confusing for me:

I chose to scan for the value of 5. Cheat engine returned with many results. Then at the bottom I selected (Activated) the "Ability score editor [Character Screen Only]" This then opened the subsections that listed all the abilities, however I am unable to select (activate) change any of the values.

I apologise in advance for my lack of knowledge or skill with CE, but your sage assistance would be greatly appreciated.

Kind regards,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 05, 2017, 04:53:51 pm
RIGHT. I didn't expect to get to use them well for the first time.
This table automatically tracks the stat values for you. You don't need to actually scan for anything.


Here is the step by step process on how to use it:


1. Open UR, load your game. open your character screen where you can see your steos like str and dex.

2. Open the script I have uploaded above, and open UR in the process list.

3. Click checkmark on the left of "Ability score editor". the values of all the stats should display "??".

4. Alt tab back to UR, don't click anything. Hover your mouse through strength, Dex, and Agi in that order. Alt tab back to CE again.

5. CE's "Ability score editor" should display all the correct stats of your character abilities.
You can left click individual values -> Change record -> Value to edit your stats.

For this process you must edit the table values. NOT the "real" ones.


For example: If I want to increase my strength by one, I must go through step from 1 to 4. Let's assume my strength is 5.

After confirming that all the stats being displayed correctly, I left click the "Strength Table" value  -> Change record -> Value.
This will open small window where you are able to enter a number.(current strength value should be inside there, which is 5 for this example)

I change the number from 5 to 6.

This change should be instant. Go back to UR and check if the strength is really changed.

Hopefully this tutorial may help.


Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 06, 2017, 01:37:23 am
Thank you, Reinhark

Those instructions were clear cut and dry and worked perfectly. However, I have one more question for you:

1) Is it possible to change feats (remove one and add a different one) through your table? I ask because due to the change from STR to INT, there is one possible feat I am not suppose to have anymore.

Long story short, I would like to take that feat out and replace it with something else. Thus retaining the fairness of the character.

Once again thank you very much for all your assistance and guidance.

Kind regards,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 06, 2017, 04:56:43 am
Thank you, Reinhark

Those instructions were clear cut and dry and worked perfectly. However, I have one more question for you:

1) Is it possible to change feats (remove one and add a different one) through your table? I ask because due to the change from STR to INT, there is one possible feat I am not suppose to have anymore.

Long story short, I would like to take that feat out and replace it with something else. Thus retaining the fairness of the character.

Once again thank you very much for all your assistance and guidance.

Kind regards,
Kilgore Trout
Feat replacement... That is much more difficult than replacing a single number.
Can I replace a feat through the CE table? No.

Is it absolutely impossible with any means? Also no. There is always a way.
This requires you to edit your save file and will require you to install some text editing software like Notepad++ or HxD.exe.

Please reply back if you want to continue instead of taking an easier way like, giving 1 extra feat.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 06, 2017, 05:24:17 am
Thank you for replying and explaining, Reinhark.

I would like to do some text editing, just to maintain the fairness of the character. This being the harder way, I would definitely require your instructions and assistance. Apologies for asking a lot and not giving anything back.

So how do I proceed? Which of the two text editing programs would you recommend, and how do we move forward from there?

Thanks for your time, patience and assistance.

Kind regards,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 06, 2017, 06:43:21 pm
If you are so determined... let's begin. I recommend you to use Notepad++ for its bare minimum ability to see the values and search function.(also useful for professional things if you are into that)
It can be downloaded from below:
https://notepad-plus-plus.org/download/v7.3.3.html

First, you must have a save file. Your save file can be located at: "C:\Users\[username]\Documents\My Games\Underrail\Saves" if you are running the windows.
Always make at least one more save file in case you screw up this process.

What you want to find here in those individual save is file named "global.dat". It is encoded in some way and must be processed in some way. Luckly we do have a way.


Go to this forum page where epeli put together some tools. What we are looking for is 'unpacker".
http://underrail.com/forums/index.php?topic=2753.msg14299#msg14299 -> unpacker.

Select your save file's "global.dat" using this unpacker. it will download the unpacked version -probably named as "global_unpacked.dat" or something.

If you have installed Notepad++, you will be able to right click this file to see the option "Edit with Notepad++". Please edit this unpacked file with Notepad++.

Now, use search function(Control + f key) to look for the feat section. the file is long as we don't have all the time to look through all of them.
Search for your character's existing feat names. it is the easiest way.

It should look like this:
(http://i.imgur.com/bOSbGo2.png)

As you can see, your character's list of feats should be in this section of the text file.
What you need to do is find the undesired feat, and replace it with feat you want.

Unfortunately you probably do not have the full name(for example, paranoia feat's full name is [BS]paranoia. See the picture above. ). Please tell me the feat you desire. I should be able to find out the true name for the feat.

But even after replacing the feat, it isn't over! You must re-package the unpacked file.
Go back to the unpacker and select the "global_unpacked.dat" that you just edited. It will repack the file and download it again. (its name is probably like "global_unpacked_packed.dat")

Change the name "global_unpacked_packed.dat" back to "global.dat". Replace the original "global.dat" in the save file.(it has to be the same save file from few steps above.)

And voila! your feat is replaced.
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 06, 2017, 07:55:25 pm
Oi, you really shouldn't recommend a text editor for editing binary files. Use a hex editor instead, it will make working with those special characters easier and less likely that you break the file by accident.

(its name is probably like "global_unpacked_packed.dat")
lol, that's silly. :D Yeah, it just appends _unpacked or _packed to the suggested filename you get the save as dialog, so you get monstrosities like that if you dont rename them. I should probably change that to make it slightly less stupid and confusing.

edit: k, now it removes any previous filename additions so you can't get insanity like originalFilename_unpacked_packed_unpacked_packed_unpacked_packed_unpacked_packed_unpacked_packed.dat

My other recommended editing file, "HxD.exe" is indeed Hex editing file. However I find it to be overwhelming for those who are not used to the whole file editing. Notepad++ may be inept for the task of fine editing, but it shows only necessary information without being a giant block of hex text.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 07, 2017, 12:53:52 am
Hi Reinhark,

Thank you once again for the help.

As you said: "Unfortunately you probably do not have the full name(for example, paranoia feat's full name is [BS]paranoia. See the picture above. ). Please tell me the feat you desire. I should be able to find out the true name for the feat.

You are right, I do not know the proper name. As such the feat's name I desire to know is "critical power".

Thanks once again.

Kind regards,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 07, 2017, 04:28:29 pm
Hi Reinhark,

Thank you once again for the help.

As you said: "Unfortunately you probably do not have the full name(for example, paranoia feat's full name is [BS]paranoia. See the picture above. ). Please tell me the feat you desire. I should be able to find out the true name for the feat.

You are right, I do not know the proper name. As such the feat's name I desire to know is "critical power".

Thanks once again.

Kind regards,
Kilgore Trout

Critical power's feat name is, "[Enter/Newline]criticalpower"
I have the name in the file in the text attached below. Please replace it in the save file location.
[Enter], or [Newline] is treated as a character in this case. Even if it looks disjointed, please copy and paste EXACTLY what is in the quotation.


Remember. Structure of the feat is:
[a character]Featname
Always remember to delete that extra [single character] in front of feat name replacing the feat.


Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 08, 2017, 02:34:34 am
Hi Reinhark,

As always thank you for replying to my message and your patience. I must be messing something up. Everytime I try to load the game it "fails to load" after I have made (and saved) the changes in the global file (renamed/repacked and replaced it). I have attached a word document to this post showing two pictures. One before I edit the global file and one after the edit.

I also make sure to save the changes I've made before repacking/renaming and replacing the file. I will be honest, I can't see where I'm going wrong and feel like bit of a dunce. As always your guiding had would be greatly appreciated.

Thanks you, Reinhark.

Kind regards,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 08, 2017, 02:42:01 am
Hi Reinhark,

As always thank you for replying to my message and your patience. I must be messing something up. Everytime I try to load the game it "fails to load" after I have made (and saved) the changes in the global file (renamed/repacked and replaced it). I have attached a word document to this post showing two pictures. One before I edit the global file and one after the edit.

I also make sure to save the changes I've made before repacking/renaming and replacing the file. I will be honest, I can't see where I'm going wrong and feel like bit of a dunce. As always your guiding had would be greatly appreciated.

Thanks you, Reinhark.

Kind regards,
Kilgore Trout

hmm, could you upload the save file(entire save file so I could test it myself) in the zip format?

Let's see if I can work with it.

Also, please post: Unwanted feat, and wanted feat name.

Thank you.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 08, 2017, 03:51:40 am
Hi Reinhark,

I will happily do that. Unfortunately, I am at work at the moment so I will do it as soon as I get home.

The unwanted feat is "fullauto" the desired feat is "critical power". Thanks as always.

Kind regards,
Kilgore Trout

P.S

I see the allowed size of an attachment is 192kb and the zipped size would be far larger than that. So I'll send it via PM?
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 08, 2017, 10:20:35 am
Hi Reinhark,

Yeah, I just check the zipped format of the safe game comes in at 30mb. I won't be able to attached it.

Any advice?

Kind regards,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 08, 2017, 11:04:10 pm
hm, just upload global.dat then. Most of the size seem to be coming from the map data, chunk.dat.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 08, 2017, 11:34:41 pm
Hi Reinhark,

Will do, please find the global.dat attached to this message. I had to .rar it though, because I get the message now that says file size cannot exceed 128kb.

I hope this is okay.

Kind regards,
Kilgore Trout

Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 09, 2017, 01:43:00 am
it has been modified. See how this one works.
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 09, 2017, 02:08:46 am
Also, here is a feat list(incomplete) if anyone is determined enough to go this far for feats.

This is unpacked global.dat's true feat name.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 09, 2017, 03:11:12 am
Dear Reinhark,

Thank you very much for all your effort. I will be sure to try it as soon as I get home from work and update you. Also, thank you for giving the entire feat-list.

Your patience and assistance has been greatly appreciated, sir.

Kind regards,
Kristo Pienaar
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 09, 2017, 05:29:55 am
Hi Reinhark,

First of all, thanks as always. So I copied the global file you edited over to the appropriate save game and was met with the same result. "Failed to load save game". Such is life I guess.

But then, I tried something else. I opened the original global.dat file and replaced "fullauto" with one of the other feats you kindly provided in your feat list. After this I repacked/renamed and copied the file in the appropriate save game. I got exactly the same result "Failed to load save game".

I scratching my head trying to think of different scenarios to get around this, but have literally no clue whether any of them will work. Anyway, I'll try and some of my ideas and see what happens.

Thanks friend!

Kind regards,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 09, 2017, 12:43:55 pm
Hi Reinhark,

First of all, thanks as always. So I copied the global file you edited over to the appropriate save game and was met with the same result. "Failed to load save game". Such is life I guess.

But then, I tried something else. I opened the original global.dat file and replaced "fullauto" with one of the other feats you kindly provided in your feat list. After this I repacked/renamed and copied the file in the appropriate save game. I got exactly the same result "Failed to load save game".

I scratching my head trying to think of different scenarios to get around this, but have literally no clue whether any of them will work. Anyway, I'll try and some of my ideas and see what happens.

Thanks friend!

Kind regards,
Kilgore Trout

Hmm, could you try again with fresh, another save file's global.dat?
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 09, 2017, 01:33:26 pm
Yeah that be great!

I have a save where I moved to a new location, and stripped my char of all its gear. Also, it is a save before I edited the attribute values, i.e. strength to intelligence.

Maybe it makes a difference, I don't know. I'll attached it to this post.

Thanks friend,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 09, 2017, 03:16:55 pm
right, modified again.

See if this one works.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 09, 2017, 04:06:39 pm
Hi Reinhark,

Thanks once again. Unfortunately, it had the same result. "Vae Victis" as they saying goes.

Do you think your original idea of me sending the entire save game to you would help more? Perhaps I should just make a torrent for it and then you can download it?

Kind regards,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 10, 2017, 12:17:57 am
Hi Reinhark,

Sorry for being presumptuous, but I went ahead and made a torrent. I attached it to this file, if you want to have a look at the whole save game.

Kind regards,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 10, 2017, 02:16:51 pm
I can't seem to down load it as it is permanently on hold.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 10, 2017, 03:40:55 pm
I'll make a new one stat, and attach it. Sorry about that, Reinhark.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 12, 2017, 01:10:33 am
Hi Reinhark,

I think I realize what the problem was with the first torrent. When creating it I selected the private tab. Made sure not to do that with the new one I uploaded awhile ago.

Thanks again,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: kzwix on May 18, 2017, 11:40:11 am
Kilgore Trout, when you modified the file yourself, did you use a text editor (like Notepad, notepad ++, etc.), or a HEXADECIMAL editor ? (displaying series of two characters, like '8F 2C EA 87 A8' ?)

Because, if you used a TEXT editor, considering that the feat name had a NEWLINE character in it (and that the NEWLINE is treated differently whether you're on a MAC, Windows, or Linux system), that's likely your problem, here. So, I'd advise you to use a HEXADECIMAL editor instead, in order to change precisely the values to those needed.

The "NEWLINE" character is value 0A, and lower-case letters will be 61 (for 'a') to 7A (for 'z').
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 18, 2017, 12:53:34 pm
Hi kzwix,

Thanks for the reply. I've actually tried both methods. Text line editing (notepad++) and hexidecimal (HxD), but with little success.

However the new line character value escaped me. As soon as I get home I'll unpack the global file and try the hexidecimal editing again with the knowledge you have provided.

I'll keep you posted on my success (hopefully not failure :-p

Thanks once again for the post and info.

Kind regards,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 18, 2017, 12:55:20 pm
Kilgore Trout, when you modified the file yourself, did you use a text editor (like Notepad, notepad ++, etc.), or a HEXADECIMAL editor ? (displaying series of two characters, like '8F 2C EA 87 A8' ?)

Because, if you used a TEXT editor, considering that the feat name had a NEWLINE character in it (and that the NEWLINE is treated differently whether you're on a MAC, Windows, or Linux system), that's likely your problem, here. So, I'd advise you to use a HEXADECIMAL editor instead, in order to change precisely the values to those needed.

The "NEWLINE" character is value 0A, and lower-case letters will be 61 (for 'a') to 7A (for 'z').

It probably wasn't the main issue, because when I modified the Kilgore's global.dat by myself it did not resolve the issue.

Very peculiar indeed.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 18, 2017, 02:08:12 pm
Hi Reinhark,

Good to hear from you again. I've been trying different feats but no luck. Also tried installing an older version of the game, then create a new char and edit the global.dat file. But same results :-(

Were you able to download the whole savegame btw? Anyway friend, good to hear from you again.

Kind regards,
Kilgore
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 18, 2017, 03:20:21 pm
Hey guys,

Totally different question, but is it possible to "retro-spec/de-level" a current char? I suppose what I mean is, is it possible, for e.g. to take the char from 18 back to 10 (using cheat engine perhaps?). And then systematically (level-by-level) level up the char using cheat engine?

But this raises the question, if one were able to do this (retro-spec/de-level) would merely the level change or would stats, feats etc. retrospec as well?

Apologies in advance if it is a stupid question, just got off from a long shift, so I hope the above makes some sense.

Cheers,
Kilgore
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 19, 2017, 03:02:20 am
I was unable to download from both torrents because I could not get seed connections. Sorry.

De-leveling requires history of leveling. An old game, Neverwinter night had something like that. At level 1 -> 2, you leveled stat x,y,z and a feat.

I have not found any indication of the history of leveling within the save file for the UR. I assume that aside from total reset(which would be still be very difficult if possible), there are no other options.

Generally speaking, adding things are easy with cheating. Removing however requires effort.
Title: Re: Strength to Intelligence Stat
Post by: destroyor on May 19, 2017, 10:48:01 pm
Kilgore Trout - try uploading your saves on MEGA

https://mega.nz/

It's free and easier to deal with than torrent.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 20, 2017, 02:39:04 am
Hey Destroyor and Reinhark,

Firstly, sorry that I couldn't get the torrent right. I did not wish to waste your time Reinhark, so once again sorry about that. Destroyor, thanks for the info. I just created an account with mega.nz and uploaded the save game.

The next question is a silly one, I just wish to state that in advance, but now that I have uploaded it, how does someone get access to it? From what I can tell I need to have "contacts". I assume it works something similar to google cloud. Or am I mistaken?

Thanks once again for all the help and assistance.

Cheers guys,
Kilgore
Title: Re: Strength to Intelligence Stat
Post by: destroyor on May 20, 2017, 03:41:20 am
Login to your MEGA account, look at the left of your screen and you should be on cloud drive. If not, click on the cloud icon on your left.

You should see a list of all the files you uploaded. Right clicked on the file you want - select "update link".

Click on "Link with key", it should now be orange. Copy and paste the link below and post it as is (including the red part) in order to share it with others.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 24, 2017, 03:17:46 am
Hi Destroyor and Reinhark,

My apologies for raking so long to do this. I had to take a brief sabbatical. I followed the instructions you provided, Destroyor and hope I did it correctly. Please let me know.

https://mega.nz/#!lDITVQqY!0Wj7cQC-zVLu2GrSmIfVh0TNkRQyxi9I3fEG_FcG_zc

Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: reinhark on May 25, 2017, 05:08:45 pm
After an hour of testing, I must admit that I could not add the talent.

It seems that this particular bug only applies when attempting to add the critical power feat. Very odd. I replaced full auto with other feats and they will usually work. I can replace any feats you have with critical power and it will break.

Another bug that I have discovered is that feats that adds new ability, like premonition or dirty kick will break the character. cheat-added ability won't show up in the quick bar, rendering cheat useless.
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 26, 2017, 01:19:22 am
Dear Reinhark,

Thank you for all the effort it is appreciated. This is asking a lot, but can you perhaps remember what feats your replaced fullauto with that didn't cause a game failure?

Perhaps I can find a feat in there that I can still use with my build?

Thank once again, Reihark.

Kind regards,
Kilgore Trout
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 26, 2017, 01:37:31 am
P.S

I was thinking maybe interloper if that is a possibility.

Cheers,
Kilgore
Title: Re: Strength to Intelligence Stat
Post by: Kilgore Trout on May 28, 2017, 12:33:15 am
Hey Reinhark,

So, I created a new char just to play up to level three, so that I could find the name of the Interloper feat in notepad++. Weird thing is nothing comes up when you search for interloper.

I also tried doing what you did "I replaced full auto with other feats and they will usually work. I can replace any feats you have with critical power and it will break." I replaced full auto with packrat but that caused the same game fail.

Anyways, thanks as always.

Cheers,
Kilgore Trout