diff --git a/launcher/game/android.rpy b/launcher/game/android.rpy index 21f6b8e..18d7c78 100644 --- a/launcher/game/android.rpy +++ b/launcher/game/android.rpy @@ -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 @@ -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 @@ -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: diff --git a/launcher/game/new_project.rpy b/launcher/game/new_project.rpy index 97ed342..1e63b9d 100644 --- a/launcher/game/new_project.rpy +++ b/launcher/game/new_project.rpy @@ -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) diff --git a/templates/DDLCModTemplate-2.3.0.zip b/templates/DDLCModTemplate-2.4.0.zip similarity index 59% rename from templates/DDLCModTemplate-2.3.0.zip rename to templates/DDLCModTemplate-2.4.0.zip index 3070c5e..608772e 100644 Binary files a/templates/DDLCModTemplate-2.3.0.zip and b/templates/DDLCModTemplate-2.4.0.zip differ diff --git a/templates/guide.pdf b/templates/guide.pdf new file mode 100644 index 0000000..ebf9564 Binary files /dev/null and b/templates/guide.pdf differ