eukara / freecs Goto Github PK
View Code? Open in Web Editor NEWClean-room Counter-Strike 1.5 in QuakeC, using Nuclide SDK. Previously known as OpenCS! (2016)
License: ISC License
Clean-room Counter-Strike 1.5 in QuakeC, using Nuclide SDK. Previously known as OpenCS! (2016)
License: ISC License
Movement in game has been sluggish/laggy/teleporty for me, both on Linux and Windows, both on FreeCS and FreeHL. I've been using the latest binaries from fte's website, didn't build from source.
Cvars/commands that have had an impact on making the movement more smooth (way less of these hitches/stutters):
cl_yieldcpu 0
cl_threadedphysics 1
Cvars/commands that I've tried but have had no impact:
cl_netfps
cl_nopred 1
pr_no_playerphysics 1
One thing that is interesting and might or might not be related is the output of sv_showpredloss 1
. Setting that cvar spams this in the console:
yes: ignoring 13 msecs (anti speed cheat)
Around 3 or 4 times a second.
Door deals damage if you walk through it.
At times, bullet casings in the tunnel can create a repetitive sound:
reported this in the wrong repo
Tested on:
Commits: e744c22
eukara/freehl@5b9db50
VeraVisions/nuclide@9deb12b
OS: Debian 11
Backend: SDL2
Render type: OpenGL
Data files: Shareware (from the script)
I'm not sure if it was deleted or simply hasn't been uploaded, but this patch is missing from your archive.org uploads.
one of the issues i've had is documentation - i don't think its comprehensive enough and what there is, is spread out over at least 3 or 4 different websites and some of it is conflicting - this is a problem for users which may well result in less of them, thus less feedback
apparently there used to be a wiki here (i found links to it elsewhere, all 404 now) and i'd like to suggest re-adding it, either here or elsewhere - i will be happy to author and maintain it
Just a few console errors appearing on the following maps:
sfx sample player/pl_sand1.wav does not exist!
sfx sample player/pl_sand2.wav does not exist!
sfx sample player/pl_sand3.wav does not exist!
sfx sample player/pl_sand4.wav does not exist!
no soundDef found for player.spraylogo
infodecal tracing failed at 2240.81 1011.1 173.925
infodecal tracing failed at 2042.44 1217.18 185.509
no soundDef found for func_breakable.impact_tile
no soundDef found for func_breakable.impact_cinderblock
no soundDef found for func_breakable.impact_cinderblock
no soundDef found for func_breakable.impact_cinderblock
no soundDef found for func_breakable.impact_cinderblock
no soundDef found for func_breakable.impact_cinderblock
no soundDef found for func_breakable.impact_cinderblock
no soundDef found for func_breakable.impact_cinderblock
no soundDef found for func_breakable.impact_tile
no soundDef found for func_breakable.impact_cinderblock
no soundDef found for func_breakable.impact_cinderblock
Cannot find entity class game_team_master
Cannot find entity class game_team_master
Tested on:
Commits: e744c22
eukara/freehl@f61c7af
VeraVisions/nuclide@45d58a8
OS: Debian 12 Alpha 1
Backend: SDL2
Render type: OpenGL
Data files: Shareware (from the script)
I'm trying to figure out how to package FreeHL and FreeCS, trying FreeHL right now.
I was able to replicate your FreeHL release by copying valve/manifest.fmf to default.fmf and from copying nuclide/platform to platform, where nuclide is nuclide's repo.
So my directory looks like this: default.fmf platform valve
.
My problem is that for a package this will all be read-only, and I want later on that the user supplies the assets. Is there a way to get pak0_steam.pk3dir, or whatever directory name the assets have, read from some other place ? Like in ~/.local/share/freehl/pak0_steam.pk3dir
.
I also saw in the issues and from fteqw's commits that it now has a -halflife flag. What does this do exactly ?
@eukara - if/when you get a chance, i'd really appreciate if you could have a close look at my config and provide any feedback you might have
the object is to have a fully functioning cstrike server that is reasonably secure
this all seems to work, it's just a matter of tuning it
user group & permissions:
# useradd --system -U -s /usr/bin/nologin fteqw
# chown --recursive fteqw:fteqw /usr/share/games/halflife/*
# chmod --recursive u=rw /usr/share/games/halflife/*
# chmod --recursive g=r /usr/share/games/halflife/*
# chmod --recursive o= /usr/share/games/halflife/*
# chmod u=rx /usr/share/games/halflife/fteqw-sv64
# chmod g=r /usr/share/games/halflife/fteqw-sv64
cstrike/server.cfg:
hostname "FreeCS Test Server"
set sv_public 0
set deathmatch 1
set coop 0
set maxplayers 16
set timelimit 20
set pausable 0
map de_dust2
unit:
ExecStart=/usr/share/games/halflife/fteqw-sv64 -nohome -readonly -game cstrike -svport 64444
If you jump and accidentally "catch" on objects and hang like that for a couple of seconds, there will be instant death because of the fall.
This bug can also be reproduced in FreeHL:
Tested on:
Commits: e744c22
eukara/freehl@5b9db50
VeraVisions/nuclide@9deb12b
OS: Debian 11
Backend: SDL2
Render type: OpenGL
Data files: Shareware (from the script)
It would a very nice addition:
https://github.com/fte-team/fteqw/blob/master/specs/skeletal.txt#L71
Specially if they are activated after the death animation.
If you touch NPCs, then they will have a running animation.
hi again
./fteqw64 -cstrike
but that doesn't work (i tried with the cstrike folder next to the valve folder, as well as within the valve folder)Starting with a fresh install of FreeHL (4-18-2023) with assets pulled from retail disc, and FreeCS (4-18-2023) with assets downloaded using the install_from_archiveorg.sh script.
Both of these are linux machines, one is Linux Mint 21.1 and the other is Pop_OS!, so they are relatively close Ubuntu-based distros.
I go to Play on LAN -> start a server on one machine, and also go to Play on LAN and choose 'Refresh' to which the prompt :
'"Refreshing LAN server list..."
Listing 0 applicable servers'
...appears but sits endless printing "Added 0 LAN servers (of 0)." to the console.
However, the server is there and can be joined through the console no problem with "connect ".
Is this a problem with FTEQW perhaps? I'm looking around the Innernette for problems relating to it, but so far have not gleaned much.
Is there any way to decouple FreeCS from the outside server, for usage within the WebGL port of FTEQW?
So far, i'm trying my best, but the CORS issues are preventing me to get this up and running on WebGL.
I want to do a simple server, running only maps from a single mapper from our contry (Brazil), because those maps are of extreme importance for Brazilian players, and aren't available in any other game other than Counter-Strike 1.5.
It's possible to get this up and running on FTEQW WebGL?
is a dedicated server possible?
i'd like to install a dedicated server on an Arch VPS
i started playing around with this but there seems to be very little documentation on fteqw (fteqw-sv64 -h/--help
for example simply tries to start the engine)
$ ./fteqw-sv64
Binary is located at "/storage/Downloads/freecs/game/"
couldn't exec masters.lst
couldn't exec cvars.cfg
Couldn't load plugin ffmpeg
execing server.cfg
Unknown command "sv_clienttrace"
couldn't exec ftesrv.cfg
Exe: FTE git-6496-eb6b127d9
======== Half-Life Initialized ========
Current search path:
----------
./valve (e)(w)
./valve/zpak001.pk3 (h)
./valve/platform.pk3 (h)
./valve/platform.pk3/vmap_tex.pk3 (h)
./valve/platform.pk3/menu_fonts.pk3 (h)
./valve/platform.pk3/menu_fallback.pk3 (h)
./valve/platform.pk3/base_textures.pk3 (h)
./valve/platform.pk3/base_scripts.pk3 (h)
./valve/platform.pk3/base_postproc.pk3 (h)
./valve/platform.pk3/base_models.pk3 (h)
./valve/platform.pk3/base_glsl.pk3 (h)
./valve/dlcache/addon_furtherdata.pk3.63ef2011 (c)(u)(h)
./valve/dlcache/pak_patch1110.pk3.b34e619f (c)(u)(h)
./valve/pak0.pak (c)(h)
./platform (e)(w)
SV_Error: Couldn't load a map. You may need to use the -basedir argument.
Fatal error: SV_Error: Couldn't load a map. You may need to use the -basedir argument.
setting -basedir
to anything other than the current directory doesn't seem to work
Static doors begin to move if you come close to them.
Hi there.
Really interested in following the Development of this project (and the other Free* Projects), though there is a question on my mind which is Bot Support (which i argue it's somewhat important for the multiplayer-only titles). will that be worked on eventually?
If you shoot inside the hangar, then a dark area will appear on the floor.
i tried cvarlist cvar * > cvarlist.txt
re: https://code.idtech.space/eukara/fhl-server-configs
my knowledge of systemd and linux security is rather poor, but i'm wondering about running the service as 'user' - wouldn't it be better to run this under a dedicated user:group for security reasons and eliminate loginctl enable-linger <username>
?
Something messed up the license header in this commit? 8a15293#diff-d33e2cd69e77c7a9e181336d76af17bdf7f971996181d43f6554f7805a86d82dR14
Rtlights are not spawning correctly in Goldsrc games. Example on map as_oilrig:
If you load the map into Quake, then the spawn will be normal:
If you export the rtlights file from Quake to Freecs, then the location of the lights will be correct, but the collision itself will not be in the right place.
Tested on:
Commits: e744c22
eukara/freehl@f61c7af
VeraVisions/nuclide@45d58a8
OS: Debian 12 Alpha 1
Backend: SDL2
Render type: OpenGL
Data files: Shareware (from the script)
The door opens only in one direction.
the first screen the player sees when joining the server should be the motd, however if the hostname is changed in server.cfg, the motd is not shown, nor is the team join dialog
server.cfg:
works: hostname "FreeCS Test Server"
doesn't work: hostname "The Asylum Counter-Strike 1.5 Server"
exec command:
ExecStart=/usr/share/games/halflife/fteqw-sv64 -nohome -readonly -game cstrike -svport 64444 +map de_dust2
related: #38
Hey, I think this project is awesome, I think more people should know about it and I had an idea. You know OpenARENA? A clone of Quake, based on Quake's engine, same physics, same engine, same gameplay, new assets, it'd be awesome if FreeCS & FreeHL had financing to make free assets. Tell me what you think about it, also, if you don't like the idea, could you guide me in the right direction, so I can try to?
After the corpses have disappeared from view, their death animation is replayed if you look at them again.
Tested on:
Commits: e744c22
eukara/freehl@5b9db50
VeraVisions/nuclide@9deb12b
OS: Debian 11
Backend: SDL2
Render type: OpenGL
Data files: Shareware (from the script)
The cameras turn on for a very long time, and also cannot be turned off manually, only after some time.
I'm a bit confused about FTEQW since I saw 3 different projects having that name:
Also checking https://fte.triptohell.info/resources it says that FreeCS is supported, but links to a sourceforge project at https://sourceforge.net/projects/freecs-1-5/. The author is named eukara so I assume it's you ?
So what versions of FTEQW are actually compatible with FreeCS ? I'm asking because my distro ships with https://fte.triptohell.info already so using that one would make things easy for me.
I've also tested this FTEQW with FreeCS. If I use your releases of FreeHL and FreeCS, set them up with the assets and run fteqw on them, it seems to work fine. FreeHL is bugged but you said that's normal in its README, and FreeCS looks like it's working apart from some weird visual glitches when looking outside of the map.
However trying to compile FreeHL and FreeCS doesn't work with that fteqcc. When trying to build FreeHL using the Makefile in src, I get this:
cd client && make
make[1]: Entering directory '/tmp/freecs/nuclide/valve/src/client'
fteqcc progs.src
FTEQCC: Jan 1 1980
Source file: progs.src
Outputfile: ../../csprogs.dat
including ../../../src/shared/fteextensions.qc
including ../../../src/shared/defs.h
../../../src/shared/NSIO.h:30: error: expected ;, found (
../../../src/shared/NSTrigger.h:56: error: expected ;, found (
../../../src/shared/NSEntity.h:89: error: expected ;, found (
************ ERROR ************
virtual keyword on member that is not a function
Error in ../../../src/shared/NSIO.h on line 30
make[1]: *** [Makefile:4: all] Error 1
make[1]: Leaving directory '/tmp/freecs/nuclide/valve/src/client'
make: *** [Makefile:4: all] Error 2
(yes it's normal that fteqcc says it was built on Jan 1 1980)
I'm using the rev 6303 of that fteqw/fteqcc.
i believe i have all the latest files from FreeHL, FreeCS and FTEQW as of today
starting game with: ./fteqw64 -game cstrike
in the configuration menu, none of the settings are saved when exiting the game (key binds for ex.)
(the same is true for ./fteqw64 -game valve
)
The light toggle switch located in the tunnel, after turning off, turns on again after a couple of seconds.
i'll get to my other open ticket sooner or later, but i just had a thought i wanted to explore...
when valve got their hands on CS, some of the changes they made were not received well by large parts of the community - as i recall, one of the (dumb) things they did was to further randomize bullet trajectory when moving/jumping, as well as other changes, in an attempt to level the playing field between newcomers and skilled players (translation: to sell more copies)
i'm just wondering what people might think if bullet randomness was completely removed from FreeCS???
my thinking here is that the "luck" factor would be eliminated which i suspect might solve some annoyances people have regarding bullet randomness; "my crosshair was right on him!!! there's no way i could've missed!!!"
of course i also respect what @eukara and other contributors want FreeCS to be, so i'm certainly not pushing for such a change
ps: might want to consider enabling the discussions option for this repo perhaps
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.