I am trying to make Python get the value/data from an address such as 0x101BFFDC, which I found by using a cheat engine for a game. I've done much research and believe that I need to use ReadProcessMemory.However, I have tried several examples without success.
Original author(s) | Tom 'PyTom' Rothamel |
---|---|
Developer(s) | Tom 'PyTom' Rothamel[1] |
Initial release | August 24, 2004; 14 years ago |
Stable release | Ren'Py 7.2.2 / March 31, 2019; 2 months ago |
Repository | |
Written in | Python, Cython |
Operating system | Windows, Mac OS X, Linux, FreeBSD, OpenBSD, Android, IOS |
Size | 60 MB |
Available in | English for the engine - UTF-8 use for resulting programs |
Type | Game engine (visual novel) |
License | MIT License[2] |
Website | www.renpy.org |
The Ren'Py Visual Novel Engine is a free software engine which facilitates the creation of visual novels, a form of computer-mediated storytelling. Ren'Py is a portmanteau of ren'ai (恋愛), the Japanese word for 'romantic love', a common element of games made using Ren'Py; and Python, the programming language that Ren'Py runs on. Ren'Py has proved attractive to English-language hobbyists; over 1000 games use the Ren'Py engine, nearly all in English.[3][4]
Features[edit]
Ren'Py includes the ability to create branching stories, save file systems, rollback to previous points in the story, a variety of scene transitions, DLC, and so on. The engine also allows for movie playback for both full-screen movies and animated sprites, in-engine animation (using the built in 'Animation and Translation Language', or ATL), and full animation and customization of UI elements via 'Screen Language'. Ren'Py scripts have a screenplay-like syntax, and can also include blocks of Python code to allow advanced users to add new features of their own. In addition, tools are included in the engine distribution to obfuscate scripts and archive game assets to mitigate copyright infringement.[5][not in citation given]
Ren'Py is built on pygame, which is built with Python on SDL. Ren'Py is officially supported on Windows, recent versions of Mac OS X, and Linux; and can be installed via the package managers of the Arch Linux, Ubuntu, Debian, and Gentoo (in experimental overlay[6]) Linux distributions. It has also been ported to Android,[5] as well as OpenBSD and as of the pre-release of version 7, iOS.[7]
Reception[edit]
Ren'Py has been recommended as a video game creation engine by several outlets, including Indie Games Plus, MakeUseOf, and The Guardian.[8][9][10] It has been used in classes at Carnegie Mellon School of Art,[11] and as a tool for information literacy.[12]
See also[edit]
References[edit]
- ^Lin, Maria (December 2005). 'Returning the Love: Three Fans Taking the Next Step'. Animefringe. ISSN1705-3692. Retrieved 4 May 2019.
- ^'License'. Ren'Py. Retrieved 4 May 2019.
- ^'Ren'Py Games List'. Ren'Py. Retrieved 4 May 2019.
- ^QJ Staff (24 November 2007). 'Ren'Py Visual Novel Engine: make your own visual novel, dating sim'. QuickJump. Archived from the original on 9 June 2017. Retrieved 4 May 2019.
- ^ ab'The Ren'Py Visual Novel Engine'. Ren'Py. Retrieved 4 May 2019.
- ^'Installing Ren'Py on Gentoo Linux'.
- ^'Ren'Py 6.99'. Ren'Py. Retrieved 4 May 2019.
- ^D., Konstantinos (8 May 2012). 'Indie Tools: Ren'Py'. Indie Games Plus. Retrieved 4 May 2019.
- ^Wiesehan, Robert (7 July 2014). 'Learn To Make Your Own Visual Novels With Ren'Py, Or Play One Of These'. MakeUseOf. Retrieved 4 May 2019.
- ^Stuart, Keith (20 March 2014). 'How to get into the games industry – an insiders' guide'. The Guardian. Retrieved 4 May 2019.
- ^'Experimental Game Design'. mycours.es. Retrieved 4 May 2019.
- ^Sullivan, Dean; Critten, Jessica (2014-11-01). 'Adventures in Research Creating a video game textbook for an information literacy course'. College & Research Libraries News. 75 (10): 570–573. ISSN0099-0086.
External links[edit]
- Official website
Sakura Dungeon was made with the visual novel engine Ren'Py.
It's makes it harder to hack the game with something like Cheat Engine, but it's based on Python, so the game scrips can be easily decompiled and modified.
In case of Sakura Dungeon we don't have to decompile anything, the game got an developer console, that can be simple enabled and used to modify the game while playing. This is what the guide about.
Index
- Modify stats and attributes
- Add or remove consumable, valuable items and outfits
Get Started
At first we want to activate the developer console.
- Save and close the game.
- Go to your Sakura Dungeon directory.
gif tutorial - Go to renpycommon folder and search for 00console.rpy.
- Open 00console.rpy and go to line 98.
- Change
config.console = False
toconfig.console = True
gif tutorial - Done, now you can use the developer console ingame.
Console usage
After activating the console, you can use it ingame.
Try to open it with shift+o
.
gif tutorial
Generally the console can execute any valid python command.
We will use it to manipulate the game.
Modify stats and attributes
After starting a new game or loading a save (not in main menu), you can modify your companions(actors) stats and attributes.
Some Stats like VP or AP are dynamic and will be reseted to max value.
Attributes are more static and will be only modified by items you use.
Generally
Each ally got an object, you can modify anything about him through his object. Normally this objects got the same name as the character, but there are exceptions. See the actors list for more informations.
There are two main characters, Yomi(the player) and your first companion Ceri.
Yomi is coincident the player himself, so you can access her/players object through player
or fox
.
And Ceri's object is named knight
.With this information you can start modify their stats and attributes.
At fisrt, let us modify our Mana shards amount, attribute currency
hold this information:player.currency=991337
or fox.currency=991337
(is the same)
animation
All object id's and attributes you can find in the actors list .
Stats
Possible stats are VP
, AP
, CP
, XP
, max_vp
and max_ap
.VP
, AP
, max_vp
, max_ap
and XP
can be directly modified, but CP
need two methods.
Example for Ceri:
VP: knight.vp=999
(will be reseted to max)
AP: knight.ap=999
(will be reseted to max)
Max VP: knight.max_vp=200
Max AP: knight.max_ap=200
XP: knight.xp=99
CP methods:
To change CP: knight.cp_change(10, force=True)
Reset CP: knight.reset_cp()
Attributes
The list of all attributes you can find in the actors list.
Resistance work a bit different, 1 point = 25%.
Examples for Ceri:
level: knight.level=20
(set level to 20)
Vit (vitality): knight.vit=100
(set vit to 100)
fire (resistance): knight.fire=4
(4 * 25% = 100%)
shock (resistance): knight.shock=2
(2 * 25% = 50%)
and so on
animation
Attention! Modify attributes like type
, skills
, abilities
, hit
, suffer
or info
only if you know what you are doing!
Add or remove consumable, valuable items and outfits
Objects player
, fox
and knight
got lists, which can be filled with another objects. A list got two necessary mehtods, append()
and remove()
. This methods will be needed to add and remove items.
Full items list can be found here: Full items list
Consumables
player
got list items
, to add an item, we have to append it:player.items.append(warp_stone)
(will add an Warp Stone to the 'Consumables')
If you want to remove an item, use the remove method:player.items.remove(warp_stone)
![Cheat Engine Ren Cheat Engine Ren](https://i.ytimg.com/vi/Jm91o5tphMY/maxresdefault.jpg)
Valuables
'Valuables' got the type valuable
in the items list.
You can add valuable to your 'Consumables', but they can not be used.
To add a valuable item, use this command:player.valuables.append(fabric_leaf)
To remove, like before:player.valuables.remove(fabric_leaf)
Outfits
Only fox
and knight
got both a list named dresses
.
Yomi's list can only be filled with items type fox
.fox.dresses.append(fox_bikini)
fox.dresses.remove(fox_bikini)
Ceri's list can only be filled with items type knight
.knight.dresses.append(knight_bikini)
knight.dresses.remove(knight_bikini)
Add or remove companions
Be careful, some actors like Ceri(knight) can't be removed! Always save before you add someone!
There are two objects, party
and backup
.
You can execute two methods on both objects, append
and remove
.
Get sure that your party
isn't full before you add someone!
Example:backup.append(bunny)
will add a bunny to your 'BackUp'.
Then you can remove a bunny withbackup.remove(bunny)
same with party
.
Actors list
Full actors (characters) list (Google Table)
![Value Value](https://forum.cheatengine.org/files/01_112.png)
Items list
Full items list (Google Table)
Credits
Guys from CE Forum
happybrother for hint about console commands.
glebsa for actors info.