Jump to content

Ghost Recon: Heroes Unleashed


ApexMods

Recommended Posts

Oh wow! Thanks mate, just a little over 21,000 to go to catch up with you. 😉

1 hour ago, die7 said:

which application are you using for texture up-scaling?

It's based on this, which you can find here. But if you want to go all-out, read this, and this, and then grab this

  • Tier 1 Post 1
Link to comment
Share on other sites

It looks like we’re hitting another engine limit. Apparently, over 512 MB of video memory usage are a no go (CTD), which puts a huge roadblock in front of retexturing efforts (and that’s not even close to full 2K map textures). It also stops any plans to upgrade character textures, as they contribute the most to total VRAM consumption (which I‘ll explain in the next dev notes).

Link to comment
Share on other sites

Ok, I've found the source of the problem. Apparently, DirectX 9 and earlier (as used by Ghost Recon) need to duplicate all used graphics memory in standard memory space, meaning to use just 512MB of VRAM will consume an additional 512MB x2 = 1GB of RAM, using 1GB of VRAM would (theoretically) consume 2GB of RAM. The problem is, 32-bit applications under Windows (irrespective of version) are limited to a total RAM address space of just 2GB. This would put the theoretical(!) maximum allowable VRAM budget for Ghost Recon at 960MB, to leave at least the bare minimum requirement of 128MB RAM for the game itself.

However, in practice, anything over 512MB VRAM usage is prone to cause trouble. This is a major issue, as e.g. having many characters on the map (like in XXL game types or some missions) can easily push character video memory requirements alone to well above 300MB, leaving very little for map textures etc. 

  • Tier 1 Post 2
Link to comment
Share on other sites

I‘ll have to do more testing, but this change has huge potential. Even on my old Mac, inside the VM, the game currently screams along with 900 MB of texture memory loaded, and it should go up to over 1 GB if my calculations hold.

Link to comment
Share on other sites

Food for thought: In HU’s XXL game modes, character texture memory alone easily surpasses 300 MB VRAM usage on average, and theoretically could reach a maximum of almost 2 GB, all while still using the original size of 512x512 pixel character textures. Turns out that this may have contributed to CTDs in XXL games.

Link to comment
Share on other sites

Lots of calculations required. Memory budgeting will still be a major concern going forward, albeit a lot more relaxed with the solution I found. One gigabyte of VRAM is nothing to sneeze at, but with hires map texturing that amount can easily be exhausted, and it may leave (too) little for e.g. character textures if we go all-out.

Still, a huge amount of beautification is possible now, and going from an average 128 MB texture memory in the original game to 1 GB in Heroes Unleashed will allow for some nice visuals in the future.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...