Logo Platform
logo amplifiers simplified

Make your own Love Thyself scene!

Reply
Copied to clipboard!
5 years ago
Jul 4, 2019, 12:10:03 PM

Hey everyone,


Has Love Thyself left you wanting more? Do you wish something happened a little differently, or want to tell your own story in the Endless Universe? What if we told you... you could make it happen?


Yes, that's right! Let us show you how in a few easy steps...




HOW TO MAKE YOUR OWN LOVE THYSELF SCENE


1 Get the game

Download Love Thyself from Steam. 


2 Get Ren'Py

Download Ren'Py from the official Ren'Py website.



3 Create a new Ren'Py project

Boot Ren'Py and click on "+Create New Project". Select the folder in which you want Ren'Py to store your project. Name it whatever you like, it will not be the display name of the project. Pick 1280*720 as display resolution, then just click "continue" on the accent and background colors window because you're about to overwrite them anyway, and it'll create your first working files for the Ren'Py project! Whee!


Note: If it's the first time you have ever used Ren'Py, it will probably ask you to set up an editor for the rpy files. Go with your preference, I've personally used NotePad++ which you can configure to use with Ren'Py, but any will do.




4 Copy files over

Copy the files from your Steam folder over to your Renpy project folder. By default, the path is something like C:\Steam\steamapps\common\LoveThyself , so just head over to \common, click on LoveThyself, and ctrl+A / ctrl+C that stuff. Then click on Open Directory> base in Ren'Py, which will open the folder that was created for your project. Ctrl+V in there to copy the contents of the game, and boom, if you click "Launch Project"  it should now basically boot Love Thyself! Just check that it works.



5 Remove extra stuff

At this stage, you're almost ready to mess with what's under the hood already. In the Ren'Py Launcher, click on Open Directory>game and remove all the RPY files, except for script.rpy, options.rpy, gui.rpy, screens.rpy and part2-exrusfinale.rpy. Everything else goes.



6 Download the sample scene

Click here to download a simple scene, upon which you'll be able to build. Place it in your game folder. Click on Launch Project to check if everything's still peachy.



7 Start messing around!

We strongly recommend checking out the Tutorial game to get a better idea of how Ren'Py scripting works, but it isn't strictly necessary. You have a simple structure in the sample file which you can modify and expand on, and of course, you have the script of Love Thyself that you can draw inspiration from! Change backgrounds, introduce new ones, add music or sound effects, include more characters... Space's the limit!




Share your creations below (you can drag and drop the .rpy files directly), or let us know what scenes you'd like to see!

0Send private message
5 years ago
Jul 4, 2019, 12:11:24 PM

HOT RATIO CODE TIPS


The first stop if you want to mess with things should be Ren'Py's Quickstart documentation, which has numerous examples and is all-around very useful as a primer. Everything written below is stuff I've gathered after much fiddling around with the code, and while it is interesting if you're eager to get ready, it will not replace a solid look at existing documentation. :D



Click here to download a file we created that includes some tips and code you can copy/paste. I'll post some screenshots below, but for the convenience of keeping formatting, the file should be much easier to use! All of these are things you can modify easily to tell the story you want.



