What's New in v1.0.5
Fixed 2 GB Out-of-Memory Freezes & Crashes on Steam (#4, #1)
Steam's DRM-wrapped TWFC.exe cannot have the 4 GB Large Address Aware flag patched, so it is limited to 2,047 MB of 32-bit virtual address space. In v1.0.4, gameplay on Steam climbed to ~1,909 / 2,047 MB (leaving only a 34 MB largest contiguous block), causing periodic stutters, freezes, and UE3's "You ran out of memory" crash after 15–20 minutes.
v1.0.5 reclaims ~490–550+ MB of 32-bit virtual address space and eliminates per-frame texture churn:
- Forced CPU PhysX (
DisablePhysXHardware=1): setsNX_SDKF_NO_HARDWAREwhen initializing PhysX 2.8.3 so legacy NVIDIA GPU PhysX does not reserve a 128+ MB CUDA heap inside the 32-bit process. - Blocked unused
nvtt.dll -> cudart.dllCUDA probe: stops NVIDIA Texture Tools from loading unused 32-bit CUDA/JIT/NVAPI DLLs (nvcuda32.dll,nvptxJitCompiler32.dll,nvcuda.dll,nvapi_impl.dll— ~76 MB + private heaps). - Skipped unused
ddraw.dllVRAM probe: avoids pinning NVIDIA's unused 44 MB D3D9 driver (nvd3dum.dll) forever into 32-bit VA while rendering via dgVoodoo2 (D3D11). - Eliminated per-frame D3D11 texture churn in
CopyToChain: reuses a single persistent scratch texture for non-SRV DXGI swapchain backbuffers and MSAA resolves instead of creating/destroying a ~13 MBID3D11Texture2D180 times per second (which caused periodic WDDM deferred-free stutters and VA fragmentation). - Smarter 2 GB memory budget & adaptive low-VA watchdog:
- Lowers the 2 GB non-LAA texture streaming cap from 384 MB (above stock 250 MB) to 180 MB, and automatically tightens to 128 MB (<384 MB free VA) or 96 MB (<256 MB free VA) if an area spikes memory usage.
- Caps 2 GB non-LAA render size at 1600×1600, floating HUD swapchain at 1024×1024, game crosshair swapchain at 512×512, and theater swapchain at 1280×1280 (destroyed during 3D stereo gameplay).
- Logs periodic 32-bit VA snapshots (
mem: periodic) every 2 minutes on 2 GB builds.
Other Fixes
- Installer (
TWFC-VR-Setup.exe): no longer displays the false "Binaries\TWFC.exe is not the version the mod was made for" warning when a Steam installation is detected automatically (#1, #4). - Single-instance mutex: scoped WFC VR's mutex (
UnrealEngine3_11_TWFC) so it no longer collides with Transformers: Fall of Cybertron if both are installed/run.
Downloads
TWFC-VR-Setup.exe— standard installer (auto-detects both Steam and retail/patched versions).TWFC-VR-Setup-Steam.exe— Steam-labelled build (always writessteam_appid.txt).
Что нового в v1.0.5
Исправлены фризы и вылеты «You ran out of memory» на Steam-версии (#4, #1)
Steam-версия TWFC.exe защищена SteamStub DRM (.bind) и не может использовать 4 ГБ флаг LAA — процесс ограничен 2 047 МБ 32-битного адресного пространства. В v1.0.4 в миссии занятая память доходила до ~1 909 / 2 047 МБ (крупнейший свободный блок — всего 34 МБ), что вызывало периодические подёргивания, зависания и вылет «You ran out of memory» через 15–20 минут игры.
v1.0.5 освобождает ~490–550+ МБ 32-битного адресного пространства и убирает покадровое пересоздание текстур:
- Принудительный CPU PhysX (
DisablePhysXHardware=1): включаетNX_SDKF_NO_HARDWARE, отключая резервирование 128+ МБ GPU PhysX / CUDA-кучи. - Блокировка неиспользуемой пробы CUDA (
nvtt.dll→cudart.dll): не загружает в 32-битный процесс ненужныеnvcuda32.dll,nvptxJitCompiler32.dll,nvcuda.dll,nvapi_impl.dll(~76 МБ DLL + кучи). - Пропуск неиспользуемой пробы VRAM через
ddraw.dll: больше не прибивает в памяти на всё время игры ненужный 44 МБ драйвер D3D9 (nvd3dum.dll) при рендере через dgVoodoo2 (D3D11). - Устранено покадровое пересоздание
ID3D11Texture2DвCopyToChain: одна переиспользуемая промежуточная текстура вместо создания/удаления ~13 МБ текстуры 180 раз в секунду. - Оптимизированный 2 ГБ бюджет и автозащита от нехватки VA:
- На 2 ГБ процессах лимит текстур снижен с 384 до 180 МБ и автоматически ужимается до 128 / 96 МБ при падении свободной VA ниже 384 / 256 МБ.
- На 2 ГБ процессах лимит разрешения — 1600×1600, плавающий HUD — 1024×1024, игровой прицел — 512×512, виртуальный экран — 1280×1280 (освобождается на время 3D-боя).
Прочие исправления
- Установщик (
TWFC-VR-Setup.exe): больше не показывает ложное предупреждение «Binaries\TWFC.exe — не та версия» при автоматическом определении Steam-версии (#1, #4). - Мьютекс одного экземпляра:
UnrealEngine3_11_TWFCвместо общегоUnrealEngine3_11— больше не мешает параллельному запуску с Transformers: Fall of Cybertron.