Daily Apple

Inform 7

I had some internet connectivity issues and while I was getting them straightened out, I started looking at Inform 7.

It turns out, I didn’t need to hunt down a separate copy of Inform 6 to create my .Z5 game files.  Inform 7 uses Inform 6 to create its game files.

I have been completely sidetracked by Inform 7, which only very distantly relates to the Apple II. It lets me build game files which can be run using the Inform interpreters for the Apple //gs.

I will say that it is and amazing programming environment.  With just a few paragraphs Inform 7 expands what you write into a game environment.  For example:

Northern Area is a room.  Northern Area is north of Southern Area.

creates an extremely simple two room adventure, which include two rooms, Northern Area and Southern Area, links then with north and south exits, creates a map of the rooms and lists all the rooms and objects involved.

 

Posted in Apple //gs, Games, Programming, Projects Tagged with: , ,

Kegs

Today, I downloaded Kegs for Windows.

I downloaded another version of Kegs earlier in the month called GSPort.  I did that because GSPort was supposed to go a step further and allow printing from the emulated GS to the host PCs printer.  At this time I haven’t achieved that goal.

I have gained more experience with Kegs for Android and that lets me use Kegs for Windows easier.  I wish I had tried it sooner, it would have saved moving image files back and forth through DropBox on my Text Adventure project.

Not having an Apple //gs, I haven’t had a chance to try much of the software that was written specifically for it.  The GS OS 6 however, is fairly easy to pickup having used Macintosh System 6 on my vintage Macs.  I did install AppleWorks GS and try that out.  I’m looking forward to trying out more of the GS software.

 

 

Posted in Apple //gs, Emulation Tagged with:

Text Adventures, Part VII (Conclusion?)

After spending quite a while trying to find a Windows program that would let me transfer a file from my Windows PC to my Apple II using x or y modem, I had a thought.

I moved the ADTPro cable from my Windows PC to my Linux PC.  I started up ZLink on my Apple //c and minicom on my Linux PC, adjusted both to 9600 8N1 and transferred the file.

The next step was to move the image to my Windows PC with ADTPro, so I moved the cable back and did the transfer.  After I got the disk image on my Windows PC, I put it into DropBox and removed it from DropBox on my iRulu.

Once there I loaded up Kegs and tried opening the Advent game file.  The interpreters did not see the game file to open it.  I remembered reading the interpreters needed a specific file type.  I checked the file types on the other Infocom games and they were different.  The Infocom games were the ProDOS file type user defined 5 ($F5) and Advent was a file type TXT.

I went back to my Windows PC and loaded up CiderPress, opened up the disk image, clicked on the Advent game file and under actions I chose edit file attributes.  I changed the file type from TXT to $F5. I moved the image through DropBox to my iRulu again and the interpreters under Kegs still didn’t see the file.  I rememebered the Aux file type.

I copied the game file from the disk image to my hard drive image.  After exiting Kegs, I moved the hard disk image through DropBox to my Windows PC.  This time I looked at both file types and the Aux file type of the Infocom Games was either $8003 or $8005.  I took an educated guess that the last digit was the game type, Z3 or Z5.  Since Advent was compiled as a Z5 I changed the Aux type to $8005.  I moved the hard disk image through DropBox to my iRulu again.

Under Kegs I was able to open the Advent game using the interpreters from the Lost Classics of Infocom.

Posted in Apple //c, Apple //gs, Apple IIe Tagged with: , ,

Text Adventure, Part VI

My goal with my text adventure project is to be able to play the same game on several different systems.  In particular, I wanted to run it on my PCs, my Macs and my Apple IIs.  As a test, I downloaded Advent.inf, also known as Colossal Cave from the interactive fiction archive under source files.  I compiled it on my PC to create a game file.  I tried the game file on my PC, with Windows Frotz and it worked.  I transferred it to my Linux machine, then my MacSE and tried it with Zip Infinity (68K), it worked.

Over the last few days I have been working on getting this game file onto an Apple II diskette image.  This particular game file is almost 135K so it will go on an 800K image.  Using Ciderpress, I created a disk image and tried to add a file to it and it just said 0 files added.

I tried to transfer the file using x/y/zmodem and a communications program.  The one I had on my PC had expired, so I been searching, downloading and trying out others to see if I could find a free program that works.  No luck yet.

 

Posted in Apple //c, Apple //gs, Apple IIe, Macintosh Tagged with: , , ,

Text Adventure, Part V

At this point I have not found a compiler the will run on the Apple II line of computers.

I do have Inform version 6.32 which will work on Windows 7 and have compiled a sample file.  Over the next few days I will be in the process of moving the resulting game file to both the Apple II and the Macintosh SE to see if I can get them to run the same game file.

 

Posted in Apple //c, Apple //gs, Apple IIe Tagged with: , ,

Text Adventure, Part IV

I made a first pass through, attempting to remove the interpreter from Cutthroats.  My understanding of what was going on was imperfect to say the least, and the instructions were more for someone who knew what was going on.

Years ago, I asked my mother how she made her Macaroni and Cheese casserole and she rattled of something about making a roux and adding this and that.  When she was done I’m still thinking “a roux, what the hell is a roux?” .  I’m not a cook but I can learn, and now I make a killer Macaroni and Cheese casserole.  I had to look up roux and go from there.

In much the same way the directions from InfocomPro, assumed knowledge I did not have more than a partial grasp of.  It went something like this (don’t use these):

Boot Cutthroats.

When you get to 80 columns (Y/N) push the break.

move memory 4000<800.8FFM

boot dos disk

move memory back 800<4000.4FFFM

bsave interpreter

copy interpreter from DOS diskette to InfocomPro ProDos diskette with Copy II plus.

When I got to the move memory part I assumed I had to get into the monitor, so I looked that up (Thanks David Finnigan for your very handy book).  I moved the memory.

Booting the disk seemed counter intuitive (doesn’t that wipe memory?) but I did and then moved the memory back and bsaved it.

I tried to copy the file with Copy II Plus and that didn’t happen.  I tried several versions and finally ended up using the System Utilities 3.1, slick as you please.

At this point I have the INTERPRETER file on the InfocomPro diskette image, in order to use it I need a game file.

I put the InfocomPro diskette image in DropBox, grabbed it off with my tablet, booted Kegs with my Infocom hard drive image, inserted the InfocomPro diskette image and copied a game file to it from the hard drive image.  After putting the InfocomPro image into DropBox again and grabbing it off with my PC, I fired up AppleWin and ran Infoload on the InfocomPro diskette image, the program runs, asks for a game file and doesn’t like the interpreter (it didn’t crash, just said it wasn’t the right one).

So now I have some things to try, I can continue with the InfocomPro instructions and pull the same game file off, I used a different one, I can try the same game file from the hard drive image or maybe something to do with the memory moves.

 

 

Posted in Apple //c, Apple //gs, Apple IIe Tagged with: , ,

Text Adventures, Part III

In my internet travels, yesterday, I stumbled across a couple of things.

The first is a set of diskette images containing the Lost Treasures of Infocom for the Apple //gs, from the Big Red Computer Club.  Included are two interpreters for the Apple //gs and the game files taken from other platforms.  After copying the files to a hard drive image, I was able to run the interpreters and play some of the games.  I haven’t yet tried them all.

The important thing to me is I should be able to play other inform games on the Apple //gs.  I have yet to test any inform games.

The other item was a note from Rubywand, in April of 2000, about infocompro.shk. This note was in response to Tail Kinker’s request for help.  It explained you needed a specific interpreter and which five games had it.  They were Sorceror, Suspect, HHGTTG, Seastalker,  and Cutthroats.  I found Cutthroats right off.  When I ran it, the copyright was for 1984, one of the criteria.  When I got to the command prompt I entered $VERIFY and Cutthroats responded with INTERPRETER VERSION : B , as noted in the README file from InfocomPro.  I’m working on pulling out the interpreter and testing it and when I manage a working version I will put up a page telling how.

 

 

Posted in Apple //c, Apple //gs, Apple IIe Tagged with: , ,

Text Adventures, Part II

A typical text adventure revolves around a pretty simple model:

A. Display description (data base).

B. Get and execute commands (parser).

Repeat A and B until done.

One thing I learned way back on the PDP 11/70 was text adventures really rely on the parser to make an enjoyable game and the parser is not a trivial piece of programming.  You have to break a command line down from something like English (in my case) to something the computer understands.

In all these years, I’ve never wanted to delve into creating a parser, so I’ve looked at systems that were written by others for creating text adventures.

Eamon, on the Apple II and recently on the PC, is such a system.  I’ve looked at it off and on over the years, but it wasn’t what I wanted to write for.

TADS 2 is another system available on Macs and PC’s.  I really liked how that system works.  In January, I started writing a text adventure using TADS 2, on my Mac SE and ran into some technical difficulties.  TADS 2 on the Mac SE, didn’t give very specific errors or locations making it really difficult to debug.

The other big system for text adventures is Inform.  Inform runs on Mac’s and PC’s and supposedly on the Apple II.  I tried translating what little I had written from TADS 2 to Inform 6, but could not get it to compile on the Mac.

The nice feature of both TADS 2 and Inform 6, is once you have written your adventure and compiled it into a game file, the game file just needs to be moved to a computer with an interpreter to run it.  Both systems have a large base of interpreters to work with including vintage Macs, current Macs, and PC’s running DOS, Windows or Linux.

Posted in Apple //c, Apple IIe, Games, Macintosh Tagged with: , , , , , ,

Text Adventures, Part I

For years I have wanted to write a text adventure.  Actually decades might be more accurate.

The first time I played ADVENT on the PDP 11/70 at school had me hooked.  Later we got DUNGEO (ZORK I, II, and III) and a pattern started.

Pretty much every computer system, I’ve worked on or owned has had some form of text adventure on it.

My first computer, a Timex Sinclair zx81 with 16K RAM pack, had one on cassette.  Then the TI99/4A had several on cassette.

My Apple //c came along, and many, many more arrived.  Infocom had my loyalty for commercial versions.  ZORK (I, II and III), PLANETFALL and PLUNDERED HEARTS found a home on my computer.

When I plunged into the dark side with a PC compatible, those same games were bought.  Additionally STATIONFALL and finally the LOST CLASSICS of Infocom brought home all of their games in one package for the PC.

When I got my MacPlus and MacSE up and running, they were some of the first games I got for them.

When I say it has been something I’ve thought about for decades, you have some context.

Posted in Apple //c, Apple IIe, Games, Macintosh Tagged with: , , , , , ,

ProDOS Program Selectors, Sneeze, Followup

I liked Sneeze when I tried it on my emulators.  I downloaded it to my Apple //c, which only took three tries to find a diskette that would work.  The first two seemed to download fine, but when I went to copy files from them they had problems.

I copied four files from the downloaded diskette to my ProDOS working diskette: SNEEZE, SNEEZE.UTILS, STARTUP, and DOGPAW.  Before I started the copy, I had to rename my own STARTUP program in case I wanted to go back.

It works well, it even picks up and displays the date and time on the screen, sort of.  Today it picked up the date as March 11, 1914.  I fear war is on the horizon (July 28, 1914).

Strangely enough, when run under Kegs on my tablet, the year was 19114.  AppleWin shows 1914.

 

Posted in Apple //c, Apple IIe Tagged with: , , ,