Skip to content

Commit

Permalink
working on a Makefile to compile test maps for #16
Browse files Browse the repository at this point in the history
  • Loading branch information
snake-biscuits committed Mar 27, 2022
1 parent 2819219 commit ec39125
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 15 deletions.
30 changes: 15 additions & 15 deletions docs/games.sc
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ let D91 = @sum(D90:F90)
goto G2
movetosheet "Cheapest"
offscr_sc_cols 0
offscr_sc_rows 0
offscr_sc_rows 12
nb_frozen_rows 0
nb_frozen_cols 0
nb_frozen_screenrows 0
Expand Down Expand Up @@ -480,21 +480,21 @@ leftstring B9 = "ion_storm.daikatana"
leftstring C9 = "Daikatana"
let D9 = 9.95
leftstring E9 = "Steam"
leftstring A10 = "InfinityWardBsp"
leftstring B10 = "infinity_ward.call_of_duty2"
leftstring C10 = "Call of Duty 2"
let D10 = 29.95
leftstring E10 = "Steam"
leftstring A10 = "IdTechBsp"
leftstring B10 = "raven.soldier_of_fortune"
leftstring C10 = "Soldier of Fortune: Platinum Edition"
let D10 = 13.59
leftstring E10 = "GOG"
leftstring A11 = "IdTechBsp"
leftstring B11 = "raven.soldier_of_fortune"
leftstring C11 = "Soldier of Fortune: Platinum Edition"
let D11 = 13.59
leftstring B11 = "ritual.sin"
leftstring C11 = "SiN: Gold"
let D11 = 13.95
leftstring E11 = "GOG"
leftstring A12 = "IdTechBsp"
leftstring B12 = "ritual.sin"
leftstring C12 = "SiN: Gold"
let D12 = 13.95
leftstring E12 = "GOG"
leftstring A12 = "InfinityWardBsp"
leftstring B12 = "infinity_ward.call_of_duty2"
leftstring C12 = "Call of Duty 2"
let D12 = 29.95
leftstring E12 = "Steam"
leftstring A13 = "QuakeBsp"
leftstring B13 = "id_software.quake"
leftstring C13 = "Quake"
Expand Down Expand Up @@ -611,4 +611,4 @@ leftstring E36 = "Steam"
rightstring C38 = "TOTAL"
leftstring D38 = "$"
let D38 = @sum(D1:D33)
goto B27
goto A36
58 changes: 58 additions & 0 deletions docs/tools.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
## Tools

| Tool | Link | Games
| :------------ | :---------------------------------------------------------------- | :----------------------------------- |
| BSPFix | valvedev.info/tools/bspfix | HL -> HL:BS |
| CoDRadiant | moddb.com/downloads/cod-radiant | CoD1 |
| CoD2Radiant | gamefront.com/games/call-of-duty-2/file/cod2-updated-map-mod-tool | CoD2 |
| CoD4Radiant | github.com/promod/CoD4-Mod-Tools | COD4:MW |
| CSO2Converter | git.sr.ht/~leite/cso2-bsp-converter | CS:S -> CS:O2 |
| GtkRadiant | github.com/TTimo/GtkRadiant | Q3/RtCW/W:ET/SoF2/JK2/JA/EF/HL/Q2/H2 |
| | svn.icculus.org/gtkradiant-gamepacks | |
| hammer.exe | ships with associated game(s) or Source SDK | SOURCE ENGINE |
| JBNTools | code.google.com/archive/p/jbn-bsp-lump-tools | JB:N (cannot compile maps) |
| MapBase | moddb.com/mods/mapbase/downloads/mapbase-release-build | Source SDK 2013 |
| TrenchBroom | github.com/TrenchBroom/TrenchBroom | Q/Q2/H2/D |
| ÜbertoolsGDK | moddb.com/downloads/stef2-bertools-game-devolopment-kit | FAKK2/EF2/MOH:AA/AMA |


## Engine Branch

