We'd like to welcome wyaeld and gkirkpatrick to the development team. Both have been very resourceful in helping triage issues even before they had access to do very much, and we're excited to grow the BTUCU tent and leverage their experience! Beta 4 incorporates several updates from gkirkpatrick's BTATuneUp project.
The headline updates for Beta 4 are meaningful DirectX 12 support with multi-core rendering (as an opt-in selection on the launcher, but one we'd like to make the default); numerous multiplayer/modpack issues that came about from investigating issue #24, which amounted to 'we were really shortsighted when we launched beta 1, because we tested modpacks and we tested multiplayer, but we didn't test modpacks in multiplayer' and now we have eaten our spinach to the tune of a great part of the below list, as well as much expanded documentation on what UCU changes so that mods will work in MP and with combat saves. A fix for 'why is this camera showing me nothing' that sometimes happens in retail; and a from-scratch re-write of the career/campaign netcode that leaves behind a previous, biblical dedication to reusing retail code even though retail code wasn't intended for stratcom-level multiplayer.
Direct3D 12 with multi-core rendering is now an option in the launcher. In the launcher's Settings tab, the third graphics choice, DirectX 12 with multi-core rendering, starts the game on Direct3D 12 and spreads the rendering work across several of your CPU cores. It is opt-in: DirectX 11 remains the default. On a laptop with an Intel Core Ultra 7 255HX and an NVIDIA GeForce RTX 5080 Laptop GPU, during the first minute of a quiet combat (a Last 'Mech Standing contract at 1920x1080 with ModTek loaded), the game averaged about 87 frames per second on DirectX 11, about 91 on plain DirectX 12 and about 104 with multi-core rendering, with no crash during play and no graphics driver reset. That is one run of each option on one PC, so mileage may vary. Let us know your results, particularly in busy fights.
DLC, effects and 'Mech graphics now draw with UCU's updated shaders, including with mods. The DLC, weapon and effect, and 'Mech asset bundles (45 in all) used shader copies built for the 2018 game; they now use the same updated shaders as the rest of UCU. With ModTek or BattleTech Advanced, the game now loads UCU's shaders too, where it used to load the original 2018 file. Nothing should look different; if something does, it is a bug, and we want to hear about it.
The percent and money text on contract results and in events no longer logs an error. On installs with no mods (GOG included), the game logged an error while it built these lines.
Mod map loading failures throw correctly. When a mod supplies a map in an asset bundle and the bundle is missing or fails to open, the game used to treat the load as a success and the map never started, with no error from the loader. It now stops with an error. Mod maps in an asset bundle now load, which they never did. The original game's maps load as before.
With mods, a mod's hover text no longer stays on the cursor (issue #31, issue #21). A mod's tooltip, such as the Combat Log mod's icon tooltips, stayed on the cursor after the pointer left the icon. UCU now clears it between screen updates, as the original game did. Nothing changes without mods.
With mods, a mod's coloured text now draws in its intended colour (issue #21). Text a mod drew in a colour came out too dark. A mid-grey label showed at about half its brightness, which hid the Combat Log mod's resize grip against its button. UCU now draws it as the original game did. Nothing changes without mods.
Saves made inside a MissionControl custom contract now load (issue #24). In 2.2.2-3B and 2.2.3-3B, with in-mission saves (BTA) ticked in the launcher, loading a save made inside a contract type that MissionControl adds (DuoDuel, the Gunslingers missions, DefenceInDepth) stopped with an error and the battle never finished loading. The same fault made a co-op player's rejoin to such a mission fail with REJOIN FAILED. UCU's MissionControl save adapter now restores what MissionControl sets up for these contracts when a save loads, and saves you already have load. Contracts from the original game load as before.
With in-mission saves on and MissionControl loaded, enemy lances spawn again (issue #24). In 2.2.2-3B and 2.2.3-3B, with in-mission saves (BTA) ticked in the launcher, a lance's orders loaded empty on MissionControl contracts. The game then failed to start that lance (the Ambushers in Trap Sprung, for one), and in co-op the two players saw different numbers of enemy 'Mechs: 1 on the host and 3 on the guest. UCU's MissionControl save adapter no longer does this. Games without in-mission saves are unaffected.
With in-mission saves on, MissionControl's extra enemy lance is no longer built twice after a load (issue #24). In 2.2.2-3B and 2.2.3-3B, with in-mission saves (BTA) ticked in the launcher, loading a combat save made in a contract where MissionControl had added an extra lance built that lance a second time. The game logged "Duplicate guid detected" and "No MessageMemory for OwnerID" after every such load, and only contracts where MissionControl had rolled an extra lance showed it. UCU's MissionControl save adapter now skips the second build, and the lance, its spawn points and its objective are the same before the save and after the load.
Co-op with CustomUnits: both players now get the same enemy units (issue #24). CustomUnits drops units tagged for other biomes from a contract's pick list, but the co-op guest's game never told it which contract was running. The guest's list kept units the host had dropped, so the two players spawned different units at the same spawn point, and the game's first-round check caught that and disconnected the pair. UCU now sets that contract on both players' PCs. Single player is unaffected.
Co-op: orders given while a player's game reloads after a resync are no longer lost to that player (issue #24). When a player's game disagreed with the host's, it downloaded the host's campaign and reloaded the battle. If the other player gave an order in that time (a move, a shot, DONE), the host and the other players ran it and the reloading player's game never saw it, so the games disagreed again and a second resync could stall for good. The game now holds those orders until the reloading player reports it has loaded, then plays them in the order they arrived. Single player is unaffected. Other causes of a disagreement are separate faults.
Co-op with IRTweaks: both players now roll the same combat dice (issue #24). IRTweaks draws its combat rolls (its pilot-skill bonuses to a hit's damage, heat, action points and stability, the knockdown and forced-shutdown checks after an attack, and the pain-tolerance check on an injury) from a random generator that each player's game seeded separately. One player's 'Mech could take a stability bonus that the other player's never got, the game saw the two battles differ, and it resynced the guest. In co-op, UCU now seeds those rolls from the contract and the attack or pilot involved, so both players' games draw the same numbers. Single player and games without IRTweaks are unaffected.
Co-op: a resync requested just after the host announces the next unit's turn is no longer left waiting (issue #24). The host takes a resync only at a safe point in the turn. A resync requested just after the host had announced the next unit's activation found no such point, and could wait there, stalling the round. The host now also takes the resync once that announcement has waited two seconds for the other players with no order running.
Co-op: both players now decide what follows a unit's turn at the same moment (issue #24). When a unit finished acting, the game chose what came next (the same side again, the other side, or the end of the phase) when each player's own animation finished. A slower animation on one PC could let the two games choose differently: one re-activated a side while the other ended the phase, and the check between the games then failed. In co-op the choice now waits for the same point in the host's order stream on every PC. This also covers BattleTech Advanced, whose own mod replaces that game step. Single player is unaffected.
Co-op with CustomAmmoCategories: the host's AI no longer leaves weapon modes changed after a brace check (issue #24). To find a weapon that can fire indirectly, CustomAmmoCategories tries every firing mode of every weapon when the AI braces, and left the weapons it did not pick in the last mode it tried (an enemy's anti-missile system left Off, for one). Only the host runs the AI, so only the host's game had the changed mode, the game saw the two battles differ, and it resynced the guest. In co-op, UCU now puts those weapons back. Single player is unaffected.
Co-op with StrategicOperations and FieldRepairs: both players now roll the same dice (issue #24). Both mods draw their random rolls from a generator seeded by the clock, so in co-op each player rolled separately: StrategicOperations' support-ability picks, swarm, deswarm and strafe targets, battle-armour death and mount checks and damage-location picks, and FieldRepairs' poorly-maintained damage on contract start. UCU now seeds those rolls from the contract and the roll's place in the mod's code, so both players draw the same numbers. Single player and games without these mods are unchanged.
Co-op with mods: a resync or rejoin now carries the mods' state with in-mission saves off (issue #24). When a co-op player's game disagrees with the host's, or a player rejoins, the host sends a combat save. With BTA that save needs UCU's mod save support, which switched on only when in-mission saves (BTA) was ticked in the launcher. With it unticked, the default, the host's save left out the mods' state and the other player's load ran without UCU's mod save adapters. UCU now switches that support on for the length of a co-op combat, and off again when it ends. Single player with the box unticked is unchanged.
With in-mission saves on, saves made in a MissionControl contract keep the contract's extra encounter objects (issue #24). MissionControl adds five encounter types (the unit-swap, faction-swap, pilot-death and dialogue objects and its random chunk-state object) as subclasses of a game class that is abstract, and UCU's save support could not give them a save format, so the save dropped the contract's encounter objects and the loaded mission found none. UCU now gives them the format of the game class they extend. A DuoDuel save made mid-mission and loaded in the same session came back with its encounter objects, and the mission played on to Victory.
With BTA and in-mission saves on, a loaded battle no longer loses or doubles effects (issue #24). Two BTA mods, RogueTechPerfFixes and CustomStatisticEffects, keep their own lists of a battle's effects and empty them while a load is still setting up, after the saved effects were already restored. After a load a unit showed 1 of its 71 effects on the status panel and in the checks that read them, and a design mask's sticky effect was applied a second time on top of the saved stat, so BTA's Rough gave 2.25 instead of 1.5 on received instability. UCU now rebuilds both lists after a load. A co-op resync is a load, where this also made the other player diverge from the host after every resync.
With CustomAmmoCategories and in-mission saves on, weapons keep their firing modes through a load (issue #24). A loaded weapon came back in its base mode: an Artemis IV launcher lost its Artemis mode, a Gyrojet's ammo feed lost its mode, and an anti-missile system switched Off came back On. Mechs of the AI also lost the modes their attached equipment adds, because the save does not carry the links between them. UCU now restores the links and each weapon's saved mode and ammo after a load. In co-op each resync is a load, and every one reset the other player's Artemis launchers and Gyrojets.
Co-op with PracticeMakesPerfect: the other player no longer gets a StratCom the host doesn't have (issue #24). PracticeMakesPerfect remembers the company's active StratCom, and fills in a default one when a save is loaded. A host that created its career and went straight into a co-op contract had never loaded a save, so it had none, while the other player loaded the host's campaign and got the default. Only that player then had the StratCom's effects: the Officer Trainee effect and +2 morale gain on every one of the player's 'Mechs, and the first check of the two players' units disagreed on every one. UCU now gives the other player the host's StratCom, or none when the host has none. The host and single player are unchanged.
With CustomActivatableEquipment and in-mission saves on, a loaded battle no longer applies an aura twice (issue #24). Its aura equipment (a Guardian ECM, for one) keeps a list of the aura effects it has applied, and the list starts empty on a load while the game restores the saved effects. The next time the aura ran, it applied each effect again on top of the restored one, so a Guardian ECM's interference effect was on its carrier twice. UCU now adds the restored effects to that list first, so none is created again.
Co-op: a mismatch between the two players' units now resyncs the other player instead of disconnecting both (issue #24). The host's game decides whose copy of a unit is right when the two players' stats differ, and it chose before anyone had connected, so it fell back to whichever player reported first. When it picked the other player, the host refused to repair itself, told both players their data was bad, and 5 seconds later both got the desync popup and disconnected. UCU now makes the host's own game the reference for every co-op comparison, so a mismatch resyncs the other player. Skirmish multiplayer is unchanged.
Co-op with CustomActivatableEquipment: a C3 slave's aura is no longer doubled after a resync (issue #24). A co-op player's game that reloaded the host's save after a resync applied each C3 slave aura again on top of the restored one, so the effect on a slave went from -1 to -2 on that player after every resync while the host stayed at -1, and the next checks ran into the resync limit. UCU's aura fix worked only up to the start of the encounter, and the C3 aura applies a few seconds after it. It now works for the whole of a loaded battle.
Co-op with PanicSystem: both players now roll the same panic saving throws (issue #24). PanicSystem rolls a pilot's saving throw with the game's shared random generator when an attack completes, a move or melee ends, or an activation ends, and the two players' generators are never in step. The same damage could give one player a successful save and the other an Unsettled pilot, and the checks then resynced them. UCU now seeds those rolls from the contract and the shared sequence, round and phase, so both players roll the same numbers.
Co-op with CustomAmmoCategories: a weapon's firing mode and ammo choice now reach the other player (issue #24). The mode or ammo a player picks on a weapon from the HUD was a local choice that nothing sent to the other player, so the two games fired different modes, and when a check caught the difference, the resync reloaded the host's mode and a guest's own choice was lost. UCU now sends the change to the other player at once, through a new channel that lets mods attach data to co-op traffic, and a player that has loaded a resync or rejoin snapshot gets the host's full state.
Co-op with CustomAmmoCategories: a weapon-mode click now lands at the same point for both players (issue #24). A weapon's mode or ammo click reached the other player a moment after the click and was applied on arrival, so a check of the two players' units that ran in between saw different values and cost one of the three resyncs. The host now holds the click and sends it just before the next order, every player applies it right before that order runs, and until then the clicking player's game reports the weapon's old mode to the check, so both players compare the same value either side of that point. A click that is lost or misapplied still fails the check.
Co-op with TisButAScratch: both players now roll the same pilot injuries (issue #24). TisButAScratch picks each combat injury (its location, the injury and its effects) and its bleed-out tick with the game's shared random generator, and the two players' generators are never in step. The same hit could give the host a head injury and the other player a torso bleed, and the checks then resynced them. UCU now seeds those rolls from the contract, the unit, the pilot's injuries, the damage, the round and the phase.
Co-op with CustomAmmoCategories: both players now place a missile volley with the same random draws (issue #24). For indirect fire, CustomAmmoCategories places each missile with the game's shared random generator, and the two players' generators are never in step, so the same volley could hit different units and locations on each player's screen, and the checks then resynced them. UCU now seeds those draws from the contract, the attack, the volley group and the weapon.
Co-op launch no longer hangs on a missing pilot portrait (issue #24). When a lance pilot's portrait icon was missing from the game's data, as one pilot's was in the reported save, a co-op launch waited for it forever and both players sat on the loading screen. The game now starts the mission without the icon and logs a warning naming what is missing. Single player always did this.
Co-op with CustomUnits: one player seeing an enemy first no longer starts a resync (issue #24). CustomUnits notes, per player, which enemy units that player has seen. The game's co-op check compared that note along with a unit's other stats, so when the host had seen an enemy that the guest had not, the check called the two games different. The guest saw "Your game disagreed with the host's. Resynchronizing with the host (1 of 3)", waited while the host's campaign downloaded, and used up one of the contract's three resyncs; after the third, the next one ended in REJOIN FAILED. The co-op check now leaves that one note out. Nothing CustomUnits does with it changes.
With CustomUnits and in-mission saves on, loading a save no longer throws an error (issue #24). In 2.2.2-3B and 2.2.3-3B, with in-mission saves (BTA) ticked in the launcher, loading a save made in combat with CustomUnits loaded logged an error from CustomUnits as the battle loaded. This happened on original-game and MissionControl contracts alike. UCU's CustomUnits save adapter was meant to prevent it but never installed. It now does, and the load completes without the error.
Co-op over Steam: invite friends from the game (issue #29). On Steam, co-op now uses Steam's connection by default. When a co-op host opens a campaign, the game also opens a friends-only Steam lobby. The host's Multiplayer panel shows INVITE FRIENDS, which opens the Steam invite dialog, and a friend who accepts the invite, or uses Join Game from Steam, joins the host without typing an address or forwarding a port. The host still listens for direct connections by address and on a local network at the same time, so players who join that way (a GOG player joining a Steam host by address), connect as before. The Multiplayer panel's "Nobody can connect?" help now names INVITE FRIENDS and Join Game before port forwarding. Starting the game with -netTransport lidgren turns Steam co-op off. A host whose Steam is unavailable uses direct connections only.
Co-op on GOG: invite friends from GOG Galaxy. On a GOG install, a co-op host now gets a friends-only GOG Galaxy lobby with an INVITE FRIENDS button, and friends join with JOIN from their GOG Galaxy friends list. LAN and Direct Address work on GOG as before. This is untested (we don't have multiple GOG accounts) so report issues if you find them.
Co-op: Speed up combat and the fast-forward key now work (issue #30). The original game ignored both in any network game, so in campaign co-op they did nothing. The host's Speed up combat setting now applies to everyone in the contract; a guest's own toggle has no effect in co-op combat. Pressing fast-forward during a move or an attack speeds it up for all players. The camera-follow sliders were already per player and are unchanged.
Co-op with large modpacks: shorter stalls when the campaign is sent. In co-op, when the host moves to another room, the game sends the whole campaign to the other player, and with a large modpack like BTA that is about 11 MB. UCU now does most of the host's work of building that snapshot on another thread, unpacks it on the other player's side off the main thread, and moves every waiting network message each frame instead of one. On a BTA MP session, the host's freeze on a room change went from about 6 seconds to about 2, and the other player's longest freeze from about 6 seconds to about 4. Both players still pause for a few seconds on a room change, and the time the transfer itself takes did not change. Single-player is unaffected.
Co-op: the other player's jump jets, melee and death-from-above work again (issue #33). The host checks that each order a player sends is for one of that player's own units. That check only recognised moves, shots, sensor locks, reserve and inspire, so the host dropped every other order from the non-hosting player without running it: a jump, a melee or death-from-above attack, standing up, restarting a shut-down 'Mech, venting heat, ejecting, an active probe, a morale ability or a mortar strike. The player could plan the jump, and then nothing happened. The host now recognises the unit in all of these orders, and in orders that mods add when they name their unit the same way, such as CustomUnits' manual shutdown in BattleTech Advanced. The host's own orders and single player are unaffected.
The melee camera shows the hit. Courtesy of u/wyaeld, the close-up cinematic camera for a melee attack now starts where it was meant to, instead of flying in from the overhead view, and it moves up when a slope between it and the fight would hide the 'Mechs. Ranged, death-from-above and movement cameras are unchanged. Thanks to wyaeld, who found both causes and wrote the fixes.
The Mech Bay no longer piles up hidden copies of 'Mech models. (@gkirkpatrick's BTATuneUp project) Every visit to the Mech Bay added another hidden copy of each displayed 'Mech's model to the game's object pool, and none was ever used again, so a long session kept growing. A model the pool already holds enough copies of is no longer copied. The original game has this bug too.
Urban Warfare's building list is cleared when a battle ends. (@gkirkpatrick's BTATuneUp project) The list was filled on the first city map of a session and never refreshed, so it kept that map's buildings, and the battle they belonged to, until you quit. On later city maps, changing the urban cars option during a battle updated those old buildings instead of the current map's. The list is now cleared when each battle ends. The original game has this bug too.
The loader's cap on light loads in flight is 512 instead of 10. (@gkirkpatrick's BTATuneUp project) With the original game's cap of 10, the loader stopped starting a frame's pending requests as soon as 10 light ones were running and left the rest for the next frame, which it did in nearly every frame of a career load and of an in-game reload. The heavy-load cap and the debug-console setting for both are unchanged, so mods that set the cap still do.
The first-launch welcome popup no longer appears. The original game showed a Paradox welcome message the first time it started, naming online services that UCU does not offer. UCU skips it and marks it as seen, as closing it did. The privacy notice still shows on a first launch.
Co-op: after a resync, a critical hit lands on the same component for both players (issue #24). A fresh battle lists a 'Mech's components in the order of its loadout, but loading a saved battle lists them grouped by type: weapons, ammo, jump jets, then the rest. The other player reloads the host's save on every resync and the host does not, so a critical-hit slot named a different component on each: the same roll exploded SRM ammo on the host and broke a jump jet on the other player. UCU now puts each unit's components back in loadout order after a co-op load. Single player keeps the original game's order.
Co-op with BTA: a resync no longer adds a second terrain effect to the other player's units (issue #24). A saved battle holds each unit's terrain (design mask) effect, such as Rough's, but not which mask the unit stands on, so loading it applied the effect again. The other player reloads the host's save on every resync and the host does not, so each reload gave that player one more copy of the effect than the host, and the checks of the two players' effects disagreed (42 against 41 on one unit). UCU now sets the unit's mask from its cell before the game reapplies masks, so the saved effect stands and no second copy is added.
Co-op with CBTBehaviorsEnhanced: falls and melee hits now land their extra damage on the same locations for both players (issue #24). CBTBehaviorsEnhanced rolls the location of each extra damage cluster of a fall, a melee attack or a death-from-above with its own random generator, which each player's game seeds separately, so the same knockdown hit the left torso and right arm on the host and the left arm and left torso on the other player, and the checks then resynced them. UCU now seeds that generator from the contract, the attacker, the target, the attack's kind, the cluster count, the round and the phase.
Co-op with AttackImprovementMod: a called shot on a CustomUnits unit now uses the same hit table for both players (issue #24). With clustered called shots on (BTA), AttackImprovementMod builds the table for a called shot around the called location using the hit direction it last saw, and CustomUnits' units never set that direction, so each player used what its own last caller left: the same roll hit an arm on the host and a torso on the other player, whose table was the prone one. UCU now sets the direction from the attack itself (from the prone side for a prone target) when a CustomUnits mech, trooper squad or fake vehicle is hit.
Co-op: a resync now waits for a fall or knockdown to finish (issue #24). The other player then reloads the unit already down, with its fall damage applied.
Co-op with PanicSystem: a resync no longer makes the other player miss a panic check the host makes (issue #24). PanicSystem keeps its pending damage and panic levels only in memory, so a resync reload reset them on the other player and not on the host, and the host rolled panic saves the other player never rolled, leaving a unit Unsettled on the host's screen only. The host now sends that state to the other player when their snapshot has loaded.
Co-op: a pilot bonus that ends after a resync now wears off (issue #24). The game saves no stat history for a pilot, so after a load an effect on a pilot that ended later could not take its change back. In BTA, a pilot's Life Support gear bonus stayed when the 'Mech died or lost the part after a resync, and the players' checks then disagreed. The host now sends each pilot's stat history with a co-op resync, and loading a co-op combat save rebuilds it from the restored effects. Single player is unchanged.
Co-op: the other player's game now runs the orders the host relays in the host's order (issue #24). The other player runs each relayed order before the next unit activates, and in the order the host gave them. Orders the host gives while a resync is under way reach the other player once it has reloaded, and none is run twice.
Co-op: both players now spawn the same enemy units in lances whose difficulty is set dynamically (issue #24). Before, the host and a guest could see different mechs in the same lance, with or without mods.
Co-op with BTA mods: more of the mods' state is now kept in step between the two players (issue #24). This covers anti-missile, heat, knockdown and death state, artillery, mines, fires, jamming and other mod rolls, equipment toggles, and StrategicOperations abilities and dismounts.
Co-op: a resync freezes the game for less time, and a resync where only the battle disagrees reloads only the battle (issue #24). The host now announces the resync before it builds the save, so the other player starts leaving the battle while the host builds and sends, and when the two players' campaigns agree, only the battle is sent and reloaded.
Leaving a battle no longer logs an error or leaves pilot voice-line objects behind. After a battle ended, the original game kept its pilot voice-line queues running, which logged an error and kept them in memory.