Sondrier How do I cheat?
Reputation: 0
Joined: 16 Nov 2014 Posts: 0
|
Posted: Sun Nov 16, 2014 8:30 am Post subject: im new at this can anyone help? |
|
|
| strideram wrote: | Hi,
This game is made using RenPY. One of its characteristics is that the memory address for the resources changes with every action we do. The workaround is mentioned in this other thread (http[colon]//forum[dot]cheatengine[dot]org/viewtopic.php?p=5366672#5366672) ... (I can't post urls yet, please replace [colon] with : and [dot] with . in the urls mentioned in the post)
| Quote: |
Money is stored as a 4 byte value (4 byte aligned), exactly as you see is ingame, I mean there is no encryption. Your problem is that the value changes its address each time you change its value, so you have to find and edit it in one go.
tips to increase your chances of one-hit-wonder:
1-have an uncommon number of gold: odd, not a multiple of 5 and as high as possible, but again avoid common video game numbers like 999.
2-You will probably have several results anyway. If you have less than 20 just change their value in CE and see if it changes ingame. Right clicking twice causes the game to refresh the displayed value without changing its address.
EDIT:
The best way to cheat in this game would be to edit script.rpyc |
That thread was talking about some other game made using RenPY. Anyway, Princess Trainer doesn't have any .rpyc files readily available for us to modify. I did the following steps to get access to "user editable .rpy" files. My hack basically ensures that when gambling irrespective of whether we win or lose, we will always gain 2000 gold.
Steps:
1. Install Python 2.7. Ensure its added to your system path.
2. Navigate Windows Explorer to the folder where the game is installed. Inside this folder you should see the file "Princess Trainer.exe" and the directory "game". We will call this the baseDir.
3. Create a new directory here, give it the name "game-backup". Cut and paste all the files from inside the "game" directory to inside the "game-backup" directory.
4. Create a new file in the baseDir with the name "rpatool.py". Edit this file in notepad (or wordpad if line endings are messed up, preferable use an editor like Notepad++ or Notepad2). Save the contents of this url (https[colon]//raw[dot]githubusercontent[dot]com/Shizmob/rpatool/master/rpatool) in this file.
5. Open a command prompt and navigate to the baseDir.
6. Extract the contents of "game-backup\archive.rpa" to "game"
| Code: | | python.exe rpatool.py -o game -x game-backup\archive.rpa |
7. Edit the file "game\dice_game.rpy" in notepad++ or notepad2 or some text editor.
Replace with
Replace with
8. Save the file. Start the game. If you have an existing save where gambling has been unlocked, then you can immediately earn 6000 gold via gambling. Else you could start a new game and grind gold till gambling is unlocked
EDIT:
Took a while, but figured out how to increase the starting pool of gold. Follow the steps mentioned above. And then edit the file "game\slavemquest.py"
Replace with |
Ok so following the steps i have managed to get to at least step five. I wasnt sure if i did step five right or not but im generally stuck at steps 5 and 6. I generally have no idea what im doing wrong.
| Description: |
| This is thr problem im running into |
|
| Filesize: |
37.96 KB |
| Viewed: |
26209 Time(s) |

|
|
|