Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: xeron on January 26, 2003, 07:21:16 PM

Title: robotfindskitten for AmigaOS
Post by: xeron on January 26, 2003, 07:21:16 PM
I was bored, so I've spent this evening bringing the "Zen simulation" known as robotfindskitten to AmigaOS.

Ports exist for DOS, Linux, Java, web-cgi, Gameboy, Dreamcast and Atari 2600.

AmigaOS version homepage (http://www.bag-o-shite.co.uk/robotfindskitten/)
robotfindskitten.org (http://www.robotfindskitten.org)

It should run on all Amigas with Kickstart 3.0 and above, and probably crash on amigas with older kickstarts.
Title: Re: robotfindskitten for AmigaOS
Post by: gnarly on January 26, 2003, 08:06:40 PM
Dude! Thats todally sweet!

Now go and port something useful like the GTK or QT libraries ;-)
Title: Re: robotfindskitten for AmigaOS
Post by: xeron on January 26, 2003, 08:14:34 PM
Uuuhhh... no. I don't *do* ports. I hate most of the stuff that gets ported from *ix to the Amiga.

robotfindskitten was re-written from scratch for AmigaOS :)
Title: Re: robotfindskitten for AmigaOS
Post by: gnarly on January 26, 2003, 11:24:26 PM
Fair enough.

How about I rephrase "port" to "reimpliment" or something? :-)
Title: Re: robotfindskitten for AmigaOS
Post by: L8-X on January 26, 2003, 11:33:52 PM
LOL

