Cheating

From The Last Sovereign Wiki
You're setting such a bad example, Father.
 
Robin

Important note[edit | edit source]

This page, as stated below, has to do with cheating in the game through use of third-party programs to manipulate data in the game. Keep in mind that any issues encountered after cheating might not be legitimate "bugs" in the game, so please consider that before submitting such reports to the developer, and mention your cheating if you do. She doesn't mind cheating, but she does mind bug reports that turn out to be your fault for cheating.

Also note that if you must cheat, save editors work better than Cheat Engine for most purposes, and you will be less likely to accidentally change things you didn't mean to.

Game's reaction[edit | edit source]

In some cases the game will notice that you have cheated and react to it:

  • You may miss the Incubus King armor from the Deep Cache, if Simon's level is 40 or greater, or the party's Sx is 100,000 or greater - though you miss it anyway if you don't get it on the first trip through Devil's Pass.
  • Dialogue from the old man in Ari-Yhilina Outskirts about whether you are doing well will be different.
  • If you try to get an investment that requires an impossible amount of ProN, the game creator will encourage you not to cheat at this part ("Think of the economic stuff as part of the plot!")
  • If you defeat the Rodak Elite during the Trials of Orcish Strength, the hidden Orcent Fights variable is reset to 0. This has the effect of lowering your prize money to 900 Sx, which is 1100 Sx less than if you had lost to the Elite.
  • In Simon's route if you defeat the succubus elite before learning dominate the game will remove all of Nalili's maturity, drop Esthera's mood by 10, and add 10 to Simon's daycount
  • During the Erosian crisis, there's a fight in the Tower of Tak-Kan which Orcent joins if it reaches the third turn, granting him an eyepatch upgrade. Finishing the fight before that point skips the upgrade.
  • During confrontation with Fucklord during the Erosian crisis if Simon's level is 61 or higher you don't get any bonus to a hidden variable determining outcome of the battle.
  • If you complete the Tower Delving, Magical Constructs, or Demonic Research before it's legitimately possible, you won't get their "in progress" bonuses during the Erosian war.
  • If you defeat the Fucklord on the Erosian Mountaintop, without giving him a round to complain after losing 25% HP, you won't get the [FL Battle Injury] bonus.
  • If you defeat the Fucklord in the Zirantia Palace, you'll lose -1 Erosian Front, -1 Tower Front, -1 Ghenalese Front, and you won't get the [Fucklord Endured] bonus.
  • If you defeat the Fucklord in Fucklord's Tower, without giving him a round to say "..." and end the fight automatically, you won't get the [FL Injury 2] bonus.
  • If you complete the Anak's event during the Second Gathering in 10 seconds or less (impossible without cheating), Xerces will comment that you were suspiciously fast. This adversely affects your race score, since he does not approve of disturbing the balance via reality manipulation.

Story mode mod[edit | edit source]

Before you download and use this, read the following information. This mod is intended for when the user does not wish to dedicate the amount of time and thought to combat that the developer intended. It will allow the player to instantly win almost any battle they choose. The mod works as follows:

  1. All basic/small Health Potions will be replaced by Scepters. The first opportunity to get these is in the chest during the Prologue, and they can be bought at shops that would otherwise be selling the unmodded item.
  2. A Scepter can be used in battle, and is not consumed on use. It will defeat all enemies before they can act, unless you are not meant to defeat an enemy or it may be unwise to do so, in which case an appropriate message will display and there may be a different helpful effect. You can also fight the battles normally if you choose, aside from the fact that the single item has been changed.
  3. The value of a single Scepter hasn't been changed from 100 Sx, so you can buy/sell them like normal with minimal impact on the economic balance.
  4. This mod only edits the data for the Health Potion and one script, which are stored in the game files and not in your save files. Reverting from this mod to the unmodded game will change your whole stack of Scepters into normal health potions, and vice versa. In other words, it's safe to continue your save from this mod in an unmodded game, and safe to continue your save from an unmodded game in this mod.
  5. Finally, as a small bonus, item drops are guaranteed.

