Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
8 crawler(s) on-line.
 131 guest(s) on-line.
 1 member(s) on-line.


 Gunnar

You are an anonymous user.
Register Now!
 Gunnar:  2 secs ago
 A1200:  20 mins ago
 OlafS25:  33 mins ago
 outlawal2:  54 mins ago
 AndreasM:  56 mins ago
 sibbi:  1 hr 5 mins ago
 saimo:  1 hr 20 mins ago
 DiscreetFX:  1 hr 20 mins ago
 vox:  1 hr 32 mins ago
 kolla:  1 hr 42 mins ago

/  Forum Index
   /  Developer Projects Forum
      /  Cytadela - need help in porting to AmigaOS
Register To Post

PosterThread
tomek-k 
Cytadela - need help in porting to AmigaOS
Posted on 31-Jan-2007 16:08:35
#1 ]
New Member
Joined: 30-Jan-2007
Posts: 8
From: Unknown

Hi.

Maby some of you remember a game called Cytadela (eng - The Citadel), which was a Doom clone (or, as some prefer to say, Wolfenstein 3D clone) for Amiga and was very popular in Poland (the country of origin), but it was also released in English version outside Poland.

Some time ago I started a project which aimed to make a conversion of the game to PC. I've managed to contact the authors of the original and got the permission and all that was needed to make the game.
Initially the game ran only on windows, but since I've switched to Linux I had to recode it to use open standards and the game became available not only for PC platform.

Now the project is still under development, but in quite advanced phase. It is licensed under the GNU GPL, so it can be ported to every platform for which SDL, OpenGL and C++ compiler are available. However there are only windows and linux binaries available (maby there are some unofficial builds for other platforms, but I don't know of any).
Nowadays I don't owe Amiga (long time ago I had A500 ) and I'm not able to build the game for Amiga operating system. I don't even know if it will compile (as there may be differences in OpenGL API between Linux and Amiga OS)
I would like it to be ported to Amiga OS and this is where I need help from someone from AmigaOS developer community.

So, is there anyone willing to help?

The project's homepage is at http://cytadela.sourceforge.net

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: Cytadela - need help in porting to AmigaOS
Posted on 31-Jan-2007 16:45:46
#2 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12795
From: Norway

@tomek-k



Looks interesting, I where thinking about learning OpenGL for years now

Last edited by NutsAboutAmiga on 31-Jan-2007 at 04:50 PM.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
tomek-k 
Re: Cytadela - need help in porting to AmigaOS
Posted on 31-Jan-2007 17:32:07
#3 ]
New Member
Joined: 30-Jan-2007
Posts: 8
From: Unknown

Does that mean you are interested in helping??

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: Cytadela - need help in porting to AmigaOS
Posted on 31-Jan-2007 17:36:48
#4 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12795
From: Norway

@tomek-k

Don’t realty know I have at least downloaded the source code.

I have talked about learning OpenGL for 7 years now, so don’t expect any thing.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
Samurai_Crow 
Re: Cytadela - need help in porting to AmigaOS
Posted on 31-Jan-2007 17:37:27
#5 ]
Elite Member
Joined: 18-Jan-2003
Posts: 2320
From: Minnesota, USA

@tomek-k

Do you have a cross-compiler? SDL and OpenGL should be the same for the Amiga version of Mesa.library except that shaders are not supported yet. BTW, the AmigaOS cross-compilers for Linux are at ZeroHero's website.

 Status: Offline
Profile     Report this post  
tomek-k 
Re: Cytadela - need help in porting to AmigaOS
Posted on 31-Jan-2007 18:00:01
#6 ]
New Member
Joined: 30-Jan-2007
Posts: 8
From: Unknown

Quote:
NutsAboutAmiga wrote:

Don’t realty know I have at least downloaded the source code.

I have talked about learning OpenGL for 7 years now, so don’t expect any thing.


Ok, just asking;)

Quote:
Samurai_Crow wrote:

Do you have a cross-compiler? SDL and OpenGL should be the same for the Amiga version of Mesa.library except that shaders are not supported yet. BTW, the AmigaOS cross-compilers for Linux are at ZeroHero's website.


