Can you do it without buying the game?
That is piracy
O true ._.
I have already bought the game Long time ago.what are you talking about? Did you even understand what i asked? Saving option for onlije save* what does it got to do with piracy? I am trying to write myself. I can never imagine such a thing.
The piracy comment was directed at DontJudge, not you.
7 posts were merged into an existing topic: New Hosted Game! Nuclear Powered Toaster by Matt Simpson
Hey, i know iām beaating a dead horse here but im getting an error in chrome when i try to edit some values, the error is "could not prepare statement ( 1 unrecognized token: ā{ā )
Uhhhh is this editing in browser (or anything not Android)?
If so, I donāt know much modding advice but I do believe you can see the code by putting āscenes/startup.txtā and tada you can read the code and see what you need to do to get certain stats / paths (although obviously this is easier for simpler games, and just a fast solution if thereās a specific thing in a game you want (although if itās a game like Zombie Exodus SH with tons of items and you canāt do all things in one play through, just wait for a mod.)
Yes you can on iOS just get Filza from Sileo/Cydia. Then go to /var/mobile/Containers/Data/application/ then click on the name of the game. In my opinion if you get the games from the hosted games app its easyer because when it downloads the games they are all in the same directory and you can edit the .json files. Then open index.html
@Alex_Gironas How would I do this with cch?
In terms of actually extracting the files and then editing, I think the best thing to do (or, at least the easiest, if it does take a bit more effort) is to extract/ unzip the files onto your computer, and edit them from there.
The easiest, although takes a bit more effort, is to unzip the scenes/ .txt files into CSIDE or something, as when modding itāll tell you exactly where youāve screwed up
Is Choice of Rebels editable? I have tried repeatedly on Firefox to change my wealth but it always results in some error with JSON.parse. Can anybody help me?
Choicescript games are ācompiledā into JSON āobjectā files which are a little harder to read, but run more efficiently then straight text files. New lines are replaced by commas in a JSON file, and the line number of every label present in the file is listed at the end of the file. So to add a line youāll need to add a comma along with your double quote-enclosed text, but be warned that If you add a line to the file it will throw the line numbers of all the labels that follow off by the number of lines you added. So if you use a text editor to add 1 line somewhere in between the 4th and 5th label, youāll need to add 1 to the line numbers listed at the end of the file for every label starting with the the 5th onward.
BTW, if you can find a point in the code where the wealth variable is already being adjusted, you can greatly increase it easily enough by just changing the number without adding new lines and worrying about adjusting JSONās internal book-keeping. Thatās quite a bit easier for someone who is unfamiliar with coding.
If I recall correctly, you can also move all of the JSON files to another folder which will cause choicescript to open up the original text files instead which are much easier to edit. Itās been several years since Iāve played with this however, so I may be forgetting something important about doing it this way.
Iām such a dork sometimes I have overlooked the simple solution. Here I was using tools to turn the .txt into .json and then hoping the game would still run and tweaking it until it did.
Iām really inexperienced with coding and was wondering if you can perhaps explain more in-depth for me. I am uncertain on how to access the JSON files for the games on a browser or how to add lines. I usually edit a game by editing the local storage for the game. If this is to much to explain can you perhaps offer advice on what to learn about to give me a better grasp on how to edit the games.
Can you tell me how?
Hey!
So I recently tried using your method for a Steam game but found myself stumped by the following error: āERROR: ENOENT: no such file or directory, open āapp.asarāā
I looked into it and this arises from the folder youāre trying to extract to/from not having an app.asar.unpacked file, but this clearly exists in the files for the game Iām trying to edit, Heroes of Myth. Thereās no further advice online and this has left me quite irritated, so I was wondering if you had any advice?
Best regards, Eldrad.
You could try this plugin for 7zip http://www.tc4shell.com/en/7zip/asar/
Hey! Thanks for the quick reply.
I actually already downloaded it but Iām having some trouble with the installation. It asks that you place it in the 7-Zip installation folder but there doesnāt seem to be such a thing as far as I can tell, if you know the file path for 7-Zip Iād be much obliged as I canāt seem to find any information for it anywhere.
Well, on my PC itās in C:\Program Files\7-Zip then I make a folder in there called Formats and drop the 64bit dll and restart 7zip.