Skip to content

Commit

Permalink
add backup guide and updates to 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronya-Rand committed Oct 23, 2020
1 parent cccba33 commit 5a63b16
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions launcher/game/android.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ init python:

DEBUG_TEXT = _("Selects the Debug build, which can be accessed through Android Studio. Changing between debug and release builds requires an uninstall from your device.")
RELEASE_TEXT = _("Selects the Release build, which can be uploaded to stores. Changing between debug and release builds requires an uninstall from your device.")
GUIDE_TEXT = _("Opens guide.pdf which goes through the process of releasing mods to Android that are Team Salvato IPG compliant.")


import subprocess
Expand Down Expand Up @@ -312,7 +313,7 @@ screen android:
has vbox

label _("Android: [project.current.display_name!q]")
text _("While Ren'Py will ask you to setup app purchases and such, this is against Team Salvato's IPG for mods. Please do not set these settings up. Refer to {i}guide.pdf{/i} for more info.")
text _("Before continuing, refer to {b}Building Your Mod{/b} in {i}guide.pdf{/i} for building mods for Android.")

add HALF_SPACER

Expand Down Expand Up @@ -421,7 +422,10 @@ screen android:
textbutton _("Logcat"):
action AndroidIfState(state, ANDROID_NO_KEY, Jump("logcat"))
hovered tt.Action(LOGCAT_TEXT)


textbutton _("Open {i}guide.pdf{/i}"):
action OpenDirectory(config.basedir + "/templates/guide.pdf")
hovered tt.Action(GUIDE_TEXT)

# Right side.
frame:
Expand Down
2 changes: 1 addition & 1 deletion launcher/game/new_project.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ init python:
import zipfile
import shutil
try:
with zipfile.ZipFile(config.basedir + "/templates/DDLCModTemplate-2.3.0.zip", "r") as z:
with zipfile.ZipFile(config.basedir + "/templates/DDLCModTemplate-2.4.0.zip", "r") as z:
z.extractall(persistent.pd)
except:
shutil.rmtree(persistent.pd)
Expand Down
Binary file not shown.
Binary file added templates/guide.pdf
Binary file not shown.

0 comments on commit 5a63b16

Please sign in to comment.