You are not logged in.

#1 2011-05-09 21:16:53

Stolas
Member
Registered: 2011-05-09
Posts: 16

[Request] Alex the Allegator 4

I really want the funny Allegator back.
I tried to get this package up myself, but I encounterd some problems.
One of them being, downloading from SourceForge by script. But thats not a big one, since I know for sure there are several examples I can peek from.

But, as I never worked with allegro and though its documentation I was unaware how to fix this.

/tmp/ccyBgW3D.o: In function `init_game':
main.c:(.text+0x207b): undefined reference to `DIGI_DIRECTX'
main.c:(.text+0x20a3): undefined reference to `DIGI_DIRECTAMX'
collect2: ld returned 1 exit status
# gcc *.c -lalleg  -laldmd -ldumb

I vaguely recall that DirectX is the Microsoft Implementation of OpenGL. So I thought that the code would have just been bad.
But Debian also has these packages.
So, I did think about writing a package that used deb2tgz. But that sounded disgusting.

So, now I hope there is someone who can pack the little Allegator in a nice little package.

--Stolas

Offline

#2 2011-05-10 08:18:58

bug
Member
From: Israel
Registered: 2007-06-10
Posts: 48

Re: [Request] Alex the Allegator 4

http://allegator.sourceforge.net/
For the record, this is the URI for the game site.

Offline

#3 2011-05-10 18:53:44

Stolas
Member
Registered: 2011-05-09
Posts: 16

Re: [Request] Alex the Allegator 4

Thanks for the reply, but if you would have read a bit further you must have noticed that I have downloaded the game source from Sourceforge.
But, with

stolas wrote:

One of them being, downloading from SourceForge by script. But thats not a big one, since I know for sure there are several examples I can peek from.

I just tried to say the Direct Download link of sourceforge, since of the Mirrors. I can get one of the mirrors but, thats really not clean at all. It should pick the most logical mirror instead.

Offline

#4 2011-05-26 08:37:44

bug
Member
From: Israel
Registered: 2007-06-10
Posts: 48

Re: [Request] Alex the Allegator 4

Oh sorry, I thought you were asking for anyone to package it.
The clean way for doing it is:

http://downloads.sourceforge.net/project/allegator/Alex4/source%20and%20data/alex4src_data.zip

It automatically redirects and downloads with the correct file name [at least on wget as used in most pkgbuilds]

Last edited by bug (2011-05-26 08:38:43)

Offline

#5 2011-05-26 12:07:29

megadriver
Member
From: Spain
Registered: 2010-02-03
Posts: 58
Website

Re: [Request] Alex the Allegator 4

I've been working on an alex4 PKGBUILD for some time. I found this thread, and decided to finish it:

http://aur.archlinux.org/packages.php?ID=49354

Enjoy!

P.S.: If you find the game has no sound, and you're running testing (kernel 2.6.39, udev 170), make sure to include snd-pcm-oss in the MODULES array of rc.conf. If you don't want to reboot, just modprobe it. Many Allegro-based games seem to need this module for sound to work, actually...

Last edited by megadriver (2011-05-26 15:55:07)

Offline

#6 2011-05-28 08:50:44

megadriver
Member
From: Spain
Registered: 2010-02-03
Posts: 58
Website

Re: [Request] Alex the Allegator 4

Good news, everyone!

With the new Allegro (4.4.2) from extra, the snd-pcm-oss workaround mentioned above is no longer needed!

Last edited by megadriver (2011-05-28 08:53:00)

Offline

Board footer

Powered by FluxBB