[comp.sys.apple] Rogue

rdlanctot@instr.okanagan.bc.ca (Ryan Lanctot) (03/30/89)

How can yoy change the rogue file from the EXE it is now to the S16 format
needed so that it can be run from finder?  Any help is appreciated.

Ryan Lanctot
<rdlanctot@instr.okanagan.bc.ca>

farrier@Apple.COM (Cary Farrier) (03/30/89)

In article <180*rdlanctot@instr.okanagan.bc.ca> rdlanctot@instr.okanagan.bc.ca (Ryan Lanctot) writes:
>How can yoy change the rogue file from the EXE it is now to the S16 format
>needed so that it can be run from finder?  Any help is appreciated.

Use any utility which can set the filetype of a file to change the type from
$b5 (EXE) to $b3.  Be careful, though.  If the program does not end with a
ProDOS Quit call, it will crash.  Most $b5 (EXE) files are run under shells 
(such as APW) and end with an rtl.

Cary Farrier

Oh yeah, utilities which will let you change the filetype would be
the ProDOS 16 Exerciser for one.  If you have APW then type the following:
#filetype rogue $b3


-- 
+----------------------------------------------------------------+
| Applelink : farrier@goofy.apple.com@DASNET#                    |
| Internet  : farrier@apple.com                                  |
| UUCP      : {amdcad,decwrl,hoptoad,nsc,sun}!apple.com!farrier  |
+----------------------------------------------------------------+
| This message does in no way reflect the views or opinions of   |
| any organization.  In fact, they illustrate just how           |
| disorganized things really are.                                |
+----------------------------------------------------------------+

wombat@claris.com (Scott Lindsey) (03/30/89)

From article <1108@internal.Apple.COM>, by farrier@Apple.COM (Cary Farrier):

>>How can yoy change the rogue file from the EXE it is now to the S16 format
>>needed so that it can be run from finder?  Any help is appreciated.
> 
> Use any utility which can set the filetype of a file to change the type from
> $b5 (EXE) to $b3.  Be careful, though.  If the program does not end with a
> ProDOS Quit call, it will crash.  Most $b5 (EXE) files are run under shells 
> (such as APW) and end with an rtl.

If you use C (APW/MPWIIGS) you'll probably end (your code) with a call to
exit() which in turn calls _Quit, as rogue does.

Whenever I get around to another release version of rogue, I'll be sure to
release it as S16, as advertised, since most anyone who would prefer it to
be an EXE can make the change trivially.







-- 
Scott Lindsey     |"Cold and misty morning. I heard a warning borne in the air
Claris Corp.      |    About an age of power when no one had an hour to spare"
ames!claris!wombat| DISCLAIMER: These are not the opinions of Claris, Apple,
wombat@claris.com |    StyleWare, the author, or anyone else living or dead.

joseph@elbereth.rutgers.edu (Seymour Joseph) (03/30/89)

Scott,

Here are some notes on bugs in the version of rogue you posted
recently.  I look forward to playing thenext revision when you have
time to address these bugs.

1) The items in the inventory listing should be shown in alphabetical
order.  During a game they get mixed up and are never re-ordered.

2) When the game ends, the high score list is just flashed for a
second and then vanishes.   There should probably be a prompt for a
keypress here.

3) After giving a command that requires the letter of an object to
complete (such as drop, identify, throw...) you should be able to type
a question mark and see a list of applicable items.   For the eat
command it would be edible items, for the throw command, it would be
throwable weapons, for the identify command it would be unknown magic
items.... 

4) This is the most frustrating: I launch a S16 version of Rogue
either from ProSel or from the Finder.  When I load a saved game
(saved from any level after level one) using the O command the game
will crash about 50% of the time the next time I go down a stairway.
The screen will blank, there is a one or two second pause and then the
machine crashes into the monitor.   I run the game with the keypad and
mousetext options on.

I hope you have time to check into these soon.  If I can do anything
to help you pin these down, please feel free to ask.

Thanks for porting rogue and taking the time to post it!

Seymour

CHRIS@BROWNVM.BITNET (Christopher Chung) (05/12/89)

Could the person who posted Rogue please send it to APPLE2-L@BROWNVM.BITNET.
People have been asking for it but neither *I* nor Paul Nakada
(comp.apple.binaries) have received it.  Or is it a nasty rumor that it exists?

Chris

guest@tree.uucp (gray mouser) (12/16/89)

In article <8912142139.AA03062@apple.com> JC06081@UAFSYSB.UARK.EDU (John
Chapman
) writes:
>I just got hold of ROGUE from an ftp site.  It comes out as a GS Shell
>Application.  How does one execute one of these from the finder?
>
>  John  Chapman
 
 
 Change the filetype of rogue (it also works with moria) to S16 ($B3) 
 and it'll run fine.