[comp.sys.mac] Risk patch for Macintosh II

zimerman@phoenix.Princeton.EDU (Jacob Ben-david Zimmerman) (11/18/88)

Wow! Since I posted offering the patch for Risk to allow it to run on
the Mac II with color, my mailbox has been stuffed! To all those who
still want the patch but haven't written me, here it is, so you don't
need to do so! (not to be unfriendly but to save my mailer from a crash
:-)!
   Okay. First, I will just tell you how to do it, then afterwards I
will attempt to summarize what you've just done. My many thanks to Mr.
Aron Roberts at UCBerkeley for mailing me this info.
   To fix Risk, you need the following:
   1) a BACKUP COPY OF RISK.  NEVER ALTER ORIGINAL COPIES!
   2) ResEdit or Fedit or some other file editor.

   The patch needs to be applied starting at byte $680E (block $34,
offset $e) and consists of the following.   

   Replace:  3029 0006 C1E8 000C 48C0
   With:     303C 0200 C1FC 0156 4E71

    This should fix the problem.  In the information I was given, it was
said that you should apply a patch that corresponds to the color level
you normally run at (2bit, 8bit, etc...) but further information says
that since Risk does not use color, the 2 bit patch is fine and uses
less memory.  That is what I have given above.  It is also the only one
I could get to work, but as I am no Mac Hacker, that does not mean
much...
   Okay. What does it do?  Well, if you don't care, q_uit now. 
   Warning. As I have stated before, I do not fully understand what I am
about to repeat, so if it does not make sense to those of you who do, my
apologies.
   from Jerry_Geronimo_Whitnell@cup.portal.com:
   ...(Risk) is using the Window managers own port to draw the map.  To
draw any other windows, it saves away the bitmap.  The problem is, it is
using GetWMgrPort to get theport to figure out the size and Apple, in
its great wisdom, changed the definition of what GetWMgrPort returns
(used to be a GrafPort, now a CGrafPort.)  So Risk calculates a random
value for the size of the port, tries to allocate that much memory and
exits when it can....

   So, that is that.  Don't ask ME what it means.  I am still saving up
to afford the APDA kit. :-) There was also a note from Tone Engel
stating that MacRISK had not been intended as PD or Shareware, that he
had written it as a demo to try and sell to Parker Brothers Licensee
Virgin Games.  He concludes that, as Virgin decided against buying it,
we are all "welcome to keep (our) ill-gotten copies."  If anyone has Mr.
Engel's current address, I would be happy to send him a shareware fee. I
avoid homework with his game so often that I feel I do indeed owe him
something. :-)  Anyhow, hope you all can use this, and Enjoy MacRisk!
					-JBZimmerman!
-- 
___________           |  "A flute with no holes is not a flute. A donut
     ||               |      with no holes is a danish."
||   ||acob Zimmerman!+> <zimerman@phoenix.Princeton.EDU> INTERNET 
  ===                 |  <zimerman@PUCC>                  BITnet