BLACK XBERecomp - HD Textures

BLACK XBERecomp - HD Textures is a Windows PC port of Black that adds automated HD texture pack support.

README

Black - XBE Recomp (HD Textures)

A modified fork of TGP482/BLACK-XBERecomp that brings automated HD texture pack support and RecompLauncher integration to the native PC port of BLACK (2006, original Xbox), by adapting the Xbox-to-PS2 texture mapping from portingpete/Black-2006-Recomp.

Note

This project does not include any copyrighted game assets or HD texture files. You must provide your own legally acquired copy of the original Xbox version of BLACK (USA ISO) and download the community HD texture pack separately.


Credits

This work stands on the shoulders of three community projects — full credit goes to their authors:

BLACK (2006) belongs to Criterion Games / Electronic Arts. This is an unofficial community effort.


What This Fork Adds

The BLACK HD Reimagined texture pack was originally created for the PlayStation 2 version (PCSX2), so its files are named using PS2 texture hashes that do not match the Xbox version.

  • portingpete/Black-2006-Recomp mapped those PS2 HD textures to the Xbox release using an FNV-1a 64-bit hash of each Xbox texture's pixel data, dimensions, and format (textures/black-hd-reimagined.map).
  • TGP482/BLACK-XBERecomp supports custom texture replacement from textures\replacement\, but identifies textures with its own 64-bit hash algorithm (tgp_hash).

This fork adds two ways to install the HD textures (both using the exact same matching & verification pipeline):

  • RecompLauncher & Recomp Achievements Support (recomplauncher.json) — Full Easy Setup (--game, --data / RECOMPLAUNCHER_DATA, windowless --prepare with live progress, optional HD texture pack add-on slot, verified USA Redump check, RECOMPLAUNCHER_MODE, and Recomp Achievements integration).
  • GUI Launcher (launcher/BlackHdLauncher.cs → BLACK_HD_Launcher.exe) — Recommended, no Python required. A native Windows launcher (~50 KB, built with Windows' built-in .NET Framework 4.x) that lets you browse for your ISO and .rar (or extracted folder), includes a direct ModDB download button, copies the ISO into assets/ automatically, installs & verifies all 1,077 HD textures with a live progress bar, toggles HD textures On/Off, and launches BLACK.exe directly (with English / Portuguese-BR UI).
  • CLI Script (black_hd_converter.py) — Zero-dependency Python 3.11+ command-line script for terminal / automated workflows.

Under the hood, both tools perform the same steps:

  1. Download black-hd-reimagined.map from portingpete/Black-2006-Recomp (or use a local .map file).
  2. Scan your Xbox USA .iso for Xbox DXT1/DXT3/DXT5 (0x0C, 0x0E, 0x0F) textures and match them via portingpete's FNV-1a key.
  3. Recompute every matched texture's hash using TGP482's 64-bit tgp_hash.
  4. Extract only the matched HD images (1,077 .dds/.png textures) directly from the .rar archive using Windows' built-in tar.exe (or read them from an extracted folder in the GUI launcher), verify every file with SHA-256, and write them to textures\replacement\hd-reimagined-tgp482\.
  5. Automatically update black.toml to enable custom_textures = true and disable dump_textures = false.

How to Install and Run in HD

Option 1: Using the GUI Launcher (Recommended — No Python Needed)
Prerequisites
  • OS: Windows 10 or Windows 11 (64-bit)
  • Game Copy: Your own original Xbox USA .iso of BLACK (tested with the USA ISO)
  • Storage: ~4 GB of free disk space for the converted HD replacement textures (in addition to the base game)
Setup Steps
  1. Get the game port: Download BLACK-XBERecomp.zip from TGP482/BLACK-XBERecomp Releases and extract it — or build this repository from source (see Building).
  2. Get the launcher: Place BLACK_HD_Launcher.exe in the same folder as BLACK.exe (download it from the Releases page, or build it in 1 second with no extra software by double-clicking build_launcher.bat).
  3. Open BLACK_HD_Launcher.exe:
    • Game Folder: Auto-detected when placed next to BLACK.exe.
    • Xbox ISO: Click Browse... and select your original Xbox USA .iso (if it isn't already in assets\, the launcher copies it there automatically).
    • HD Texture Pack: Click Download HD Pack (ModDB) to open BLACK HD Reimagined Texture Pack on ModDB, download the .rar, then click Select .rar (or Select Folder if you already extracted it with 7-Zip/WinRAR).
  4. Click Install / Verify HD Textures and wait for the progress bar to finish verifying all 1,077 textures.
  5. Click PLAY BLACK to launch the game in HD! The first launch compiles the game's code for your PC (once only). You can toggle HD textures anytime from the launcher or in-game via the F10 Settings overlay.

Option 2: Using the Python Script (CLI Alternative)
Additional Requirement
Setup Steps
  1. Extract BLACK-XBERecomp.zip (or navigate to your built out\build\release\ directory).
  2. Download the BLACK HD Reimagined .rar archive from ModDB:
  3. Place your original Xbox USA .iso inside the assets folder next to BLACK.exe.
  4. Run BLACK.exe once so it compiles the game for your PC and creates black.toml, then close the game.
  5. Copy black_hd_converter.py and the downloaded BLACK HD Reimagined .rar file right next to BLACK.exe. Do not extract the .rar manually:
    BLACK-XBERecomp/
    ├── BLACK.exe
    ├── black.toml
    ├── black_hd_converter.py
    ├── <BLACK HD Reimagined>.rar
    └── assets/
        └── Black (USA).iso
    
  6. Open PowerShell or Command Prompt in that folder and run:
    python black_hd_converter.py
    
    Optional command-line flags:
    • python black_hd_converter.py --dry-run — scans the ISO and reports how many textures match without extracting files or editing black.toml.
    • python black_hd_converter.py --map path\to\black-hd-reimagined.map — uses a local copy of the texture map instead of downloading it from GitHub.
  7. Wait until the script finishes verifying and installing the 1,077 textures into textures\replacement\hd-reimagined-tgp482\, then launch BLACK.exe! Once installed, you may delete the .rar archive to save disk space.

BLACK-XBERecomp Settings Overlay


Features (from TGP482/BLACK-XBERecomp)

Display
  • Monitor - Picks the monitor the game shows on, for Fullscreen and Borderless (and where Windowed opens). Lists every connected monitor by its Windows number and desktop resolution.
  • Display Mode - Switch between Fullscreen, Borderless and Windowed.
  • Resolution - Lists every mode your monitor reports and defaults to your desktop resolution, replacing the original 640x480 resolution.
  • Render Resolution - Renders the game at 20% to 200% of the output resolution, allowing supersampling or downscaling independent of the window size.
  • Field of View - Sets the horizontal field of view during gameplay from 45 to 140 degrees, with 70 being the game's default.
  • Viewmodel Field of View - Adjusts the first-person weapon and arms field of view.
  • Max Frame Rate - Caps the frame rate to your monitor's refresh rate or a custom value, or removes the cap entirely, replacing the Xbox's 30 FPS limiter.
  • V-Sync - Reduces screen tearing.
  • HDR Output - Enables HDR10 output on displays with Windows HDR turned on, detected automatically. Highlights extend up to the display's peak brightness.
  • FPS Counter - Displays the frame rate on screen.
  • FMV Scale - Choose between Fill, which zooms the 4:3 FMVs to fill widescreen displays, and 4:3, which keeps them at their original aspect ratio.
  • Colour Blind Mode - Adjusts the colours for Protanopia, Deuteranopia or Tritanopia.
Graphics
  • Multisample Antialiasing (MSAA) - Enables 2x, 4x or 8x MSAA to smooth jagged edges while preserving a sharp image.
  • Subpixel Morphological Antialiasing (SMAA) - Enables SMAA to smooth jagged edges across the whole frame with a softer image. SMAA also smooths alpha-tested edges such as fences and foliage, and can be combined with MSAA.
  • Anisotropic Filtering - Forces the selected anisotropic filtering level on all textures.
  • Draw Distance - Increases the level of detail and draw distances past the game's values: 2x, 4x, 8x, 12x or 16x.
  • Ambient Occlusion - Adds screen space ambient occlusion, creating soft contact shadows where surfaces meet. Choose between SSAO and GTAO.
  • Reload Blur - Toggles the blur effect while reloading.
Textures
  • Texture Replacement - Replaces the game's textures with the .dds or .png images in the textures\replacement folder beside the exe.
  • Texture Dumping - Saves every texture the game uses into the textures\dumps folder beside the exe.
  • Dump Format - Choose between PNG or DDS, which keeps the original compression and mipmaps.
Input
  • Mouse and Keyboard - Full keyboard and mouse support with raw input, adjustable horizontal and vertical sensitivity, inverted look and rebindable controls.
  • Controller - Controller with SDL3 support and additional features.
  • Gyro Aiming - Adds gyro aiming for controllers with motion sensors, such as the DualSense, DualShock 4 and Switch Pro Controller, with adjustable sensitivity. Works together with the right stick.
General
  • Skip Intro - Skips the intro logos.
  • Pause On Focus Loss - Pauses the game and its sound while the window is in the background or minimized.
Miscellaneous
  • Custom Menu Cursor - Place a cursor.png (or cursor.dds) beside the exe to replace the Windows arrow in the game's menus.

System Requirements

Minimum
  • OS
    • Windows 10 64-bit
  • CPU with 2 cores and support for SSE4.2 and POPCNT
    • Intel Nehalem (Intel Core 1st Generation)
    • AMD Bulldozer (AMD FX series)
  • GPU with support for Direct3D 12
    • NVIDIA GeForce GT 630 (Kepler)
    • AMD Radeon HD 7750
    • Intel HD Graphics 510 (Skylake)
  • Memory
    • 4 GB
  • Storage
    • 3 GB for the game files, the compiled game code and saves (+ ~4 GB if installing the HD texture pack)

Building

1. Clone the Repository

Clone this repository using Git:

git clone https://github.com/guilhermehanti/BLACK-XBERecomp-HD-Textures.git
2. Add the Required Game Files

Place your extracted game data files in the assets folder. default.xbe from the USA release must be there, with the rest of the game's files beside it.

3. Install Dependencies

Install Visual Studio 2022 and select the following Workloads and Individual components:

  • Desktop development with C++
  • C++ Clang tools for Windows
  • C++ CMake tools for Windows

Tip

build.bat offers to install the Clang and CMake components for you if they're missing.

4. Build the Project
  • Run build.bat. The first build recompiles the entire game and can take 30 to 90 minutes on weaker systems.
  • When it finishes, run out\build\release\BLACK.exe.
  • To add the HD textures afterward, follow the How to Install and Run in HD steps above.