Page 1 of 1

Source for 3DGE version 2 ?

Posted: Fri Mar 27, 2015 8:29 pm
by gameblabla
Hello everyone !
So version 2.0 was finally released, nice !
But i'm not finding the source code anywhere so i can't really make a port to GNU/Linux.
Could you please release it ?

Thanks

Re: Source for 3DGE version 2 ?

Posted: Sat Mar 28, 2015 11:12 am
by Corbachu
Nice to see you again =)

We have recently migrated our project over to github (https://github.com/3dfxdev/hyper3DGE). Let me know if you run into errors, and feel free to upload to SF when you are finished. I've also added your name to the DoomWiki as a contributor.

Re: Source for 3DGE version 2 ?

Posted: Sun Mar 29, 2015 9:58 pm
by gameblabla
Hello,
so you switched to github, cool !

Unfortunely, i could not compile it on Linux with GCC 4.8.
In fact, i'm suprised you got it to compile.
This is what i'm getting when i do a make :

Code: Select all

ddf/local.h:82:2: error: ‘ptrdiff_t’ does not name a type
  ptrdiff_t offset;
  ^
ddf/local.h:229:2: error: ‘ptrdiff_t’ does not name a type
  ptrdiff_t offset;
  ^
ddf/anim.cc:46:1: error: too many initializers for ‘const commandlist_t {aka const commandlist_s}’
 };
 ^
ddf/anim.cc:46:1: error: too many initializers for ‘const commandlist_t {aka const commandlist_s}’
ddf/anim.cc:46:1: error: too many initializers for ‘const commandlist_t {aka const commandlist_s}’
ddf/anim.cc:46:1: error: too many initializers for ‘const commandlist_t {aka const commandlist_s}’
ddf/anim.cc:46:1: error: too many initializers for ‘const commandlist_t {aka const commandlist_s}’
ddf/anim.cc:46:1: error: too many initializers for ‘const commandlist_t {aka const commandlist_s}’
ddf/anim.cc:46:1: warning: invalid conversion from ‘long int’ to ‘const commandlist_s*’ [-fpermissive]
ddf/anim.cc:46:1: warning: invalid conversion from ‘long int’ to ‘const commandlist_s*’ [-fpermissive]
ddf/anim.cc:46:1: warning: invalid conversion from ‘long int’ to ‘const commandlist_s*’ [-fpermissive]
ddf/anim.cc:46:1: warning: invalid conversion from ‘long int’ to ‘const commandlist_s*’ [-fpermissive]
ddf/anim.cc:46:1: warning: invalid conversion from ‘long int’ to ‘const commandlist_s*’ [-fpermissive]
make: *** [obj_linux/ddf/anim.o] Error 1
Anim.cc stayed the same since the last release so the problem is elsewhere.
Any ideas ?

Re: Source for 3DGE version 2 ?

Posted: Mon Mar 30, 2015 4:37 pm
by Corbachu
Ah...my bad I forgot to upload the new Linux Make file...will do that tonight!!

Re: Source for 3DGE version 2 ?

Posted: Wed Apr 01, 2015 8:19 pm
by Corbachu
Actually, just open up Makefile.XMING and the linux version and copy over the added stuff (md5 libraries, interpolation stuff) and it should compile. I would do it but I'm so pressed for time :oops:

I'll invite you to the gitHUB as well

Re: Source for 3DGE version 2 ?

Posted: Mon Apr 13, 2015 1:45 pm
by gameblabla
Hello Corbin,
it was the source code the problem and it could only be built with GCC <4.6.
So i have fixed it (again) and i was able to build and run a linux version.

I'm not sure if i should deploy the binairies though...
This version has much higher requirements than the previous version, even with r_lerp set to 0.
In fact, i have chosen to set r_lerp to 0 by default because setting it to 1 causes lots of issues on my computer.

I want my modifications to get in mainline though but i can't commit my changes directly to you.
My github username is gameblabla.

About my modifications,
i had enough of your relative paths so i have decided to introduce a new define, CORBIN.
For example (taken from i_sdlinc.h d from my branch):

Code: Select all

#if defined(CORBIN)
#include <C:/hyperedge/edge2/lib_win32/SDL/include/SDL.h>
#else
#include <SDL.h>
#endif 
What you should do instead of this is to pass this to the compiler :

Code: Select all

-IC:/hyperedge/edge2/lib_win32/SDL/include/
Then only this will be needed :

Code: Select all

#include <SDL.h>
That is all.
Thanks for reading