Welcome, Guest. Please login or register.

Author Topic: An icon to start the game T-zer0 with maximum Chip RAM *solved*  (Read 2431 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline A4000_MadTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 1392
    • Show all replies
Hi guys,

To have maximum Chip RAM available the game SuperStardust is able to reboot the Amiga straight into the game. I would like to create an icon to do the same with the game T-zer0 so that my daughter can play it on her A1200 Desktop running OS3.9.



I have T-zero installed in Work of her hard drive and can start the game with maximum Chip RAM by choosing to 'Boot With No Startup-Sequence' and then typing the following:-

C:setpatch
Assign T0: Work:T0
cd Work:T0
T-zer0


I could manage to create an icon to execute the above commands, but I don't know how to make the Amiga automatically reboot and carry them out. I have a file named 'reboot' which makes the Amiga do just that, so prehaps I could include this somehow?

Any ideas please?

Thanks  
A4000 Mad
 

Offline A4000_MadTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 1392
    • Show all replies
Re: An icon to start the game T-zer0 with maximum Chip RAM
« Reply #1 on: March 23, 2008, 09:08:02 PM »
Thank you for your help :-)

I've started with the suggestion from jmbattle:-

 http://aminet.net/util/cli/rebootscript.lha


This reboots the Amiga fine and seems simple enough to use. I've put the files Runscript and Writescript in Workbench:C and added the line Runscript to my Startup-Sequence.

I can start the game Galaxians with a simple line added to an icon or by typing it at Execute command.....

Writescript HD1:Games/Galaxians/Galaxians

However, it appears I will have to start T-zer0 with just the one command line as well.

Can anyone tell me how to put the following into one command line beginning with the word Writescript if it is at all possible?


C:setpatch
Assign T0: Work:T0
cd Work:T0
T-zer0

A4000 Mad
 

Offline A4000_MadTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 1392
    • Show all replies
Re: An icon to start the game T-zer0 with maximum Chip RAM
« Reply #2 on: March 23, 2008, 09:18:58 PM »
Thanks moto,

I've tried having two icons. One containing the script and the other pointing to it with a command line like:-

Writescript HD1:T0/Start-icon

But I get a report that my script icon is not executable, even though it has Executable ticked and its default tool is iconx.


EDIT - I've just put the commands in a script created with EditPad, but this is also reported as not being executable after the Amiga reboots.  

A4000 Mad
 

Offline A4000_MadTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 1392
    • Show all replies
Re: An icon to start the game T-zer0 with maximum Chip RAM
« Reply #3 on: March 24, 2008, 02:04:27 AM »
Just to say that this is now solved :-)



I hit a bit of a snag with finding an icon that was executable after the Amiga rebooted. In the end I just edited a copy of my Startup-Sequence and put it in the T0 drawer. My 'Start T-zer0' icon, which has the default tool iconx, gives the single command:-

Writescript Work:T0/Startup-Sequence

and the script which I have just left named as Startup-Sequence reads:-

C:Setpatch QUIET
Assign T0: Work:T0
cd Work:T0
T-zer0

I have now left the 'Start T-zer0' icon out so that Dana (6) can start the game and I will certainly be using  http://aminet.net/util/cli/rebootscript.lha again :pint:

:cheers:


 
A4000 Mad