ET: Legacy


(acQu) #121

[QUOTE=Indloon;394220]Check CleanET :smiley:

All bugs fixed/bot code removed.[/QUOTE]

Well, not much to check there, really :slight_smile: Maybe the changelog will help here most, to get a grasp of what was done. The repo itself does not contain any useful information regarding the commit messages. Only a few minor changes with explanatory commit messages so far. The changelog of version 0.3.4 is probably the most worthy to watch, if you are going to do things at the dll/SDK side of the code. Maybe you can get some information out of there. Or simply ask me. It was never finished though, lots of more things were planned, e.g. LUA support, etpro mapscripting support.

Just wanted to mention that, since it got mentioned by Indloon. Not want to steal any attention here.

As said, maybe some useful stuff can be found in the changelog of the version 0.3.4. Here the download link: http://sourceforge.net/projects/cet/files/latest/download


(432hz) #122

hi : im not sure if this is classed as a bug or glitch but, i like to assign left ctrl as crouch and when i am crouching i cant change to any weapon unless i stand and then its possible. its something i got used to when playing on linux but on windows it doesnt normally happen, anyhow im still using it and also not having any noticeable problems with jaymod 2.2.0…nice work : ) looking forward to further enhancements - thanks.


(chernocba) #123

Hi,
I’m having some issues running the latest two betas. I’m getting the following error:
error while loading shared libraries: libXxf86dga.so.1: wrong ELF class: ELFCLASS64

Using Ubuntu 11.10 64bits, (beta 1 works fine)

I’ve also tried to build it, but I’m also getting some errors:

dl_main_curl.c
In file included from /usr/include/curl/curl.h:35:0,
from src/qcommon/dl_main_curl.c:38:
/usr/include/curl/curlrules.h:142:3: error: size of array ‘curl_rule_01’ is negative
/usr/include/curl/curlrules.h:152:3: error: size of array ‘curl_rule_02’ is negative
src/qcommon/dl_main_curl.c: In function ‘DL_BeginDownload’:
src/qcommon/dl_main_curl.c:126:5: warning: passing argument 1 of ‘FS_CreatePath’ discards ‘const’ qualifier from pointer target type [enabled by default]
src/qcommon/dl_public.h:54:10: note: expected ‘char *’ but argument is of type ‘const char *’
make[1]: *** [obj/x32/Release/etlegacy/dl_main_curl.o] Error 1
make: *** [etlegacy] Error 2

Wrong version of curl I guess… which version is needed?

Thanks!


(morsik) #124

That error informs that game tried to load 64bit library instead of 32bit. 32bit binaries are not compatible with 64 and can’t be included and/or dload().

About compilation error… it compiled for me without any problem.


(Radegast) #125

chernocba: as morsik said, the package you need is called libxxf86dga1:i386 and the curl error is also connected to your architecture - you need curl sources configured for 32 bit. Curl version is not important. You can use that six year old one which was shipped with ET 2.60b or the newest one, it doesn’t matter.

432hz: yea, most issues we have are to do with the input system which is based on SDL. It’s now almost identical to the ioquake code, but it will need to be rewritten.

We now have an irc channel on Freenode, so you can also come to #etlegacy to discuss this project.


(Dragonji) #126

Little bugs in showing UI (silEnT mod):

And console:


(Indloon) #127

[QUOTE=Dragonji;395084]Little bugs in showing UI (silEnT mod):

[/QUOTE]

Leaked images :d


(Radegast) #128

Dragonji: and this defect is not present in the vanilla ET I presume (?) Strange.

ET:L beta 4 is out - please see the first post of this topic.

Edit: Oh yea, and I forgot to mention that we have a new website! www.etlegacy.com
Edit 2: FYI: nearly all the system configuration wizardry was done by Morsik. Again BIG thanks!

One more thing. I did not compile linux binaries, because there were way too many problems due to dynamic linking. I will provide statically linked binaries sometime in the future. In the meantime please

[ol]
[li]download the sources with git: git clone git://github.com/etlegacy/etlegacy.git
[/li][li]and compile: premake4 gmake && make (you need curl sources configured for 32 bit to do this)
[/li][/ol]

Edit 3: WARNING: We have just discovered a nasty bug which crashes the game when you host a server. It will be fixed in the next release.
Edit 5: UPDATE: bug was fixed, see the first post.

Edit 4: nevermind


(VS.wArRi0r) #129

Don’t forget to test it with ETnam mod. Thank you


(Gir) #130

Fix the “Power of 2 Scaled” Bug

remove this code @render/tr_image.c


