Page MenuHomeSolus

Initial version of etlegacy
ClosedPublic

Authored by kyrios123 on Nov 28 2017, 3:38 PM.
Tags
None
Referenced Files
F11071607: D1473.id7262.diff
Sat, Aug 12, 1:39 AM
F11071606: D1473.id5954.diff
Sat, Aug 12, 1:38 AM
F11071605: D1473.id7245.diff
Sat, Aug 12, 1:38 AM
F11071604: D1473.id5929.diff
Sat, Aug 12, 1:38 AM
F11071603: D1473.id6245.diff
Sat, Aug 12, 1:38 AM
F11071600: D1473.id3659.diff
Sat, Aug 12, 1:38 AM
F11071598: D1473.id3657.diff
Sat, Aug 12, 1:38 AM
F11053128: D1473.diff
Thu, Aug 10, 10:41 PM

Details

Summary

Inclusion of ET: Legacy in the repository.
Resolves T1777

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan
Could anyone who owns the original game test the engine please ? You have to copy pak0.pk3, pak1.pk3 and pak2.pk3 from the 'etmain' path of your Wolfenstein: Enemy Territory installation to /usr/share/etlegacy/etmain

Diff Detail

Repository
R4245 etlegacy
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Hey kyrios you can downlaod the old installer from splashdamages (As freeware EULA does apply). Did that and extracted the pak3 into the ~/.etlegacy/etmain/ folder or /usr/share/etlegacy/etmain/ files but get a segfault with both .

simon@simon-desktop ~/repository/etlegacy $ etl
ET Legacy 2.75-dirty linux-x86_64 Jan  3 2018
Zone megs: 64
Info: fs_game now defaults to 'legacy' mod instead of 'etmain'
----- FS_Startup -----
Current search path:
    /home/simon/.etlegacy/legacy
    /usr/share/etlegacy/legacy
    /usr/share/etlegacy/legacy/pak3_2.75-dirty.pk3 (951 files)
    /usr/share/etlegacy/legacy/etl_bin_2.75-dirty.pk3 (2 files)
    /home/simon/.etlegacy/etmain
    /home/simon/.etlegacy/etmain/pak2.pk3 (22 files)
    /home/simon/.etlegacy/etmain/pak1.pk3 (10 files)
    /home/simon/.etlegacy/etmain/pak0.pk3 (3725 files)
    /usr/share/etlegacy/etmain

----------------------
4710 files in pk3 files
execing default.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Not logging server attacks to disk.
----- Client Initialization -----
----- Initializing Renderer ----
Trying to load "librenderer_opengl1_x86_64.so" from "."...
Trying to load "librenderer_opengl1_x86_64.so" from "/usr/share/etlegacy"...
-------------------------------
ETKEY found.
Available client translations: Czech German Greek English Esperanto Spanish Finnish French Italian Korean Dutch Norwegian Polish Portuguese Romanian Russian Slovak Slovenian
Available mod translations: Czech German Greek English Esperanto Spanish Finnish French Italian Korean Dutch Norwegian Polish Portuguese Romanian Russian Slovak Slovenian
Language set to English
----- Client Initialization Complete -----
----- R_Init -----
SDL build version 2.0.7 - link version 2.0.7.
SDL initialized driver "x11"
Initializing OpenGL display
Estimated display aspect: 1.778
...setting mode -2: 1920x1080
Using 24 color bits, 24 depth, 0 stencil display.
Available modes [9]: '1280x720 1920x1080 1440x900 1680x1050 640x480 800x600 1024x768 1280x960 1280x1024'
Using GLEW 1.12.0
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce GTS 450/PCIe/SSE2
GL_VERSION: 4.5.0 NVIDIA 384.98
Using vanilla renderer
Initializing OpenGL extensions
...found OpenGL extension - GL_EXT_texture_compression_s3tc
...found OpenGL extension - GL_EXT_texture_env_add
...found OpenGL extension - GL_ARB_multitexture

------- Input Initialization -------
...game controller disabled by cvar setting
------------------------------------
GL_MAX_TEXTURE_SIZE: 16384
GL_MAX_ACTIVE_TEXTURES_ARB: 4
PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
MODE: -2, SCREEN: 1920 x 1080 fullscreen (ratio 1.7778) Hz:N/A
GAMMA: hardware w/ 0 overbright bits
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: enabled
compressed textures: enabled
Initializing Shaders
R_Init: glGetError() = 0x500
----- finished R_Init -----
------ Initializing Sound (1)------
SDL_Init( SDL_INIT_AUDIO )... OK
SDL audio driver is "pulseaudio".
SDL_AudioSpec:
  Format:   AUDIO_S16LSB
  Freq:     44100
  Samples:  1024
  Channels: 2
  Silence:  0
  Size:     4096
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
sound system is muted
    1 stereo
32768 samples
   16 samplebits
    1 submission_chunk
44100 speed
0x4812b80 dma buffer
No background file.
----------------------
Sound initialization successfully done
s_backend set to SDL2
--------------------------------
Sound memory manager started
Sys_LoadGameDll -> FS_CL_ExtractFromPakFile(/home/simon/.etlegacy, legacy, ui.mp.x86_64.so)
Sys_LoadDll(/home/simon/.etlegacy/legacy/ui.mp.x86_64.so)... succeeded
Sys_LoadDll(legacy/ui) found vmMain function at 0x7fd7bdeb1590
Initializing Legacy ui 2.75-dirty
145 UI cvars in use.
Segmentation fault

Also not entirely sure I agree with packaging the server component for this.

package.yml
24

Any specific reason pkgconfig32 is used here but not anywhere else?

  • fix: pkgconfig(sdl2)
  • disable: server
JoshStrobl added inline comments.
package.yml
17

Not needed. glew-devel requires libglu-devel, which requires mesalib-devel

This revision now requires changes to proceed.Mar 17 2018, 2:43 PM

Remove pkgconfig(gl) from the builddeps

After this is sorted, feel free to land.

package.yml
9

Quotes unnecessary.

This revision now requires changes to proceed.Mar 17 2018, 8:18 PM
kyrios123 added inline comments.
package.yml
9

They are required because of the :

After spdx fix just go ahead and land it. Ignore quote comment, seems legit.

package.yml
7

Update to SPDX-3.0

This revision now requires changes to proceed.May 18 2018, 4:03 PM

Use SPDX 3.x code for the license

This revision is now accepted and ready to land.May 19 2018, 10:17 AM
This revision was automatically updated to reflect the committed changes.