| BspClass | `branch_script` | Tools |
| :-------------- | :-------------------------------- | :----------------------- |
| D3DBsp | `infinity_ward.modern_warfare` | CoD4Radiant |
| FusionBsp | `id_software.qfusion` | GtkRadiant |
| GoldSrcBsp | `gearbox.blue_shift` | GtkRadiant + BSPFix |
| | `gearbox.nightfire` | JBNTools |
| | `valve.goldsrc` | GtkRadiant |
| IdTechBsp | `id_software.quake2` | GtkRadiant \ TrenchBroom |
| | `id_software.quake3` | GtkRadiant |
| | `infinity_ward.call_of_duty1` | CoDRadiant |
| | `ion_storm.daikatana` | TrenchBroom |
| | `raven.soldier_of_fortune` | |
| | `ritual.sin` | |
| InfinityWardBsp | `infinity_ward.call_of_duty2` | CoD2Radiant |
| QuakeBsp | `id_software.quake` | TrenchBroom |
| | `raven.hexen2` | TrenchBroom |
| RavenBsp | `raven.soldire_of_fortune2` | GtkRadiant |
| | `ritual.sin` | |
| ReMakeQuakeBsp | `id_software.remake_quake` | GtkRadiant |
| RespawnBsp | `respawn.apex_legends` | |
| | `respawn.titanfall` | |
| | `respawn.titanfall2` | |
| RitualBsp | `ritual.fakk2` | ÜbertoolsGDK |
| | `ritual.moh_allied_assault` | ÜbertoolsGDK |
| | `ritual.star_trek_elite_force2` | ÜbertoolsGDK |
| ValveBsp | `arkane.dark_messiah` | |
| | `arkane.dark_messiah_multiplayer` | |
| | `loiste.infra` | hammer.exe |
| | `nexon.cso2` | CSO2Converter |
| | `nexon.cso2_2018` | CSO2Converter |
| | `nexon.vindictus` | |
| | `troika.vampire` | |
| | `valve.alien_swarm` | hammer.exe |
| | `valve.left4dead` | hammer.exe |
| | `valve.left4dead2` | hammer.exe |
| | `valve.orange_box` | hammer.exe |
| | `valve.sdk_2013` | hammer.exe / MapBase |
| | `valve.source` | hammer.exe |
35 changes: 35 additions & 0 deletions tests/mapsrc/Makefile
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
# SOURCE ENGINE TOOLS
STEAM_COMMON_DIR = D:/SteamLibrary/steamapps/common
# TODO: find games split across multiple steam directories
# TODO: point at game config etc, only need the compilers (vbsp, vvis, vrad & vbspinfo)
INFRA_BIN = $(STEAM_COMMON_DIR)/INFRA/bin
ALIEN_BIN = $(STEAM_COMMON_DIR)/Alien Swarm/bin
L4D_BIN = $(STEAM_COMMON_DIR)/left 4 dead/bin
L4D2_BIN = $(STEAM_COMMON_DIR)/Left 4 Dead 2/bin
TF2_BIN = $(STEAM_COMMON_DIR)/Team Fortress 2/bin
HL2_BIN = $(STEAM_COMMON_DIR)/half-life 2/bin

# EXTERNAL TOOLS
BSPFIX_LINK = https://valvedev.info/tools/bspfix
COD1RADIANT_LINK = https://moddb.com/downloads/cod-radiant
COD2RADIANT_LINK = https://gamefront.com/games/call-of-duty-2/file/cod2-updated-map-mod-tool
COD4RADIANT_LINK = https://github.com/promod/CoD4-Mod-Tools
CSO2CONVERTER_LINK = https://git.sr.ht/~leite/cso2-bsp-converter
GTKRADIANT_LINK = https://github.com/TTimo/GtkRadiant
# GTK_RADIANT_GAMEPACK_LINK = https://svn.icculus.org/gtkradiant-gamepacks
# JBNTOOLS_LINK = https://code.google.com/archive/p/jbn-bsp-lump-tools
MAPBASE_LINK = https://www.moddb.com/mods/mapbase/downloads/mapbase-release-build
TRENCHBROOM_LINK = https://github.com/TrenchBroom/TrenchBroom
UBERTOOLS_LINK = https://moddb.com/downloads/stef2-bertools-game-devolopment-kit

# TODO: "function" to check tool is installed; otherwise download & install
# -- make a toolsdir with symlinks to tools
# -- if link is absent, download & install it
TOOLSDIR := tools

# TODO: make symlinks to each toolkit
# -- install missing games w/ steamcmd? requires account with relevant games unlocked
# --- some games might require using a store / download link

# TODO: allow any valid tool choice for each branch

# TODO: locate / install tools; compile maps; build *info.txt files

0 comments on commit ec39125

Please sign in to comment.