Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Half-Life Engine: Xash3D-FWGS #2703

Merged
merged 1 commit into from
Jan 7, 2021
Merged

Conversation

glebm
Copy link

@glebm glebm commented Dec 27, 2020

Half-Life 1 engine, supports the following games:

  • Half-Life, including Blue Shift and Opposing Force.

Half-Life running on an RG351p

@glebm glebm force-pushed the xash3d branch 6 times, most recently from ea0a969 to ad7854f Compare December 27, 2020 19:11
@crcerror
Copy link

Wow marvellous...
But can you maybe give this a try?
https://bitbucket.org/ecwolf/ecwolf

@glebm
Copy link
Author

glebm commented Dec 27, 2020

This is Half-Life but your link is to an engine for Wolf3d and similar games?

I don't port on request, sorry

@crcerror
Copy link

Yes it's a wolfenstein engine and it will run on all platforms. It was just a question and you denied. Okay for me

@glebm
Copy link
Author

glebm commented Dec 27, 2020

Sorry if that came off harsh, I didn't mean to be

I don't generally expect comments on GitHub pull requests that aren't related to the pull request

@glebm
Copy link
Author

glebm commented Dec 27, 2020

Making some progress figuring out the flags:

$ XASH3D_GAMEDIR=valve XASH3D_BASEDIR=/userdata/roms/xash3d_fwgs LD_LIBRARY_PATH=/usr/lib/xash3d /usr/lib/xash3d/xash3d -clientlib /usr/lib/xash3d/cl_dlls/client_armv8_32hf.so  -dll /usr/lib/xash3d/dlls/hl_armv8_32hf.so -dev 5              
librga:RGA_GET_VERSION:4.00,4.000000 
ctx=0x82b098,ctx->rgaFd=3 
Rga built version:version:+2017-09-28 10:12:42 
[22:04:32] Console initialized.
rk-debug mali-ver=rsx-p0-1.0
[22:04:32] /userdata/roms/xash3d_fwgs is working directory now
[22:04:32] FS_Init: done
[22:04:32] FS_LoadGameInfo( valve )
[22:04:32] FS_Rescan( Half-Life )
[22:04:32] FS_AddGameHierarchy: 0 valve valve
[22:04:32] Adding wadfile: valve/cached.wad (2 files)
[22:04:32] Adding wadfile: valve/decals.wad (222 files)
[22:04:32] Adding wadfile: valve/fonts.wad (3 files)
[22:04:32] Adding wadfile: valve/gfx.wad (7 files)
[22:04:32] Adding wadfile: valve/halflife.wad (3116 files)
[22:04:32] Adding wadfile: valve/liquids.wad (32 files)
[22:04:32] Adding wadfile: valve/spraypaint.wad (14 files)
[22:04:32] Adding wadfile: valve/xeno.wad (264 files)
[22:04:32] InitDecals: 222 decals
[22:04:32] Joystick: SDL GameController API
[22:04:32] No joystick found.
[22:04:32] IN_TouchInit()
[22:04:32] Base networking initialized.
[22:04:32] Cannot load xashcomm.lst
[22:04:32] execing video.cfg
[22:04:32] Found renderer gl: OpenGL
[22:04:32] Found renderer gles1: GLES1(NanoGL)
[22:04:32] Found renderer gles2: GLES2(gl-wes-v2)
[22:04:32] Found renderer soft: Software
[22:04:32] Loading renderer: gl -> libref_gl.so
[22:04:32] execing opengl.cfg
[22:04:32] Trying safe opengl mode 0
[22:04:32] bpp 32
[22:04:32] Error: Couldn't initialize OpenGL: Could not initialize OpenGL / GLES library
[22:04:32] Mem_Free: data == NULL (called at ../engine/platform/sdl/vid_sdl.c:347)

Config.in Show resolved Hide resolved
@glebm glebm force-pushed the xash3d branch 2 times, most recently from ee4ff4a to 2bc2d4e Compare December 29, 2020 00:20
@glebm
Copy link
Author

glebm commented Dec 29, 2020

Added some additional logging to SDL last night, here is how it fails:

INFO: KMSDRM_CreateSurfaces failed
INFO: Could not create EGL window surface

@glebm glebm force-pushed the xash3d branch 3 times, most recently from df007aa to f837af4 Compare January 3, 2021 03:48
@glebm
Copy link
Author

glebm commented Jan 3, 2021

Updated current status in the PR description

The biggest update is that the gamepad fully works now, including multiple gamepad support and hotplug

@glebm glebm force-pushed the xash3d branch 17 times, most recently from 21a0ab9 to fc4cfc7 Compare January 7, 2021 21:32
@glebm glebm changed the title Half-Life 1 via Xash3D-FWGS (WIP) Half-Life Engine: Xash3D-FWGS Jan 7, 2021
@glebm glebm marked this pull request as ready for review January 7, 2021 21:37
@glebm
Copy link
Author

glebm commented Jan 7, 2021

100% complete 🎉

Half-Life 1 engine, supports the following games:

* Half-Life, including Blue Shift and Opposing Force.
* Deathmatch Classic.
* Several other mods: https://github.com/FWGS/hlsdk-xash3d/blob/mobile_hacks/dlls/moddef.h

Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
@nadenislamarre nadenislamarre merged commit 85260df into batocera-linux:master Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants