Skip to content

Commit

Permalink
found out a bunch from testing Infra & Wolfenstein Enemy Territory
Browse files Browse the repository at this point in the history
  • Loading branch information
snake-biscuits committed Nov 27, 2021
1 parent b751d1f commit bcfdd09
Show file tree
Hide file tree
Showing 35 changed files with 309 additions and 204 deletions.
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## v0.4.0 (???)
## v0.4.0 (??? 2022)

## New
* Added support for Ritual Entertainment's Ubertools (Quake III Engine Branch)
Expand All @@ -18,17 +18,25 @@
* `load_bsp` now only accepts a `branch_script` as it's optional argument

### Newly Supported
* Infinity Ward Engine
- IW 2.0
- IW 3.0
* Ion Storm IdTech
- Daikatana
* Raven IdTech
* Source Engine
- Tactical Intervention
- Vampire the Masquerade: Bloodlines
* Ubertools

### Updated Support
* Quake Engine
- Hexen 2
* Id Tech 3
- Quake III Arena
- Raven Software Titles
* Infinity Ward Engine
- Call of Duty
* Quake Engine
- Hexen 2
* Source Engine
* Titanfall Engine

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,19 @@ Full documentation: [snake-biscuits.github.io/bsp_tool/](https://snake-biscuits.
- [G-String](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/valve/orange_box.py)
- [Garry's Mod](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/valve/orange_box.py)
- [Halfquake Trilogy](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/valve/goldsrc.py)
- [INFRA](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/valve/sdk_2013.py)
- Kingpin: Life of Crime :o:
- [Medal of Honor: Allied Assault](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/ritual/moh_allied_assault.py)
- [NEOTOKYO](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/valve/orange_box.py)
- [Return to Castle Wolfenstein](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/id_software/quake3.py)
- [Sven Co-op](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/valve/goldsrc.py)
- [Synergy](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/valve/source.py)
- [Tactical Intervention](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/valve/orange_box.py)
- [Team Fortress Quake](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/id_software/quake.py)
- [The Beginner's Guide](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/valve/sdk_2013.py) :o:
- [The Stanley Parable](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/valve/sdk_2013.py) :o:
- [Vampire: The Masquerade - Bloodlines](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/valve/source.py)
- [Wolfenstein: Enemy Territory](https://github.com/snake-biscuits/bsp_tool/tree/master/bsp_tool/branches/id_software/quake3.py)


## Thanks
Expand All @@ -163,6 +166,8 @@ Full documentation: [snake-biscuits.github.io/bsp_tool/](https://snake-biscuits.
- Preserving **extensive** documentation, mods & source code for Quake 3 & Ubertools games
* [Ficool2](https://github.com/ficool2)
- Providing lots of current and detailed info on Source & helping track down some rarer titles
* [GCFScape](https://nemstools.github.io/pages/GCFScape-Download.html)
- Super handy `.vpk` (Valve format) browser; VTFLib / VTFEdit is also from Nem's Tools
* [Maxime Dupuis](https://github.com/maxdup)
- Helping me identify multiple lumps in Source Engine .bsps
* [MobyGames](https://www.mobygames.com/)
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/arkane/dark_messiah_multiplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

GAME_PATHS = ["Dark Messiah of Might and Magic Multi-Player"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


LUMP = orange_box.LUMP
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/arkane/dark_messiah_singleplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

GAME_PATHS = ["Dark Messiah of Might and Magic Single Player"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


LUMP = orange_box.LUMP
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/gearbox/blue_shift.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

GAME_PATHS = ["Half-Life/blue_shift"] # Half-Life: Blue Shift

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/gearbox/nightfire.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

GAME_PATHS = ["James Bond 007: Nightfire"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/id_software/quake.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

GAME_PATHS = ["Quake", "Team Fortress Quake"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


# lump names & indices:
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/id_software/quake2.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

GAME_PATHS = ["Anachronox", "Quake II", "Heretic II"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/infinity_ward/call_of_duty1.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

GAME_PATHS = ["Call of Duty", "Call of Duty: United Offensive"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/infinity_ward/call_of_duty2.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

GAME_PATHS = ["Call of Duty 2"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/infinity_ward/call_of_duty4.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

GAME_PATHS = ["Call of Duty 4: Modern Warfare"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


# NOTE: lumps are given ids and headers reference these ids in order
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/ion_storm/daikatana.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

GAME_PATHS = ["Daikatana"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


LUMP = quake2.LUMP # NOTE: ASSUMED
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/nexon/cso2.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

GAME_PATHS = ["Counter-Strike: Online 2"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/nexon/cso2_2018.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

GAME_PATHS = ["Counter-Strike: Online 2"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


LUMP = cso2.LUMP
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/nexon/vindictus.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

GAME_PATHS = ["Vindictus"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/raven/hexen2.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

GAME_PATHS = ["Hexen 2"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


LUMP = quake.LUMP
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/raven/soldier_of_fortune.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

GAME_PATHS = ["Soldier of Fortune"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


LUMP = quake2.LUMP
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/raven/soldier_of_fortune2.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"Star Wars Jedi Knight - Jedi Academy",
"Star Wars Jedi Knight II - Jedi Outcast"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/respawn/titanfall.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class LUMP(enum.Enum):
UNUSED_59 = 0x003B
UNUSED_60 = 0x003C
UNUSED_61 = 0x003D
PHYSICS_LEVEL = 0x003E
PHYSICS_LEVEL = 0x003E # from L4D2 / INFRA ?
UNUSED_63 = 0x003F
UNUSED_64 = 0x0040
UNUSED_65 = 0x0041
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/ritual/moh_allied_assault.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"Medal of Honor: Allied Assault - Breakthrough",
"Medal of Honor: Allied Assault - Spearhead"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/ritual/sin.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

GAME_PATHS = ["SiN", "SiN Gold"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


LUMP = quake2.LUMP
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/ritual/star_trek_elite_force2.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

GAME_PATHS = ["Star Trek: Elite Force II"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/troika/vampire.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

GAME_PATHS = ["Vampire The Masquerade - Bloodlines"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


LUMP = source.LUMP
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/valve/alien_swarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

GAME_PATHS = ["Alien Swarm", "Alien Swarm Reactive Drop"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/valve/goldsrc.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"valve"]], # Half-Life
"Halfquake Trilogy", "Sven Co-op"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/valve/left4dead.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

GAME_PATHS = ["Left 4 Dead"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
6 changes: 3 additions & 3 deletions bsp_tool/branches/valve/left4dead2.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

GAME_PATHS = ["Left 4 Dead 2"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down Expand Up @@ -80,7 +80,7 @@ class LUMP(enum.Enum):
MAP_FLAGS = 59
OVERLAY_FADES = 60
LUMP_OVERLAY_SYSTEM_LEVELS = 61 # overlay CPU & GPU limits
LUMP_PHYSLEVEL = 62
LUMP_PHYSICS_LEVEL = 62
UNUSED_63 = 63


Expand All @@ -94,7 +94,7 @@ class LUMP(enum.Enum):
# UNUSED_24 -> PROP_HULL_VERTS
# UNUSED_25 -> PROP_HULL_TRIS
# PHYSICS_COLLIDE_SURFACE -> PROP_BLOB
# UNUSED_62 -> LUMP_PHYSLEVEL
# UNUSED_62 -> LUMP_PHYSICS_LEVEL

Left4Dead2LumpHeader = collections.namedtuple("Left4DeadLumpHeader", ["version", "offset", "length", "fourCC"])

Expand Down
2 changes: 1 addition & 1 deletion bsp_tool/branches/valve/orange_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"Portal",
"Team Fortress 2"]

GAME_VERSIONS = {GAME: BSP_VERSION for GAME in GAME_PATHS}
GAME_VERSIONS = {GAME_PATH: BSP_VERSION for GAME_PATH in GAME_PATHS}


class LUMP(enum.Enum):
Expand Down
Loading

0 comments on commit bcfdd09

Please sign in to comment.