Amiga.org

Amiga computer related discussion => Amiga Gaming => Topic started by: A4000_Mad on July 20, 2007, 02:41:25 PM

Title: 3D game Testament..... file is not executable?
Post by: A4000_Mad on July 20, 2007, 02:41:25 PM
Hi,

(http://i120.photobucket.com/albums/o164/Cyberstorm604e/Testament.png)

Due to not quite having enough memory for it to run properly after booting into OS3.9, I'm trying to start the 3D game Testament by switching on with both mouse buttons held down and choosing to 'Boot With No Startup-Sequence'.

(the problems I'm getting are a yellow alert "Memory allocation error !", failure of the game to start at all, or missing sound effects in the game)

After booting without startup-sequence I'm typing:-

cd Work:Games2/Testament
Testament

But this just gives the report "testament: file is not executable"

I believe that the big and colourful Testament icon activates the file 'Testament.exe' as this also starts the game from inside Workbench. But if I type Testament.exe instead of Testament, I get the request "Please insert volume ENV in any drive" with the choices to Retry or Cancel. Clicking Retry does nothing and clicking Cancel gives the report:-

testament.exe
Program failed (error #80000004).
Suspend              Reboot



Can anyone be of help please?
Title: Re: 3D game Testament..... file is not executable?
Post by: jj on July 20, 2007, 03:11:57 PM
just create an assgin env: ram:
Title: Re: 3D game Testament..... file is not executable?
Post by: A4000_Mad on July 20, 2007, 03:30:46 PM
Thanks JJ but could you be more specific please as it has made no difference to type:-

ASSIGN Env: Ram:

as well as my others:-

cd Work:Games2/Testament
Testament

OR

cd Work:Games2/Testament
Testament.exe



Title: Re: 3D game Testament..... file is not executable?
Post by: Ancalimon on July 20, 2007, 03:47:56 PM
Try "iconx testament"

Or try ed testament and see if its a script and see what it does.
Title: Re: 3D game Testament..... file is not executable?
Post by: A4000_Mad on July 20, 2007, 04:07:05 PM
Thanks FaLLeNOnE

For 'iconx testament' i got the report "iconx is used from Workbench only".

And for 'Ed Testament' i just got a window titled Ed 2.00 with the word "testament.exe" inside of it.


If I click on the Icon tab of the Testament screengrab above it shows that the default tool is indeed iconx. However, there is no problem to start Nigel Mansell racing after choosing 'Boot Without Startup-Sequence'. Nigel Mansell racing also has the default tool of iconx, but I just need to type:-

cd Work:Mansell
Mansell

and away it goes. Vrooom!
Title: Re: 3D game Testament..... file is not executable?
Post by: Ancalimon on July 20, 2007, 04:25:11 PM
one last guess. right click on the testament.exe after shoosing show all files from the menu. and check if executable has tick on it.
Title: Re: 3D game Testament..... file is not executable?
Post by: A4000_Mad on July 20, 2007, 04:33:35 PM
Yes there are ticks on Read, Write, Delete and Execute
Title: Re: 3D game Testament..... file is not executable?
Post by: Ancalimon on July 20, 2007, 04:35:48 PM
are you using the AmigaOS Rom Update thats installed by setpatch? Maybe it is causing the problem?
Title: Re: 3D game Testament..... file is not executable?
Post by: A4000_Mad on July 20, 2007, 04:48:17 PM
Pass! To be honest I'm not sure exactly what happens when you boot without startup-sequence. Is a setpatch used and are the drawers ENV, T and Clipboards even put into RAM?

Anyway, it's an AMIGA A1200 Desktop with Blizzard 030 Mk IV running OS3.9

Oh.... the game runs from the 3 floppy fisks fine, but we don't want to keep using those when we have a hard drive of course.
Title: Re: 3D game Testament..... file is not executable?
Post by: Matt_H on July 20, 2007, 05:21:46 PM
Try booting with no startup-sequence and then

Assign ENV: RAM:
Execute [your path]/Testament

Anything with the default tool IconX is a DOS script. IconX is just a simple way to run scripts from Workbench. The Execute command is the way to run those from the Shell.

Edit: Also check the game's original startup-sequence on the floppy to see if it does anything unusual. Try looking for a WHDLoad install or entering the Early Startup Menu before the 3.9 updates are kicked in.
Title: Re: 3D game Testament..... file is not executable?
Post by: A4000_Mad on July 20, 2007, 05:34:25 PM
Thanks Matt

ASSIGN ENV: RAM:

followed by 'Execute Work:Games2/Testament/Testament' gave two lines:-

testament.exe: Unknown command
testament.exe failed returncode 10

Will have a look at the startup-sequence on the floppy disk etc next.....

Title: Re: 3D game Testament..... file is not executable?
Post by: Ancalimon on July 20, 2007, 05:59:18 PM
click on the testament icon and choose information from menu by right clicking and check how much stack is reserved for testament.
turn off wait and turn on the machine holding both mouse buttons so as not to allow setpatch reboot the machine with the romupdate.

boot with no s-s

dont forget the:
assing env: ram:
and
assign t: ram:

use this command:
"setpatch noromupdates" or
"setpatch noromupdate" without the quotes.

now:
first enter the path

Work:Games2/Testament

then type:

stack x (x is the stack reported in the testament icon)
for example: stack 100000

then type

testament.exe

any luck?
Title: Re: 3D game Testament..... file is not executable?
Post by: A4000_Mad on July 20, 2007, 06:13:52 PM
Quote

Matt_H wrote:
entering the Early Startup Menu before the 3.9 updates are kicked in.



I wasn't sure what you meant by that Matt, but it looks like FaLLeNOnE has just explained it.


The floppy disk startup-sequence is:-

setpatch quiet
assign env: ram:
testament.exe

So I tried typing:-

setpatch quiet
assign env: ram:
Work:Games2/Testament/Testament.exe :oops:

The HDD light flashed for about 1 second then the screen went dark followed by nothing else happening.

There is no WHDLoad installer, probably because there is a hard drive installer on disk 1.


@ FaLLeNOnE

Will give that a shot next thanks :-)
Title: Re: 3D game Testament..... file is not executable?
Post by: rkauer on July 20, 2007, 06:48:22 PM
 Hi Mad.

 Follow those steps:

 - Download and install in your C: drawer the program "happyenv" (mountenv);

 - Boot the amiga with NO S-S;

 - On DOS prompt call the mountenv, then GO TO GAME'S DIRECTORY BEFORE CALL THE GAME'S EXECUTABLE!!!!

 - Or (on the game's directory/drawer/watheverNameYouCall) type EXECUTE "NameOfTheGame'sScript".
Title: Re: 3D game Testament..... file is not executable?
Post by: A4000_Mad on July 20, 2007, 07:16:06 PM


@ FaLLeNOnE and Matt H

Well those 'setpatch noromupdate' and 'stack x' command have made all the difference so far thanks :pint:

However, I'm still getting yellow reports of "Memory allocation error !" at the beginning and during the game, plus variable missing sound problems. The stack was 4096. We've got 30 meg of fast memory so I don't know why I'm getting the yellow memory alert and sound faults?


@ rkauer

Thanks mate :-)
Title: Re: 3D game Testament..... file is not executable?
Post by: Matt_H on July 20, 2007, 07:16:08 PM
Oops. What happened was, since the script file just has "testament.exe" in it, it was looking for it in the path you ran the script from (probably SYS:, the default with no s-s), rather than where it actually was ([your path]). CD to that directory first and try again.

EDIT: Er, yeah, what rkauer said.
Title: Re: 3D game Testament..... file is not executable?
Post by: A4000_Mad on July 21, 2007, 12:46:15 AM
Just to say thanks again and all is working fine now :-)

I'm pleased to know how to get this game to work after booting without startup-sequence and to use 'setpatch noromupdate' and 'stack' commands.

As suggested I switched on the A1200 while keeping both mouse buttons held down.

Then I typed:-

Assign Env: Ram:
setpatch noromupdate
cd Work:Games2/Testament
stack 4096
Testament.exe


:cheers:
Title: Re: 3D game Testament..... file is not executable?
Post by: Ancalimon on July 21, 2007, 02:05:20 AM
And thanks for making me happy too as it feels great that I still remember how to do all these stuff! :)
Title: Re: 3D game Testament..... file is not executable?
Post by: A4000_Mad on July 21, 2007, 03:01:35 PM
Yeah it sure makes you happy if you can remember something to help someone out. It makes the years of trial, error and frustration seem much more worthwhile  :violin:  :lol:

Oh.... Your instructions got the game started ok, but a fresh install of Testament was needed to fix the sound problems and stop the yellow "Memory allocation error !" reports  8-)