1 CHARACTERS
Characters have a default appearance (shown in script.rpy as "default" in # CHARACTER DOLL Headers). The rest of the attributes shown are listed under the same DOLLS headers, ordered by group (eyebrows, eyes, arms/pose, outfit for those that have one). Only one attribute per group can be displayed at a time (can't show angry AND happy eyebrows!).
When called (for instance with v22 "Hello", they'll show up in the default place (center) with their default appearance.
Showing, moving and hiding characters is done this way several ways


Note that you can already make a character appear with a different expression than the one they have by default.
After MOVING a character, always double the line to restate where the character ends up, otherwise it can cause display issues.


Example:
show red happy closedsmile at right with easeinright
show red at right


Poses and faces can be changed in separate lines or during dialog lines. Stuff that goes between the character call and the dialog is the expression change.

This new expression will stay displayed until changed, or the personnage disappears (which resets to default).
You can set an expression for this line only by putting an @ in front of it. You can add several attributes after the @ to make several of them appear only on that line.



2 SCENE TRANSITIONS

STATIC BACKGROUNDS

Static background transitions are very easy to do. There are only two types used in Love Thyself, dissolve and fade. Dissolve is very classic in that it simply transitions the new background on top of the old one. Like its name indicates, fade has a fade to black between the old background and the new one, which can indicate, for instance, the passage of time (this effect is used several times with successive hallways to mark a long time spent walking around the station).


Examples:

show bg-concourse1 with fade

show bg-greenhouse2 with dissolve



ANIMATED BACKGROUNDS

These are a little trickier to handle, because animated backgrounds are movies and not considered by the game as a normal backgrounds. It is important to remove them before changing backgrounds, and the way to do that is to simply add a "stop movie" command before the transition.





3 CHOICES



4 SOUND

Music and ambient sounds (which are stored in their respective folders in the sound folder) are short ogg sounds that are automatically set to loop. Sound effects ("sounds") are not set to loop. You can set a fade in command to make the volume progressively get louder, and a fade out for when you want the music to progressively stop. The number is seconds, and can be either a full second or 1.3, 0.5, etc.



Here is how they will usually be used.


play music "ConcourseAmbiance.ogg" fadein 1
stop music fadeout 3

play sound "BattleBridge_GunFight.ogg"

play ambient "Hallway.ogg" fadein 2
stop ambient fadeout 5



5 DEBUGGING

If you made a typo in trying to display something, or are trying to display an image that doesn't exist, the game will work, but a message will appear in red when the missing image should be displayed. You can compare names to fix your script.


Sometimes movie issues are the result of missing files being called. Check for missing files and for missing "stop movie" statements.


Indentation is critical to Ren'Py, make sure yours is correct or the project will not launch. Make sure all the options for your choices (the "menus") all have a semi-colon at the end of the option (see the sample).


If you have a question, feel free to ask it below, and we'll do our best to help you!

0Send private message
0Send private message
5 years ago
Jul 13, 2019, 3:50:49 AM

I want in, i really do! But when i follow the instructions, i get this.

When trying to launch the game, i CAN edit the files and all that Jazz, but honestly? I've used Ren'Py before and there's nothing better for doing one of these than looking at the progress after every few changes. Think i can get a fix?


I'm sorry, but an uncaught exception occurred.

While parsing C:\Users\Silver\Desktop\5454/game/part2-tergusfinale.rpy.
Exception: Could not load from archive patch/patch.rpyc.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "C:\Users\Silver\Desktop\Varios\renpy-6.99.13-sdk\renpy\bootstrap.py", line 305, in bootstrap
renpy.main.main()
File "C:\Users\Silver\Desktop\Varios\renpy-6.99.13-sdk\renpy\main.py", line 365, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "C:\Users\Silver\Desktop\Varios\renpy-6.99.13-sdk\renpy\script.py", line 265, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "C:\Users\Silver\Desktop\Varios\renpy-6.99.13-sdk\renpy\script.py", line 670, in load_appropriate_file
raise Exception("Could not load from archive %s." % (lastfn,))
Exception: Could not load from archive patch/patch.rpyc.

Windows-8-6.2.9200
Ren'Py 6.99.13.2919

0Send private message
5 years ago
Jul 15, 2019, 7:56:34 AM

The only reason tergusfinale.rpy didn't get the "YEET it into the sun" treatment is because it's pretty much the cleanest code I've written. There is no reason it has to be in the same folder as the rest, so you can just cut and paste it to your desktop or anywhere, this way you still have it on hand as a reference, but it won't mess up the project.


Let me know if this helps!

0Send private message
5 years ago
Jul 16, 2019, 9:04:47 PM

That did not help!

After systematically deleting every archive that caused a mistake, it eventually told me this!

I'm sorry, but an uncaught exception occurred.

While parsing C:\Users\Silver\Desktop\L/game/day3.rpy.
Exception: Could not load from archive patch/patch.rpyc.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "C:\Users\Silver\Desktop\Varios\renpy-6.99.13-sdk\renpy\bootstrap.py", line 305, in bootstrap
renpy.main.main()
File "C:\Users\Silver\Desktop\Varios\renpy-6.99.13-sdk\renpy\main.py", line 365, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "C:\Users\Silver\Desktop\Varios\renpy-6.99.13-sdk\renpy\script.py", line 265, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "C:\Users\Silver\Desktop\Varios\renpy-6.99.13-sdk\renpy\script.py", line 670, in load_appropriate_file
raise Exception("Could not load from archive %s." % (lastfn,))
Exception: Could not load from archive patch/patch.rpyc.

Windows-8-6.2.9200
Ren'Py 6.99.13.2919

It seems we are missing the RPYC file on the instalation!

0Send private message
5 years ago
Jul 19, 2019, 12:32:42 PM

Try deleting the patch folder altogether, and making sure that day3.rpy is no longer present in the Love Thyself folder (cut and paste to your desktop or something).

0Send private message
0Send private message
5 years ago
Aug 18, 2019, 7:58:29 PM

In step 4, after copying the files from steamapps\common\LoveThyself into my project's base folder, when I launch the project in Ren'Py, I get an exception immediately:


I'm sorry, but an uncaught exception occurred.


While running game code:

  File "game/script.rpy", line 30, in script

    init python:

  File "game/script.rpy", line 41, in <module>

    import clr

ImportError: No module named clr


-- Full Traceback ------------------------------------------------------------


Full traceback:

  File "game/script.rpy", line 30, in script

    init python:

  File "I:\Program Files (x86)\renpy-7.3.2-sdk\renpy\ast.py", line 912, in execute

    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)

  File "I:\Program Files (x86)\renpy-7.3.2-sdk\renpy\python.py", line 2004, in py_exec_bytecode

    exec bytecode in globals, locals

  File "game/script.rpy", line 41, in <module>

    import clr

ImportError: No module named clr


Windows-7-6.1.7601-SP1

Ren'Py 7.3.2.320

Love Thyself — A Horatio Story 2.0.1.2

Sun Aug 18 14:56:12 2019

0Send private message
5 years ago
Oct 22, 2019, 1:41:34 PM

Hey folks,


It's taken quite some time, but I've finally managed to sit down and fix the files. You should be able to grab the following package which contains all the assets, but only Day 3, which you can use as a model for your scene and modify as you wish.



I an looking forward to any good AND bad ideas you might develop with what we've given you!

0Send private message
4 years ago
Sep 17, 2020, 11:35:34 AM

Hi everyone! I know it's an old thread for an obscure game (with the last link sadly broken from Frog), but I've been trying (and succeeding) to rewrite day 1 to my heart's content, such that we're getting a little bit more of a perspective from Aeternus P02, our gorgeous *Head*master. :D 


From personal experience, I suggest the following steps for making one's own scene: (Note that I'm still very new to Renpy, so please take this with a grain of salt!) 

  1. Follow Frog's instruction 1-3 to download, and create the Renpy project (e.g. AnAeternusFanfic), 
  2. For step 4 and 5, copy only the game directory from the original LoveThyself folder to your project directory. Keep the rpy files, and start modifying day1.rpy in accordance to your liking. Personally I never managed to make the simple script (with other scripts deleted) to work, since I don't think that script was linked to the proper start button. 
  3. I'll strongly suggest making frequent backups once you've made any modification. It might have been my inexperience with Renpy, but any software, that doesn't allow importing existing projects, forgets about existing projects constantly, and/or wipes existing game files when launching a new project in the same location, is a major failure of software design in my book. 
And that's it! I'm extremely privileged to have a proper python configuration on my laptop, since the trackbacks I've seen above seemed to mostly originate from python. Maybe double-checking the python directory will help? And if the python side of things were fine and there were any ImportErrors, try typing $ pip install <missing_module_name> $ in terminal; it should pick up the right module online. 
Updated 4 years ago.
0Send private message
?

Click here to login

Reply
Comment