LoveMoney Datamine Guide: Extracting script.rpy
If you want to view the raw game logic, uncover the precise math behind the ending triggers, or brute-force the hidden purple box password without hunting for notes, you'll need to datamine the game files.
Because LoveMoney is built on the Ren'Py visual novel engine, accessing the source code requires specialized unpacking tools like unrpa and unrpyc.
Looking for a LoveMoney GitHub repo?
Before trusting a repository or uploading extracted files, read the LoveMoney GitHub source-code guide. It explains official-source checks, fake repo risks, and redistribution boundaries.
Phase 1: Unpacking .rpa Archives
When you download LoveMoney and navigate to the /game/ directory, you might not see any dialogue or text files. Instead, the game's assets (art, audio, and scripts) are bundled tightly into .rpa archive files (Ren'Py Archive).
- Download a standard Ren'Py extraction tool. The most common open-source tool for this is unrpa (a Python script) or user-friendly wrappers like UnRen.
- Place the extraction tool into your base LoveMoney directory.
- Run the extraction process against the
.rpafiles. This will burst the archive open, spitting out folders full of CGs, audio tracks, and most importantly, the script variants.
Phase 2: Decompiling .rpyc to .rpy
Once you've unpacked the archives, you'll likely find files ending in .rpyc (such as script.rpyc or options.rpyc). If you try to open these with Notepad, you will just see garbled machine code.
.rpyc means "Ren'Py Compiled." You need to reverse-engineer it back into human-readable Python-based code.
- Download the unrpyc decompiler from GitHub.
- Run the `.rpyc` files through the decompiler.
- The output will be clean
script.rpyfiles. These are the master dialogue and logic files. You can now open them using Notepad++ or Visual Studio Code.
Finding the Password in script.rpy
Now that you have the raw script.rpy file open in a text editor, finding the secret password is a breeze.
Simply press Ctrl + F and search for prompts related to the password box, or search for the word password or input. Because Ren'Py logic uses Python conditional statements, you will eventually find a line of code that looks something like this:
# Code Snippet Example
$ player_input = renpy.input("Enter the code:")
if player_input == "[THE_SECRET_PASSWORD]":
jump secret_ending_route
The exact string assigned to that conditional jump is the password you need to enter into the dark purple box on the game's start screen.
Not a Programmer?
Don't want to mess with Python scripts, un-archiving, and decompilers? Skip the code-breaking and just use our Ending Calculator.
Launch CalculatorOther Things to Datamine
Study the exact $money variables or Harvey 'affection' stats required to trigger specific bad/good endings.
Find cut content, developer notes, or unused dialogue branches that relate to the original BloodMoney game.
Access the full folder of 18+ unblurred character art normally compressed in the image.rpa container.