Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
I really, really need to fix this so I can finally proceed to beta test my game. I have quick-save and quick-load in-game-menu buttons and they both work just fine. The only problem is the quicksave data don't show up on the Auto FilePage of the Save/Load Screens.
label _quick_save:
# Saves the game.
$ renpy.save('quicksave', _('Quick Save'))
return
# This is called when the quick load button is clicked, to load the
# game.
label _quick_load:
$ renpy.load('quicksave')
return
Isn't Auto FilePage the section where quicksave files can be found, or do I have to make a separate section to show the qucksaved files? I've been trying to figure this out for days. Would really appreciate some help on it.
Last edited by inahochama on Wed May 18, 2011 5:31 am, edited 1 time in total.
Completed: CAFE 0~The Drowned Mermaid~,duplicity~Beyond the Lies~, East Tower Series,How to Take Off Your Mask,CAFE 0 ~The Sleeping Beast~, How to Fool a Liar King
screen save:
# This ensures that any other menu screen is replaced.
tag menu
use navigation
frame:
has vbox
# The buttons at the top allow the user to pick a
# page of files.
hbox:
textbutton _("Previous") action FilePagePrevious()
textbutton _("Quick") action FilePage("quick")#change here
for i in range(1, 9):
textbutton str(i) action FilePage(i)
textbutton _("Next") action FilePageNext()
# Display a grid of file slots.
grid 2 5:
transpose True
xfill True
# Display ten file slots, numbered 1 - 10.
for i in range(1, 11):
# Each file slot is a button.
button:
action FileAction(i)
xfill True
style "large_button"
has hbox
# Add the screenshot and the description to the
# button.
add FileScreenshot(i)
text ( " %2d. " % i
+ FileTime(i, empty=_("Empty Slot."))
+ "\n"
+ FileSaveName(i)) style "large_button_text"
For the quicksave page to work, the files need to be named "quick-1", "quick-2", etc. IIRC, the "quicksave" filename won't be matched by the pattern used by quicksave, and so won't be loaded.
Supporting creators since 2004 (When was the last time you backed up your game?)
Is there a particular way I can name it as you mentioned above so the files can load properly, or should I just recreate a quicksave screen on its own? I'm very new to screen language so some hints would be great. I really don't want to give up on this feature because it can be quite handy.
EDIT:
Thanks to Chu-3 for this link: http://lemmasoft.renai.us/forums/viewto ... f=8&t=8028