HTML Cheat code list for HTML games & short tutorial

Satori6

Game Developer
Aug 29, 2023
503
1,041
Cheating and/or editing variables may have unintended consequences: skipping scenes, failing to trigger events, or straight up breaking the game. Always create a back-up of your vanilla save before messing with variables.


Lately I've been replying to cheat/code requests on HTML threads, so I figured it'd be easier to start adding them to a list that I can simply link to.

I'll always add the simplest way to do it. When the game has fugly code, sometimes it's simpler to edit the HTML file itself. In those cases I'll add a link.
Make sure to quote or mention me when making requests, as I don't get reply notifications.
When making a request, also make sure to upload the HTML file so that I don't need to download 3GB of random porn just to get a line of code.

First I'll post a simple tutorial to cheat on most SugarCube-based games.
You don't have permission to view the spoiler content. Log in or register now.

And now the cheat list. If it says "Direct SC access", it means that variables can be directly modified using the method on the tutorial above.
I'll be slowly adding to the list whenever I have some minutes to spare. If there are outdated codes or broken cheats, just let me know and I'll fix them.

If you enjoy a game and want its development to continue, please support the dev. These cheats are mostly there to avoid the grind that is common to most HTML games, to help people catch up when they've lost their save files, or to try new things without spending a dozen hours farming some stat.

