Mirror's Edge, black bars force 16:9 resolution

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
ribcage
Posts: 1
Joined: Sat Aug 21, 2021 12:42 pm

Mirror's Edge, black bars force 16:9 resolution

Post by ribcage »

Hi.

Mirror's Edge forces a 16:9 widescreen aspect ratio by putting black bars at the top and bottom of the screen when using non-widescreen monitors like 1280x1024. I managed to remove it by replacing F38EE33F with DAACAA3F in Mirror's Edge\TdGame\CookedPC\Engine.u. I think the values represent 1.7778 (16/9) and 1.3334 (4/3) respectively. However this only works for 800x600, when using 1280x1024, the 3D menu background becomes upside down or something, and the game itself is just a white screen. I tried other values too. The game uses Unreal Engine 3. I easily found tools to decrypt and decompile files of this game. The .u file contains bytecode for the virtual machine that the game uses. I wonder of anyone has any tips.