#ifdef CHECKPOWEROF2
	if ( ( ( width - 1 ) & width ) || ( ( height - 1 ) & height ) ) {
		Com_Printf( "^1Image not power of 2 scaled: %s
", name );
		return NULL;
	}

also

@qcommon/qfiles.h

#define BSP_VERSION         47

delete this, play any IDTech3 maps


(Dushan) #131

[QUOTE=Gir;397907]@qcommon/qfiles.h

#define BSP_VERSION         47

delete this, play any IDTech3 maps[/QUOTE]

Its little more then that.


(Gir) #132

Ah yes forgot, can’t remember the location in the code, I did accomplish g this in my old ETGold mod
http://www.splashdamage.com/forums/showthread.php/24891-ETGold-2-71/page2


(Mateos) #133

I read power-of-2 textures was better looking in IDTech3 because in other format they’re stretched or downsized by the engine at each image loading, which can eat some resources?


(Gir) #134

Wolfenstien ET is the only IDTech3 game that blocks non power-of-2 textures, otherwise you get black/yellow when loading Quake 3 Maps, Quake 3 uses them alot.


(Dushan) #135

Sorry, I dont think that you are right.


(Mateos) #136

Here is the article I read:


(Radegast) #137

Just did and I haven’t encountered any bugs so far. Really nice mod btw.

[QUOTE=Mateos;397928]Here is the article I read:
http://sgq3-mapping.blogspot.fr/2008/12/power-of-2-sized-textures.html[/QUOTE]
To tell you the truth I know absolutely nothing about this stuff, so I’ll read that article and educate myself.

Since you’ve done it before in ETGold, you could join us and supply a patch for ET:L? :wink:


(daz2007) #138

[QUOTE=Mateos;397928]Here is the article I read:
http://sgq3-mapping.blogspot.fr/2008/12/power-of-2-sized-textures.html[/QUOTE]

Its need for backwards compatibility with Q3/RTCW Maps, you could then potentially play RTCW MP maps in ET

[QUOTE=Radegast;398032]
Since you’ve done it before in ETGold, you could join us and supply a patch for ET:L? :wink:[/QUOTE]

Guess i have to download Visual C++ 2010 again


(daz2007) #139

Here is a Typo fix @ tr_shader.c

Line 1034 should be

 if ( stage->alphaGen == AGEN_IDENTITY ) {

Line 1998 should be

if ( stages[0].alphaGen == AGEN_WAVEFORM )

(Gir) #140

There is lots of redundant/useless stuff in the renderer that should be removed

e.g. tr_init.c


cvar_t *r_ext_NV_fog_dist;
cvar_t *r_nv_fogdist_mode;

cvar_t *r_ext_ATI_pntriangles;
cvar_t *r_ati_truform_tess;         //
cvar_t *r_ati_truform_normalmode;   // linear/quadratic
cvar_t *r_ati_truform_pointmode;    // linear/cubic

ATi Tessellation code that never worked c



//----(SA)      added
void (APIENTRY *qglPNTrianglesiATI)(GLenum pname, GLint param);
void (APIENTRY *qglPNTrianglesfATI)(GLenum pname, GLfloat param);
/*
The tessellation level and normal generation mode are specified with:

        void qglPNTriangles{if}ATI(enum pname, T param)

        If <pname> is:
                GL_PN_TRIANGLES_NORMAL_MODE_ATI -
                        <param> must be one of the symbolic constants:
                                - GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI or
                                - GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI
                        which will select linear or quadratic normal interpolation respectively.
                GL_PN_TRIANGLES_POINT_MODE_ATI -
                        <param> must be one of the symbolic  constants:
                                - GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI or
                                - GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI
                        which will select linear or cubic interpolation respectively.
                GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI -
                        <param> should be a value specifying the number of evaluation points on each edge.  This value must be
                        greater than 0 and less than or equal to the value given by GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI.

        An INVALID_VALUE error will be generated if the value for <param> is less than zero or greater than the max value.

Associated 'gets':
Get Value                               Get Command Type     Minimum Value                                                              Attribute
---------                               ----------- ----     ------------                                                               ---------
PN_TRIANGLES_ATI                                                IsEnabled   B           False                                       PN Triangles/enable
PN_TRIANGLES_NORMAL_MODE_ATI                    GetIntegerv Z2          PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI          PN Triangles
PN_TRIANGLES_POINT_MODE_ATI                             GetIntegerv Z2          PN_TRIANGLES_POINT_MODE_CUBIC_ATI                       PN Triangles
PN_TRIANGLES_TESSELATION_LEVEL_ATI              GetIntegerv Z+          1                                                                                       PN Triangles
MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI  GetIntegerv Z+          1                                                                                       -




*/
//----(SA)      end


//----(SA)      added
	r_ext_ATI_pntriangles    = ri.Cvar_Get("r_ext_ATI_pntriangles", "0", CVAR_ARCHIVE | CVAR_LATCH | CVAR_UNSAFE);           //----(SA) default to '0'
	r_ati_truform_tess       = ri.Cvar_Get("r_ati_truform_tess", "1", CVAR_ARCHIVE | CVAR_UNSAFE);
	r_ati_truform_normalmode = ri.Cvar_Get("r_ati_truform_normalmode", "GL_PN_TRIANGLES_NORMAL_MODE_LINEAR", CVAR_ARCHIVE | CVAR_UNSAFE);
	r_ati_truform_pointmode  = ri.Cvar_Get("r_ati_truform_pointmode", "GL_PN_TRIANGLES_POINT_MODE_LINEAR", CVAR_ARCHIVE | CVAR_UNSAFE);

	r_ati_fsaa_samples = ri.Cvar_Get("r_ati_fsaa_samples", "1", CVAR_ARCHIVE | CVAR_UNSAFE);                       //DAJ valids are 1, 2, 4
c