NieR:Automata™

NieR:Automata™

View Stats:
Havoc Jul 17, 2021 @ 2:34pm
8
2
2
8
Automata LodMod 0.77.5 (2025 update)
2025 update: v0.77.5 is now available which fixes some of the remaining LOD issues, happy new year!

Download: https://www.nexusmods.com/nierautomata/mods/165/
Last edited by Havoc; Jan 4 @ 4:57pm
< >
Showing 361-375 of 418 comments
Havoc Sep 6, 2021 @ 2:54am 
LodMod v0.77.3 test-release
Uploaded LodMod v0.77.3 to https://github.com/emoose/NieRAutomata-LodMod/releases/tag/v0.77.3

0.77.3 added DisableVignette, disables the vignette darkening effect around the edges of the screen (but only when rendering 3D, as 2D parts like menus etc seem to have vignetting baked into the textures, IIRC there was a mod to remove those, but can't recall where I saw that now)

0.77.2 adds a new ShadowCascadeAlgorithm section to the INI, which allows defining a custom math expression to setup the 4 shadow cascade distances, LodMod.ini contains some sample algorithms that can work with this. (thanks to v00d00m4n for the idea, and thanks to Raincode for https://github.com/Raincode/DeskCalc!)

Some might think this is overkill, but it's pretty useful to be able to tweak things without needing to wait 3~ for LodMod to recompile each time (debug LM can even hot-reload this in real-time too!)
Really I've got no idea what the best settings for each level should be, maybe this can help out if anyone wants to try looking into that. (if anyone ever does I'd be happy to try adding in per-area settings too, so it can change it automatically)

Originally posted by v00d00m4n:
By the way, can you help my old pal Alber from RE4 modding scene to fix similar resolution limitation of prerendered cutscenes in RE4 HD?

https://steamcommunity.com/app/254700/discussions/0/558749824370582987/?ctp=237

As far as i remember RE4 used SoftDec as well, so i guess your fix could work with it with some minor tweaking, please look at it.
Don't own it on PC so can't say for sure, but originally being a console game there's a good chance it's similar to NA's issue, maybe has a memory pool dedicated for video somewhere that needs to be extended.
(or it could be an issue with Sofdec1, I dunno what the resolution limit for that is, not much info about really...)

The CRI stuff in NA has a ton of error logging built in, if RE4's CRIware is similar maybe that could help track it down.
(though in NA's case, I set a breakpoint on the "failed to alloc mem from memory pool" code instead, and when that was hit I traced it back to the movie alloc function, from there I could see what pool it was trying to alloc from and just had to bump up the size of it - maybe RE4 has a similar thing with memory failing to allocate?)

btw, you might be interested in this new feature in LodMod: https://github.com/emoose/NieRAutomata-LodMod/commit/fc182429daf6017505c0a5420e8285d167743d47

https://github.com/emoose/NieRAutomata-LodMod/blob/master/LodMod.ini#L158

Seems to run pretty well, gonna look into porting PSS algo over for it then I'll post up a build. (E: posted above :)

If you want to use screen resolution or anything like that you can just define it manually, "screen_width = 1920 \n screen_height = 1080", then you can use those variables in the calculation.
Hopefully in future I can add support for seperate algos per area.
Last edited by Havoc; Sep 8, 2021 @ 9:40am
v00d00m4n Sep 6, 2021 @ 12:19pm 
Originally posted by Havoc:
LodMod has moved to NexusMods: https://www.nexusmods.com/nierautomata/mods/165/

Would be grateful if you could update any links to point there instead!

Feel free to continue posting in this thread though, I'll still post here if any updates are released too.

--

LodMod v0.77.0 adds H264 support into the game, but unfortunately we don't actually have a way to encode H264 videos... the game uses a Criware USM container format, where the encoder for it doesn't seem publicly available right now :(

If anyone reading ever had access to Criware / Scaleform GFx SDKs, could you please check if you have the sofdec2encH264.exe or medianocheH264.exe encoding tool? It'd help the cutscene upscaling projects a lot!


Automata-LodMod-165-0-77-1-1630893121.zip
(Automata-LodMod)
folder 119KB
Choose from the options below
Choose download type Free Premium
Multi-threaded downloads close check
Download speeds 1MB MAX
No advertising close check
Automatic downloads close check

You must be logged in to download files. Log in here.

Thats why i dont like Nexus! :-( You better add back link to Github to this thread, Nexus is slow and tedious!
v00d00m4n Sep 6, 2021 @ 12:56pm 
Originally posted by Havoc:
LodMod v0.77.3 test-release
Uploaded LodMod v0.77.3 to https://github.com/emoose/NieRAutomata-LodMod/releases/tag/v0.77.3

0.77.3 added DisableVignette, disables the vignette darkening effect around the edges of the screen (but only when rendering 3D, as 2D parts like menus etc seem to have vignetting baked into the textures, IIRC there was a mod to remove those, but can't recall where I saw that now)

0.77.2 adds a new ShadowCascadeAlgorithm section to the INI, which allows defining a custom math expression to setup the 4 shadow cascade distances, LodMod.ini contains some sample algorithms that can work with this. (thanks to v00d00m4n for the idea, and thanks to Raincode for https://github.com/Raincode/DeskCalc!)

Originally posted by v00d00m4n:
By the way, can you help my old pal Alber from RE4 modding scene to fix similar resolution limitation of prerendered cutscenes in RE4 HD?

https://steamcommunity.com/app/254700/discussions/0/558749824370582987/?ctp=237

As far as i remember RE4 used SoftDec as well, so i guess your fix could work with it with some minor tweaking, please look at it.
Don't own it on PC so can't say for sure, but originally being a console game there's a good chance it's similar to NA's issue, maybe has a memory pool dedicated for video somewhere that needs to be extended.
(or it could be an issue with Sofdec1, I dunno what the resolution limit for that is, not much info about really...)

The CRI stuff in NA has a ton of error logging built in, if RE4's CRIware is similar maybe that could help track it down.
(though in NA's case, I set a breakpoint on the "failed to alloc mem from memory pool" code instead, and when that was hit I traced it back to the movie alloc function, from there I could see what pool it was trying to alloc from and just had to bump up the size of it - maybe RE4 has a similar thing with memory failing to allocate?)

btw, you might be interested in this new feature in LodMod: https://github.com/emoose/NieRAutomata-LodMod/commit/fc182429daf6017505c0a5420e8285d167743d47

https://github.com/emoose/NieRAutomata-LodMod/blob/master/LodMod.ini#L158

Seems to run pretty well, gonna look into porting PSS algo over for it then I'll post up a build. (E: posted above :)

If you want to use screen resolution or anything like that you can just define it manually, "screen_width = 1920 \n screen_height = 1080", then you can use those variables in the calculation.
Hopefully in future I can add support for seperate algos per area.

Oh you made my idea reality! Wow thank you! I did not expect it to be made so fast! Gonna toy with it soon and see how it works.

it could serve as good basic for fixing other games lod and shadow cascade problems.

As for RE4, write in that thread i linked, that you dont own it, someone could gift it to you.
Zonk Sep 6, 2021 @ 3:37pm 
Originally posted by v00d00m4n:

You better add back link to Github to this thread
Pay the Devs before you make claims then. ;)

Jokes aside. the github link never changed, just bookmark it... you could even write yourself a "auto update" batch (like me)
https://github.com/emoose/NieRAutomata-LodMod
Last edited by Zonk; Sep 6, 2021 @ 3:37pm
v00d00m4n Sep 7, 2021 @ 9:09am 
Originally posted by Zonk:
Originally posted by v00d00m4n:

You better add back link to Github to this thread
Pay the Devs before you make claims then. ;)

Jokes aside. the github link never changed, just bookmark it... you could even write yourself a "auto update" batch (like me)
https://github.com/emoose/NieRAutomata-LodMod

Problems is that link is gone from OP and people will go NEXUS, will have to waste time to register and login, and do too many extra mouse moves and clicks, when with GITHUB link it just 2-3 clicks.
laymonage Sep 7, 2021 @ 3:56pm 
Originally posted by Havoc:
Don't own it on PC so can't say for sure, but originally being a console game there's a good chance it's similar to NA's issue, maybe has a memory pool dedicated for video somewhere that needs to be extended.
(or it could be an issue with Sofdec1, I dunno what the resolution limit for that is, not much info about really...)

Hey, I own an extra copy of RE4 from Humble Bundle. If you would take a stab at it, I'd be happy to give it to you! (I've added your Steam profile.)
Last edited by laymonage; Sep 7, 2021 @ 3:56pm
Havoc Sep 8, 2021 @ 2:12am 
Originally posted by laymonage:
Originally posted by Havoc:
Don't own it on PC so can't say for sure, but originally being a console game there's a good chance it's similar to NA's issue, maybe has a memory pool dedicated for video somewhere that needs to be extended.
(or it could be an issue with Sofdec1, I dunno what the resolution limit for that is, not much info about really...)

Hey, I own an extra copy of RE4 from Humble Bundle. If you would take a stab at it, I'd be happy to give it to you! (I've added your Steam profile.)
Oh nice, added you, can't make any promises though but I'll try giving a look through.

In case you can't message me, my email is on my github page too: https://github.com/emoose
laymonage Sep 8, 2021 @ 5:30am 
Originally posted by Havoc:
Oh nice, added you, can't make any promises though but I'll try giving a look through.

In case you can't message me, my email is on my github page too: https://github.com/emoose

I've sent you the key via email! No worries if you couldn't get it to work, we're all just trying to help Albert with what we can :B1:

I suggest you contact him first though, he said that he and another programmer almost got it working.
KITA Sep 11, 2021 @ 12:24pm 
This mod finally get the game to a state where I can play it and not have my eyes bleed. Thank you so much for your work!
Hi, can you please make lodmod to ignore and continue if chainloaded dll is missing into indicated path.
Havoc Sep 13, 2021 @ 2:27am 
Great news, thanks to an anonymous contributor we've received the holy H264 encoder :) Huge thanks to the person that sent it in!

I've forwarded it on to the two main cutscene mod authors, if anyone else is in need of it feel free to mail me, my email is listed on http://github.com/emoose

Originally posted by Petrarca, Kell of mammt:
Hi, can you please make lodmod to ignore and continue if chainloaded dll is missing into indicated path.
Hm, that's when using LoadLibrary setting I guess? I'll try having a look at it soon.
Last edited by Havoc; Sep 14, 2021 @ 9:25am
Deus_nsf Sep 14, 2021 @ 6:58am 
I've been experimenting with this mod, even made a poor quality video about it (sighs... youtube comeon) https://youtu.be/cuygHuGNkww

This is really good stuff. I have a very greedy request though. I know the engine is capable of real time shadows with the flashlight because it happens at certain points in the game (wont say where because slight spoilers).
I was curious if it was possible to enable them at all times.
Hi, can you please make assets name static? Eg lodmod-last.zip. for every version you releasae.
https://i.imgur.com/coeWnkm.png

So I can use github api static link. And don't have troubles with downloads.
Havoc Sep 24, 2021 @ 10:32am 
Seems Valve are going to stop downloading older manifests via DepotDownloader etc from working soon ;_;
https://twitter.com/thexpaw/status/1441126290237509634

Very sad, forcing people that want to downgrade to use much less legal methods for it...
Make sure to grab & backup the 2017/debug versions while you still can!

2017 download guide: https://www.nexusmods.com/nierautomata/articles/7
Debug guide: https://www.pcgamingwiki.com/wiki/Topic:Wdchm80b4b7lvx2o

Being able to download any released version via manifests was one of the best benefits of buying a game through Steam, but yet again they're making it so pirates have it better than paying customers :(

Originally posted by Petrarca, Kell of mammt:
Hi, can you please make assets name static? Eg lodmod-last.zip. for every version you releasae.
https://i.imgur.com/coeWnkm.png

So I can use github api static link. And don't have troubles with downloads.
Well I like to keep a versioned filename so it's easy to see what version you have downloaded just from the filename, but maybe I could add another asset download to it named LodMod-NAMH.zip or something for NAMH to pick up?
Last edited by Havoc; Sep 24, 2021 @ 5:33pm
Kaldaien Sep 24, 2021 @ 10:51am 
Ugh, that's terrible. This platform keeps getting worse and worse.
< >
Showing 361-375 of 418 comments
Per page: 1530 50