FWGS / xash3d-fwgs

Xash3D FWGS engine
1.57k stars 236 forks source link

Help me to port it to arm, appxbundle for windows mobile (Im very new to this) #1545

Open Intelinsidecom opened 10 months ago

Intelinsidecom commented 10 months ago

How do i gotta port it to arm, because i don't see any options for arm, im gonna port it for windows mobile 10, i have windows and ubuntu?

nekonomicon commented 10 months ago

Provide path to toolchain somehow. Anyway windows mobile does not have OpenGL support, only directx 10+, so only softrender will work.

mittorn commented 10 months ago

Try use angle or some another wrapper with gles3compat renderer

Intelinsidecom commented 10 months ago

I said i am very new to this, so tell me how do i for example use "gles3compat" renderer and what is toolchain and how to provide path to it. And how do i made it Appx or appxbundle and how make it arm or arm64 port, please help and explain🙂

nekonomicon commented 10 months ago

what is toolchain

Any build tools, compilers/runtime/etc.

how do i for example use "gles3compat" renderer

Read wscript scripts and learn something about our project structure. Learn what is angle. Learn dive into python if needed. Learn waf documentation if needed.

And how do i made it Appx or appxbundle and how make it arm or arm64 port

There probably no one can help you. And no magic wand for you. Learn something about windows mobile development and make simple app for this platform if needed.

mittorn commented 10 months ago

Windows/arm seem to be already supported in waf: https://waf.io/apidocs/tools/msvc.html Maybe outdated, but can be patched. SDL2 supports WinRT/WinPhone/UWP: https://wiki.libsdl.org/SDL2/README/winrt Check if thereis some UWP port in some port already (maybe old engine?). This might be useful. First, try build engine with Angle for windows. It should work almost as is. I think, there are tutorials for enabling Angle in SDL. Then, try port engine to UWP platform. Engine needs dynamic library loading, network sockets, so that might be tricky. But separate dlls are supported, so that should be possible without big changes. SINGLE_BINARY option enables support of SDL_main, this might be useful too

nekonomicon commented 10 months ago

Check if thereis some UWP port in some port already (maybe old engine?).

https://github.com/FWGS/xash3d-fwgs/pull/86 https://github.com/FWGS/hlsdk-portable/pull/114