A Life Lived v0.7
No SugarCube - Values in this game are mainly stored in $data. There's way too many variables to list them all, I'll add the main MC variables here. Feel free to request specific values.
You don't have permission to view the spoiler content. Log in or register now.
Example: If you want to set money to 100 through the console, you'd do $data[3][2]=100;
Aphrodisia Ch3.9.0
Direct SC access
Codes: The following console code is the same as entering all of the supporter codes:
You don't have permission to view the spoiler content. Log in or register now.
Apocalyptic World v0.45
Direct SC access
Codes: sombra
Becoming Prom Queen v0.3.1c
Direct SC access
Codes: To enable the character editor, simply enter the following on that screen: document.getElementsByClassName('bg-image-button')[0].disabled=false;
Become Someone 1.42
Direct SC access
Codes: These commands will emulate the different codes being entered:
Code:
SugarCube.Engine.play('Diamond cheat');
SugarCube.Engine.play('Money cheat');
SugarCube.Engine.play('Holidays cheat');
SugarCube.Engine.play('Gallery cheat');
Become Taxi Driver v0.46
Direct SC access
Codes: The uploaded version isn't the patreon one, so there's no way to access its features, but you can access the "Lite Cheats" menu. This code bypasses the need to get the code:SugarCube.Engine.play('cheats_lite');
And this one lets you use each cheat on the menu without limits:
Code:
var timer=setInterval(function(){Object.assign(SugarCube.State.variables.lite_cheats,{lya:0,mia:0,jasmine:0,
brittney:0,caroline:0,skylar:0,blue_ticket:0,intelligence:0,strenght:0,money:0})},200);
Just make sure to remove it after you exit the cheat menu to avoid affecting performance: clearInterval(timer);
Beef in the City v0.20
Direct SC access* Some values (like confidence) are stored in 'metadata'. eg; SugarCube.State.metadata.set('CP',1000);, feel free to request specific ones if you can't find them.
Codes: yzjsrujsr
Corulla v0.0.3b
Direct SC access
The following timer will help you win all fights. It also makes it so the day doesn't end until you go to sleep.
Code:
var timer=setInterval(function(){SugarCube.State.variables.enemyHealth=1;
SugarCube.State.variables.playerHealth=SugarCube.State.variables.playerMaxHealth;
SugarCube.State.variables.time=1;},500);
As usual, clear it with clearInterval(timer);
Crucial Investigation v1.71n
Direct SC access
Codes (safebox):
You don't have permission to view the spoiler content. Log in or register now.
Cupid's Way 0.7
Direct SC access
Debasing Grounds v0.36
Ugliest code ever.
You don't have permission to view the spoiler content. Log in or register now.
Degrees of Lewdity v0.4.7.5
Direct SC access
Demon Gods v0.53
Direct SC access
Code to win all battles and unlimited energy:
Code:
timer=setInterval(function(){SugarCube.State.variables.energy=SugarCube.State.variables.maxenergy,
SugarCube.State.variables.p.hp=SugarCube.State.variables.p.maxhp,
SugarCube.State.variables.e.reshp=SugarCube.State.variables.e.hp=SugarCube.State.variables.e.res=1;},500);
Depravity Dance v0.0.1
Direct SC access
Disruption v0.16
Direct SC access
Dream City v0.1
Direct SC access
Codes: Enter hashStr=function(){return 48582972}; on the console and then use any code you want.
DryadQuest v0.11.0 public
Codes: Ugly as fuck code. The simplest is to replace the file inside of the "data" folder (or resources>app>dist>data if using the non_html version) by . This will enable debug and slut mode on the menu.
Dungeon Lord 1.0
Direct SC access
Dungeon Lord: A New Beginning v0.2.2
Direct SC access
Eromancer: Lust Unleashed v0.2
Direct SC access
Family Ties Remake v0.1
Direct SC access
Codes: Run hashStr=function(){return -487172454}; on the console before entering any random word as the code.
Fragile Female 0.1
Direct SC access
Fucksome Road v0.14
Direct SC access
Girl By Accident v0.5.8
Direct SC access
GrowUp v0.09
Direct SC access
Codes: It includes sha264 codes that are simple enough to get through, but the easiest is to use the console for direct access as follows:
You don't have permission to view the spoiler content. Log in or register now.
Imperial Courtesan v0.1
Direct SC access
In Her Own Hands v0.8
Direct SC access
Jacki's World alpha 12
Direct SC access
Just One More Chance v0.42
Direct SC access
Codes: This will take you to the cheat menu: SugarCube.Engine.play('Debugroom')
Life Choices v0.8.8.65
Direct SC access
Item variable names begin with "Stat". eg; StatBooze
Net System v0.1a
Direct SC access*
The values are encoded in b64. Here's an example of how to cheat them:
Code:
SugarCube.State.variables.mc.money=window.encodeBase64(10000);
SugarCube.State.variables.mc.netpoint=window.encodeBase64(10000);
Codes: sha264 protection. Easy to bypass, but so far the only thing that the codes give you are cheats for money and netpoints, both of which are listed above.
New Life Project v0.6.2
Direct SC access
Routes of Life v1.55b
Direct SC access
One Girl, One Big World
Direct SC access
Pornstars Blackjack v1.04
Direct SC access After starting a match for the first time, you can enter the following code to win all games:
Code:
timer=setInterval(function(){a=SugarCube.State.variables.carddeck,b=-1;
while(++b<a.length){SugarCube.State.variables.carddeck[b][0]=0;}SugarCube.State.variables.points=21;},500);
Codes: Use hashStr=function(){return 523883159;} in the console, then enter any code.
Project Reeducation v1.21
Direct SC access
Codes: Use hashStr=function(){return -163762350}; in the console and then enter whatever code you want.
The following are the cheat codes:
You don't have permission to view the spoiler content. Log in or register now.
Use SugarCube.State.variables.dlc3Code="9<+>10=>21" before clicking the "LORE" links to access the paywalled "DLC" which doesn't have any content.
Secret Taboo 2.80.3
Direct SC access
Codes: andor
Siren v0.2.3.2
Direct SC access timer=setInterval(function(){SugarCube.State.variables.mia.ac_c=6;},1000); gives you unlimited energy.
Codes: Enter one of these codes in the console, and then use any in game code:
You don't have permission to view the spoiler content. Log in or register now.
Society v1.10
Direct SC access
Codes: Enter the following in the console and then enter any random code: hashStr=function(){return -84088703;}
Stepmother Effect 2.47
Direct SC access
Suddenly a Girl 1.0
Direct SC access
The Ghost Hunter v.0.3.5
Direct SC access - SugarCube.State.variables.ghost.name will show you the answer.
Object.assign(SugarCube.State.variables.equipment,{emf:0,sb:0,gwb:0,glass:0,thermometer:0,uvl:0}) makes it so all investigative actions take one click.
The Making of a Slut 1.06
Direct SC access
The Fate is Yours v0.05
Direct SC access
The Flash 0.05
Direct SC access
Codes:
You don't have permission to view the spoiler content. Log in or register now.
To Be Sigma v0.2
Direct SC access
Codes: Cheats 93242521 || Scenes 04413428
Umesatra Academy v0.6.8
Direct SC access
Uncle's Farm v0.1
Direct SC access
Urban Gal v1.9.0
Direct SC access
What Is Real v0.65
Direct SC access
Welcome To America v0.1.3
Direct SC access
Codes: Gekko
X Change Life 0.19 Mar 21
This game doesn't use SugarCube, but Harlowe (SugarCube's twin brother that was dropped on his head as a baby), so the usual way won't work.
Here's an example of how you'd go about editing the money.
Code:
window.Harlowe.API_ACCESS.STATE.variables.character.set('money',1000)
Other variables can be edited just like that, you just need to find the variable name in window.Harlowe.API_ACCESS.STATE.variables.

