Skip to content

Commit

Permalink
[template] update to 2.3.0 and option changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronya-Rand committed May 8, 2020
1 parent ddec5b5 commit 6cc14c0
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 31 deletions.
8 changes: 6 additions & 2 deletions launcher/game/about.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,13 @@ screen about:

null height 15

text _("[version!q]") xalign 0.5 bold True
text _("DDMMaker [config.version!q]") xalign 0.5 bold True

null height 20
null height 5

text _("Ren'Py " + renpy.version().split()[1]) xalign 0.5 bold False

null height 15

textbutton _("View license") action interface.OpenLicense() xalign 0.5

Expand Down
7 changes: 5 additions & 2 deletions 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.2.4-Standard.zip", "r") as z:
with zipfile.ZipFile(config.basedir + "/templates/DDLCModTemplate-2.3.0.zip", "r") as z:
z.extractall(persistent.pd)
except:
shutil.rmtree(persistent.pd)
Expand Down Expand Up @@ -208,7 +208,10 @@ label mpt:

python:
import glob
interface.info(_("Installing Mood Pose Tool requires you to download the Unpacked ZIP from http://bit.ly/DDLC_MPT_v1p0"), _("Download the ZIP and put it in your DDLC ZIP Directory."),)
if renpy.macintosh:
interface.info(_("Installing MPT requires you to download the {i}unpacked{/i} ZIP from {i}http://bit.ly/DDLC_MPT_v1p0{/i}"), _("Download MPT's ZIP and place it in the directory where {i}ddlc-mac.zip{/i} is located."),)
else:
interface.info(_("Installing MPT requires you to download the {i}unpacked{/i} ZIP from {i}http://bit.ly/DDLC_MPT_v1p0{/i}"), _("Download MPT's ZIP and place it in the directory where {i}ddlc-win.zip{/i} is located."),)
project_name = ""
while True:
project_name = interface.input(
Expand Down
2 changes: 1 addition & 1 deletion launcher/game/options.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ init -1 python hide:
# These control the name and version of the game, that are reported
# with tracebacks and other debugging logs.
config.name = "Doki Doki Mod Maker"
config.version = renpy.version().split()[1]
config.version = "1.0.5"

#####################
# Themes
Expand Down
26 changes: 0 additions & 26 deletions renpy/common/00build.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,6 @@ init -1500 python in build:
("update/", None),
("common/", None),
("update/", None),
( "audio.rpa", None),
( "fonts.rpa", None),
( "images.rpa", None),
( "DDLCModTemplate.xcodeproj/", None),
( "original_scripts/", None),
( "XCODE.md", None),
( "README.md", None),
( "images.rpa", None),
( "Config.xcconfig", None),
( "renpy-version.txt", None),

("icon.ico", None),
("icon.icns", None),
Expand Down Expand Up @@ -216,20 +206,6 @@ init -1500 python in build:

archives.append((name, make_file_lists(file_list)))

archive("archive", "all")
archive("scripts", "all")
archive("mod_assets", "all")
classify("game/**.rpyc", "scripts")
classify("game/**.rpy", None)
# Possible Common Credits/Hints Files
classify("game/**.txt", "scripts")
classify("game/**.chr", "scripts")
classify("game/**.pdf", "scripts")
classify("game/**.doc", "scripts")
classify("game/**.docx", "scripts")
classify("game/**.rtf", "scripts")
classify("game/mod_assets/**", "mod_assets")

# Documentation patterns.

documentation_patterns = [ ]
Expand Down Expand Up @@ -351,8 +327,6 @@ init -1500 python in build:

packages.append(d)

package("pc", "zip", "windows linux mac renpy all", "DDLC Ren'Py 7 Compatible Mod")

# Data that we expect the user to set.

# A base name that's used to create the other names.
Expand Down
Binary file not shown.

0 comments on commit 6cc14c0

Please sign in to comment.