Giter Club home page Giter Club logo

grangerhub / stellar-prey Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 3.0 199.26 MB

GrangerHub's STELLAR PREY™ game is a first person strategy shooter that chronicles the conflict between human technology vs extraterrestrial nature, a conflict waged by construction, team coordination, and epic combat. Help shape the course of your species together towards the top of the stellar food chain, or be the prey together on the road towards extinction. Which path will you and your species choose to take? It's a universal tale of survival vs death, and of order vs chaos, as old as life itself.

C 31.14% Objective-C 0.15% ShaderLab 0.80% GLSL 0.06% CMake 0.56% Batchfile 0.02% Shell 0.26% Rich Text Format 0.01% Objective-C++ 0.03% Makefile 0.47% C++ 64.22% Cuda 0.41% Lua 0.16% Assembly 0.16% Java 0.35% Python 0.03% HLSL 0.50% Perl 0.02% M4 0.65% Dockerfile 0.01%

stellar-prey's People

Contributors

buom01 avatar cengique avatar dgr8lookinsparky avatar thedushan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

stellar-prey's Issues

Implement full docker container support and travis-ci support for linux, macos, and native windows.

  • Set up Github Actions to be able to compile and release files
  • Implement docker container support support for linux, macos, and native windows.
  • Make use of docker containers in sp-tools.sh to build all platform versions of the game logic modules for bin.pk3.
  • Implement the package_release subcommand in sp-tools.sh for building and packaging releases.
  • Implement travis-ci support (would utilize the package_release subcommand).

Halt after Dark Legion splash screen

I am experiencing an issue where when the dark legion splash screen would normally fade to the main menu, it instead stays and appears to have the main menu elements overlayed in a glitched way.
darklegion

At this point the program appears to halt completely, yet still draws about as much cpu as it did while initially starting. Rarely, I will get mouse control yet the cursor won't be cleared before being drawn again leading to it being drawn tons of times although I was not able to reproduce this to get a photo.

During the time that it appears to be halted, the CLI is still responsive from the terminal it was started from.

DPI crash, even in safe mode

Hi,
I'm writing a quick issue. I haven't tried to debug for now.

When running ./sp-tools.sh run client
I got :

██████████████████  ████████   badam@bastien-kde 
██████████████████  ████████   ----------------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: Z170XP-SLI 
████████            ████████   Kernel: 5.4.67-1-MANJARO 
████████  ████████  ████████   Uptime: 45 mins 
████████  ████████  ████████   Packages: 1862 (pacman) 
████████  ████████  ████████   Shell: zsh 5.8 
████████  ████████  ████████   Resolution: 1024x768, 1920x1080, 1920x1080 
████████  ████████  ████████   WM: i3 
████████  ████████  ████████   Theme: Sweet-Dark [GTK2/3] 
████████  ████████  ████████   Icons: candy-icons [GTK2/3] 
████████  ████████  ████████   Terminal: konsole 
████████  ████████  ████████   Terminal Font: Hack 12 
                               CPU: Intel i5-6600K (4) @ 3.900GHz 
                               GPU: NVIDIA GeForce GTX 680 
                               Memory: 2241MiB / 15971MiB 

                                                       
                                                       


 bastien@bastien-kde  ~/Documents/c_apps/Stellar-Prey   master  cat /home/bastien/Documents/c_apps/Stellar-Prey/homepath/main/crashlog.txt
Stellar Prey Test  0.0.1 AMD64 Oct 13 2020
+set com_ansiColor 1 +set fs_game main +set fs_basepath /home/bastien/Documents/c_apps/Stellar-Prey/basepath +set fs_homepath /home/bastien/Documents/c_apps/Stellar-Prey/homepath 
----- idFileSystemLocal::Startup -----
idFileSystemLocal::AddGameDirectory: "/home/bastien/Documents/c_apps/Stellar-Prey/basepath" "main"
    pk3: /home/bastien/Documents/c_apps/Stellar-Prey/basepath/main/bin.pk3
    pk3: /home/bastien/Documents/c_apps/Stellar-Prey/basepath/main/eX-texture-pack1.pk3
    pk3: /home/bastien/Documents/c_apps/Stellar-Prey/basepath/main/eX-texture-pack2.pk3
    pk3: /home/bastien/Documents/c_apps/Stellar-Prey/basepath/main/map-eXcs.pk3
    pk3: /home/bastien/Documents/c_apps/Stellar-Prey/basepath/main/map-UTCSUD.pk3
    pk3: /home/bastien/Documents/c_apps/Stellar-Prey/basepath/main/pak0000_A_8f7eae0.pk3
    pk3: /home/bastien/Documents/c_apps/Stellar-Prey/basepath/main/pak0000_B_8f7eae0.pk3
    pk3: /home/bastien/Documents/c_apps/Stellar-Prey/basepath/main/pak0001_bf9dde3_diff_8f7eae0.pk3
