==>Ignore this, check viewtopic.php?p=247582#p247582
Sorry, 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.
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 10+l[m].h1(this.R6)}
------ UPDATED END
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):
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;
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;
that's it.