Welcome, Guest. Please login or register.

Author Topic: something (GUI) to launch games  (Read 2447 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline lionstormTopic starter

something (GUI) to launch games
« on: October 08, 2003, 08:28:37 AM »
Hi all,
I owned 2 A1200s :
My daily one A1200PPC, OS3.9, BVPPC, SCSI HD
My game machine A1200-B1260-IDE HD
Besides transfering files between them, I would like to launch games without using the mouse. Ideally the game machine would boot up and show me a menu of games and I would just type 1 return to start playing SWOS for instance, 10 to go to the WB etc.
Is there something able to do that ?
Lio
 

Offline Amiga1200PPC

  • Newbie
  • *
  • Join Date: Sep 2002
  • Posts: 25
    • Show only replies by Amiga1200PPC
Re: something (GUI) to launch games
« Reply #1 on: October 08, 2003, 08:41:12 AM »
Try Toolmanager or something like that.
 

Offline lionstormTopic starter

Re: something (GUI) to launch games
« Reply #2 on: October 08, 2003, 11:11:22 AM »
@ Wishmaster : toolmanager needs the mouse and I would prefer not to.
Lio
 

Offline Amiga1200PPC

  • Newbie
  • *
  • Join Date: Sep 2002
  • Posts: 25
    • Show only replies by Amiga1200PPC
Re: something (GUI) to launch games
« Reply #3 on: October 08, 2003, 11:16:25 AM »
Hack a little script and put it into s:user-startup.

e.g.

requestfile games: > env:startgame
wbrun $startgame
 

Offline Jope

Re: something (GUI) to launch games
« Reply #4 on: October 08, 2003, 11:26:02 AM »
Well, if you don't need anything flashy, just do it like all the lamers did with their packdisks back in the day, when the future was bright and Commodore wasn't dead:

Create a text file with the numbers and corresponding games in it:

1 - excellent game
2 - even better game
3 - this game isn't very good but my sister wants to play it

then in your s:startup-sequence:

type menu <- or what ever you named the above text file
cd sys:launchdir

now in sys:launchdir you make shell scripts that launch each game:

The following will have the name "1"

cd sys:games/excellentgame
assign excellentgame: ""
excellentgame

or what ever the game needs to get going.

Protect these numbered scripts SRWED so you don't have to use the execute command.

protect 1 srwed

(how difficult ;-)

Now, when you boot the machine, the startup-sequence first types the menu to the screen, then changes into the directory where your start scripts are.

Then you press 1 and the script called 1 starts and loads the game.

Of course you probably want to rename your original startup-sequence as something else so you can boot the machine normally when you want to..

And I don't want to hear you saying it's hard! It isn't, just do it one step at a time and ask for clarifications. In the same time you'll learn something about AmigaDOS.

Good luck! :-)
 

Offline lionstormTopic starter

Re: something (GUI) to launch games
« Reply #5 on: October 08, 2003, 11:26:22 AM »
thanks but I am no coder at all. Anything on aminet that would come to mind ?
Lio
 

Offline Jope

Re: something (GUI) to launch games
« Reply #6 on: October 08, 2003, 11:34:56 AM »
Come on, you'll never learn if you don't try. This doesn't need a coder, just a person who's willing to give it a go. ;-)
 

Offline Amiga1200PPC

  • Newbie
  • *
  • Join Date: Sep 2002
  • Posts: 25
    • Show only replies by Amiga1200PPC
Re: something (GUI) to launch games
« Reply #7 on: October 08, 2003, 11:38:26 AM »
There are several tools on Aminet, try them.
launchpad, lazybench, selector etc.
 

Offline lionstormTopic starter

Re: something (GUI) to launch games
« Reply #8 on: October 08, 2003, 01:14:34 PM »
@Jope : no offense, my reply was to Wishmaster. Will try your little dos script. Do I put it right after setpatch or just before loadWB ?
Lio
 

Offline Jope

Re: something (GUI) to launch games
« Reply #9 on: October 08, 2003, 01:35:56 PM »
My lame example was something that replaces the entire startup-sequence.. (of course rename the original first so you don't lose it)

Basically if you want to run games, you usually don't need all that stuff that is loaded in the normal startup, just setpatch..

Then if you want to run the normal startup, you can make a number-script for that too or just execute s:startup-sequence.original or whatever you decided to call it.

I assume the machine will be used mainly for playing games?
 

Offline lionstormTopic starter

Re: something (GUI) to launch games
« Reply #10 on: October 08, 2003, 01:41:22 PM »
@ Jope : yes, thats why I bought a second amiga. I installed OS3.1 and a few needed programs like unzip, lha, adf, dms, dopus, fms and whdload.
Lio
 

Offline lionstormTopic starter

Re: something (GUI) to launch games
« Reply #11 on: October 08, 2003, 02:16:49 PM »
is it not better to include if so that I will not have a lot of lauching files but only one ?
Just a thought
Lio