Search found 26 matches

by martingerdes
Sun Oct 28, 2018 6:32 am
Forum: Ren'Py Questions and Announcements
Topic: How to add an option to preferences?
Replies: 15
Views: 5112

Re: How to add an option to preferences?

I can answer this one! :D In screens.rpy, look for "screen preferences():" That is the screen which builds up the options you can configure as a player. In there you find the comment ## Additional vboxes of type "radio_pref" or "check_pref" can be ## added here, to add ...
by martingerdes
Sun Oct 28, 2018 6:16 am
Forum: Ren'Py Questions and Announcements
Topic: Trouble calling a self-made function from screen
Replies: 6
Views: 3197

Re: Trouble calling a self-made function from screen

I'll ressurect this, since it's not that long ago, and I am having precisely the same problem. I am simply trying to make myself a convenience function to construct strings for me while building up a screen. And I am failing at this spectacularly... :cry: Complete testcode: python: def get_text(): r...
by martingerdes
Sat Oct 27, 2018 4:51 pm
Forum: Ren'Py Questions and Announcements
Topic: easy way to check if an image exists?
Replies: 1
Views: 1382

Re: easy way to check if an image exists?

I'll admit that I'd be curious about that too. Right now my code simply knows what the picture path is, if it exists: if not image_s: image_s="base/"+self.class_string_plural+"/"+self.base_name+".jpg" if not renpy.exists("images/"+image_s): image_s=None self.i...
by martingerdes
Sat Oct 27, 2018 7:12 am
Forum: Ren'Py Questions and Announcements
Topic: How is the save game picture chosen?
Replies: 5
Views: 596

How is the save game picture chosen?

So I have a very weird small niggle. It's not a big deal if I can't get it resolved, but I'd thought I'd ask, and maybe learn something new. ;-) When I save my game normally, in an event, then the picture for that game save shows the screen at the time of saving, as expected. But if I save the game ...
by martingerdes
Sat Oct 13, 2018 4:31 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How do you choose a theme (in the launcher)?
Replies: 4
Views: 1382

Re: How do you choose a theme (in the launcher)?

@Donmai: Thanks for the tip. Maybe its useful for others?
But I do want to use the most recent version, with the current best practices.

@xavimat: Thanks a lot for explaining! Another mystery solved. :-)
by martingerdes
Fri Oct 12, 2018 5:52 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How do you choose a theme (in the launcher)?
Replies: 4
Views: 1382

[Solved] How do you choose a theme (in the launcher)?

Once again, if there is any documentation I have overlooked, please kindly provide me with a link, I did search on google, but my google-fu is only so-so... I discovered a feature of the Ren'Py Launcher by accident, and am baffled on how to properly invoke it: When you make a new Project, you only g...
by martingerdes
Thu Oct 11, 2018 3:39 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Tooltips for Labels
Replies: 3
Views: 737

Re: Tooltips for Labels

Thank you for the information.
I know of no displayable "textbox", but a textbutton with NullAction() seems to work fine, and I can style it as needed.
by martingerdes
Thu Oct 11, 2018 6:08 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Tooltips for Labels
Replies: 3
Views: 737

[Solved] Tooltips for Labels

According to https://www.renpy.org/doc/html/screen_actions.html#tooltips, any displayable can have a tooltip. I would like to implement tooltips for stats in a grid (dse-stats.rpy from https://lemmasoft.renai.us/forums/viewtopic.php?t=31571), so they should be associated with the labels, since there...
by martingerdes
Sun Oct 07, 2018 4:50 pm
Forum: Ren'Py Questions and Announcements
Topic: (SOLVED) ImportError: No module named site
Replies: 3
Views: 3701

Re: ImportError: No module named site

Aaaand, found it. The parent folder hat a colon ":" in the name. After I removed that symbol, it started right up. Spaces are ok, but a colon is not, definitely now what I would have expected... (I started by moving the extracted folder to another file system, which worked, and then narrow...
by martingerdes
Sun Oct 07, 2018 4:23 pm
Forum: Ren'Py Questions and Announcements
Topic: (SOLVED) ImportError: No module named site
Replies: 3
Views: 3701

Re: ImportError: No module named site

I have verified the checksum, it matched. Redownloaded it anyway, just in case. md5sum renpy-7.1.0-sdk.tar.bz2 1ceef674247f4aef1ee7e37e0960cd3f renpy-7.1.0-sdk.tar.bz2 that is the same md5sum listed in https://www.renpy.org/dl/7.1.0/checksums.txt for that file This time extracted the newly redownloa...
by martingerdes
Sun Oct 07, 2018 5:41 am
Forum: Ren'Py Questions and Announcements
Topic: (SOLVED) ImportError: No module named site
Replies: 3
Views: 3701

(SOLVED) ImportError: No module named site

I wanted to play around with Ren'Py some. So I downloaded version 7.1.0 for Linux (https://www.renpy.org/dl/7.1.0/renpy-7.1.0-sdk.tar.bz2), extracted it, and started renpy.sh I get: renpy-7.1.0-sdk$ ./renpy.sh ImportError: No module named site According to the quickstart guide: "On Linux, unpac...