Commit graph

  • 2fc31fea37 The server doesn't like read only directories where it finds its files. Removing read-only flags from mounts for now. Rework directories so there are fewer volumes within volumes. Keep splitting up the code between the two scripts, removing unused variables, etc.. Add XML file merging integration. WIP. Fix lack of comma in cfg file that _might_ have been causing issues... Daniel Ceregatti 2023-05-18 17:29:27 -07:00
  • 64f162001d Continue refactoring file locations in the two containers. Also refactor variables so they're consistent. Set container names in PS1. Update docs. Daniel Ceregatti 2023-05-16 09:03:41 -07:00
  • 206c838f9d Continue splitting up the functionality. Only put functions and files that pertain to the container and/or volume. Set forceSameBuild = 0 because the release build we have, while it works, reports a few revisions behind. WIP getting all this working again. Daniel Ceregatti 2023-05-15 17:44:56 -07:00
  • 4cb4a4409d Mount each script into /usr/local/bin. Keep separating out the functionality between the two scripts. Daniel Ceregatti 2023-05-15 08:56:51 -07:00
  • 71004b4fcc Start turning this project into a provisioning system: The main image will manage the base server files and mod files, then run servers as separate containers with these volumes mounted read-only, so they can be shared across server instances. Add command line xml merge tool for when that time comes. Add Red Falcon Heliz mod as the work-in-progress for getting a turnkey system that merges many different XML files that a full server mod installation will require. Fix finding a mod by index and use that for all mod operations. Start re-working how mods are added/removed/activated/deactivated. Split the script up into separate files with distinct functionality. WIP. Add a template system for handling mod XML files. Add an express web server to be the provisioning container frontend. Add lots of comments. Add TL;DR for turnkey release server install. Daniel Ceregatti 2023-05-13 20:58:35 -07:00
  • 169018665f Start turning this project into a provisioning system: The main image will manage the base server files and mod files, then run servers as separate containers with these volumes mounted read-only, so they can be shared across server instances. Add command line xml merge tool for when that time comes. Add Red Falcon Heliz mod as the work-in-progress for getting a turnkey system that merges many different XML files that a full server mod installation will require. Fix finding a mod by index and use that for all mod operations. Start re-working how mods are added/removed/activated/deactivated. Add a template system for handling mod XML files. Add lots of comments. Daniel Ceregatti 2023-05-10 19:35:36 -07:00
  • 291d869ed1 Fix bad usage. Daniel Ceregatti 2023-03-30 11:04:21 -07:00
  • f0eb4d0afc Restore the DayZ experimental ID, as this is not yet released. Daniel Ceregatti 2023-03-30 11:04:04 -07:00
  • 9955d9b266 Fix issue where directories were not present when the volume is created. Daniel Ceregatti 2023-03-30 10:57:26 -07:00
  • 469af7c0c8 Add other maps to the config. Set FPS output to 1 hour. Change MOTD. Daniel Ceregatti 2023-03-30 10:23:15 -07:00
  • fec061e8ff Handle different variants of types files. Add map name to status output. Daniel Ceregatti 2023-03-30 10:21:20 -07:00
  • f79a13ae92 Add Lightsword and Rag Baseitems support. WIP. Daniel Ceregatti 2023-03-30 10:19:54 -07:00
  • b3781c2fcd Add debugging comments. Daniel Ceregatti 2023-03-30 10:19:05 -07:00
  • 38e4434bd5 Add gdb to the container. Rework how mods are installed with various global scripts and env files instead of individual files for every mod. Deal with different types file variants. Add Pripyat support. Daniel Ceregatti 2023-03-30 10:17:16 -07:00
  • f5048372d8 Fix typo. Daniel Ceregatti 2023-03-07 10:34:26 -08:00
  • 6c68dd292f Make types.sh be able to handle any XML file with types.xml data. Daniel Ceregatti 2023-02-24 15:15:17 -08:00
  • 412b4e692c Fix config diff handling. Daniel Ceregatti 2023-02-24 15:14:22 -08:00
  • 1a129135da Make WindStridesClothingPack use types.sh. Daniel Ceregatti 2023-02-24 15:13:04 -08:00
  • 35be16d48f Add SNAFU Weapons types integration. Daniel Ceregatti 2023-02-24 15:11:54 -08:00
  • 28a741ffba Make the container always restart unless explicitly stopped. Daniel Ceregatti 2023-02-22 21:21:25 -08:00
  • 40fce24641 Fix backups. Daniel Ceregatti 2023-02-22 21:20:08 -08:00
  • 86f4fe448c Add detection of extras/types.xml and handle it if found. WIP. Daniel Ceregatti 2023-02-22 20:59:10 -08:00
  • e7da6d5cec Updated docs. Daniel Ceregatti 2023-02-22 20:58:01 -08:00
  • 5af8b43a72 Add script to merge and unmerge types.xml files. Daniel Ceregatti 2023-02-22 20:56:33 -08:00
  • a250aa9be5 Fix keys not being copied when a mod is first installed. Fix backups. Daniel Ceregatti 2022-11-11 15:41:22 -08:00
  • 8b72734b57 Updated docs. Daniel Ceregatti 2022-10-18 09:55:16 -07:00
  • ba8146e491 Fix docs. Daniel Ceregatti 2022-10-15 17:07:44 -07:00
  • df4c17c554 Update docs. Daniel Ceregatti 2022-10-15 17:00:35 -07:00
  • 3f5f3ac01f Fix backup. Make adding mods only add one at a time. Fix mod output listing. Daniel Ceregatti 2022-10-10 10:25:18 -07:00
  • f9d3e63759 Note that multiple ids for adding/removing mods ins't a feature yet. Daniel Ceregatti 2022-10-10 10:21:26 -07:00
  • 5f6bc853a3 Add Banov script. Update Windstride scripts. Daniel Ceregatti 2022-10-10 10:19:53 -07:00
  • af88d74ea3 Add initial Banov support scripts. WIP. Daniel Ceregatti 2022-09-29 11:32:22 -07:00
  • c2c15ad51d Remove files that should always come from the mod directory itself. Daniel Ceregatti 2022-09-28 23:22:24 -07:00
  • f612004802 Add the other maps as templates. Daniel Ceregatti 2022-09-23 15:10:38 -07:00
  • 27730c36ab Continue using the experimental app id. Add more status output. Daniel Ceregatti 2022-09-23 15:06:46 -07:00
  • cbe51f2f10 Updated docs. Daniel Ceregatti 2022-09-23 15:02:36 -07:00
  • eaf31aac61 Remove multiple ids from usage, as that's not gonna happen. Daniel Ceregatti 2022-08-02 18:20:44 -07:00
  • f2eede54d6 Fix raptors install script. Daniel Ceregatti 2022-08-02 18:20:01 -07:00
  • dd86e3e8cd Add xmllint pacakge so we can verify them when scripts merge them. Daniel Ceregatti 2022-08-02 18:18:34 -07:00
  • 413266c632 Add Windrides Clothing Pack scripts. Daniel Ceregatti 2022-08-02 18:17:54 -07:00
  • a85674c122 Remove unused command Daniel Ceregatti 2022-07-30 21:59:13 -07:00
  • 9d7bb90696 Fix activation and deactivation of mods. Add backup support. Daniel Ceregatti 2022-07-30 21:57:30 -07:00
  • a9a2aa7af9 Add 64 bit SDL library. Daniel Ceregatti 2022-07-30 21:56:29 -07:00
  • 3ee9dd9d89 Fix perms. Daniel Ceregatti 2022-07-30 21:55:58 -07:00
  • c7a3bf0a88 Add raptor mod modifications. Daniel Ceregatti 2022-07-30 21:55:14 -07:00
  • b3c1b048fb Continued refactoring. Rename variables so they're clearer. Add lots of comments. Daniel Ceregatti 2022-07-30 17:41:37 -07:00
  • 109a18f22c Add debugging to the compose file. Daniel Ceregatti 2022-07-30 17:40:38 -07:00
  • c728c743b7 Big refactor: Remove all the fn_ crap and normalize whitespace. Daniel Ceregatti 2022-07-25 18:26:31 -07:00
  • 5e48a3c3e3 Add convenience script. Daniel Ceregatti 2022-07-25 18:24:45 -07:00
  • 4359cdb163 Updated usage. Daniel Ceregatti 2022-07-23 23:54:20 -07:00
  • e71ed82871 Add uptime to status. Updated docs. Daniel Ceregatti 2022-07-23 22:09:57 -07:00
  • 71f381ec3d Refactor the profiles directory name so it doesn't tab complete to the start of the other directory. Make update also handle server config file diff. Daniel Ceregatti 2022-07-23 20:16:07 -07:00
  • 3c0f72b754 Disable the logging of FPS and such every minute. Daniel Ceregatti 2022-07-23 20:14:38 -07:00
  • 381f3fbaf3 More mod WIP. Daniel Ceregatti 2022-07-23 11:15:19 -07:00
  • ddfee2d2d1 Updated docs. Daniel Ceregatti 2022-07-22 23:31:41 -07:00
  • 8303f24a6a Updated docs. Daniel Ceregatti 2022-07-22 23:20:39 -07:00
  • dc04adff04 Updated docs. Daniel Ceregatti 2022-07-22 23:19:50 -07:00
  • c31f47c3a5 Updated docs. Daniel Ceregatti 2022-07-22 23:15:55 -07:00
  • 49f5206d35 Switch to docker compose plugin. Daniel Ceregatti 2022-07-22 22:56:02 -07:00
  • 401d857a7f Implement more mod handling. Daniel Ceregatti 2022-07-22 22:19:33 -07:00
  • 1ba6a057c0 First working implementation of mod support. Daniel Ceregatti 2022-07-22 21:12:36 -07:00
  • 9d0cb5f7bf Make core file handling be part of docker compose. Remove the shutdown handling hack when the server was crashing on exit. Add a proper stop option now that seinding SIGTERM will properly shut the server down. Daniel Ceregatti 2022-07-22 18:12:50 -07:00
  • e8d0893569 Add ability to attach a host-based debugger. Daniel Ceregatti 2022-07-22 18:11:46 -07:00
  • 215c81f437 Updated docs. Daniel Ceregatti 2022-07-22 18:11:07 -07:00
  • f6153d02b5 Refactor to allow cleanup to happen in an exit trap. Remove loop to allow docker to handle restarts on crashes. Hacks exist for now to force exit 0 because the server always crashes on exit. Rework how the config is loaded. It need not always happen. Daniel Ceregatti 2022-07-10 11:26:16 -07:00
  • 13f3cda4cb Bring in all the settings from the documentation. The last two are not from there, though. Daniel Ceregatti 2022-07-10 11:24:46 -07:00
  • e3daab9d25 Add host mode support so the server shows up in LAN browsers. Keep ports with comments so the old setting can remain as an option. Daniel Ceregatti 2022-07-10 11:24:06 -07:00
  • 296fc55765 Set the path to include /files and stop adding the server script so we can develop it without building. Daniel Ceregatti 2022-07-10 11:21:07 -07:00
  • 8ba598b549 Bind mount the server script in the container for now, to dev. Daniel Ceregatti 2022-07-09 14:48:15 -07:00
  • b9aee3d824 Add RCON file handling. Add RCON client. Add many comments. Daniel Ceregatti 2022-07-09 14:23:43 -07:00
  • c9edc5eb59 Use new RCON port. Start the server with a command line here so we can dev more rapidly. Daniel Ceregatti 2022-07-09 14:23:09 -07:00
  • a50e9ed6a4 Add git, jq, python, and py3rcon. Daniel Ceregatti 2022-07-09 14:22:33 -07:00
  • 2b64840617 Updated docs. Daniel Ceregatti 2022-07-09 14:21:42 -07:00
  • ee3ee48ff0 Add rcon port. Daniel Ceregatti 2022-07-09 11:34:36 -07:00
  • 56aa713151 Fix yet more conflicts. Daniel Ceregatti 2022-07-08 22:45:06 -07:00
  • c2ca3ce46b Fix conflict. Daniel Ceregatti 2022-07-08 22:41:42 -07:00
  • 4377404e07 Add rcon port. Daniel Ceregatti 2022-07-08 22:38:54 -07:00
  • ba2be87f37 Re-format and re-order entries. Daniel Ceregatti 2022-07-08 22:35:40 -07:00
  • 9edfcae0c9 More checking, less calling of the config function. Daniel Ceregatti 2022-03-31 01:34:10 -07:00
  • f2987ebe1e Use proper recommendation message. Daniel Ceregatti 2022-03-31 01:06:55 -07:00
  • cb1ab78db8 Prevent the config from happening if the server files aren't installed yet. Daniel Ceregatti 2022-03-31 00:50:56 -07:00
  • 368ec600f7 Remove all the Battle Eye rcon crap. Let the game manage that. Remove the default.cfg file as that's just been incorporated into the dayzserver script. Set some saner defaults in serverDZ.cfg. Remove the faking of the install. Integrate steamcmd from Debian. Updated docs. Daniel Ceregatti 2022-03-31 00:34:57 -07:00
  • 322ce732c5 Updated docs. Daniel Ceregatti 2022-03-26 21:28:36 -07:00
  • ccc9302a3e Add more dependency checking to make sure things don't run when they're not met. Daniel Ceregatti 2022-03-26 18:04:04 -07:00
  • 618488224f Add the ability to fake the DayZ install while developing, as it's very large and takes a lot of time. Remove actions that will not become part of the set of features. Update usage output. Daniel Ceregatti 2022-03-26 17:36:08 -07:00
  • fb23bd2196 Updated docs. Daniel Ceregatti 2022-03-26 16:49:38 -07:00
  • 164d5b41d6 Add more interactive functionality: Login, update, rcon, etc. All WIPs. Simplify things by consolidating all the bash stuff into dayzserver and removing files where the content has become managed interactively. Make sure steamcmd has proper permissions in the container. More updated documentation. Daniel Ceregatti 2022-03-26 16:37:39 -07:00
  • d87c5fad0e Create a dedicated means by which we can run interactive prompts to effect tasks such as (all WIP): Logging into to Steam, accounting for Steam Guard. These credentials persist throughout the lifetime of the docker volume storing the data. Adding/removing/managing workshop items. The goal is to also manage the "=mod=" parameter. Listing the auto-generated RCON password. Backing up. Further refine the original dayzserver script. In docker, a lot of the other stuff wasn't necessary so a lot is just being removed. Install steamcmd into the container in Dockerfile and adjust paths. Vastly updated docs! Daniel Ceregatti 2022-03-26 13:02:54 -07:00
  • e7ba76acf7 Added Steam login step, which is done interactively. Factor out all the unused stuff from dayzserver. Rework the logic. Started support for workshop items. Updated docs. Daniel Ceregatti 2022-03-26 03:16:04 -07:00
  • 6be82b1adc Make configuration changes come from changes to the files rather than setting environment variables. Updated documentation. Daniel Ceregatti 2022-03-25 23:52:06 -07:00
  • b141d2b0da Refactor to use only one volume, one for the entire contents of the user's home directory. This simplifies a lot. Make all bash changes to the dayzserver script instead of creating a wrapper. Handle the server config and Battle Eye string substitution. Add the default.cfg from upstream and handle it locally. Daniel Ceregatti 2022-03-25 23:17:55 -07:00
  • 3c91314b49 Add missing lib. Remove other packages that won't be used in docker. Add more reporting when the server crashes. WIP. Daniel Ceregatti 2022-03-25 19:51:57 -07:00
  • 0e25ac2bcf Lower the docker compose version, as the one on my server didn't like this one. Daniel Ceregatti 2022-03-25 19:09:50 -07:00
  • e34218a880 Use the correct Debian image. Daniel Ceregatti 2022-03-25 19:09:03 -07:00
  • c07ad683ca Just use the anonymous steam user. Daniel Ceregatti 2022-03-25 19:06:02 -07:00
  • 8eed898bd4 First working prototype. It "works", but it still segs, which is the problem I was hoping to fix. Bummer. Add the dayzserver from upstream, but a modified version that doesn't do all the tmux stuff. Daniel Ceregatti 2022-03-25 18:54:25 -07:00
  • 02dd72d0bf Add .gitignore. Daniel Ceregatti 2022-03-25 16:25:55 -07:00
  • e204704a56 Initial import. Daniel Ceregatti 2022-03-25 16:24:50 -07:00
  • 95d05b9d5d Initial commit Daniel Ceregatti 2022-03-25 23:24:01 +00:00