In a city where information is heavily monitored, agile couriers called Runners transport sensitive data away from prying eyes. In this seemingly utopian paradise, a crime has been committed, your sister has been framed and now you are being hunted. You are a Runner called Faith — and this innovative first-person action-adventure is your story.
Tool that changes the FOV of Mirror's Edge the correct way, plus custom graphics settings, aspect ratios, PhysX adjustments, UI fixes and much more.
If you need help, please @ me (softsoundd) on any of the Mirror's Edge Discord servers. I am much more responsive there.
Tool features:
Persistent FOVs
Custom aspect ratios
PhysX simulation FPS adjustments
Graphics tweaks
Support for base game (1.0.1.0) and Origin DLC (1.1.0.0)
and more…
FOV:
Allows for a persistent FOV that remains after each level/game restart and doesn't break the skybox (unlike the keybind FOV method). FOV will apply HOR+ scaling if an aspect ratio wider than 16:9 has been applied, and will apply VERT+ scaling if an aspect ratio less wide than 16:9 has been applied. It also prevents the behaviour of the FOV being set to 85 upon dying, and allows proper affected ADS FOV when using the sniper rifle. The near clipping plane can be optionally compensated based on the applied FOV to minimise camera/viewmodel clipping.
Custom aspect ratios:
Aspect ratio adjustments can be made with this tool by entering your own custom aspect ratio (ratio value or resolution accepted). Note: Letterboxing/pillarboxing will occur if the applied aspect ratio does not match the in-game resolution and native aspect ratio of your display.
PhysX simulation FPS:
Adjustable PhysX FPS value for cloth simulations (construction tarps, strip curtain doors, etc). Cloth simulations in Mirror's Edge are simulated at a rate independent of the game's framerate, otherwise known as time-steps. By default, Mirror's Edge uses a value of 50 FPS for PhysX cloth simulations, which can appear choppy when using reaction time or when running the game above the 62 FPS cap. This tool lets you specify a simulation rate up to 300 FPS.
Graphics tweaks:
Offers individually adjustable graphical tweaks not normally accessible in-game, such as various post-process effects, lightmaps, render resolution, and more.
Utilities:
TdGame version selector
Custom config enabler (a nicer alternative to MEMLA)
High resolution text fix
Game language switcher
PS3 button prompts
Fast start-up
OpenAL Soft audio upgrader
Various other QoL
P.S. Your anti-virus may flag this tool as a false-positive. To put your mind at ease, this tool is legitimate. If you don't trust me, simply don't download.
Instructions:
Important - Please ensure you have launched Mirror's Edge at least once on your system prior to using this tool or else functionality will be limited. Also, if you have any modded 'Engine.u' or 'TdGame.u' files (e.g. TdGame Fix), install them before using this tool.
Unzip and open "Mirror's Edge Tweaks.exe" (you can move the executable to wherever you want, a config file will be created in the directory the executable is opened from).
You will be prompted to point the tool towards the Mirror's Edge install directory. Click the "Browse..." button and select the install directory folder. Typical directory paths:
Fixed rounding error for high-res text scaling at certain resolutions
V3.0.0 - 22 March 2024
TdGame versions - TdGame Fix (by Keku) is now integrated into Tweaks! An additional Time Trial Timer Fix (by Nulaft) TdGame version is also included. Both of these can be applied at once
FOV-agnostic sensitivity - Maintains the same sensitivity scaling across all FOV ranges. Not so much necessary for casual playing, but useful in situations where a different FOV is desired but sensitivity must remain consistent (such as TAS)
OpenAL Soft upgrade - Automatic installation and configuration of OpenAL Soft for fixing the game's audio sampling issues, along with increasing the max number of simultaneous audio sources
Community mods section - A gradually expanding selection of QoL mods made over the years by the Mirror's Edge community, integrated into Tweaks (so far Cinematic Faith - by Keku)
GUI update - General layout tidy up, along with labels being added to certain tweaks to help determine their current status/properties
A shortcut for launching the game from within Tweaks has been added
V2.3.3 - 10 January 2024
Fixed some parsing issues when dealing specifically with the Origin DLC files
V2.3.2 - 2 January 2024
Added a uniform sensitivity option to keep the camera sensitivity consistent across all camera angles
V2.3.1 - 31 December 2023
Added a warning message for Steam users as to the workarounds for getting the language switching to stick
Added a "high-res fix" status label next to the resolution selector to more easily determine if the fix is active
Minor GUI fixes
Happy new year!
V2.3.0 - 28 December 2023
Mirror's Edge Tweaks now offers the ability to effortlessly switch to any of the game's 14 supported languages without requiring a reinstall. This also includes the "region locked" languages
V2.2.1 - 21 December 2023
When selecting resolutions greater than 1920x1080p, the text fix process now also scales the crosshair to maintain the same size as what it would have been at 1080p - it no longer appears smaller the higher the resolution is (TdGame Fix is required for the scaling to appear)
Minor optimisations
V2.2.0 - 12 December 2023
Workaround update specific to displays less wide than 16:9 (Steam Deck, older LCDs, etc.) - added a warning message when attempting to apply an aspect ratio less wide than 16:9 when the in-game vertical resolution exceeds 720p. These conditions causes major graphical rendering issues in Mirror's Edge. However, one workaround for removing these issues involves setting the render resolution to a specific percentage value. Mirror's Edge Tweaks now calculates this value and informs the user to set the render resolution slider accordingly. Root cause of this issue is still yet to be determined
V2.1.0 - 19 November 2023
Config modification patch now supports the PC Game Pass version
V2.0.1 - 8 November 2023
Previous update made the sniper rifle ADS zoom rate extremely slow, implemented a workaround to restore the intended zoom rate
V2.0.0 - 1 November 2023
Included a game resolution selector that identifies the currently available resolutions in your system's display settings
As part of the resolution selector, an optional high resolution text fix is included when selecting resolutions above 1920x1080
PS3 button prompts (and the gamepad image, thanks Keku) can now be toggled
FOV zoom rates are now accounted for, zoom times are consistently 1 second across all FOVs/aspect ratios
Made the restore process a bit more intuitive
V1.9.1 - 2 October 2023
Added support for the 1.1.0.0 version of the game (Origin DLC)
Smaller executable (~70%), restore process now downloads backup files
V1.9.0 - 27 August 2023
Added ability to patch out the "corrupt" file message that prevents the game from launching when modifying config files at the game's install location. This acts like the MEMLA tool, however, the fix is now integrated directly into the game's executable
Added a couple more config settings
Changed the required folder directory to be set to the game's install base directory (no longer the 'CookedPC' folder)
V1.8.1 - 1 August 2023
Fixed a minor label issue with the graphics presets - purely a cosmetic fix
V1.8.0 - 29th July 2023
Added ability to quickly toggle various graphical tweaks not normally accessible in-game (shortcut to editing TdEngine.ini file)
Added option to toggle intro video
V1.7.1 - 19th July 2023
Fixed a rare occurrence where buttons would become unresponsive
V1.7.0 - 24th June 2023
Added the option to compensate the near clipping plane based on the applied FOV (essentially solving camera clipping issues as FOV increases)
V1.6.0 - 8th June 2023
Added support for Kekuncias' updated TdGame Fix 2.0 mod (install it before using Mirror's Edge Tweaks)
V1.5.1 - 26th May 2023
Hotfix for settings sometimes not applying
V1.5.0 - 23rd May 2023
FOV now applies the correct HOR+/VERT+ scaling to all other known camera types (first person cutscenes, third person camera sweeps, vertigo FOV, etc.)
The "Browse..." button now requires you to select the 'CookedPC' folder (instead of the 'Engine.u' file as before), as a few additional files in this directory now need to be modified to accommodate the new camera types
A config file will now be created in the same directory as the tool when you apply changes. Upon relaunching the tool, it will now populate the fields with the last applied changes
V1.4.0 - 12th May 2023
FOV will now apply the correct HOR+ or VERT+ scaling based on the applied aspect ratio (this change now requires the desired FOV and aspect ratio to be entered at the same time)
Removed preset aspect ratio buttons (were kind of redundant since I introduced the ability to set your own custom aspect ratio)
V1.3.1 - 3rd May 2023
An error will now show if the Engine.u file could not be modified due to insufficient permissions
Improved popover documentation
V1.3.0 - 15th April 2023
Config tweaks now apply for users who have changed the default path of the Documents folder using the Windows Location utility (this wasn't an issue for users using symbolic linking)
Further optimisations
V1.2.0 - 25th Feb 2023
Added adjustable PhysX simulation FPS
Added custom FPS limiter/ability to remove limiter, and toggleable mouse smoothing (basically a shortcut to editing the config files - TdEngine.ini and TdInput.ini)
Added popovers for all settings
V1.1.1 - 15th Feb 2023
Added 4:3 aspect ratio toggle (useful for CRT displays)
Added ability to set a completely custom aspect ratio to target other devices which I haven't already covered with the toggles
Added ability to restore the Engine.u file to the game's original file
Removed the provided backup Engine.u file as the restore button replaces this now
Are you having issues? This is expected behaviour, the game is programmed to read config files only from the default location on C: drive ("Documents\EA Games\Mirror's Edge\TdGame\Config"). If config files aren't present in this location, the game will create a fallback config in this location upon launch.
If you're talking about symbolic linking, I haven't tested this - although I still don't see why this wouldn't work.
I have my Documents folder on the D: drive. Not through symbolic linking, through the Location function that is built into the Windows properties dialog. This is pretty common for anyone that stores their data across multiple drives. But it sounds like you have it hardcoded to read from C:.
I tried using this tweaker to change the aspect ratio to 21:9, couldn’t get it to work. Found the file, pressed the 21:9 button, started the game, chose all kinds of resolutions, 3440x1440 native, 1920x1080 tried a few times. Letterboxing remains, no idea what’s wrong
Adding to the previous comment, i figured out the problem: i installed it to the default location disk C, in which one needed administrator rights to modify files, i reinstalled it to other location and it works perfectly.
Hello again! Yeah, sorry, the problem was on my end. I installed Mirror's Edge in the default EA Games folder created by the EA App. Since this is a protected folder, I forgot I had to give your tool Admin rights so that it can edit the Engine.u file. Again, sorry for the confusion I might have caused, and thank you for creating this very handy tool!
Don’t be sorry, this helps me understand for the future - didn’t realise the new EA launcher did that. I might start putting in an error check for these things. Glad it works now
Hey. when i select the path to the folder where the TdEngine config file is, a notification pops up that no engine.u file could be found. Does anyone know how to fix this?
Any idea why this might not work with 16:10?
I tried manual edits first (F3 8E E3 3F > CD CC CC 3F) and found your tool, however, I'm getting exactly same results with 16:10, 8:5, 1280x800.
When using this or manual edit for Steam Deck resolution, 1280x800, the main menu is inverted and displayed in lower half of the screen. Lowering the resolution fixes the rendering problem but defeats the purpose.
This is documented in the popover on my tool. Basically, if you want to use an aspect ratio LESS wide than 16:9, your in-game resolution has to be lower than/equal to 720 vertical pixels, OR the next closest 16:9 resolution (so in your case = 1366x768). Not ideal I know - it's something that I'm aware of and looking to fix.
Sorry, I glanced over it, my bad. Thank you for the extra explanation and tips.
The patched game behaves really strange if I try to set it to 1366x768 via config (this resolution is not available for selection). The game would launch with ResX=470, ResY=752.
I tried to set the resolution via a bound key in-game to 1366x768, but that yields 1286x768 with letterboxing and pillarboxing.
Eventually, I made it fullscreen by choosing 1152x720 from the menu. %) Doesn't look in any way inferior to me.
Ohh of course, you're on Steam Deck. The resolutions that are available in-game are based on resolutions made available to it by the graphics driver. In the case of NVIDIA control panel, this is based on the set of resolutions in the NVCP resolution tab. This would of course work differently on Steam Deck as NVIDIA isn't the GPU vendor.
And the config resolution edit does nothing unless it matches the GPU driver resolutions/what's available for selection in-game
could you add settings for anisotropic filtering, Depth of field, bloom, hq Shadows & radial blur from the TdEngine file? like laid out here: Pcgamingwiki.com's_Edge
actually, i have a small bug. starting the game, alt-tabbing out, then alt-tabbing back in leads to a black screen that doesn't go away unless I end it with task manager
It isn't - unfortunately, Defender freaks out due to the compilation process I use to build the executable. I have just now compiled my own bootloader to build the executable, so hopefully it shouldn't be picked up as a false-positive anymore. You're welcome to try the latest update.
Hi softsoundd, I tried using the mod but I'm still running Windows 7 - I believe this is the reason I received a crash due to api-ms-win-core-path-l1-1-0.dll missing. I tried manually adding the missing dll to System32 and SysWOW64 but it threw another error. I'm pretty sure there's nothing you can do and I would understand if that were the case but thought I'd ask if you can make the program run on Windows 7? Thanks for your work regardless.
Hi, sorry you're having trouble. Unfortunately I have no machines available to test on Win 7, but using my tool in a Windows 7 VM worked fine - are you sure it's not another unrelated problem on your end?
Absolutely fantastic mod, needs a Vsync toggle though, by default it disables it, which can be a problem even with VRR and FPS cap (tearing sneaks in occasionally).
I had a very specific question regarding PhysX simulation, I noticed that if you use your CPU to handle PhysX (for example if you have an AMD gpu), the calculations are done in single thread, which is extremely slow, but other games such as the Metro series do it multithreaded so it remains smooth even if you don't have Nvidia hardware (albeit with high CPU load but that's what we want).
Is it possible to make PhysX multithreaded by some sort of miracle of a hack? I tried to replace the PhysX dlls by the more recent ones but it doesn't change the problem, it's an in game implementation...
Vsync toggling and resolution selection is coming in the next update. I very highly doubt much can be done regarding PhysX, I (nor anyone else for other older PhysX games so far) wouldn't have the slightest clue as to how to replace the x87 instructions.
It's X87!!! God damn... I hate proprietary tech, it's long overdue Nvidia open sources it, PhysX GPU acceleration is an ancient, abandonned tech at this point. Oh well...
Great news for Vsync and resolution selection :)
Once we're at it, any hope for non super blurry text at 4K?
Not working for me on Windows 7 either. Something about api-ms-win-core-path-l1-1-0.dll. Is the current version capable of removing black bars at 1280x1024, without upscaling a lower resolution?
Not sure if its an issue with my understanding or if the settings are not being applied correctly, but switching Texture Management to Modern doesn't seem to fix any of the blurry UI
Edit: metweaks.ini only shows the following, am I missing how to apply these features?:
[GameTweaks]
GameInstallPath = C:/Games/MirrorsEdge
FOV = 110
AspectRatio = 16:9
PhysXFPS =
Thanks. This seriously is making the game playable for me
You are AMAZING!
❤️
Great tool but the "Other Tweaks" section only works if your config files are located on the C: drive.
Are you having issues? This is expected behaviour, the game is programmed to read config files only from the default location on C: drive ("Documents\EA Games\Mirror's Edge\TdGame\Config"). If config files aren't present in this location, the game will create a fallback config in this location upon launch.
If you're talking about symbolic linking, I haven't tested this - although I still don't see why this wouldn't work.
I have my Documents folder on the D: drive. Not through symbolic linking, through the Location function that is built into the Windows properties dialog. This is pretty common for anyone that stores their data across multiple drives. But it sounds like you have it hardcoded to read from C:.
Updated, should work now. Probably a better idea to use symbolic linking, using that Location utility is not recommended practice.
I tried using this tweaker to change the aspect ratio to 21:9, couldn’t get it to work. Found the file, pressed the 21:9 button, started the game, chose all kinds of resolutions, 3440x1440 native, 1920x1080 tried a few times. Letterboxing remains, no idea what’s wrong
Adding to the previous comment, i figured out the problem: i installed it to the default location disk C, in which one needed administrator rights to modify files, i reinstalled it to other location and it works perfectly.
Hey there! Awesome tool, but it seems that since the April 15th patch the "Engine Tweaks" are not working anymore :(
Hmm how so? Other users aren't having issues. Is the Engine.u file on an a drive that's lacking the necessary file/folder permissions?
Hello again! Yeah, sorry, the problem was on my end. I installed Mirror's Edge in the default EA Games folder created by the EA App. Since this is a protected folder, I forgot I had to give your tool Admin rights so that it can edit the Engine.u file. Again, sorry for the confusion I might have caused, and thank you for creating this very handy tool!
Don’t be sorry, this helps me understand for the future - didn’t realise the new EA launcher did that. I might start putting in an error check for these things. Glad it works now
Hey. when i select the path to the folder where the TdEngine config file is, a notification pops up that no engine.u file could be found. Does anyone know how to fix this?
TdEngine config file is not correct, please read the instructions. You need to locate Engine.u from your game install location
lol
Thank you for this.
Any idea why this might not work with 16:10?
I tried manual edits first (F3 8E E3 3F > CD CC CC 3F) and found your tool, however, I'm getting exactly same results with 16:10, 8:5, 1280x800.
When using this or manual edit for Steam Deck resolution, 1280x800, the main menu is inverted and displayed in lower half of the screen. Lowering the resolution fixes the rendering problem but defeats the purpose.
This is documented in the popover on my tool. Basically, if you want to use an aspect ratio LESS wide than 16:9, your in-game resolution has to be lower than/equal to 720 vertical pixels, OR the next closest 16:9 resolution (so in your case = 1366x768). Not ideal I know - it's something that I'm aware of and looking to fix.
Sorry, I glanced over it, my bad. Thank you for the extra explanation and tips.
The patched game behaves really strange if I try to set it to 1366x768 via config (this resolution is not available for selection). The game would launch with ResX=470, ResY=752.
I tried to set the resolution via a bound key in-game to 1366x768, but that yields 1286x768 with letterboxing and pillarboxing.
Eventually, I made it fullscreen by choosing 1152x720 from the menu. %) Doesn't look in any way inferior to me.
Ohh of course, you're on Steam Deck. The resolutions that are available in-game are based on resolutions made available to it by the graphics driver. In the case of NVIDIA control panel, this is based on the set of resolutions in the NVCP resolution tab. This would of course work differently on Steam Deck as NVIDIA isn't the GPU vendor.
And the config resolution edit does nothing unless it matches the GPU driver resolutions/what's available for selection in-game
Came here to report this issue (also Steam Deck). Have you found any workarounds for the limitation yet?
Hi, I've provided an update with a workaround. Root cause is still yet to be determined.
Hi, my games aspect ratio isn't changing and im running the tool as administrator and my aspect is 21:9 im unsure as to why its not goin ultrawide
Released a small update, should fix it
could you add settings for anisotropic filtering, Depth of field, bloom, hq Shadows & radial blur from the TdEngine file? like laid out here: Pcgamingwiki.com's_Edge
so glad I stumbled across this; it works like a charm. Thank you!
actually, i have a small bug. starting the game, alt-tabbing out, then alt-tabbing back in leads to a black screen that doesn't go away unless I end it with task manager
That's not a result of my mod, that's the game's default behaviour if you don't modify the presentation model.
Windows defender identified this as a trojan.
It isn't - unfortunately, Defender freaks out due to the compilation process I use to build the executable. I have just now compiled my own bootloader to build the executable, so hopefully it shouldn't be picked up as a false-positive anymore. You're welcome to try the latest update.
Hi softsoundd, I tried using the mod but I'm still running Windows 7 - I believe this is the reason I received a crash due to api-ms-win-core-path-l1-1-0.dll missing. I tried manually adding the missing dll to System32 and SysWOW64 but it threw another error. I'm pretty sure there's nothing you can do and I would understand if that were the case but thought I'd ask if you can make the program run on Windows 7? Thanks for your work regardless.
Hi, sorry you're having trouble. Unfortunately I have no machines available to test on Win 7, but using my tool in a Windows 7 VM worked fine - are you sure it's not another unrelated problem on your end?
Easy to set-up and tweak. Fantastic tool all-around!
Absolutely fantastic mod, needs a Vsync toggle though, by default it disables it, which can be a problem even with VRR and FPS cap (tearing sneaks in occasionally).
I had a very specific question regarding PhysX simulation, I noticed that if you use your CPU to handle PhysX (for example if you have an AMD gpu), the calculations are done in single thread, which is extremely slow, but other games such as the Metro series do it multithreaded so it remains smooth even if you don't have Nvidia hardware (albeit with high CPU load but that's what we want).
Is it possible to make PhysX multithreaded by some sort of miracle of a hack? I tried to replace the PhysX dlls by the more recent ones but it doesn't change the problem, it's an in game implementation...
Vsync toggling and resolution selection is coming in the next update. I very highly doubt much can be done regarding PhysX, I (nor anyone else for other older PhysX games so far) wouldn't have the slightest clue as to how to replace the x87 instructions.
It's X87!!! God damn... I hate proprietary tech, it's long overdue Nvidia open sources it, PhysX GPU acceleration is an ancient, abandonned tech at this point. Oh well...
Great news for Vsync and resolution selection :)
Once we're at it, any hope for non super blurry text at 4K?
I have a proof of concept workaround for 4K here: Moddb.com
but watch this space... next update for this tool is a well overdue proper fix for text at any res - hence the resolution selector ;)
Not working for me on Windows 7 either. Something about api-ms-win-core-path-l1-1-0.dll. Is the current version capable of removing black bars at 1280x1024, without upscaling a lower resolution?
Try this: Github.com
Although I don't think I need to explain why you shouldn't still be using Windows 7.
Your second point - still haven't found a reliable fix
Amazing mod, so nice to have a bunch of unified fixes for the game! Keep up the good work
Not sure if its an issue with my understanding or if the settings are not being applied correctly, but switching Texture Management to Modern doesn't seem to fix any of the blurry UI
Edit: metweaks.ini only shows the following, am I missing how to apply these features?:
[GameTweaks]
GameInstallPath = C:/Games/MirrorsEdge
FOV = 110
AspectRatio = 16:9
PhysXFPS =
[GraphicsTweaks]
GlobalMinLOD =
GlobalMaxLOD =
GlobalLODBias = 0
Texture management is for textures, not UI. The UI fix is presented when you select a resolution greater than 1920x1080 in the resolution drop-down.
Awesome tool. Thank you!
Does this mean what I think it does???
Overclock3d.net
"ZLUDA does not support CUDA gaming workloads (PhysX)" - Github.com
Hey thanks man
Seriously well made mod. Glad PC Gaming Wiki points to this.
This comment is currently awaiting admin approval, join now to view.