A bear peeing in the woods.....normally they sh*t in the woods don`t they? ;-)  :-D
Title: Re: robotfindskitten for AmigaOS
Post by: Ryu on January 26, 2003, 11:38:12 PM
You know L8-X Enigma rule :-)
Title: Re: robotfindskitten for AmigaOS
Post by: xeron on January 27, 2003, 09:13:42 AM
Quote

How about I rephrase "port" to "reimpliment" or something? :-)


OK, you can hire me to work full time on these projects for £35k per annum (minimum).

I am a professional software engineer (don't judge me by the source of robotfindskitten, though :) ), and I am capable of projects of that magnitude.

The thing is, my spare time is limited, and I want to devote some of it to my friends, my family, my girlfriend, drinking beer, you know, having a life.

So, if you want those things for Amiga, just give me the salary so I can take a year or two off work to do it.  :-D
Title: Re: robotfindskitten for AmigaOS
Post by: iamaboringperson on January 27, 2003, 08:01:47 PM
kool game dood!
and it works on my graphics card too!
:-D
very philisophical!
Title: Re: robotfindskitten for AmigaOS
Post by: KennyR on January 27, 2003, 08:58:08 PM
Argh, Nixon's nose! :^|
Title: Re: robotfindskitten for AmigaOS
Post by: Desmon on January 28, 2003, 09:23:13 AM
@Tickly
Quote

AmigaOS version homepage (http://www.bag-o-shite.co.uk/robotfindskitten/)
robotfindskitten.org (http://www.robotfindskitten.org)

It should run on all Amigas with Kickstart 3.0 and above, and probably crash on amigas with older kickstarts.

Downloaded the archive last night and tried it on both the Amithlon box and the A3000. After adding an icon (Bender, the robot from the BenderIRC archive) to the executable and running it from WB, it brought down Amithlon very quickly. Wouldn't run on the A3000 either. Running it from a shell window got me a message to say it couldn't find nintendo.font.
Any chance of telling me where I might find the font?
Title: Re: robotfindskitten for AmigaOS
Post by: xeron on January 28, 2003, 09:31:24 AM
Quote

Desmon wrote:
running it from WB, it brought down Amithlon very quickly. Wouldn't run on the A3000 either.


Thats odd... Amiga E adds all the workbench startup stuff automatically, it should never crash! I'll investigate this evening...

Quote

Running it from a shell window got me a message to say it couldn't find nintendo.font.
Any chance of telling me where I might find the font?


Yes. Its in the archive. Either copy it to your fonts dir, or do this:

assign fonts: path:to/the/game/fonts add
Title: Re: robotfindskitten for AmigaOS
Post by: Desmon on January 28, 2003, 09:43:58 AM
@Tickly
Quote

Quote

running it from WB, it brought down Amithlon very quickly. Wouldn't run on the A3000 either.


Thats odd... Amiga E adds all the workbench startup stuff automatically, it should never crash! I'll investigate this evening...

I really don't know why it caused the Amithlon machine to crash. The A3000 didn't suffer at all in this regard.
Quote
Quote

Running it from a shell window got me a message to say it couldn't find nintendo.font.
Any chance of telling me where I might find the font?

Yes. Its in the archive. Either copy it to your fonts dir, or do this:

The first thing I did was unarchive everything again to make sure I hadn't missed the font. I can't check right now as the machine is currently running Linux and I deleted the archive from the 3000, but I will once I get offline.
Title: Re: robotfindskitten for AmigaOS
Post by: xeron on January 28, 2003, 09:48:14 AM
Quote

Desmon wrote:
I really don't know why it caused the Amithlon machine to crash. The A3000 didn't suffer at all in this regard.


Ohhh right. OK, well I don't know why it crashed Amithlon, but on the A3000 it was quitting because there is no font, and as you ran it from workbench, the error message didn't appear. Once you have the font installed, it should at least work fine on the a3000.

Quote

The first thing I did was unarchive everything again to make sure I hadn't missed the font


Well, I just downloaded the file (i'm at work), and looked in the archive, and the font is 100% definately there.
Title: Re: robotfindskitten for AmigaOS
Post by: Desmon on January 29, 2003, 08:27:36 AM
@Tickly
Quote

Well, I just downloaded the file (i'm at work), and looked in the archive, and the font is 100% definately there.

Yup found everything (Look Craig, LOOK!) and managed to make it run under 3.9 on the 3000, 3.9 under Amithlon and 3.1 on the 2000. All running fromthe shell of course.
I didn't bother trying it on the 4000.
The one thing I can't manage is to make it run from WorkBench on any machine. I even went as far as increasing the stack parameter to 40K.

Any suggestions?
Title: Re: robotfindskitten for AmigaOS
Post by: xeron on January 29, 2003, 09:12:01 AM
Quote

Desmon wrote:
Any suggestions?


Hmmm... odd one this. What does snoopdos say when you click the icon?
Title: Re: robotfindskitten for AmigaOS
Post by: Desmon on January 30, 2003, 07:47:17 AM
@Tickly
Quote

Hmmm... odd one this. What does snoopdos say when you click the icon?

1  WBL  ChangeDir  Work:Games/RobotFindsKitten    -    -
2  WBL  Load      RobotFindsKitten    -    OK
3  WBL  ChangeDir  SYS:    -    -

Any help?
Title: Re: robotfindskitten for AmigaOS
Post by: xeron on January 30, 2003, 09:10:26 AM
Quote

Desmon wrote:
1  WBL  ChangeDir  Work:Games/RobotFindsKitten    -    -
2  WBL  Load      RobotFindsKitten    -    OK
3  WBL  ChangeDir  SYS:    -    -
Any help?


Aaaaaaaaaaahh! Now I remember. When you run programs from the workbench, the current directory is always set to SYS:. In some of my previous programs, I fixed this by detecting that the user ran the program from workbench, and if they did changing the current dir to "PROGDIR:". This works fine on a lot of peoples systems, BUT some people get a requester saying "Please insert volume PROGDIR: in any drive" (anyone know why it works on some systems but not others?!).

The easy solution is to create a text file, called robotfindskitten.run or something, and just put:

robotfindskitten

in it. Then give it a project icon, with the tooltype "IconX". That should do it.
Title: Re: robotfindskitten for AmigaOS
Post by: Desmon on January 31, 2003, 08:14:51 AM
Quote

The easy solution is to create a text file, called robotfindskitten.run or something, and just put:

robotfindskitten

in it. Then give it a project icon, with the tooltype "IconX". That should do it.

Now why dinna I think of that?
It's a trick I've used several times under similar circumstances.
Worked a treat BTW.
Do you mind if I distribute your little toy (script included) further?
Title: Re: robotfindskitten for AmigaOS
Post by: xeron on January 31, 2003, 09:18:02 AM
Quote

Desmon wrote:
Do you mind if I distribute your little toy (script included) further?


If you read the readme, you'll note that the program and its sourcecode are released as 'Public Domain'. This means that I have waived all my rights as copyright holder, and you can do absolutely anything you want with it, without any restrictions of any kind at all.

Note that the "messages.txt" file contains phrases that were released under GPL, so that file remains licensed under GPL, which is still freely distributable.