50 Cent: Bulletproof recomp

50 Cent: Bulletproof recomp is a native PC port of the Xbox game 50 Cent: Bulletproof with widescreen support and mouse aiming.

README

50 Cent: Bulletproof, native PC port: the game's logo over 50 Cent and a gunman running down the first mission's alley

Platform: Windows Renderer: Direct3D 12 and 11 Static recompilation of the Xbox game

Getting started  ·  Building  ·  Discord

50 Cent firing down the first mission's alley beside a gunman, at 21:9 with the health bar and ammo count at the screen's edges

The 2005 Xbox shooter, running natively on PC. This is not an emulator. The game's own x86 code is statically recompiled with the Xbox XBE Recomp toolkit into a Windows program, with a new renderer, sound and input underneath: true widescreen up to 21:9 and beyond, sharper graphics, mouse aim and keyboard, modern pads, a mouse pointer in the menus, achievements and the PC settings a button away in the game's own Options page.

Note

This project does not include any game assets. You need your own copy of the Xbox game to build and play.

Table of contents

Xbox vs. PC

(Back to top)

A wipe across the alley between all settings off and render scale 200%, MSAA 4x and sharpening 50%
All extras off vs. render scale 200%, MSAA 4x and sharpening 50%, at 1920x800 (21:9).

The Xbox drew Bulletproof at 640x480, at 4:3 or squeezed for a 16:9 TV, at 30 frames a second. The port draws it at your screen's resolution and shape at 60, with anti-aliasing and sharpening layered on top of the game's own picture.

Features

(Back to top)

WidescreenTrue proportions on any screen, 21:9 and wider included. Play fills the screen with the 3D view widened; the menus, movies and in-engine cutscenes keep their 4:3 shape in the middle.
Aspect, changed as you playAuto, 4:3, 16:9 or fill the screen, applied at once, mid-mission too. The HUD follows.
HUD at the edgesOn a wide screen the health bar, cash and weapon panel sit at the screen's sides, as on a 16:9 TV, not squeezed into the middle.
60 frames a secondThe console ran at 30. The game's simulation follows the clock, so it plays at its own speed.
Sharper graphicsRender scale up to 200%, MSAA up to 8x, FXAA or SMAA, sharpening, anisotropic filtering, enhanced world textures, and sharp text and HUD (the menus' and HUD's pictures enlarged four times).
PC Settings in the gameY on the game's Options page (from the title and the pause menu) opens a PC Settings page in the PDA, in the game's own style; F1 opens the whole settings window anywhere. Saved in settings.toml.
Mouse and keyboardWASD and mouse aim that turns the camera directly, as in a PC shooter, not as a stick. The button prompts show your keys while you play on the keyboard.
Mouse in the menusA pointer of its own in the PDA's colours: point at a row to highlight it and click to choose it, in lists, the shops and the name keyboard too; click a button prompt to press it; right click goes back, the wheel scrolls.
ControllersXbox, PlayStation and Switch pads with hot plugging and rumble. Modern button pictures show today's Xbox pad: LB and RB for White and Black, LT and RT, View and Menu.
Achievements22, for the story's missions, the hardest difficulties, the store's disarms and weapons, Grizz medals and cash, kept in achievements.toml beside the game.
Levelled soundThe mix is evened out, so the loudest moments, such as the first mission's start, no longer clip.
Field of view50 to 150% of the game's, changed at once; aiming zooms in proportion.
Quality of lifeSkip the intro movies, hide the HUD (F9) for screenshots, Quit Game on the title menu, F12 screenshots at full resolution, Alt+Enter for full screen, an optional boot splash (splash.png beside the game).

Widescreen and the HUD

(Back to top)

The same moment in the alley at 4:3, 16:9 and 21:9: the view widens and the ammo count stays at the screen's edge
ASPECT RATIO: 4:3, 16:9 and fill the screen (21:9), in a 1920x800 window.

In play the 3D view is widened to your screen's shape, and the HUD's pieces move out to its edges: the health bar and armour to the top left, the cash to the top right, the weapon and ammo to the bottom right. The aspect can be changed in the settings while you play, and the view and HUD follow at once.

The title menu and the pause menu, the G-Unit PDA at 4:3 in the middle of a 21:9 screen
The PDA's menus keep their 4:3 shape on a wide screen, the pause menu over the paused game.

The movies and the in-engine cutscenes are shown whole at 4:3 in the middle, with black at the sides, as they were made.

PC Settings

(Back to top)

The PC Settings page in the G-Unit PDA: Display, Graphics and Game
PC Settings in the PDA, from the pause menu: Display, Graphics and Game.

The game's Options page, on the title menu and in the pause menu, shows Y PC Settings in its button bar: Y opens the PC Settings page in the PDA, in the game's own style. Left and right (or A) change the highlighted setting, at once; Next Page turns to the next of the three pages; B goes back. The mouse points and clicks there as in the other menus.

PageSettings
DisplayDisplay mode (full screen, borderless, window), resolution, aspect ratio, vertical sync, frame rate cap
GraphicsRender scale, MSAA, edge smoothing (FXAA, SMAA), texture filtering, sharpening, sharp text and HUD
GameField of view, hide the HUD, skip intro movies, modern button pictures, enhanced textures

The settings window's Display, Graphics, Game and Achievements pages
The settings window (F1).

F1 (or Back + Start on a pad) opens the settings window over the game, with everything above and more: the monitor, smooth alpha edges, the scaling filter, low latency, the renderer (Direct3D 12 or 11), key and button bindings, mouse sensitivity and the sticks, and the achievements. LB and RB (or Page Up and Page Down) change its page. Everything is saved in settings.toml beside the game.

Graphics settings

(Back to top)

Shots of one spot in the first mission at 1920x800, taken one after another on an Intel Arc A750; the close-ups of the alley's lamp and vent are enlarged twice.

Close-up of the alley's lamp post and wall vent with all off, MSAA 4x, FXAA and render scale 200%
Edges: all off, MSAA 4x, FXAA and render scale 200%.

  • MSAA smooths the edges of the 3D scene and keeps textures sharp. The more samples, the slower.

The lamp post and vent with MSAA off, 2x, 4x and 8x
MSAA off, 2x, 4x and 8x.

  • Edge smoothing works on the finished frame, HUD included: FXAA softens it a little, SMAA keeps it crisper.

The lamp post and vent with edge smoothing off and with SMAA
Edge smoothing off vs. SMAA.

  • Render scale draws the picture larger than the screen: the smoothest fine detail, and the slowest.
  • Sharpening makes the picture crisper. Around 50% is a good start.

The lamp post and vent with sharpening off, 50% and 100%
Sharpening off, 50% and 100%.

  • Smooth alpha edges soften fences, wire and other cut-out textures, with MSAA on.
  • Texture filtering keeps streets and walls sharp into the distance.
  • Scaling filter chooses how the frame reaches the screen when render scale is not 100%: bilinear, or sharp.
  • Enhanced world textures double the 3D scene's textures in the background. They use more video memory and can cause a brief hitch as new ones appear.

Controls

(Back to top)

ActionKeyboard and mousePad
MoveW A S Dleft stick
Camera, aimmouseright stick
Fireleft mouse buttonRT
CrouchC, CtrlLT
JumpSpaceA
Hostage, execute, grab coverFB
Action, reload, counter-kill, coverE, RX
Evade, dive, dual-wieldShiftY
HealHLB
Weapon inventoryQ, middle mouse buttonRB (held)
Next / previous weaponmouse wheel down / upRB (tapped)
Pistol or thrown weapon, SMG, rifle or shotgun1, 2, 3 (again for the next of that kind)
Music trackTabView
Pause (the G-Unit PDA)Esc, PMenu
Hide the HUDF9
ScreenshotF12
Settings windowF1Back + Start
Full screenAlt+Enter
Quit Game (title menu)E, RX
Menuspoint and click, or arrows, Enter and Backspace; right click goes back, the wheel scrolls; on a slider or volume, click the left or right half of its value (or roll the wheel over it); click the name keyboard's keysd-pad, A, B

Keys and buttons can be changed in the settings window's Controls page.

Achievements

(Back to top)

22 achievements, 555 points, kept in achievements.toml beside the game. The settings window's Achievements page lists them with your unlocks.

AchievementHowPoints
Queens, Safe House, Junkyard, Chinatown, Disused Subway, Projects, Docklands, City Morgue, Little ItalyComplete that mission10 each
VesselFinish the story25
Hard RoadFinish the story on Gangsta or G-Unit Soldier50
Soldier ThroughFinish the story on G-Unit Soldier100
Decorated / Full RackPick up a Grizz medal / all 1010 / 50
New Move / Close Quarters / Every AnswerBuy a disarm / own 10 / all 2510 / 25 / 50
Armed Up / Full ArsenalBuy a weapon / own all 20 at once (stashed or carried)10 / 50
Pocket Money / Stacking Up / Six FiguresCarry $10,000 / $50,000 / $100,00010 / 25 / 50

Requirements

(Back to top)

  • Your own copy of the game: the USA/Europe Xbox release (one disc for both), title id 56550042, default.xbe SHA-1 0abb01d5e8b323f13d26ac98b619e42220795093. An .iso image of your disc, or a folder with its files.
  • Windows 10 or 11, 64 bit, and a graphics card with Direct3D 12 (Direct3D 11 also works).
  • Tested on AMD and Intel Arc graphics: an AMD Radeon RX 7900 XT at 3440x1440 and an Intel Arc A750 at 1080p. NVIDIA cards are expected to work, as nothing here is specific to a vendor, but have not been tested yet: please report how yours runs.
  • Minimum spec: any 64 bit processor from the last ten years and a Direct3D 12 graphics card run the game at 60 frames a second.

Getting started

(Back to top)

BulletproofLauncher.exe does everything for you: no Visual Studio, no Git, no command line, nothing installed in Windows and no admin rights needed. It and a build from source both make the game's code on your own PC from your own disc: it is never downloaded, only the program around it.

  1. Download BulletproofLauncher.exe from the latest release.
  2. Put it in a folder of its own with a short path (for example C:\Games\Bulletproof) and run it. Everything it makes goes in a Bulletproof folder beside it. Windows may warn about an unrecognised app: choose More info, then Run anyway.
  3. Your game: choose your disc image (.iso) or the folder with the disc's files. The launcher checks that it is the supported release (USA/Europe).
  4. Get the game ready: the launcher downloads the game's package (about 75 MB: the program and a compiler, no game code), then your PC builds the game's code from your disc, in about a minute. You can stop at any time; it carries on where it left off.
  5. Play.

When a new release is out, the launcher offers it at the top of its window: Update the launcher, then Update. The game is built again with the new version, keeping your saves and settings.

Files, all under the Bulletproof folder beside the launcher:

  • play\: Bulletproof.exe, Bulletproof.dll (the game's code, built on your PC), settings.toml, hdd\ (your profiles and saves), logs\, achievements.toml, screenshots\, compiler\
  • launcher.log, the launcher's log (send it with any problem)

To remove everything, delete the launcher and its Bulletproof folder (keep play\hdd if you want your saves).

FAQ

(Back to top)

Is this an emulator?
No. The game's x86 code is translated ahead of time into C++ and built as a Windows program. The Xbox's graphics, sound and input are rebuilt for the PC underneath it. That is what makes true widescreen with the HUD at the edges, 60 frames a second, mouse aim and settings inside the game's menus possible.
Why do I need my own copy of the game?
The game belongs to its rights holders. This project shares only its own work: the game's code and assets are made from your disc when you build.
The mouse turns the camera too fast or too slow.
Change the mouse sensitivity in the settings window's Controls page (F1, or Y on the game's Options page).
Something is wrong. What should I send?
The first lines of the log in logs\ beside the game list your settings and GPU. Please include that file when you report a problem on the Discord server.

Known issues

(Back to top)

  • Not yet covered by testing: the whole story on PC, the arcade and NVIDIA graphics cards.

Roadmap

(Back to top)

  • The whole story played through on PC, with fixes for whatever it finds.
  • More achievements, for the music and videos the store unlocks, and for combat.

Community and support

(Back to top)

Join the Discord server for help getting the game running, to report problems, and to talk about the port with other players.

Building

(Back to top)

For developers.

  1. Clone with submodules: git clone --recurse-submodules https://github.com/hk21x/50cent-recomp.
  2. Put your disc in assets: an .iso, or default.xbe with the game's folders beside it.
  3. Install Visual Studio 2022 with Desktop development with C++, C++ Clang tools for Windows and C++ CMake tools for Windows (build.bat offers to add the last two), and run build.bat. The first build recompiles the game and takes a while. Bulletproof.exe is in out\build\release.

Credits and legal

(Back to top)

  • Xbox XBE Recomp, the recompiler and runtime this is built on.
  • XenonRecomp for the overridable function layout and instruction hooks.
  • Zydis for decoding x86 instructions, toml++ for the configs, Dear ImGui for the settings overlay and SDL for the window, input and controllers.

50 Cent: Bulletproof © its respective rights holders. Developed by Genuine Games and published by Vivendi Universal Games. This is an unofficial fan project, not affiliated with or endorsed by them or by the artist. No game code or assets are distributed: they are made from your own copy of the game.

AI disclosure: much of this project's code, tooling and documentation was written with AI assistance (Anthropic's Claude), directed, reviewed and playtested by the author.