Wow! this is awesome! Finally, someone was able to crack the code. I am somehow unable to make it work on my end. Here is what I did based on your step-by-step guide. I used the Reset Data in the game to reset everything after I back up the User Data.panraven wrote: ↑Sun Apr 24, 2022 6:04 pmSorry, it seems I've another forgotten edit to enable all upgrade, but not this one. Plz ignore at the moment.
-- UPDATE START
It is embarrassing but at last figure out what I've done to produce the effect.
It is caused by spending the 1st upgrade with the following edit (red text).
To do so I reset my save, by deleting the content in [C:\Users\<username>\AppData\Local\HexagonalTower] (it may be different in your installation).
Then play the easy level to earn 100 gems WITHOUT modify the *.js
I backup the content in [C:\Users\<username>\AppData\Local\HexagonalTower] in case anything wrong.
Then edit the *.js (red text).
In game upgrade the 1st item, go back then start again will see all upgrade enabled.
Don't play with modified *.js as the text display will be buggy/missing.
Restore the *.js then play normally.
------ UPDATED ENDya(){const l=this.W.ga().nF();var m=l.length;if(0===m)return this.Fy?"":0;m=d(this.Qc.Wu,m);return 10+l[m].h1(this.R6)}
Some how I got all upgrade from the start, kind of.
Try follow these steps:
1. rename package.nw to something else, eg. 1package.nw;
2. make a DIRECTORY 'package.nw', ie. same name as the original FILE package.nw;
3. use 7z, open #1 (the renamed) file (I don't remember if I added a 7z extension before, hopefully it can open by default ) and extract all to #2
DIRECTORY;
(step 1-3 may apply to other game with package.nw)
4. there is a file package.nw\scripts\c3runtime.js, which is our target file to be modified;
4.1. I try beautified it but it will become buggy if saved, beautified version may only use as reference;
4.2. if beautified with unescaped unicode, there may show some Chinese characters, but not necessary helpful;
5. search ["":0] (without [ ]), there should only be 3-4 occurrences;
5.1. the target one is in a function definition without parameter, in my version, this is the src text (a new line added):5.2 it can be seen that there are two ["":0] side by side, I modified the 1st one's [0] to 1, then got the all upgrade;Code: Select all
ya(){const l=this.W.ga().nF();var m=l.length;if(0===m)return this.Fy?"":0;m=d(this.Qc.Wu,m);return l[m].h1(this.R6)} sb(){var l=this.W,m=l.ga().nF(),p=m.length;if(0===p)return this.Fy?"":0;
that's it.
1. Inside the steam library of the game. I renamed the package.nw to 1package.nw
1.1 I created a new folder and named it package.nw
1.2 I used winrar to extract the contents of 1package.nw to the folder package.nw
2. In the Local C:\User\appdata\local\hexagonaltower
2.1 I back up User Data folder
3. Run the Game
3.1 Under options I used the Reset Data and then got the confirmation.
3.2 I played the first level under easy mode and finished the game.
3.3 I then edited the c3runtime.js inside the package.new\scripts folder I change the 1 to 10+ as instructed then saved it
3.4 I press start and then select Normal Difficulty and then press start to continue to the upgrade section
3.5 I upgraded the first Upgrade option called "Rush"
3.6 This is the part where I got confused I have tried both the following
3.6.1 First after I upgraded the Rush I then click back to the difficulty screen then click start but only 1 was upgraded.
3.6.2 The second option I did after restoring the package.nw and the user data then doing the steps again, After the Rush upgrade I click back
and exit the game and restored the package.nw file and then start the game and when I got to the upgrade section only the Rush
upgrade was unlocked.
4. I then did the old instructions after restoring the files back to default were to change the "":0 to "":1 but still no luck in unlocking all the upgrades.
I am still trying your instructions with different variations but have had no luck on my end.
Also, are you able to find the Tower stats like damage and Attack speed, Crit chance and crit damage? Thanks for your help!