unexpectedpanda wrote:The mmenu and movies in BF1942 usually render at 800x600. In hex, this is 0320 0258. This is stored in the executable byte-shifted twice to the left, so we're looking for an entry of 20 03, followed not too far after by 58 02.
Seth wrote:I have no idea what the byte C7 after it means, but I just searched for all places that have 20 03 00 00 C7, followed shortly after by 58 02 00 00, and replaced them with the values for my preferred resolution. Now there is absolutely no switching back and forth between resolutions. It is not a perfect solution but it's good enough for me.
First, what is a mip map and why do they blur? A mip map is a set of lower resolution versions of a texture, all saved together inside a single file. Each smaller version is 1/4 the size of the previous. In computer simulations, as a 3D object moves farther from our point of view, the level of detail visible in it's textures decreases.
With a texture without mip maps, the computer has to process the texture file as it is rendered smaller on the screen, and sometimes there will be artifacts from this processing. Also, there is some wasted processing power in having high resolution textures shown on objects which are only rendered as a few pixels on screen. Using mip maps allows the simulation to 'down shift' to a smaller texture version as an object is rendered farther away, and since the rendered texture is lower resolution, there are less texture pixels being rendered on those distant objects.
A side effect of mip map textures is that sometimes they are not rendered at full resolution when they are near our point of view in the simulator. This is when we see a blurry texture, as the simulator has chosen a lower resolution version from the saved mip maps, and we plainly see the low resolution texture.
tuia wrote:Some custom maps unfortunately have mipmaps generated for HUD textures and minimap. I have to play at lowest texture quality and those custom HUD icons are blurred and ugly.
Fixed the menu textures, removing all mipmaps and exchanged some icons. Background.tga was downscaled to 1600x900, because it would not display in my laptop, don't know why. Download the menu_001.zip file, extract it and copy menu_001.rfa to <BF1942 DIR>\Mods\bf1942\Archives. If you don't want to use it anymore, just delete menu_001.rfa and you'll revert back to the old style.
Users browsing this forum: No registered users and 3 guests