I'm trying to enable invincibility or infinite bombs in a game. I'm almost, almost sure I found the value. However, it goes back to normal when I edit, even when I fix it, it goes back to normal.
I've tried searching for what "writes" and stopping/editing but that destroys the game.
The game in question is Strikers 1945, Windows Store version.
I believe there is a possibility since there is a Steam version table here but unfortunately it does not work in the Windows Store version.
Any help?
[HELP] How do I change a value that always returns to the original?
Re: [HELP] How do I change a value that always returns to the original?
don't look at the attached file if you want to find stuff on your own.
Bombs are pretty straight forward. It's being saved in a global variable, meaning when you search for bombs, go for the green addresses.
Life was a bit more complicated. What you found was the display value.
- The real value of life is Life+1 so when it says 2 lives, you need to search for 3.
- The value is a Word (2-bytes) so search for only 2 bytes, if you look for 4 bytes you will never find it.
- Attachments
-
- s1945.CT
- (4.3 KiB) Downloaded 19 times
Re: [HELP] How do I change a value that always returns to the original?
First of all, thank you very much. I believe I have found what represents lives. I can make them unlimited.eggs wrote: ↑Wed Jul 02, 2025 5:35 pm
don't look at the attached file if you want to find stuff on your own.
Bombs are pretty straight forward. It's being saved in a global variable, meaning when you search for bombs, go for the green addresses.
Life was a bit more complicated. What you found was the display value.
- The real value of life is Life+1 so when it says 2 lives, you need to search for 3.
- The value is a Word (2-bytes) so search for only 2 bytes, if you look for 4 bytes you will never find it.
As for the bombs, that is where the problem lies. I searched via 2bytes and I can't find them. Not even the green ones as you told me above.
I didn't know how to use the CT file you uploaded. Just opening it didn't work.
Re: [HELP] How do I change a value that always returns to the original?
If you can't launch the script than we are running different versions. As for the bombs, for me it was plain 4-Byte search for the actual number. If that's not the case for you youll have to try different ways (such as the same method with life etc)Lemke wrote: ↑Wed Jul 02, 2025 7:44 pmFirst of all, thank you very much. I believe I have found what represents lives. I can make them unlimited.
As for the bombs, that is where the problem lies. I searched via 2bytes and I can't find them. Not even the green ones as you told me above.
I didn't know how to use the CT file you uploaded. Just opening it didn't work.
It's hard to explain how i found the values without any assmebler knowledge but basically: if you find the display(fake) value, check on what writes this address and trace backwards till you stumble on the actual address.
Re: [HELP] How do I change a value that always returns to the original?
I was able to identify the infinite lives and also the infinite bombs thanks to your help.eggs wrote: ↑Wed Jul 02, 2025 11:02 pmIf you can't launch the script than we are running different versions. As for the bombs, for me it was plain 4-Byte search for the actual number. If that's not the case for you youll have to try different ways (such as the same method with life etc)Lemke wrote: ↑Wed Jul 02, 2025 7:44 pmFirst of all, thank you very much. I believe I have found what represents lives. I can make them unlimited.
As for the bombs, that is where the problem lies. I searched via 2bytes and I can't find them. Not even the green ones as you told me above.
I didn't know how to use the CT file you uploaded. Just opening it didn't work.
It's hard to explain how i found the values without any assmebler knowledge but basically: if you find the display(fake) value, check on what writes this address and trace backwards till you stumble on the actual address.
If it's not too much to ask and to abuse your good will, could you tell me where the "invincibility" is?
Re: [HELP] How do I change a value that always returns to the original?
I'm not sure if there's a flag for invincibility but assuming there is none you can start from "what writes to life value", since it's a 32bit single-threaded game, you can easily backtrack the code (what follows is guesswork but shouldn't be too far from reality):
Collision detection (we want to go here) --> despawn playerplane --> deduct life value (you are here) --> spawn new plane
once you found the place you could use various methods such as changing the comparison jump for collision or if its a function just returning 0 etc..
this way all bullets should fly straight through your plane without causing damage.
Who is online
Users browsing this forum: No registered users