UBOAT (steam) 2025.1 Patch 11 | Updated 2025-02-23

Upload your cheat tables here (No requests)
FrechetDerivative
Novice Cheater
Novice Cheater
Posts: 19
Joined: Sun Nov 21, 2021 11:09 pm
Reputation: 33

Re: UBOAT (steam) 2025.1 Patch 9 | Updated 2025-02-15

Post by FrechetDerivative »

Venoman98 wrote:
Wed Feb 19, 2025 8:32 pm
I'm the first in this form, how to like you buddy, you're the only one who made a change in access skills for officers
I don't quite understand what you are trying to say. Are you asking how I found the skill editor for officers? Are you looking for a tutorial on how it is done?

How to use this cheat table?
  1. Install Cheat Engine
  2. Double-click the .CT file in order to open it.
  3. Click the PC icon in Cheat Engine in order to select the game process.
  4. Keep the list.
  5. Activate the trainer options by checking boxes or setting values from 0 to 1

michaelhost
Expert Cheater
Expert Cheater
Posts: 94
Joined: Thu Feb 27, 2020 12:31 pm
Reputation: 34

Re: UBOAT (steam) 2025.1 Patch 9 | Updated 2025-02-15

Post by michaelhost »

Great features you manage to create. hope you will keep updating it cheers

Darvick
What is cheating?
What is cheating?
Posts: 1
Joined: Thu Feb 20, 2025 7:36 pm
Reputation: 0

Re: UBOAT (steam) 2025.1 Patch 9 | Updated 2025-02-15

Post by Darvick »

thank you for table

FrechetDerivative
Novice Cheater
Novice Cheater
Posts: 19
Joined: Sun Nov 21, 2021 11:09 pm
Reputation: 33

Re: UBOAT (steam) 2025.1 Patch 9 | Updated 2025-02-15

Post by FrechetDerivative »

Venoman98 wrote:
Wed Feb 19, 2025 8:32 pm
I'm the first in this form, how to like you buddy, you're the only one who made a change in access skills for officers
You liked my previous reply asking if you want to learn how I found the skills editor. I shall try to explain how I did it in this post.

The key functionality is to use the Mono feature built-in to Cheat Engine. For any games built on Unity engine, by default they use Mono to compile codes just-in-time. That’s some technicalities developers need to consider. For us, all we need to know is that, by default, we will have access to all variable and function names. So when the data structure has been laid out to you and annotated just as the developers see it, finding the right variable to make changes becomes rather easy.

Let’s show an example of this in action. For simplicity we shall use my table script to by-pass the process of finding variables.
  1. Open the game and enable the script for “player’s ship and fired torpedoes”.
  2. In the full view mode, select on Memory View.
  3. In the newly popped-up memory viewer window, go Tools, then Dissect data/structures.
  4. In the newly popped-up struct dissect window, in the box under “Group 1”, type [pPlayerShip], a pointer already created and populated by the script, and should be colored black as opposed to red if done successfully.
  5. Now go Structures, then Define new structures. The structure name should already be populated as PlayerShip, which indicates that Cheat Engine’s Mono feature was able to identify the corresponding data structure pointed by our “pPlayerShip” pointer.
  6. Once we click Ok, you will see a page full of the fields associated with the PlayerShip data structure.
For example, we can see that +6C0 is a pointer to the electricEngine struct, and if we expand it, we will see all the fields associated with this data structure. In particular +108 is another pointer to the power struct, and further +034 is the actual value of the power output of the electric engine. This is the pointer address included in my table, and you can see how easy it is to experiment and find other interesting addresses.