Hmm... I thought about cross-compiling (I actualy cross-compile for windows as I don't have it any more), but there gonna be the problem with testing.
I didn't know any AmigaOS cross-compiler for linux, so thanks for the link. I think it is a good idea to check it out if the game will compile at all.

If I succeede I will still need some help from AmigaOS developers to check if it will run, and if not, then to find out why.

 Status: Offline
Profile     Report this post  
Toaks 
Re: Cytadela - need help in porting to AmigaOS
Posted on 31-Jan-2007 19:23:26
#7 ]
Elite Member
Joined: 10-Mar-2003
Posts: 8042
From: amigaguru.com

@tomek-k

go for cross compiling for now and i will help you with AmigaOS4 version if i have the time, i can test and assist to questions regarding GL and SDL atleast.

cheers

_________________
See my blog and collection website! . https://www.blog.amigaguru.com

 Status: Offline
Profile     Report this post  
tomek-k 
Re: Cytadela - need help in porting to AmigaOS
Posted on 31-Jan-2007 23:56:10
#8 ]
New Member
Joined: 30-Jan-2007
Posts: 8
From: Unknown

@Toaks

Ok. As soon as I manage to build the binary I'll give you a link to it.
The cross-compiler was not available for my arch so I'll have to build it from svn. Hope it'll work.
(I have one more option though, so I think I'll produce the AOS binaries soon).

 Status: Offline
Profile     Report this post  
tomek-k 
Re: Cytadela - need help in porting to AmigaOS
Posted on 4-Feb-2007 15:48:46
#9 ]
New Member
Joined: 30-Jan-2007
Posts: 8
From: Unknown

Unfortunately I haven't succeeded in building the compiler. I will try the prebuild binaries on my other system and let you know of the results

 Status: Offline
Profile     Report this post  
Toaks 
Re: Cytadela - need help in porting to AmigaOS
Posted on 4-Feb-2007 16:16:53
#10 ]
Elite Member
Joined: 10-Mar-2003
Posts: 8042
From: amigaguru.com

@tomek-k

i'll try and follow the thread but if you dont hear from me then send a PM.

If you want to compile a quicky then disable OGL/sound/etc and then try and then later on u add the rest.

_________________
See my blog and collection website! . https://www.blog.amigaguru.com

 Status: Offline
Profile     Report this post  
tomek-k 
Re: Cytadela - need help in porting to AmigaOS
Posted on 3-Mar-2007 12:32:30
#11 ]
New Member
Joined: 30-Jan-2007
Posts: 8
From: Unknown

Hi again.

I have managed to create the cross-compilation environment and to build some test programs.
The test programs work (thanks Toaks for testing), but I have a few problems with compiling the game.

The Citadel is written using GNU C library and therefore there are some issues with the header files when using the standard AOS C libraries (clib2 and newlib).
The cross-compiler environment I'm using provides the GNU C library, but there are some problems with linking to it. But apart from the problems - is it a good idea to compile programs for AOS using the GNU C library? Is it widely available for this OS? Or should the code be rewritten to support the AOS libs?

Tomek

Last edited by tomek-k on 03-Mar-2007 at 12:33 PM.

 Status: Offline
Profile     Report this post  
PulsatingQuasar 
Re: Cytadela - need help in porting to AmigaOS
Posted on 3-Mar-2007 13:40:45
#12 ]
Cult Member
Joined: 10-Mar-2003
Posts: 550
From: The Netherlands, Europe

Is OpenGL actually working in combination with SDL for OS 4?

I was under the impression it wasn't since I don't see games ported for OS 4. I only saw remarks up to now that it didn't work.

I know my Heretic port has support in the code for use with OpenGL but I'm not going to rename OpenGL function methods for it. It should more or less work after compiling with OpenGL support otherwise I won't bother.

_________________
AmigaOne-XE G3 OS 4.
A4000 PPC
A1200 PPC

 Status: Offline
Profile     Report this post  
Samurai_Crow 
Re: Cytadela - need help in porting to AmigaOS
Posted on 3-Mar-2007 16:18:35
#13 ]
Elite Member
Joined: 18-Jan-2003
Posts: 2320
From: Minnesota, USA

@PulsatingQuasar

There is some glue logic for compiling with MiniGL which he has apparently figured out how to use properly.

The reason you don't see many games ported that use OpenGL is that the MiniGL library has some defficiencies. These aren't going to be resolved until AmigaOS 4.1 when Graphics.library is patched to access through OpenGL instead of the other way around.

 Status: Offline
Profile     Report this post  
Samurai_Crow 
Re: Cytadela - need help in porting to AmigaOS
Posted on 3-Mar-2007 16:23:16
#14 ]
Elite Member
Joined: 18-Jan-2003
Posts: 2320
From: Minnesota, USA

@tomek-k

CLib and NewLib are ports from the Linux community so they aren't technically just "Amiga" runtime libraries.

There is a PPC version of ixemul.library somewhere but I haven't heard of it being useful enough to justify using it for anything other than backward compatibility. If you must use it, do so. If you can easily avoid using it, PLEASE DO. Ixeumul.library was always a kludge from day 1 and the Amiga community suffers because of it.

 Status: Offline
Profile     Report this post  
salass00 
Re: Cytadela - need help in porting to AmigaOS
Posted on 3-Mar-2007 17:31:31
#15 ]
Elite Member
Joined: 31-Oct-2003
Posts: 2707
From: Finland

@PulsatingQuasar

I tried compiling this game for OS4 a week or so ago. Got it to configure OK, even managed to compile a few source files until it failed with a couple of missing OpenGL functions (couldn't find them anywhere in the header files). I guess we need a more complete OpenGL implementation than MiniGL for this (Mesa?).

Only just noticed it was the same game as mentioned in this thread.

 Status: Offline
Profile     Report this post  
tomek-k 
Re: Cytadela - need help in porting to AmigaOS
Posted on 3-Mar-2007 23:25:55
#16 ]
New Member
Joined: 30-Jan-2007
Posts: 8
From: Unknown

hmm...

It seems that the AOS port of the Citadel won't come out soon

Is there a real chance to see a fully functional implementation of OpenGL API for AOS?

 Status: Offline
Profile     Report this post  
Zardoz 
Re: Cytadela - need help in porting to AmigaOS
Posted on 3-Mar-2007 23:30:27
#17 ]
Team Member
Joined: 13-Mar-2003
Posts: 4261
From: Unknown

@Samurai_Crow

Quote:
There is a PPC version of ixemul.library somewhere but I haven't heard of it being useful enough to justify using it for anything other than backward compatibility. If you must use it, do so. If you can easily avoid using it, PLEASE DO. Ixeumul.library was always a kludge from day 1 and the Amiga community suffers because of it.


A kludge that makes porting from UNIX much easier and painless.

_________________

 Status: Offline
Profile     Report this post  
Tesla 
Re: Cytadela - need help in porting to AmigaOS
Posted on 3-Mar-2007 23:32:10
#18 ]
Member
Joined: 23-Oct-2003
Posts: 80
From: Sweden

@Samurai_Crow

clib2 is not a port, it is a fully native libc which happens to have a lot of unix compatibility
by virtue of being written with the explicit intent of proting samba to AmigaOS.

Just thought I would correct that.

 Status: Offline
Profile     Report this post  
itix 
Re: Cytadela - need help in porting to AmigaOS
Posted on 4-Mar-2007 1:35:22
#19 ]
Elite Member
Joined: 22-Dec-2004
Posts: 3398
From: Freedom world

@Samurai_Crow

Quote:

Ixeumul.library was always a kludge from day 1 and the Amiga community suffers because of it.


Amiga community doesnt suffer from ixemul, it just suffers from coders who use ixemul. ixemul is great help if you are porting *nix stuff to Amiga but it is not meant for native Amiga applications (including SDL). It should be used for GeekGadgets stuff only or in few well chose occasions...

Anyway, dont use ixemul. Use clib/newlib/libnix/something and they are fairly well compatible with *nix stuff.

Last edited by itix on 04-Mar-2007 at 01:37 AM.

_________________
Amiga Developer
Amiga 500, Efika, Mac Mini and PowerBook

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle