Skip to content

Releases

v0.1.5: HUD size on F3

Choose a tag to compare

@highcmd highcmd released this 23 Oct 22:54

New: HUD size on F3. F3 cycles the HUD through 100 %, 75 % and 50 %. Each element shrinks towards its own corner or edge of the screen: the minimap stays bottom left, the clock and icons top right, and the hint box bottom centre, so you see more of the game. Full-screen menus (PDA, pause, map) keep their size. The setting is kept in ctw.ini as hud_scale (100, 75 or 50); --hud-scale 50 works on the command line too. Both renderers support it, and so does 60 fps mode.

No game data is included. You need your own dump of ULUS-10490 (v1.01). The new CTWLauncher.exe (0.1.5) rebuilds the game once and keeps your ISO and settings. The CI attaches it a few minutes after this release is published. On Linux, run git pull, then ./setup.sh /path/to/chinatown-wars.iso.

v0.1.4: longer draw distance with the third-person camera

Choose a tag to compare

@highcmd highcmd released this 23 Oct 21:39

Longer draw distance with the third-person camera (F1). The game keeps only a 3x3 grid of 60-unit city tiles in memory, centred where the camera looks at the ground. The third-person camera looks level, so the game centred the grid on the camera itself: half the loaded city was behind you and the street ended 60-120 units ahead. While the third-person camera is on, the grid is now centred one tile further along the view, as the game does for its own top-down camera. You see about 120-180 units ahead, and buildings no longer pop in right in front of the car. The top-down camera is unchanged.

Also new

  • Crash reports in ctw.log include the chain of game calls that led to the error.
  • Debugging: scripted input (CTW_INPUT) can press F1, and CTW_WATCH_AFTER delays the store log of a watch build.

No game data is included. You need your own dump of ULUS-10490 (v1.01). The new CTWLauncher.exe (0.1.4) rebuilds the game once and keeps your ISO and settings. The CI attaches it a few minutes after this release is published. On Linux, run git pull, then ./setup.sh /path/to/chinatown-wars.iso.

v0.1.3: quick save / quick load (F5 / F9), apartment crash fixed

Choose a tag to compare

@highcmd highcmd released this 23 Oct 16:35

Fixed: crash on entering the protagonist's apartment. The code analysis had placed the start of one function in the apartment module (safehouseapp) 8 bytes too early, on a data word that decodes as an instruction. The game jumps to the real start, which had no recompiled code, so it stopped there. You can now enter the apartment.

New: quick save and quick load.

  • F5 saves the state of the game, F9 loads it. A message in the corner says "STATE SAVED" or "STATE LOADED".
  • One slot: savestates/quick1.ctwstate next to the game (about 25 MB).
  • The game saves at the next quiet moment, usually within a fraction of a second. Saving is not possible while a video plays; after 3 s without a quiet moment it says "CANNOT SAVE NOW".
  • A state still loads after the game is rebuilt or updated. Sound may be silent for a moment after loading.
  • These states are separate from the game's own saves on the memory stick.

No game data is included. You need your own dump of ULUS-10490 (v1.01). The new CTWLauncher.exe (0.1.3) rebuilds the game once and keeps your ISO and settings. The CI attaches it a few minutes after this release is published. On Linux, run git pull, then ./setup.sh /path/to/chinatown-wars.iso.

v0.1.2: 60 fps (in-between frames), FPS meter

Choose a tag to compare

@highcmd highcmd released this 23 Oct 10:41

New: 60 fps (experimental). The game logic is locked to 30 fps (one fixed step per frame, like the DS original), so the recompilation adds in-between frames instead. After every game frame, the GPU renderer draws the frame a second time with every object and the camera halfway between the previous frame and this one. The in-between picture is shown first. Motion and camera pans look like 60 fps, the game still runs at its normal speed, and the picture is one 60 Hz frame (about 17 ms) later.

  • Turn it on in the launcher: Display → Frame rate → 60. In ctw.ini, use fps = 60 (or --fps 60). GPU renderer only.
  • About 90 % of the draws are paired with the previous frame. Objects without a partner (new objects, some shadow volumes and effects) keep their new position in the in-between picture.

Also new

  • F2 shows an FPS meter, e.g. "60 FPS (GAME 30)". Set show_fps = true to show it from the start.
  • The window close button and Alt+F4 now quit the game.
  • Launcher 0.1.2 has the frame rate option. The third-person camera (F1) from v0.1.1 is still there.

No game data is included. You need your own dump of ULUS-10490 (v1.01). The new CTWLauncher.exe rebuilds the game once and keeps your ISO and settings. The CI attaches it a few minutes after this release is published. On Linux, run git pull, then ./setup.sh /path/to/chinatown-wars.iso.

v0.1.1: third-person camera (F1)

Choose a tag to compare

@highcmd highcmd released this 23 Oct 09:39

New: third-person camera. Press F1 in game to switch between the original top-down camera and a low camera behind the player. The patch comes from Dark_Timur's ArtMoney cheat table for PPSSPP: 46 camera-height writes are skipped and the camera pitch is held at 0. Like the original cheat, it also changes cutscene cameras while it is on, so press F1 again to get the normal view back.

  • Launcher 0.1.1, Display tab: an option to start with the third-person camera and a camera height slider (default 15000; the game's own camera is at about 111700).
  • ctw.ini / command line: third_person_camera = true (--third-person-camera) and camera_height = N (--camera-height N). See docs/OPTIONS.md.
  • The recompiler can now switch patched instructions on and off at run time (data/cheats.json, described in NOTES.md).

No game data is included. You still need your own dump of ULUS-10490 (v1.01). If you used v0.1.0, start the new CTWLauncher.exe: it rebuilds the game once, with your ISO and settings kept. The CI attaches the launcher a few minutes after this release is published.

On Linux, run git pull, then ./setup.sh /path/to/chinatown-wars.iso.

v0.1.0 — first playable build

Choose a tag to compare

@highcmd highcmd released this 22 Oct 22:21

First release of the GTA: Chinatown Wars (PSP) static recompilation for Linux and Windows x64. The main executable and all 166 code overlays are recompiled.

No game data is included. You need your own dump of the USA UMD (ULUS-10490, v1.01). The setup decrypts EBOOT.BIN, unpacks the code overlays from your ISO, recompiles everything and builds the game on your machine.

Windows: the easy way

  1. Download CTWLauncher.exe below. The CI attaches it a few minutes after this release is published.
  2. Click Choose ISO… and select your dump. The first build downloads the compiler (~300 MB) and takes a few minutes.
  3. Set the resolution, refresh rate and controls, then click PLAY.

Linux / manual

git clone https://github.com/highcmd/chinatown-wars-psp-recomp.git
cd chinatown-wars-psp-recomp
./setup.sh /path/to/chinatown-wars.iso
./run.sh

See docs/BUILDING.md and docs/OPTIONS.md.

Status

  • Tested from boot (legal screen, Rockstar movie, auto-save prompt) through the intro comic and the opening of the first mission: the airport, the ambush, the sinking-car minigame. Frames were compared with the same ISO in PPSSPP.
  • ATRAC3+ music and radio streaming, SAS sound effects, stencil shadows and bloom, keyboard and gamepad remapping.
  • Known issues: the CPU (software) renderer draws the bloom wrongly; use the default GPU renderer. Loading saves and later missions are not tested yet. Ad hoc and online features are stubbed. The game runs at its original 30 fps.

Licensed GPL-3.0-or-later. Built on the SSX On Tour and Half-Minute Hero recompilation runtime.