I should point out that pPlayerShip is a pointer that I created within my script. There are label(pPlayerShip) and registersymbol(pPlayerShip) statements that declares this pointer and allow it to be used outside the script respectively. Then in the injected code, I moved the value of rax into this pointer for storing the actual value at run-time. There is also an initialization part where pPlayerShip: dq 0 is set to be 8-btyes zero value. Finally when we deactivate the script, this pointer is unregistered and unallocated. Note that pPlayerShip access the address of this pointer, which is the address where I created it; [pPlayerShip] access the value of the pointer, which I used to store the address of the player ship data structure. That’s why in the struct dissect window you need to enter [pPlayerShip] as opposed to pPlayerShip.

Create a script to capture the address of the player ship struct is rather straightforward, and uses techniques taught in the cheat engine tutorial. Very briefly, here is how I did it. First find the oxygen level in the boat, which is a double. Then look at the code accessing it, from which to deduce it is a nested pointer, and should give us the base pointer to the player ship. Finally we can find what codes are accessing the player ship structure’s address, and do code injection from there.

You will notice that the crews’ skills are not accessible from the player ship structure. To find the skills, we need to use another Mono’s feature. In the tool bar menu of cheat engine, click on Mono, then Dissect Mono. Here we can do a search for keywords such as skill. I found that the search function within cheat engine to be slow, so what I tend to do is to save all the values to a text file and do string search in a different program. So we do File then Expand All, which should take a long time but will expand all fields of all data structures within this game. Then we do File then Save list to a plain text file. Open that plain text file in a text editor and do a search there. For example, you might discover that there is a struct called UBOAT.Game.Scene.Characters.PlayableCharacterData, which at +20 is availableSkills, itself an array of UBOAT.Game.Scene.Characters.Skills.CharacterSkill. So looks like we should investigate that.

Turns out this particular feature is easier to experiment. We can hack the reputation points and see that it is a field of the player career structure (i.e. UBOAT.Game.Sandbox.PlayerCareer). At +48 is a pointer to a list of PlayableCharacterData. So if we put this address into the struct viewer, we can see that +10 is the pointer to the array of pointers each pointing to an element of the list, and +18 is the size of the list stored as 4 bytes. The first entry is at +20, with an offset of 8 for each additional element. And we just walk down this nested pointers to find the actual skill we need. Luck has it, that the skills are stored as a list, so we can copy paste the pointer to an element within a list so that it points to a different skill. That way we can change the list without much effort on our side, and that’s how the skill editor is built.

Finally, the table forum’s rule is that when we upload our table we need to remove all unnecessary stuff such as the dissected structures we created in cheat engine. That’s why the released tables you found here are all clean, with no trace of the data structures I dissected.

Also note that for this particular game, due to long development cycles and changing requirements, some fields of data structures no longer functional despite not being deleted. That’s why you need additional tools such as dnSpy to read the actual code, to see how those fields are used by the game logic. For example, the crack threshold of a ship’s hull was used to be controlling if the ship should crack in half, and was essential in my nuclear torpedo cheat. But the 2025 update has completely changed its logic, denying me utilizing it to mimic nuclear torpedoes. This is not visible in cheat engine without spending great efforts reading assembly code, but is very clear in dnSpy inspecting the C# code.

Let me know if you have any questions. I am more than happy to share what I know!

michaelhost
Expert Cheater
Expert Cheater
Posts: 94
Joined: Thu Feb 27, 2020 12:31 pm
Reputation: 34

Re: UBOAT (steam) 2025.1 Patch 9 | Updated 2025-02-15

Post by michaelhost »

Tested on Patch 12 the table still works

Imachicken
What is cheating?
What is cheating?
Posts: 1
Joined: Sat May 03, 2025 5:13 pm
Reputation: 0

Re: UBOAT (steam) 2025.1 Patch 11 | Updated 2025-02-23

Post by Imachicken »

Is it possible for you to make a tutorial on how to use your console? I do not know how to use it and when I try to tick Mouse Over Budget, it doesn't work. I am new to Cheat Engine so maybe it's a fault on my part but I really am at loss for now.

FrechetDerivative
Novice Cheater
Novice Cheater
Posts: 19
Joined: Sun Nov 21, 2021 11:09 pm
Reputation: 33

