Skip to content

Commit

Permalink
Prep for release
Browse files Browse the repository at this point in the history
- Update Inform6 to v6.36
- Update PunyInform to v3.4
- Include PunyInform in the repo and copy the relevant files during build
  • Loading branch information
Kroc committed Jan 25, 2022
1 parent bee1fa8 commit 665c147
Show file tree
Hide file tree
Showing 27 changed files with 80 additions and 9,405 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ __*
# the release binary does not need to be in the repo;
# we'll produce these locally and zip for release
release/inform6.exe
# the PunyInform libraries will be copied in by the
# build script so don't need to be in the repo
release/howto/*
release/lib/*

# unrelated junk files
**/Thumbs.db
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "inform6-src"]
path = inform6-src
url = https://github.com/Kroc/Inform6.git
[submodule "PunyInform"]
path = PunyInform
url = https://github.com/johanberntsson/PunyInform.git
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Inform6 for EPOC32 #
# Inform6 for EPOC32 #

Write (and play!) Interactive Fiction (a.k.a "text adventures") directly on your [Psion 5][Series5] Series / 5mx and other [EPOC32]-based devices!

![Screenshot of an Inform6/PunyInform text file being edited on an EPOC32 emulator](readme_informer.png)

This is an updated build (v6.35) of [Inform6] for EPOC32 devices; I.e. Psion 5 Series, 5 mx, 5 mx Pro, Revo, Series 7, netBook & netPad and other licenced devices including Geofox One, Osaris, Diamond Mako and Ericsson MC218.
This is an updated build (v6.36) of [Inform6] for EPOC32 devices; I.e. Psion 5 Series, 5 mx, 5 mx Pro, Revo, Series 7, netBook & netPad and other licenced devices including Geofox One, Osaris, Diamond Mako and Ericsson MC218.

The [IF Archive] has a [build of v6.21](http://www.ifarchive.org/indexes/if-archiveXinfocomXcompilersXinform6Xexecutables.html
) from 1999 produced by Simon Quinn, but this was not up to date enough to work with [PunyInform], a library for producing text-adventures compact and lightweight enough to run on old hardware.
Expand Down
15 changes: 13 additions & 2 deletions build_rel.bat
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,29 @@ ECHO ---------------------------------------------------------------------------
CALL "group\build_marm.bat" rel
IF ERRORLEVEL 1 PAUSE & EXIT /B 1

ECHO * Copy PunyInform Library...

COPY /Y "PunyInform\lib\*.h" "release\lib"
COPY /Y "PunyInform\releasenotes.txt" "release\lib\releasenotes.txt"
COPY /Y "PunyInform\LICENSE" "release\licences\puny-licence.txt"
COPY /Y "PunyInform\*.inf" "release\howto"
REM # (the test-bench will never run in the RAM limits of a Psion)
DEL /F /Q "release\howto\testbench.inf" >NUL 2>NUL
COPY /Y "PunyInform\howto\*.inf" "release\howto"

ECHO:
ECHO * Make release bundle...

SET "BIN_ZIP=bin\7zip\7za.exe"
PUSHD "release"

REM # copy over the compiled executable into the release folder
COPY /Y \EPOC32\Release\MARM\Rel\INFORM6.EXE /B inform6.exe /B >NUL
COPY /Y "\EPOC32\Release\MARM\Rel\INFORM6.EXE" /B "inform6.exe" /B >NUL

REM # remove the old release ZIP file
DEL /F /Q "inform6*.zip" >NUL 2>NUL

..\%BIN_ZIP% a "inform635-epoc32-puny25.zip" ^
..\%BIN_ZIP% a "inform636-epoc32-puny34.zip" ^
-bso0 -bsp1 -bse0 -tzip -r -mx9 -mfb258 -mpass15 ^
-x!Desktop.ini -x!Thumbs.db -x!.* -- *
IF ERRORLEVEL 1 PAUSE
Expand Down
2 changes: 1 addition & 1 deletion group/build_marm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PUSHD %~dp0
SET "VARIANT=%~1"
IF [%VARIANT%] == [] SET "VARIANT=rel"

SET "USERDEFS="
SET "USERDEFS= -DUSE_OLD_TIME_API "
CMD /C makmake inform6 marm
nmake /NOLOGO /S /F INFORM6.MARM %VARIANT%

Expand Down
2 changes: 1 addition & 1 deletion group/build_wins.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ IF [%VARIANT%] == [] SET "VARIANT=deb"
ECHO Warnings disabled for batch build:
ECHO -- use VC++ to build with warnings
ECHO:
SET "USERDEFS= /noover /w "
SET "USERDEFS= /noover /w -DUSE_OLD_TIME_API "
CMD /C makmake inform6 wins
nmake /NOLOGO /S /F INFORM6.WINS %VARIANT%

Expand Down
1 change: 1 addition & 0 deletions group/makmake-vc5.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ECHO Make work directories:
CMD /C makmake -makework inform6 wins
ECHO OK
ECHO Make Visual C++ Project:
SET "USERDEFS= -DUSE_OLD_TIME_API "
CMD /C makmake inform6 vc5
ECHO OK

Expand Down
2 changes: 1 addition & 1 deletion inform6-src
Submodule inform6-src updated 25 files
+5 −1 README.md
+102 −4 ReleaseNotes.html
+171 −114 arrays.c
+272 −195 asm.c
+76 −71 bpatch.c
+2 −2 chars.c
+83 −46 directs.c
+35 −21 errors.c
+83 −45 expressc.c
+227 −192 expressp.c
+81 −91 files.c
+253 −150 header.h
+49 −66 inform.c
+333 −157 lexer.c
+128 −112 linker.c
+175 −593 memory.c
+480 −356 objects.c
+2 −2 readme.txt
+54 −49 states.c
+253 −201 symbols.c
+39 −25 syntax.c
+60 −60 tables.c
+554 −301 text.c
+52 −34 veneer.c
+398 −144 verbs.c
153 changes: 0 additions & 153 deletions release/cloak.inf

This file was deleted.

150 changes: 0 additions & 150 deletions release/howto/change_player.inf

This file was deleted.

Loading

0 comments on commit 665c147

Please sign in to comment.