Disclaimers:

  1. Using instant-win items bypasses solid, balanced content, such as the battles Sierra Lee has created. Loading your save into this mod will get you past any battles that you're having trouble with, but it might be more satisfying (!) to come out on top in a legitimate way, because the turn-based combat RPG side of things is that coherent in this game. You also won't get the intended dramatic effect of battles.
  2. Everything that should be winnable is winnable in the base game. The mooks in an area will teach you the patterns, tactics, and compositions that you'll need to take on the area boss, who in turn often summons the same minions you just learned the weaknesses of. It's fun.
  3. This mod does nothing for your ProN, Sx, and EXP gain, which are balanced as they normally are, nor does it allow you to edit variables. The other tools provided on the Cheating page should more than suffice if you choose to go that route. This mod is officially sanctioned by the game's author, but she's not responsible for issues you may encounter while playing a modified version of her game edited by a stranger online.

Current version of this mod only works for release 0.64.3 of TLS and can be downloaded here: Story Mode mod applied to 0.64.3.

Variable names[edit | edit source]

Can be modified by using RPGMakerSaveEdit (ULMF link, MEGA link (0.6.6), Dropbox link (0.6.10)) or SaveEditOnline (not recommended due to not showing variable names and general lack of features).

ID Name Notes
10 ProN
11 ArmySize
12 ArmyQuality
15 Social
16 Religion
17 Economy
19 Trin Copies
20 Trin Max
29 Chapter 2 Travel Timer
30 Withered Mountain Acceptance
37 Aka Deprivation
44 Jade Sabatoge
45 Yhilin Poverty
46 Qum D'umpe Mood Score
49 Empress Approval
52 Orgasmic Empire Physical Training
53 Orgasmic Empire Mental/Sex Training
55 Empress Mood
57 Simon Path Day
61 Order of Silence
66 Victory Points Battle of Yhilin
67 Collateral Damage
68 Chaos
69 Enemy Forces
70 Yhilin Acceptance
72 Seed Orcs
73 Discretionary Fund
74 Orc Strength
75 Orc Intelligence
76 Orc Discipline
77 Orc Sapience
78 Orc Attractiveness
79 Orc Magic
81 Ardoheim Country Scores
82 Yhilin
83 Aram
84 Eustrin
85 Zirantia
86 Darghelon
87 Gheldaron
89 Ghenalon
90 Erosia
91 Rodak
92 Tatseni
93 Stenai
94 Orgasmic Empire
96 Chalice States
97 New Givini
98 Tak'Kan
101 Aka RP
103 Yarra
105 Qum
107 Robin
109 Hilstara
111 Megail
113 Trin
115 Janine
117 Carina
119 Sarai
121 Altina
123 Varia
125 Esthera
127 Nalili
129 Balia
131 Vhala
133 Dari
135 Ginasta
137 Lynine
139 Orilise
141 Wynn
143 Uyae
145 Elleani
147 Riala
149 Iris
151 Wendis
152 Entity Cohesion
153 Ivala (fake)
156 Mestan
157 Neranda
158 Fheliel
159 Sabitha
160 Lilith
161 Elf Investigation
164 Aka's Storgan
167 Slum Petition Fund
168 Zirantia Investigation
169 Simon Wynn Anger
179 Trade Negotiations
181 Eustrin Impact
184 Border Incident
186 War Preparations
187 Arclent Acceptance Third Arclent War
188 Army Extensions
189 Instability
190 IKD Morale
191 Yhilin CD
192 Aram CD
193 Stineford CD
194 Ardoheim CD
195 Zirantia CD
196 IKD CD
197 Aramite Front
198 Stineford Preparations
199 Yhilin Coup
201 Orc Summit
208 Social Reserves
209 Economic Reserves
215 Headquarters Hospitality
216 Headquarters Military
217 Headquarters Magic
219 Palace Staff
224 Orcent Bar Conversations
225 Tak'Kan Wilds Monsters Killed
226 Airship Counter
228 Ignias Suitor Ardan Succession Crisis
229 Bhakan Position
230 Donovan Position
231 Ghanth Position
232 Jhenno Position
233 Farnan Position
235 Uneanum Control
236 Kalant Suitor
239 Farnan Control
241 Ghanth Pressure
242 Kalant Support
243 Jhenno Influence
245 Aram Tower The Erosian Crisis
246 Yhilin Tower
247 Tak'Kan Tower
248 Zirantia Tower
254 Fucklord Confrontation
255 Erosian Captives
261 Sarai Capital Council of Gawnfall
262 Hester Summit
263 Bertricia Summit
264 Esmera Summit
265 Kerannii Summit
266 Annah Summit
267 Nabith Summit
269 Yelarel Summit
270 Yarra Frustration
273 Ivalan Acceptance
281 Troubled Chosen Counter[1]
285 Erosian Front Erosian War
286 Tower Front
287 Ghenalese Front
289 Hold Back path
290 Early Troops path
297 Tanurak Prep
298 Zirantia Help
308 ProN Amount During War[2]
310 Duke Influence Return to Stineford
311 Annah Influence
312 Magic Points
314 Neranda Tour
321 Tertia RP
322 Xestris
323 Mithyn
324 Grynyth (The Mother)
325 Ivala
339 Divine Shards
341 Gathering Influence Second Gathering
342 Gathering Rodak
343 Gathering Orgasmic
344 Gathering Philon
348 Dari 4th Wheel
349 Balia Final Point
350 Vunne RP
351 Orgy Points
352 Riala Points
353 Anak's Gauntlet
354 Anak's Gauntlet Chests Opened
355 Iris Points
360 Day Count
361 Lustlord's Chamber Score
362 Lord of Blood's Chamber Score
365 Fuzkao's Chamber Score
366 Skullpounder's Chamber Score
370 Doom King Node
371 Lustlord Node
372 Tanurak Node
374 Lexande's Score
376 Elleani's Legitimacy Warden of the South
377 Tanurak Distractions Cleared
379 Sewing Places Found Iris's Request
380 Tower Library Books Warden of the South
384 IW_VP Incubus War
385 Mithyn Aggression Check
386 IW_LOB
387 IW_Fuzkao
388 IW_Nyst
389 IW_AirCasualty
390 IW_FuzkaoDamage
391 Time Progress[3] Incubus Prison
392 Esthera Energy Incubus War Aftermath
393 Darghelon Stand
394 Gheldaron Stand
396 Tak'Kan Support
397 Ardan Influence
398 Ivala Rush
399 Aram Tanurak
400 Aram Shiny Spots
421 Simon Recovery
422 Times Shining Swords Melted
425 Prep Wynn's Request
426 Intensity
427 Accuracy
428 Bias
429 Prestige
431 Qum Points Qum's Request
432 Teacher Count
435 Philon Periphery Crystals
441 Max Orc Essence Balia's Request
442 Current Orc Essence
443 Overall Boost
444 Skills Learned
445 Equipment Bought
447 Initial Points
449 Current Run Max Orc Essence
460 Final Orc Score
461 Progress Ginasta's Request
462 Scavenger Hunt
464 Accessibility Uyae's Request
465 Skill
466 Quality
468 Janine Progress Janine's Request
469 Succubus Portraits
472 Chests Opened Lilith's Abode
473 Hide and Seek
475 Pot Hunt Trin's Request
477 Simon Essence
478 Obstacles Cleared
479 Rewards Altina's Request
480 Influence
522 Black Dots Robin's Request
524 Personal Strength Ardan Succession Crisis Finale
525 Ardan Approval
526 Bhakan Final
527 Ignias Final
528 Kalant Final
529 Bhakan Control
530 Disturbances Cleared
532 Investigation Dari's Request
533 Insight
541 Days Left Nalili's Request
542 Knowledge
543 Sex
544 Social
545 Library Sessions
546 Esthera Lessons
547 Empire Points
548 Training
550 Lynine Points Lynine's Request
551 Stamina Max Riala's Request
552 Stamina
553 Points Purged
554 Increment
555 Sarai Score Sarai's Request
556 Megail Points Megail's Request
557 Orphans Located
562 Lust Orilise's Request
563 Lust Max
564 Openmindedness
565 Openmindedness Max
566 Magic
567 Magic Max
569 Frigidity
570 Self-Righteousness
571 Dichotomous Thinking
572 Racism
580 Day Count