Re: UBOAT (steam) 2025.1 Patch 11 | Updated 2025-02-23

Post by FrechetDerivative »

Imachicken wrote:
Sat May 03, 2025 5:19 pm
Is it possible for you to make a tutorial on how to use your console? I do not know how to use it and when I try to tick Mouse Over Budget, it doesn't work. I am new to Cheat Engine so maybe it's a fault on my part but I really am at loss for now.
My table might appear confusing for a beginer because it uses different type of interfaces, such as: entering numeric values, selecting from drop down, activating to show sub-menu vs activating to make changes. Indeed when I build my table I have a more experienced user in mind, who knows how to interact with Cheat Engine.


Nonetheless, for you specific problem, I would recommend start with a tutorial on using Cheat Engine itself. You can skip all parts on hacking a game, and focusing on using a table. This shouldn't take more than 30 minutes, and any tutorial longer than this is likely on hacking.
And for your particular problem, you need to mouse over the budget icon in the game to have it taken effect. This is because the code I hacked only gets triggered when you hover your mouse over the budget icon, hence the name of that entry.
Specifically, ensure that:
  1. You have attached Cheat Engine to the UBOAT.exe process. This can be done via the icon on the top of Cheat Engine, or by activating the first script in my table, which should also minimize the Cheat Engine's hacking display.
  2. Activate the script for Mouse Over Budget.
  3. In UBOAT game, move and hover your mouse over the budget icon. You can do so in map view mode or 3rd person view mode.
  4. Go back to Cheat Engine, and the values should have been populated for you. Now change them as you wish.
Let me know if you still have questions. I don't monitor this topic as closely now, since the game and the table are quite stable. Nonetheless, I will try to help you however I can. Best wishes!

RaiderLeader666
Noobzor
Noobzor
Posts: 13
Joined: Wed May 17, 2023 7:01 pm
Reputation: 5

Re: UBOAT (steam) 2025.1 Patch 11 | Updated 2025-02-23

Post by RaiderLeader666 »

2025.1.1 Patch 4 just came out

FrechetDerivative
Novice Cheater
Novice Cheater
Posts: 19
Joined: Sun Nov 21, 2021 11:09 pm
Reputation: 33

Re: UBOAT (steam) 2025.1 Patch 11 | Updated 2025-02-23

Post by FrechetDerivative »

RaiderLeader666 wrote:
Sat May 17, 2025 2:30 am
2025.1.1 Patch 4 just came out
Sorry I don't have the game installed at this moment. Have you tried with the latest table? Did anything broke? Reading from the patch notes, I don't anticipate any script to be broken since the changes were not what my table was changing.

RaiderLeader666
Noobzor
Noobzor
Posts: 13
Joined: Wed May 17, 2023 7:01 pm
Reputation: 5

Re: UBOAT (steam) 2025.1 Patch 11 | Updated 2025-02-23

Post by RaiderLeader666 »

I'm not saying the table needs updated, just announcing the latest update :D

Clasmir
Noobzor
Noobzor
Posts: 10
Joined: Fri Nov 16, 2018 3:12 am
Reputation: 3

Re: UBOAT (steam) 2025.1 Patch 11 | Updated 2025-02-23

Post by Clasmir »

FrechetDerivative wrote:
Sun May 18, 2025 2:41 am
RaiderLeader666 wrote:
Sat May 17, 2025 2:30 am
2025.1.1 Patch 4 just came out
Sorry I don't have the game installed at this moment. Have you tried with the latest table? Did anything broke? Reading from the patch notes, I don't anticipate any script to be broken since the changes were not what my table was changing.
The table seems to work fine for me.

Post Reply

Who is online

Users browsing this forum: admantx, AmazonBot, asdfman, Baidu [Spider], berflock, BLEXBot, DotBot, georgekl, Google Adsense [Bot], grabbitybob, Raiel, SemrushBot, Suiseiseki, thachck, toilai48