BSD Ports

games/midnight-battle-zone 0.1.0 MidnightBSD

Cat-themed 3D Vulkan real-time strategy game

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
570620c9c9
License
bsd2
Categories
games

Description

Midnight Battle Zone is a cat-themed 3D real-time strategy game written in Rust, with a Vulkan renderer and Lua 5.4 scripting. Train Worker, Soldier and Sniper Cats, mine crystals, build bases, and fight a Lua AI at three difficulty levels on three battle maps, or play a two-player LAN game with mDNS discovery.

It features fog of war, a minimap, AMD FidelityFX Super Resolution 1.0 upscaling, and public-domain jazz and blues background music. Units, buildings and maps are defined in Lua and can be extended.

A Vulkan driver is required. Gamepads are supported through SDL3, and sound plays through sndio's aucat (or PulseAudio's paplay).

Version history 1

  1. 0.1.0 966ed8299c

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install midnight-battle-zone

From mports:

cd /usr/mports/games/midnight-battle-zone && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	midnight-battle-zone>0:games/midnight-battle-zone

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Runtime 3

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

USES
cargo xorg
Service scripts
none

Files

pkg-plist 13
  • bin/midnight-battle-zone
  • libexec/midnight-battle-zone
  • share/midnight-battle-zone/assets/maps/midnight_valley.lua
  • share/midnight-battle-zone/assets/maps/shattered_basin.lua
  • share/midnight-battle-zone/assets/maps/twin_iron_ridge.lua
  • share/midnight-battle-zone/assets/scripts/ai.lua
  • share/midnight-battle-zone/assets/scripts/buildings.lua
  • share/midnight-battle-zone/assets/scripts/gameplay.lua
  • share/midnight-battle-zone/assets/scripts/units.lua
  • @dir share/midnight-battle-zone/assets/maps
  • @dir share/midnight-battle-zone/assets/scripts
  • @dir share/midnight-battle-zone/assets
  • @dir share/midnight-battle-zone
distinfo 98
FileSizeSHA256
rust/crates/aho-corasick-1.1.5.crate184315c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba
rust/crates/anstream-1.0.0.crate28916824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d
rust/crates/anstyle-1.0.14.crate17787940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000
rust/crates/anstyle-parse-1.0.0.crate2204252ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e
rust/crates/anstyle-query-1.1.5.crate1026440c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc
rust/crates/anstyle-wincon-3.0.11.crate12638291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d
rust/crates/arrayvec-0.7.8.crate33260d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56
rust/crates/ash-0.38.0+1.3.281.crate4577750bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f
rust/crates/autocfg-1.5.1.crate18911f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53
rust/crates/bit-set-0.8.0.crate1628908807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3
rust/crates/bit-vec-0.8.0.crate241325e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7
rust/crates/bitflags-2.13.2.crate516783ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06
rust/crates/bstr-1.13.1.crate3566316bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f
rust/crates/cc-1.11.2.crate15069933ef9e3e8154a45c7a95cff4c1299702106ad94062d7bb85fdc5d3a5afd91d45
rust/crates/cfg-if-1.0.5.crate95784e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600
rust/crates/cfg_aliases-0.1.1.crate6009fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e
rust/crates/codespan-reporting-0.11.1.crate489633538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e
rust/crates/colorchoice-1.0.5.crate81871d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570
rust/crates/either-1.19.0.crate225010e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be
rust/crates/env_filter-2.0.0.crate15184900d271a03799a1ee8d1ca9b19893b48ca674a9284fefcfb85f05e74ed314217

Commit history 2

DateCommitCreditsLog message
570620c9c9 Lucas Holt games/midnight-battle-zone: depend on sdl3 and sndio at run time
The game loads libSDL3 for gamepad input and runs aucat for sound effects and music, both only if they are present. Make them RUN_DEPENDS so gamepads and sound work out of the box. sndio's aucat plays straight to the device without needing a sound server. AI-Assisted-by: Claude Opus 5.5 <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Lucas Holt <[email protected]>
966ed8299c Lucas Holt games/midnight-battle-zone: add 0.1.0
Midnight Battle Zone is a cat-themed 3D real-time strategy game in Rust with a Vulkan renderer, Lua 5.4 scripting, AI opponents and two-player LAN play. Upstream does not commit Cargo.lock, so the port ships the lockfile used to vendor CARGO_CRATES and copies it in at post-extract. The game reads assets/ relative to the working directory. Install the binary in libexec and the assets in DATADIR, with a bin/ wrapper that starts the game from DATADIR. Vulkan is loaded with dlopen at run time, so vulkan-loader is a RUN_DEPENDS. SDL3 (gamepads) and paplay/aucat (sound) are optional and also probed at run time. AI-Assisted-by: Claude Opus 5.5 <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Lucas Holt <[email protected]>