Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
1 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 1

more...

Browsing this Thread:   1 Anonymous Users



(1) 2 3 4 ... 7 »


GLQuake

Joined:
2007/4/16 6:26
From Norway
Group:
Member
Posts: 4021
Offline
Could some of our SDL experts please compile GLQuake for AROS.
I like to include it in AspireOS as a proof of Intel-gfx 3D.
The reason is that I think it will run very fast with intel gfx and I can include the shareware data files.

http://www.libsdl.org/projects/quake/

Thx


Posted on: 2011/12/7 14:19
_________________
www.aspireos.com
Transfer the post to other applications Transfer


Re: GLQuake

Joined:
2007/10/19 1:51
Group:
Member
Posts: 493
Offline
@Nikaros
Almost compile, just need to link now.

@all
Did aros have some kind of "libsocket.a" or kind ? I.e. on linking stage sdlquake lacks gethostbyaddr(), inet_addr(), sendto(), bind() and all the other socket functions. Where they are in aros ?

Posted on: 2011/12/7 14:54
_________________
my blog: aros/aos4/mos projects & articles

Join us to port dopus5 to amigang platforms here
Transfer the post to other applications Transfer


Re: GLQuake

Joined:
2007/4/16 6:26
From Norway
Group:
Member
Posts: 4021
Offline
kas1e: yeah :D thx

Looking forward to test.

Posted on: 2011/12/7 15:00
_________________
www.aspireos.com
Transfer the post to other applications Transfer


Re: GLQuake

Joined:
2004/5/16 23:01
Group:
Member
Posts: 1199
Offline
This is much neede as the current port of Quake is very lacking in many departments. I'm looking forward to this as well!!! :)

Posted on: 2011/12/7 19:23
Transfer the post to other applications Transfer


Re: GLQuake

Joined:
2010/1/8 10:07
Group:
Member
Posts: 1419
Offline
Quote:

kas1e_ar wrote:
@all
Did aros have some kind of "libsocket.a" or kind ? I.e. on linking stage sdlquake lacks gethostbyaddr(), inet_addr(), sendto(), bind() and all the other socket functions. Where they are in aros ?


bsdsocket.library has all kas1e_ar and if you need help getting socket functions to work just shout...

net_udp.c
------------

if you add
#ifdef __AROS__
#include proto/bsdsocket.h
#endif

#ifdef NeXT
#include libc.h
#endif


and uncomment them
//extern int gethostname (char *, int);
//extern int close (int);



Posted on: 2011/12/8 2:04

Edited by serk118uk on 2011/12/8 2:58:34
Edited by serk118uk on 2011/12/8 2:59:14
Transfer the post to other applications Transfer


Re: GLQuake

Joined:
2007/10/19 1:51
Group:
Member
Posts: 493
Offline
@serk
Thanks.

@nikolas
I compile it, but can't test if it works. When i dl shareware datafiles from the page link on which you give in first port, and put "pak0.pak" to the root or to root/id1 directory, i have:

Quote:

FindFile: can't find gfx/pop.lmp
Playing shareware version.
FindFile: can't find gfx.wad
Error: W_LoadWadFile: could't load gfx.wad


Dunno if some "gfx.wad" is need it or what ..

Here is binary, maybe you can make it works.

Maybe unpacking algo should be fixed in terms of slashes/progdir (but imho should be ok, as it all calculates from root-dir), or maybe some other directory (not id1) should be used. On page he say "root dir" , but dunno. Maybe with original q1 packs it will works ..

Posted on: 2011/12/8 8:58
_________________
my blog: aros/aos4/mos projects & articles

Join us to port dopus5 to amigang platforms here
Transfer the post to other applications Transfer


Re: GLQuake

Joined:
2007/4/16 6:26
From Norway
Group:
Member
Posts: 4021
Offline
Kast1e: thx, will try it now :)

It is just cause you need to start it like this.

stack size 1000000

quake -basedir "/quake/"

edit: sorry Kast1e, it crash here.

Posted on: 2011/12/8 9:12
_________________
www.aspireos.com
Transfer the post to other applications Transfer


Re: GLQuake

Joined:
2007/10/19 1:51
Group:
Member
Posts: 493
Offline
@Nikolaos

Yep, "quake -basedir "/quake/" seem to work, but for me it crashes now in Datagram_Init function. It is possible to run quake without networks support ? (i.e. some options maybe) ? To see if the network the only problem.

As i see , error are 0x80000004 what mean NULL pointer, so i think maybe it relese to something like i necessary need to open bsdsocket.library from code as well ?

Posted on: 2011/12/8 9:22
_________________
my blog: aros/aos4/mos projects & articles

Join us to port dopus5 to amigang platforms here
Transfer the post to other applications Transfer


Re: GLQuake

Joined:
2010/1/8 10:07
Group:
Member
Posts: 1419
Offline
@kas1e_ar
have u opened the bsdsocket.library before u call the bsd functions?

if not than its very normal thats crashes..

//add these to somewhere can be fired..
Quote:

int openLib();
int closeLib();

struct Library *SocketBase=NULL;

int openLib()
{
int rw = FALSE;

// SocketBase = (struct Library*)OpenLibrary("bsdsocket.library",3);
SocketBase =OpenLibrary("bsdsocket.library\0",3);

if(SocketBase)
{
rw = TRUE;
}


return(rw);
}

int closeLib()
{

if(SocketBase)
{
CloseLibrary((struct Library *)SocketBase);
SocketBase = NULL;
}


return(0);
}





Posted on: 2011/12/8 9:32
Transfer the post to other applications Transfer


Re: GLQuake

Joined:
2007/10/19 1:51
Group:
Member
Posts: 493
Offline
@serk
Thanks, will test it now.

But didn't aros have auto-opening/closing of bsdsocket.library if i for example add "-lauto" at linking stage ? (as it done for some others libs) ?

Posted on: 2011/12/8 9:40
_________________
my blog: aros/aos4/mos projects & articles

Join us to port dopus5 to amigang platforms here
Transfer the post to other applications Transfer



(1) 2 3 4 ... 7 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4433
2 magorium
magorium
4095
3 nikolaos
nikolaos
4021
4 phoenixkonsole
phoenixkonsole
3928
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2796
7 mazze
mazze
2221
8 clusteruk
clusteruk
2112
9 damocles
damocles
1789
10 BSzili
BSzili
1513
© 2004-2018 AROS Exec