Cheat Engine[edit | edit source]

Warning: Cheat Engine isn't ideal for games using the RPG Maker engine, such as The Last Sovereign. Memory addresses may shift around, even within a single game session. If you want to use this method, just narrow down values until you're sure you have the right address and then change them immediately; don't try to freeze them at that value.

A quick and simple guide to cheating in RPG Maker Games without having to do the math yourself, even though it's just (value*2)+1.

Using Cheat Engine[edit | edit source]

There's actually an easy way to use Cheat Engine with RPG Maker games... a script you use to make it search correctly for those games alone so you don't have to use binary and get millions of hits.

Games with RPG VX Ace or normal VX. People often tell you to search for (value*2)+1. So if you're looking for 123 gold that you want to change, search for 247. But if you wish to use this custom type (so you don't have to do that *2 stuff) then do the following:

  1. Start Cheat Engine.
  2. Open any process.
  3. Right-click the "value type" dropdown menu box.
  4. Click "define new custom type (Auto Assembler)".
  5. Delete and replace the existing script with the script posted here.
  6. Click OK.
  7. You can now search for the values as they appear! No need to double and add one or anything like that.

Note: I save this as RPG VX type, and it will open with Cheat Engine forever after as another type option. Easy-peasy. Have fun cheating RPGMaker games everyone!

The script[edit | edit source]

alloc(TypeName,256)
alloc(ByteSize,4)
alloc(PreferedAlignment, 4)
alloc(ConvertRoutine,1024)
alloc(ConvertBackRoutine,1024)

TypeName:
db 'RPG VX type',0

ByteSize:
dd 4

PreferedAlignment:
dd 1


//The convert routine should hold a routine that converts the data to an nteger (in eax)
//function declared as: stdcall int ConvertRoutine(unsigned char *input);

//Note: Keep in mind that this routine can be called by multiple threads at the same time.

ConvertRoutine:
[32-bit]
push ebp
mov ebp,esp
push ecx
mov ecx,[ebp+8]
[/32-bit]

//at this point ecx contains the address where the bytes are stored

//put the bytes into the eax register
mov eax,[ecx] //second fun fact, addressing with 32-bit registers doesn't work in 64-bit, it becomes a 64-bit automatically (most of the time)
shr eax,1 //shift right by 1 bit (divide by 2)

//and now exit the routine
[64-bit]
ret
[/64-bit]
[32-bit]
pop ecx
pop ebp
ret 4
[/32-bit]

//The convert back routine should hold a routine that converts the given integer back to a row of bytes (e.g when the user wats to write a new value)
//function declared as: stdcall void ConvertBackRoutine(int i, unsigned char *output);
ConvertBackRoutine:
[32-bit]
push ebp
mov ebp,esp
push edx //save the registers
push ecx
mov edx,[ebp+0c]
mov ecx,[ebp+08]
[/32-bit]

//at this point edx contains the address to write the value to
//and ecx contains the value

push eax
push edx


mov edx,[edx] //edx now contains the original value
and edx,1 //only save the first bit

mov eax,ecx //eax gets the user input value
shl eax,1 //shift left by 1 bit (multiply by 2)
or eax,edx //add the bits of the original value

pop edx
mov [edx],eax //write the new value into the old value
pop eax

[64-bit]
//everything is back to what it was, so exit
ret
[/64-bit]

[32-bit]
//cleanup first
pop ecx
pop edx
pop ebp
ret 8
[/32-bit]
  1. Relevant for hunting down Shining Sword #28.
  2. This will store the amount of ProN you have before you receive the 1,000,000 boost. It's used to determine if you spent all one million during the bonus Kyangan investment cycle.
  3. This is just used for flavor text, longer time has no consequences.