Project forums > Team Avalanche

Menus

<< < (2/24) > >>

obesebear:

--- Quote from: Aali on 2009-08-07 04:48:42 ---If it's using the same sprite system as FF8, it won't do well with a larger .tex file.

However, you can use the custom drivers texture replacing feature to get any size to work.

--- End quote ---
Right, but what about the game using certain locations on the texture for picking out letters?  Would they not still be the same location no matter if it's a 256x256 or 1024x1024?

sl1982:
Maybe some sort of patch to the game? Im not really a programmer but if someone could find the call for the textures they could just add a function to multiply it. As long as the new texture was a multiple of 256 it might work.

Aali:

--- Quote from: obesebear on 2009-08-07 04:51:06 ---
--- Quote from: Aali on 2009-08-07 04:48:42 ---If it's using the same sprite system as FF8, it won't do well with a larger .tex file.

However, you can use the custom drivers texture replacing feature to get any size to work.

--- End quote ---
Right, but what about the game using certain locations on the texture for picking out letters?  Would they not still be the same location no matter if it's a 256x256 or 1024x1024?

--- End quote ---

Texture coordinates are usually (always in FF7/FF8) in normalized floating point format (0.0 to 1.0). FF8 and probably FF7 too calculate these texture coordinates using the size information found in the .tex.

sl1982:
Sorry for the stupid question but does that mean it will grab the right spot no matter the texture size?

Aali:
Not if you replace the .tex file with a larger one. However, the custom driver can sidestep FF7 and replace any texture with an arbitrary png image. Since the sprite system does not know about this it will generate the correct texture coordinates.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version