idFileSystemLocal::AddGameDirectory: "/home/bastien/Documents/c_apps/Stellar-Prey/homepath" "main"
----------------------
2725 files in pk3 files
execing default.cfg
execing language.lang
couldn't exec language.lang
execing autoexec.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Couldn't read conhistory.
----- Client Initialization -----
----- Console Initialization -------
Console initialized.
----- Initializing Renderer ----
GUIDKEY found.
----- Client Initialization Complete -----
----- R_Init -----
********************
ERROR:  DPI: failed to query (Couldn't get DPI)

********************
idRenderSystemLocal::Shutdown( 0 )
Hunk_Clear: reset the hunk ok
----- R_Init -----
recursive error after:  DPI: failed to query (Couldn't get DPI)

----- CL_Shutdown -----
idRenderSystemLocal::Shutdown( 1 )
-----------------------
recursive error after:  DPI: failed to query (Couldn't get DPI)

 bastien@bastien-kde  ~/Documents/c_apps/Stellar-Prey   master  

I think that the issue is related to I3, as it's a mininal.
I tried some things from where without success: https://winaero.com/find-change-screen-dpi-linux/

Game options don't take effect

In game options views such as "Controls", I don't have an apply button and I can't get the mouse sensitivity to change for example.

fatal: No such remote: 'upstream'

$ ./sp-tools.sh init
Initializing the Stellar Prey Test development environment.
Submodule 'default-paks-test' ([email protected]:GrangerHub/Stellar-Prey-Default-Paks-Test.git) registered for path 'default-paks-test'
Submodule 'source/OpenWolf-Engine' ([email protected]:GrangerHub/OpenWolf-Engine.git) registered for path 'source/OpenWolf-Engine'
Cloning into '.../Stellar-Prey/default-paks-test'...
Enter passphrase for key '/home/cengiz/.ssh/id_rsa': 
Cloning into .../Stellar-Prey/source/OpenWolf-Engine'...
Submodule path 'default-paks-test': checked out '322924f5b7b76a8f160910d5f3b9756aca364fd0'
Submodule path 'source/OpenWolf-Engine': checked out '91510a43eecec601ee110f28b43af26740af598e'
fatal: No such remote: 'upstream'

Issues on Ubuntu

Hi,
I don't know if you known that ./sp-tools.sh run client doesn't work on Ubuntu after building it as documented in the README.md: https://pastebin.com/YFdggUDk

Error:
./sp-tools.sh: line 715: /home/osboxes/Documents/Stellar-Prey/basepath/bin/unix/StellarPreyTest.AMD64: No such file or directory

Debug informations:
https://pastebin.com/NkhuisvZ

I think that's probably due to an unprinted/handled error

Can I know which OS do you use to build it successfully ? I don't want to debug that but instead concentrating on assets and some other content

recursive error after: Couldn't compile shader

I can compile and run the client on Gentoo Linux, but I get this:

//grain noise
#ifdef ENOISE
//  float origgray=max(res.x, res.y);//dot(res.xyz, 0.333);
//  origgray=max(origgray, res.z);
//  coord.xy=var_TexCoords.xy*16.0 + origgray;
//  vec4 cnoi=texture2D(SamplerNoise, coord.st);
//  res=lerp(res, (cnoi.x+0.5)*res, NoiseAmount*saturate(1.0-origgray*1.8));
#endif


  res.w=1.0;
  gl_FragColor = res;
}

Shader info log:
0:1(12): warning: extension `GL_EXT_gpu_shader4' unsupported in fragment shader
0:1(1): error: #extension directive is not allowed in the middle of a shader

recursive error after: Couldn't compile shader
----- CL_Shutdown -----

Here is the initialization log:

Stellar Prey Test  linux-AMD64 Mar 27 2021
+set com_ansiColor 1 +set fs_game main +set fs_basepath /home/cengiz/sw_nobackup/grangerhub/Stellar-Prey/basepath +set fs_homepath /home/cengiz/sw_nobackup/grangerhub/Stellar-Prey/homepath 
----- idFileSystemLocal::Startup -----
idFileSystemLocal::AddGameDirectory: "/home/cengiz/sw_nobackup/grangerhub/Stellar-Prey/basepath" "main"
    pk3: Stellar-Prey/basepath/main/bin.pk3
    pk3: Stellar-Prey/basepath/main/eX-texture-pack1.pk3
    pk3: Stellar-Prey/basepath/main/eX-texture-pack1_a1.pk3
    pk3: Stellar-Prey/basepath/main/eX-texture-pack2.pk3
    pk3: Stellar-Prey/basepath/main/eX-texture-pack2_a1.pk3
    pk3: Stellar-Prey/basepath/main/map-eXcs.pk3
    pk3: Stellar-Prey/basepath/main/map-eXcs_a1.pk3
    pk3: Stellar-Prey/basepath/main/map-UTCSUD.pk3
    pk3: Stellar-Prey/basepath/main/map-UTCSUD_a1.pk3
    pk3: Stellar-Prey/basepath/main/pak0.pk3
    pk3: Stellar-Prey/basepath/main/pak0000_A_8f7eae0.pk3
    pk3: Stellar-Prey/basepath/main/pak0000_B_8f7eae0.pk3
idFileSystemLocal::AddGameDirectory: "/Stellar-Prey/homepath" "main"
----------------------
5440 files in pk3 files
execing default.cfg
execing autoexec.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Loading Community Server
File cs_users.txt does not exist... creating it.
Couldn't read conhistory.
----- Client Initialization -----
----- Console Initialization -------
Console initialized.
idCmdSystemLocal::AddCommand: userinfo already defined
----- Initializing Renderer ----
GUIDKEY building random string
GUIDKEY generated
----- Client Initialization Complete -----
----- R_Init -----
Initializing OpenGL display
Display aspect: 1.778
...setting mode -2: 1920 1080
Trying to get an OpenGL 3.3 context
SDL_GL_CreateContext succeeded.
Using 24 color bits, 24 depth, 8 stencil display.
Available modes: '1920x1080 1280x800 1440x900 1680x1050 640x480 800x600 1024x768 1280x960 1600x1200 1280x1024'
GL_RENDERER: AMD CYPRESS (DRM 2.50.0 / 5.4.38-gentoo-x86_64, LLVM 11.0.0)
Initializing OpenGL extensions
...GL_EXT_texture_compression_s3tc not found
...ignoring GL_S3_s3tc
...GL_EXT_texture_env_add not found
...GL_ARB_multitexture not found
...GL_EXT_compiled_vertex_array not found
...ignoring GL_EXT_texture_filter_anisotropic
...using OpenGL 4.3 (Core Profile) Mesa 20.2.6
...using GL_ARB_framebuffer_object
...using GL_ARB_vertex_array_object
...ignoring GL_ARB_texture_float
...using GL_ARB_depth_clamp
...ignoring GL_ARB_seamless_cube_map
...using GLSL version 4.30
...using GL_NVX_gpu_memory_info
...ignoring GL_ATI_meminfo
...ignoring GL_ARB_texture_compression_rgtc
...ignoring GL_ARB_texture_compression_bptc
...GL_EXT_shadow_samplers not found
...GL_EXT_direct_state_access not found
Render thread starting
------- idRenderSystemLocal::FBOInit -------
------- idRenderSystemLocal::InitGPUShaders -------

Have the correct timezone temproarily set for the packaging of the default paks on windows to produce the correct md5 checksums.

Have the correct timezone temproarily set for the packaging of the default paks on windows to produce the correct md5 checksums.

See: https://stackoverflow.com/questions/22766678/how-to-set-the-correct-local-time-zone-in-git-bash
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/tzset?redirectedfrom=MSDN&view=msvc-160

The variable $PLATFORM in in sh-tools.sh indicates which platform is being used. https://github.com/GrangerHub/Stellar-Prey/blob/master/sp-tools.sh#L40

Cmake is missing GEOIP_LIBRARY and SDL2MAIN_LIBRARY

In the result of ./sp-tools.sh configure_cmake both

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GEOIP_LIBRARY (ADVANCED)
    linked by target "OWMaster" in directory /home/cengiz/sw_nobackup/grangerhub/Stellar-Prey/source/OpenWolf-Engine
SDL2MAIN_LIBRARY
    linked by target "client" in directory /home/cengiz/sw_nobackup/grangerhub/Stellar-Prey/source/OpenWolf-Engine
    linked by target "server" in directory /home/cengiz/sw_nobackup/grangerhub/Stellar-Prey/source/OpenWolf-Engine
    linked by target "engine" in directory /home/cengiz/sw_nobackup/grangerhub/Stellar-Prey/source/OpenWolf-Engine
    linked by target "autoupdateserver" in directory /home/cengiz/sw_nobackup/grangerhub/Stellar-Prey/source/OpenWolf-Engine

I assume these are libraries that need to be installed prior?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.