Repository navigation
Added
- GoldSrc game configs: the binary
GameCfg.wcnext to Worldcraft / Hammer 3.x (versions 1.3 and 1.4) is read, sogame_configs,fgd_*,compile_sequencesandfind_assetswork with GoldSrc editors too. A config gives the mod folder (gameDir), the game it falls back to (valve), FGDs (relative ones against the editor folder), map / bsp folders and the compile tools ($csg_exeincluded). find_assetsfor GoldSrc: models (models/scientist.mdl; texture and sequence-group files likescientistt.mdl,scientist01.mdlare left out), sprites (sprites/glow01.spr), sounds (ambience/wind1.wav) from the mod andvalvewith their_addon/_downloadsfolders, plus textures by name from the WADs in those folders and decals fromdecals.wad({BLOOD1; a wildcard matches names with or without the{!+0-0~prefix). Utility WADs (fonts, gfx, cached, spray / temp decals) are skipped. PAKs (pak0.pak,pak1.pak, ...) in those folders are searched too.- The texture WAD list of Worldcraft / Hammer 3.x (Options > Textures) is read from the editor's registry key and searched first; the key of every known GoldSrc editor is in the build registry (
settingsKey: Worldcraft 1.1-2.0, Worldcraft 2.1-3.3, Hammer 3.4/3.5 and Neo, CSM, Neon each keep their own). - An old
GameCfg.wc(version 1.3, Worldcraft 1.6-2.x) has no mod folder:<game exe folder>\valve(orid1) is used and reported as a guess. - J.A.C.K. / Jackhammer game configs (
VDKGameCfg.ininext to the exe): mod and base folders, FGDs, compilers, and the texture WAD list (Parcel*), whichfind_assetssearches first. - J.A.C.K. / Jackhammer Run Map profiles (
VDKRunCfg.ininext to the exe) incompile_sequencesandrun_compile: every profile (Default, Half-Life (Full), (FastVis), ...) with its steps - change directory, copy / delete / rename file, compilers, the game - and$csg_exe/$bspext. A step's "check file" (FileCheck) is enforced:run_compilestops when the step did not write it during this run (hlbsp writes no.prtwhen the map leaks; a file left from an earlier compile does not count). Delete / rename steps and copy targets may only touch files in the map folder or the game's maps folder. The same goes for "ensure file post-exists" in Hammer's sequences. - GoldSrc compile logs in
compile_log/run_compile:----- BEGIN hlcsg -----stages with timings and ZHLT / VHLT leaks (=== LEAK in hull 0 ===, the leaking entity); the compile log is also looked for in the game's maps folder, where J.A.C.K. compiles. GoldSrc compilers read the.mapthe editor exports:run_compilerefuses to start when that file is missing or older than the open.rmf/.jmfand says how to export it. check_assetsfor GoldSrc maps (.rmf,.map,.jmf): face textures against the WADs (the game's and those in worldspawnwad),infodecaldecals againstdecals.wad, models / sprites / sounds in any keyvalue and the sky (gfx/env/<skyname>*.tga) against the folders and PAKs; WADs listed in the map but found nowhere are reported. Compiler tool textures (CLIP, ORIGIN, NULL, SKIP, HINT, ...) are not checked.- Sound scripts (Source 1):
find_assetsalso finds named sounds (Ambient.Wind,Weapon_Pistol.Single) from the scripts thatscripts/game_sounds_manifest.txtlists (precache_file,preload_file, ...;#include/#basefollowed), loose or inside VPKs; kindsoundscript, each hit with its waves. Without a manifest everyscripts/game_sounds*.txtis read. The first definition of a name wins, as in the engine. Source 2 sound events (.vsndevts) are not read yet. check_assetschecks sounds (Source 1): sound files in any keyvalue (ambient/wind1.wav, sound characters like)or*stripped) againstsound/, and the sound script name inambient_generic'smessageagainst the sound scripts and the map's ownmaps/<map>_level_sounds.txt.- Files inside VPKs and PAKs can now be read (not only listed).
- OpenCode bridge (new OpenCode tab in the app): each line you write in Hammer's chat (MCP > Chat) also goes into your OpenCode session as a message, so an agent working in OpenCode wakes up and answers without you switching windows. OpenCode 2.x (
/api/session/{id}/prompt, queued after the agent's current turn) and 1.x (prompt_async); Basic auth; the session is the one you used last unless you set its id; Test shows where the lines go. A line the agent is already waiting for inwait_for_usergoes there instead, and a delivered line is not handed out again byuser_requests. A password that would go over plain http to another machine is warned about (Test) and needs confirmation (Save).
Fixed
- Left 4 Dead and later games (Portal 2, CS:GO, ...) mount
pak01_dir.vpkof each search path folder without listing it ingameinfo.txt; it is now mounted too (only when thegameinfo.txtlists no VPKs, as these games do - Source 2013 games list theirs), sofind_assetsandcheck_assetssee that content. - Content is looked up in the order of the
gameinfo.txtsearch paths: a VPK listed before a folder (TF2:tf/tf2_misc.vpkbeforetf) wins over the folder's loose files, and an auto-mountedpak01_dir.vpkover its folder. Before, every loose folder came first, sofind_assetscould name the wrong copy. - GoldSrc Hammer 3.x shows only the file name in its title when the map window is not maximized (
Valve Hammer Editor - tut1.rmf): the full path is now taken from the process command line or found in the configs' map folders, so map tools work there. find_assets(GoldSrc): a model whose name merely ends intor two digits (foot.mdlnext tofoo.mdl) is no longer hidden as a texture / sequence-group file - loose files are checked by their header.- The build registry called a genuine Valve Hammer 3.5 build "HL-Lab" (
goldsrc-hammer-3.5-hllabis nowgoldsrc-hammer-3.5-b). - Entities inside groups of
.rmf/.jmfmaps were not listed. - App: a second click on Start / Stop while the server was still starting (a double click) stopped it again a moment later.
Full Changelog: v0.7.0...v0.8.0