realmanX wrote: ↑Mon Jun 20, 2022 2:44 am
yes,please do a tutorial video for this game on how did you find the supplies/war points and fog of war shadow values....i searched for lots of types and values and couldn't find it....also do you have a real fast pc ?
thanks
realmanX wrote: ↑Mon Jun 20, 2022 11:18 pm
thanks man, what about the war points ? 4/4 points....searched on 4bytes/floats/2bytes/double..........etc...nothing
what about the cooldown ability of building turrets ? the loading bar while building turret i searched float/4bytes/2bytes/ALL/double....etc not found
Not everything in game-hacking is "search a value you see on screen" or "search for unknown/increased/decreased". The whole idea behind scanning memory for values is to pin-point an address whose value then leads you, through debugging, to pieces of executable code you can manipulate. Your questions indicate you're still at the "scan memory" level and haven't done any actual debugging.
To put it simpler: Unity lets the user query the namespace functions/names and THAT is a super-simplified means to figure out the things you're asking for. I easily used
Telerik JustDecompile on a Mono game's
Assembly-CSharp.dll and Ctrl+F'd for various names that crossed my mind in the global namespace. The usual: god, cheat, debug, developer, build, speed, etc. Or any others that have to do with the game features.
I am using "Starship.Troopers.Terran.Command.v1.07.01.56553-GOG" for the exemplification purposes.
Note the game uses
il2cpp (
[Link]). So it's
NOT Mono. Which means a bit of conversion is required to get a binary (DLL) you can decompile.
For that matter we'll use
Il2CppDumper like I described here:
viewtopic.php?p=252050#p252050.
The files are to use with Il2CppDumper are:
1) G:\Games\Starship Troopers - Terran Command\GameAssembly.dll
2) G:\Games\Starship Troopers - Terran Command\Starship Troopers_Data\il2cpp_data\Metadata\global-metadata.dat
Of course, replace the directory with the one of your installation.
Once done, you can drag the resulting binary (
StarshipTroopers.Core.dll -- that's the game) into JustDecompile:
From here on, you will have to STUDY the way the functions work, find their correspondent in active memory (CE helps with that) and patch out parts of those functions which help your cause. I have no tutorial for that, you will just have to EVOLVE your skills (read, learn, practice).
As you can see from above, CE isn't always the ONLY tool you can use in research.
BR,
Sun