algoRhythm99 / TiTsEd

A save editor for Trials in Tainted Space.
BSD 3-Clause "New" or "Revised" License
89 stars 20 forks source link

Higher Values? #106

Closed Hiro-LordOfAThousandSongs closed 3 years ago

Hiro-LordOfAThousandSongs commented 4 years ago

I'm curious if it's at all possible to increase the maximum value (For most we can change) from "268435455" to something higher.

Desktop Capture-03-05-2020 16-21-50-872 Desktop Capture-03-05-2020 16-21-50-872 (2)

The credits value is something i managed by using CE (Cheat Engine) and is 1Qa.

Energy (maximum) and stat values are 268.4Mil, except for Willpower which is 322.1Mil in-game. HP Is 805.3Mil, Shields is 536.9Mil.

HP and Shields values were only possible after saving at a value lesser than 268435455, and going in-game, sleeping then saving and loading with TiTSED.

All i really want is to be able to make values higher than 268.4Mil, without taking extra, unnecessary steps.

Chase-san commented 4 years ago

Is it possible. Certainly.

Is there a reason to do so. Absolutely not. In actuality some of the current limits should be drastically decreased if they can actually go that high.

Nothing in the game requires (or even allows) any of these values to be such large amounts, in fact setting it that high might undefined behavior in the game, which we try to avoid where possible.

Hiro-LordOfAThousandSongs commented 4 years ago

I've not noticed any issues with getting values that high so far, and the last Public patch abbreviates values, regardless of whether they should actually be capable of getting high enough to BE abbreviated.

algoRhythm99 commented 4 years ago

What's the use-case for setting them so high? Just wanting bigger numbers?

Hiro-LordOfAThousandSongs commented 4 years ago

Mostly. But the addition of numbers being abbreviated now, is why i ask, since before it'd glitch into the text, now it won't and people can read values that high without issues. It's also fun to see just how high values can get with the abbreviation system in place.

Although i would like to ask for two more things, since you (Highly likely) won't do the one i want most.

Allowing numbers to be typed as "1-9e1-999" just so we don't have to type out the big numbers that can be used in some areas. And allowing negative values to be typed in, since we currently can't. (Don't remember why exactly i wanted this though)

algoRhythm99 commented 4 years ago

Can you attach a save file? I'm curious how ActionScript actually stores those values.

Hiro-LordOfAThousandSongs commented 4 years ago

Lemme try, i haven't updated TiTS in a while, and haven't ever tried to save files.

(After this I'm not gonna update until the end of the month, because updating every couple days is gonna get tedious)

Hiro-LordOfAThousandSongs commented 4 years ago

Can't attach a save file, GitHub doesn't support it. (Likely because the file type is unique)

I can change the file type (.[Type]) but I don't know what the effects would be on the save file.

algoRhythm99 commented 4 years ago

Upload it to like Dropbox or another file storage and link 👍

Hiro-LordOfAThousandSongs commented 4 years ago

I've never used Storage File stuff...

Will putting it in a file then compressing work, without (potentially) damaging the file?

algoRhythm99 commented 4 years ago

Yes, zipping wont break it, and changing the extension doesn't affect the file either, though it might not trick GitHub

Hiro-LordOfAThousandSongs commented 4 years ago

TiTS Save File.zip

I think it worked?

Hiro-LordOfAThousandSongs commented 4 years ago

OH YEAH. So, I totally just remembered something else, that likely shouldn't be here.

It's the "Tachyon Beam Laser" item, Weapons section. If it's put into a save, it breaks that save (You can't use it in-game at all) until you remove it, after which the save works just fine.