[comp.sys.mac.programmer] Singing the NVIR blues

pcossenb@rodan.acs.syr.edu (Paul C. Ossenbruggen) (05/06/89)

Have been using LSC to develop some code. At some point our Mac II in the
lab, that is used by many people, contracted the NVIR virus. Apparently the
virus was in the computer for several days before it was discovered. In that
time I had run and built my application many times. After it was discovered
using Interferon, we used Repair to rid the system of the virus - or so I
thought.
        Now for the problem, for some reason when I run Virex on the system
it tells me that there is a non-infectious NVIR stub in my built application.
It does not detect it in any of the files used to make the application (i.e.
the LSC compiler, the project file, the external resource file or any where
else on the system.) If I run Virex to repair the built application it
removes the NVIR stub. But every time I rebuild the program, the stub
reappears. I have tried creating the project from scratch by deleting the old
project file, creating a new project, and reloading all the libraries and
source code to no avail.
        The program certainly can not ship with this stub in it and there is
the possibility that when it is distributed I may forget to run Virex to
remove this stub. Is there any way to get rid of it once and for all?

- Paul Ossenbruggen
-------------------------------------------------------------------------------
|  Paul C. Ossenbruggen                     pcossenb@rodan.acs.syr.edu        |
|  Syracuse University                      rspco@suvm.syr.bitnet             |
|                                            pcossenb@sunrise.acs.syr.edu      |

trebor@biar.UUCP (Robert J Woodhead) (05/07/89)

In article <1516@cmx.npac.syr.edu> pcossenb@rodan.acs.syr.edu writes:
>        Now for the problem, for some reason when I run Virex on the system
>it tells me that there is a non-infectious NVIR stub in my built application.

A ``non-infectious nVIR stub'' means:

	* There is a CODE 256 resource
	* It looks like the nVIR code
	* CODE 0's first jump table element does not point to it

They were sometimes created by a bug in VIREX 1.0 when it repaired nVIR; this
bug was fixed in version 1.1 and only a few copies of 1.0 got out.  They can
also be created by incorrect repairs of the file.

In your case, what has probably happened is that there is a CODE 256 resource
in your ".rsrc" file, and when you build the application, that resource is
added to your final program.  Use Resedit to check out the file of resources
attached to your project.

-- 
Robert J Woodhead, Biar Games, Inc.  !uunet!biar!trebor | trebor@biar.UUCP
"The lamb will lie down with the lion, but the lamb won't get much sleep."
     -- Woody Allen.

pcossenb@rodan.acs.syr.edu (Paul C. Ossenbruggen) (05/07/89)

In article <541@biar.UUCP> trebor@biar.UUCP (Robert J Woodhead) writes:
>
>In your case, what has probably happened is that there is a CODE 256 resource
>in your ".rsrc" file, and when you build the application, that resource is

That was it! All I did was remove the CODE 256 resource from my .rsrc file and
it went away. Now that my program is exorcised I can rest easy and go back to
singing Looney Tunes.

>Robert J Woodhead, Biar Games, Inc.  !uunet!biar!trebor | trebor@biar.UUCP

By the way, I really enjoyed the Wizardry series. It was the first computer
adventure I ever played (Apple II+). I take it you are done doing that now.


- Paul Ossenbruggen
-------------------------------------------------------------------------------
|  Paul C. Ossenbruggen                     pcossenb@rodan.acs.syr.edu        |
|  Syracuse University                      rspco@suvm.bitnet                 |
|                                            pcossenb@sunrise.acs.syr.edu      |

trebor@biar.UUCP (Robert J Woodhead) (05/08/89)

In article <1522@cmx.npac.syr.edu> pcossenb@rodan.acs.syr.edu writes:
>By the way, I really enjoyed the Wizardry series. It was the first computer
>adventure I ever played (Apple II+). I take it you are done doing that now.

At the moment, programming work on Wizardry is in the capable hands of
David Bradley, who did Wizardry V.  I helped with the design of the program
enhancements on Wiz V, and I may do Wizardry work in the future, but for
now, I'm working on other projects (some of them Games).

-- 
Robert J Woodhead, Biar Games, Inc.  !uunet!biar!trebor | trebor@biar.UUCP
"The lamb will lie down with the lion, but the lamb won't get much sleep."
     -- Woody Allen.

jmunkki@kampi.hut.fi (Juri Munkki) (05/09/89)

In article <546@biar.UUCP> trebor@biar.UUCP (Robert J Woodhead) writes:
>In article <1522@cmx.npac.syr.edu> pcossenb@rodan.acs.syr.edu writes:
>>By the way, I really enjoyed the Wizardry series. It was the first computer
>>adventure I ever played (Apple II+). I take it you are done doing that now.
>
>At the moment, programming work on Wizardry is in the capable hands of
>David Bradley, who did Wizardry V.  I helped with the design of the program
>enhancements on Wiz V, and I may do Wizardry work in the future, but for
>now, I'm working on other projects (some of them Games).

I've only got Wizardry 1-3 for my Apple II+ and Wizardry I for the Macintosh.
I assume Wizardry IV and V are available for the Apple II family only? It
would be nice to be able to play the new scenarios on the Macintosh too.
I don't think I'm going to try them on my apple II, because Legacy of Llygamyn
was already way too slow to be enjoyable.

_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
|     Juri Munkki jmunkki@hut.fi  jmunkki@fingate.bitnet        I Want   Ne   |
|     Helsinki University of Technology Computing Centre        My Own   XT   |
^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^

ted@ut-emx.UUCP (Ted Woodward) (05/09/89)

In article <546@biar.UUCP>, trebor@biar.UUCP (Robert J Woodhead) writes:
> At the moment, programming work on Wizardry is in the capable hands of
> David Bradley, who did Wizardry V.  I helped with the design of the program
> enhancements on Wiz V, and I may do Wizardry work in the future, but for
> now, I'm working on other projects (some of them Games).
> 
> -- 
> Robert J Woodhead, Biar Games, Inc.  !uunet!biar!trebor | trebor@biar.UUCP
> "The lamb will lie down with the lion, but the lamb won't get much sleep."
>      -- Woody Allen.

Are there any plans for more Wizardry releases for the mac?  Proving Grounds
was done very well, and I'd like to see more--specifically 4 & 5.

'What do you mean, "werdna resists my mabadi!!!!!" '


Ted (ted@emx.utexas.edu)--------------------'Laugh while you can, monkey boy!'

trebor@biar.UUCP (Robert J Woodhead) (05/09/89)

In article <12879@ut-emx.UUCP> ted@ut-emx.UUCP (Ted Woodward) writes:
>Are there any plans for more Wizardry releases for the mac?  Proving Grounds
>was done very well, and I'd like to see more--specifically 4 & 5.

Mac Wizardry is being rewritten by Terry Monks, and a new PGMO, plus KOD
and LOL will be out this summer with major user interface improvements
and without copy protection.

Return of Werdna may not get done for the Mac because of the huge amount
of reprogramming that would have to be done; it really is a totally different
program than Wiz 1-3.

Heart of the Maelstrom (and future Wizardries) uses a new version of the
Wizardry program, upgraded from the original one used in I-III; it will
almost certainly be ported to the Mac, probably in the next year or so.

-- 
Robert J Woodhead, Biar Games, Inc.  !uunet!biar!trebor | trebor@biar.UUCP
"The lamb will lie down with the lion, but the lamb won't get much sleep."
     -- Woody Allen.