Closed csd-was-taken closed 1 month ago
Can you try creating a file named mapcycle.txt in your config directory and add the map name to it minus the file extension? The files should be properly mapped especially if the motd.txt file worked 🤔. It could be that the map startup command only recognizes items in the mapcycle.
If that doesn't work, run:
added them to the mapcycle, still doesn't load properly
docker exec it -bash [ID]
spits me the error OCI runtime exec failed: exec failed: unable to start container process: exec: "-bash": executable file not found in $PATH: unknown
, but docker exec -it [ID]
sh gets me into it
and yup, looks like my maps aren't getting put into the proper folder (dm_rats.bsp, doom_E1M1.bsp, and doom_E1M1.res should all be in here)
Ah yeah, got a hunch on the cause of this. Can you try the jives/hlds-beta image and try again? I made a patch against the rsync command but I'm not near a computer to validate myself.
jives/hlds-beta doesn't seem to exist on dockerhub?
Oh oops sorry, tag name should be jives/hlds:valve-beta
yup! that works perfectly
Pushed up a fix for this in 1.4.0: https://github.com/JamesIves/hlds-docker/releases/tag/v1.4.0
You can pull the changes automatically by doing a fresh docker pull on jives/hlds:valve
What happened?
first off, it's entirely possible this is user error. im not super familiar with linux stuff or docker. but according to the docs, the config folder should be mapped to the game's directory (in my case, the valve folder).
motd.txt works properly, but any maps i place inside refuse to load (vanilla maps work fine). i've tried both dm_rats (which is entirely self contained in the bsp), and my doom e1m1 map (which has additional files beyond the map, that would need sent to the client)
Approach
I am using a pre-built image on Dockerhub (jives/hlds)
What games are you trying to run?
Half-Life Deathmatch (valve)
Do you have custom server configs or mods installed?
Docker Logs
Docker Command