Page 1 of 9

Battletech

Posted: Tue Apr 24, 2018 6:55 pm
by bikeracer4487
Just started playing Battletech, and I'm trying to figure out how to find the value for the in-game currency. I was pretty hopeful when I only got 6 matches on the first scan of 4-bytes, but despite getting pretty much the same number of results for each initial scan, those addresses don't seem to store the currency, since, when it changes, those addresses stay the same. I've tried using all types of values, but I'm not having any luck. Wondering if any CE experts could give me some pointers.

Battletech

Posted: Wed Apr 25, 2018 7:11 am
by TimFun13
The value is most likely encrypted in some way. Try to see what writes to the values you found, that should help to find the real value and even how it's encrypted.

Battletech

Posted: Wed Apr 25, 2018 7:44 am
by SunBeam
Whichever encrypted form it would have you can find the address/value by searching for [B]unknown[/B]/[B]changed[/B]/[B]has not changed[/B]. Play with those 3 in any order you want while performing actions in-game and you will get a list of several address with weird values. Then apply the "Chinese drop" process of freezing a bunch of addresses, consuming from your currency - - repeat. Once you find your address (which, once frozen, makes the amount stay fixed) debug it and learn how it's produced in that encrypted form. The ASM will show you the way ;)

Battletech

Posted: Wed Apr 25, 2018 11:25 pm
by jungletek
It's not encrypted, the pointer just changes every time the currency amount is changed.

Battletech

Posted: Wed Apr 25, 2018 11:35 pm
by urthor
So how do you fix that then if the usual search by unknown value method isn't going to work?

[automerge]1524699673[/automerge]


Battletech

Posted: Thu Apr 26, 2018 1:25 am
by Skylord
BATTLETECHBattleTech_DataStreamingAssetsdatasimGameConstantsSimGameConstants.json open it with Notepad and look for "StartingCBills" you can edit the value of it but it's useful when you start a new game.

Battletech

Posted: Thu Apr 26, 2018 1:56 am
by CoffeeKitty
4 byte, fast scan on, allignment 4.



it wont work unless that's how you do it. search the exact value, change all the values. do not change screens or try to narrow down, because you will readdress the pointers. so do it in the shop, for instance.

Battletech

Posted: Thu Apr 26, 2018 10:25 am
by Skylord
Is the only useful thing for now just the Debug Mode?

Battletech

Posted: Thu Apr 26, 2018 1:18 pm
by SunBeam
Working on getting [B]DEBUG_*[/B] shit working :P Like [I]GodMode[/I]. Need an instantiator.

Battletech

Posted: Thu Apr 26, 2018 2:38 pm
by Coga
Anyone here have any luck changing Mech speeds using the streaming assets files? Not their animation speeds, mind you- I'm talking about how far they can move. I've also tried to look for anything that could change how much Initiative each mech has.



Thanks in advance!

Battletech

Posted: Thu Apr 26, 2018 3:25 pm
by Skylord
BATTLETECHBattleTech_DataStreamingAssetsdatachassis try this maybe

Battletech

Posted: Thu Apr 26, 2018 3:59 pm
by pachvara
[QUOTE="Skylord, post: 43598, member: 16575"]BATTLETECHBattleTech_DataStreamingAssetsdatachassis try this maybe[/QUOTE]

Fun thing: you can set value of "initial tonnage" to negative number, and it will be negative in-game, so you can take more stuff on mech without changing it's weight class.

Battletech

Posted: Thu Apr 26, 2018 4:18 pm
by Zlodeyko
[QUOTE="Coga, post: 43593, member: 10938"]Anyone here have any luck changing Mech speeds using the streaming assets files? Not their animation speeds, mind you- I'm talking about how far they can move. I've also tried to look for anything that could change how much Initiative each mech has.



Thanks in advance![/QUOTE]

BATTLETECHBattleTech_DataStreamingAssetsdatamovement

have fun

Battletech

Posted: Thu Apr 26, 2018 4:55 pm
by Skylord
It might also affect the AI.

Battletech

Posted: Thu Apr 26, 2018 7:24 pm
by pachvara
[QUOTE="Zlodeyko, post: 43602, member: 13530"]BATTLETECHBattleTech_DataStreamingAssetsdatamovement

have fun[/QUOTE]

That definitely will affect all AI mechs, because they also use same files.