Trimps
Not enough ratings
How to speed up Trimps (literally)
By nullmana
How to edit the game files to make the game run faster.
Whether or not this qualifies as cheating is up to you.
   
Award
Favorite
Favorited
Unfavorite
Are you REALLY sure you want to do this?
Before you proceed, think carefully about whether you really want to do this.

Progressing as time passes is arguably a core mechanic of incremental games.

On the other hand, not everybody has time to wait, and waiting is arguably not a gameplay mechanic.

Making these changes may irreparably ruin your enjoyment of the game.
Or they may increase your enjoyment of an otherwise slow game.

Modify the game at your own peril.
The Game File
The entire (relevant) code of Trimps is located under your steamapps directory,

Steam/steamapps/common/Trimps

Inside the file

combo.js

Find this directory and edit this file on your operating system


Note that this file effectively contains the entire game's worth of spoilers. Search carefully if you don't want dialogue and game mechanics from 1000 hours later leaked.
File Changes
The following changes will make the game run at 4x speed. If you want more or less speed, change the number accordingly.

Note that line numbers may not line up exactly.

Game speed:
Line 9278:
speed: 10,

Change to:
speed: 40,


Resource Gathering:
Line 33721:
amount = perSec / game.settings.speed;

Change to:
amount = perSec / 10;


Battle Speed:
Line 39947:
game.global.battleCounter += (1000 / game.settings.speed);

Change to:
game.global.battleCounter += (1000 / 10);


Anticipation: (required for anticipation stacks to count based on scaled time, not real time)
Line 40513:
game.global.antiStacks = (game.jobs.Amalgamator.owned > 0) ? Math.floor((getGameTime() - game.global.lastSoldierSentAt) / 1000) : Math.floor(game.global.lastBreedTime / 1000);

Change to:
game.global.antiStacks = (game.jobs.Amalgamator.owned > 0) ? Math.floor((getGameTime() - game.global.lastSoldierSentAt) / 10000 * game.settings.speed) : Math.floor(game.global.lastBreedTime / 10000 * game.settings.speed);


Geneticists: (required for geneticist breeding time to count based on time spent breeding trimps, not real time)
Line 34812:
if (game.global.breedBack > 0) game.global.breedBack -= breeding / game.settings.speed;

Change to:
if (game.global.breedBack > 0) game.global.breedBack -= breeding / 10;
Consequences
The entire game will now run 4x faster.
Battles progress 4x faster (in real time), resources produce 4x faster (in real time)

Real-time timers, such as Bone Charges, will still recharge at the normal rate.

All Helium/Hour achievements will be 4x easier as they calculate based on real time resource income.

All Speedrun achievements will be broken, and you will run into many of them hundreds or thousands of hours earlier than you are supposed to. This will significantly affect your game balance as your achievement damage modifier will be much greater than it is supposed to be in the early game.
Other modifications
Some other misc modifications you may consider:

- Increasing the size of the Equality Scaling sliders
If you want to control Equality with more fine control in late U2, you can increase the size of the slider from 10 to 20 or whatever you want it to be:

Line 16200:
... min='0' max='10' ...

Line 16202:
... min='1' max='10' ...

Line 31811:
if (!(val >= 0) || !(val <= 10)) val = 5;

Line 31817:
if (!(val >= 0) || !(val <= 10)) val = 5;
3 Comments
rap_pa Mar 5 @ 5:52am 
Some of the code is different as of the last update.
Also, it would seem amalgamators have a different counter.
hellminister Jan 11 @ 11:03am 
A reason not to go for higher speed like 5x or 10x?
Snöiller Fitzroy Dec 12, 2024 @ 10:43pm 
epiku :floweyevil::auimp: