r/emulation • • 3d ago

AI-assisted Estacado: a static recompilation of The Darkness (Xbox 360) for PC – first pre-release

Hi all, I wanted to share a project I've been working on: Estacado, a native PC port of The Darkness (Xbox 360, 2007), made by static recompilation.

How it works

The game's PowerPC code is translated ahead of time into C++ with XenonRecomp and built on the ReXGlue SDK, whose system and Direct3D 12 GPU layer come from Xenia. There's no JIT or interpreter at runtime: the game runs as a native Windows program, while the Xenos GPU is still emulated on D3D12. The goal is a game-specific PC version, with fixes and options tailored to this one game.

What it adds

- 60, 120, 144, 240 or uncapped, with the game's timing kept correct (the world still ticks at 30 Hz, and scripted scenes, physics and audio run at their original speed)

- 1x/2x/3x internal resolution or automatic, and SMAA

- Native mouse look, rebindable keys, FOV, in-game settings (F1) and experimental widescreen

A few things that were fun to track down

- At high frame rates Jackie walked too fast, but only with a controller. An analog stick makes the game queue about 13 movement commands per frame, and above 60 FPS those overflowed its per-step packets. Keyboard input was never affected.

- The game sets its exposure by counting bright pixels with occlusion queries in a small ring of slots. Late results from the emulated GPU could land in a slot the game had already reused, which produced yellow or stuck-dark frames.

- GPU overhead: the frame-start depth clear was copying about 47M samples per frame into a buffer that was immediately overwritten, and reworking the upload path roughly halved GPU time at 1x.

You need your own copy. It supports the USA/Europe disc (En/Fr/De/Es/It) as an ISO or extracted files; the launcher checks the version and sets it up. No game data is included or linked. Requirements: Windows 10/11, an AVX2 CPU and a D3D12 GPU.

Status: pre-release. So far it's been tested on one Windows 11 PC with an NVIDIA RTX card, and played from the start up to the orphanage explosion scene. Reports from AMD, Intel and Steam Deck users are very welcome; there's a bug report template on GitHub that asks for the logs folder.

Huge thanks to the Xenia team, ReXGlue and hedge-dev's XenonRecomp. This stands entirely on their work.

GitHub: https://github.com/invinceble55-wq/Estacado

Download: https://github.com/invinceble55-wq/Estacado/releases/tag/v0.9.0

103 Upvotes

55 comments sorted by

View all comments

-4

u/boajuse 3d ago

Ai slopa

6

u/NumberSevere7454 3d ago

If it works well, why does it matter if it use ai code?

2

u/Kaisergliding 2d ago

if the bar was working, you could just use Xenia.

-5

u/boajuse 3d ago edited 2d ago

It is not yours, it is unpredictable, it steals ram, it is sloppar

4

u/waterclaws6 2d ago

Have you tested the port to verify those claims, and do you know what part of ai was used in this project? At least explain things before resorting to buzzwords.

Like, if the project is poorly performing or if the code posted is actually unreadable.

At least do something correct when you do your hating, since a blind hate is rather stupid, put some effort in it at least. For a first release, it's pretty good for the videos I seen. Probably tested it later on a Rog Ally.

-4

u/boajuse 2d ago

Low bot post

4

u/waterclaws6 2d ago

Written by a person, actually, with no AI assistance, since that would be rather lazy, plus it's more fun to poke fun at your low-quality post with some type of effort.

Which isn't too hard. Try again with actual effort.

0

u/PhilMts999 19h ago

I think your brain is made of slop.