I'll keep adding codes until I cover most of the recently updated and popular HTML games. If you have any requests, leave them below.
 
Last edited:

Kalad1

New Member
Mar 10, 2024
4
2
Hi Satori,
I tried to follow your tuto with Aphodisia ch 3.9.9.
I'm using brave browser
I can find all the data I want to change but the changes are not effective.
Same issue with Zara's School.
Am I'm missing something or do you have any tip?

1719160080815.png
 
  • Like
Reactions: Satori6

Satori6

Game Developer
Aug 29, 2023
503
1,041
Hi Satori,
I tried to follow your tuto with Aphodisia ch 3.9.9.
I'm using brave browser
I can find all the data I want to change but the changes are not effective.
Same issue with Zara's School.
Am I'm missing something or do you have any tip?

View attachment 3763000
Hi! If you enter the number by itself it won't change anything. Same if you just enter the variable name - it will just tell you its value, but it won't change it.

In order to modify it, you need to enter it like this: SugarCube.State.variables.player.money=99999; on a single command. That equal sign tells it to assign the variable the value after the =

1719175380743.png
 
  • Like
Reactions: @LonelyWolf

Satori6

Game Developer
Aug 29, 2023
503
1,041
hello Satori6 , Dryad Quest has a new update , v 0.9.0 .

is it possible to update or post which variables to change ?

thank you very much.
Hi! I just updated the post with a fix for v0.9.

Please let me know if it doesn't work - I caught a cold and coding right now is a bit challenging, but this should be simple enough for me to get it right.
 
  • Like
Reactions: @LonelyWolf

Ronin_Al

New Member
May 6, 2018
13
9
hello@ Satori6 , Dryad Quest has a new update , v 0.10.0 .

is it possible to update or post which variables to change ?

thank you very much.
 
  • Like
Reactions: Satori6

Satori6

Game Developer
Aug 29, 2023
503
1,041
hello@ Satori6 , Dryad Quest has a new update , v 0.10.0 .

is it possible to update or post which variables to change ?

thank you very much.
I lost my old save when my disk died, so I can't give it a proper test, but I've updated the list with one that seemed to work.
 
  • Like
Reactions: @LonelyWolf

TwoLayerBoom

New Member
May 9, 2017
5
6
Satori6 Hello there! Could you write us a guide on how to debug for Patreon codes? The game Apocalyptic World is pretty interesting, I think it has some form of encryption to it, but I lack the programming knowledge to further investigate it :p

check it out:

You don't have permission to view the spoiler content. Log in or register now.
 
  • Like
Reactions: Satori6

Satori6

Game Developer
Aug 29, 2023
503
1,041
Satori6 Hello there! Could you write us a guide on how to debug for Patreon codes? The game Apocalyptic World is pretty interesting, I think it has some form of encryption to it, but I lack the programming knowledge to further investigate it :p

check it out:

You don't have permission to view the spoiler content. Log in or register now.

The way to debug depends on what kind of protection a game is using, but generally I don't bother cracking the encryption.

In this case, if you check what is being tested you'd find if _testcode == setup.decrypt($mcCache), and then you'd see that the variable is set to (State.variables.mcCache = 'tpncsb';.

Then you can use the decrypt function itself to get the value:

1726792668883.png

That said, when breaking an access code in a game, always look for the weakest point, which will usually be a boolean (true/false) statement.

For example, in this case you could simply replace if _testcode == setup.decrypt($mcCache) for if true, which would make any code work.

You could also overwrite the decrypt function from the console like SugarCube.setup.decrypt=function(){return 'a';}, which would set the correct passcode to the letter a.

There's usually a dozen ways to break each game. Always go with whatever is easiest/more comfortable to you.
 
Last edited:

@LonelyWolf

Newbie
Mar 19, 2024
27
134
The way to debug depends on what kind of protection a game is using, but generally I don't bother cracking the encryption.

In this case, if you check what is being tested you'd find if _testcode == setup.decrypt($mcCache), and then you'd see that the variable is set to (State.variables.mcCache = 'tpncsb';.

Then you can use the decrypt function itself to get the value:

View attachment 4052041

That said, when breaking an access code in a game, always look for the weakest point, which will usually be a boolean (true/false) statement.

For example, in this case you could simply replace if _testcode == setup.decrypt($mcCache) for if true, which would make any code work.

You could also overwrite the decrypt function from the console like SugarCube.setup.decrypt=function(){return 'a';}, which would set the correct passcode to the letter a.

There's usually a dozen ways to break each game. Always go with whatever is easiest/more comfortable to you.
Hello Satori6!
First of all: thank you very much for your tutorial, I've learned A LOT about deciphering those famous cheat codes!+! In fact, I have to say that I'm a big fan of HTML games, and I don't know exactly why, but I get the impression that they don't interest the adult gamers' community that much, or that they're probably undervalued... {❔}
Perhaps it's because of this fucking GRINDING's bad reputation?-:unsure:-?
Anyway, thanks again for taking the time to explain to neophytes (like me, for example) how fairly "technical" things can be resolved!+!+❕ [^-(y)-^]

P.S. / Concerning the game "Beef in the City" by Pig&Pug, I believe that the updated Patreon code for the new version (0.20) is: "yrhhroajo" and clearly NOT "yzjsrujsr" as mentioned by the bro Hitorigoto in the dedicated thread; right? \
 
Last edited:
  • Yay, new update!
Reactions: rKnight

Satori6

Game Developer
Aug 29, 2023
503
1,041
I have to say that I'm a big fan of HTML games, and I don't know exactly why, but I get the impression that they don't interest the adult gamers' community that much, or that they're probably undervalued... {❔}
Perhaps it's because of this fucking GRINDING's bad reputation?-:unsure:-?
When all you're doing is pressing the same buttons/links over and over until you get a different picture, what you're making isn't a game, but a porn gallery with extra steps.

While there are some excellent HTML games, a large amount of them look like something that was put together over a weekend.

And while many VNs or RPGM games are pretty bad, at least they tend to have some original art that people can enjoy.
That's where the bad reputation comes from - it doesn't require any coding, people just use random porn pictures that took them 5 minutes to collect, and in many cases there isn't a story, character development, or anything besides single liners full of typos and a big patreon logo.


P.S. / Concerning the game "Beef in the City" by Pig&Pug, I believe that the updated Patreon code for the new version (0.20) is: "yrhhroajo" and clearly NOT "yzjsrujsr" as mentioned by the bro Hitorigoto in the dedicated thread; right? \
Can you upload the HTML file? The thread says 0.20, but the download link is for 0.19 -at least the pixeldrain one-.
 
  • Wow
Reactions: @LonelyWolf

@LonelyWolf

Newbie
Mar 19, 2024
27
134
When all you're doing is pressing the same buttons/links over and over until you get a different picture, what you're making isn't a game, but a porn gallery with extra steps.

While there are some excellent HTML games, a large amount of them look like something that was put together over a weekend.

And while many VNs or RPGM games are pretty bad, at least they tend to have some original art that people can enjoy.
That's where the bad reputation comes from - it doesn't require any coding, people just use random porn pictures that took them 5 minutes to collect, and in many cases there isn't a story, character development, or anything besides single liners full of typos and a big patreon logo.




Can you upload the HTML file? The thread says 0.20, but the download link is for 0.19 -at least the pixeldrain one-.
Okay, it's good to know Satori6, and thank you again for your explanations.
I believe that I understand the problem now. It is therefore the fault of certain "lazy" (or "incompetent"?) developers who don't want to bother with coding and creating an original/detailed story, BUT who falls into the easy way, by estimating that it would be a very good idea to milk as many patrons as possible... :confused:

That aside, coming back to "Beef in the City", it's simply me who's mistaken here (and who also spoked too quickly)!
To cut a long story short, I'd downloaded the game a while back in using: pixeldrain... Yup, I trusted too much the version displayed on the first page of the thread, and missed the details when installing on my device. At least, this will teach me to be more careful during my future downloads. Anyway, I downloaded again (the real v0.20, this time) with mixdrop and carefully checked for the validity of the Patreon code. Result: I confirm that it was indeed Hitorigoto who was right with his "yzjsrujsr" and not my "yrhhroajo" which I imagine was the code for pixeldrain's v0.19.

Brief, all that to say that I think you can now update this one in your list! Anyway, if I find any new updates for these famous codes, I'll let you know; see you soon the friend !+! ;)
 
Last edited:
  • Yay, new update!
  • Like
Reactions: Satori6 and rKnight