steadyfi Posted August 16, 2015 Share Posted August 16, 2015 I saw a server called Top-GTA, a MTA DayZ server, that uses shaders stored in the format of .vtf. The .vtf format stands for Valve Texture Format (Outside Link), but the files they use are not common VTF Files, they are somehow modified and not conventional. As far as I tried, no Standard VTF Editor/Viewer can read from them, which lead me to the idea that they are somehow Invalid, for the .vtf format, but valid for MTA to load them. Also, MTA wouldn't be able to load conventional VTF Files, as they are newer technology, they are meant especially for the Valve Source Engine, and RenderWare (GTA SA Engine) wouldn't be able to handle them. I tried to load them, it kinda worked, but the Texture doesn't apply. The object remains white. local shader = dxCreateShader("world.fx"); local texture = dxCreateTexture("test.vtf", "argb"); dxSetShaderValue(shader, "gTexture", texture); engineApplyShaderToWorldTexture(shader, "desgrassbrnsnd"); If any of you know, I would like to hear what you say. Thanks Link to comment
Ren_712 Posted August 17, 2015 Share Posted August 17, 2015 Shaders working with MTA are stored in .fx file. The .vtf is a texture format not compatible with MTA. I'd suggest finding a photoshop/gimp plugin for vtf. Open the file and save as jpg/png/dds. Link to comment
Tekken Posted August 17, 2015 Share Posted August 17, 2015 Shaders working with MTA are stored in .fx file. The .vtf is a texture format not compatible with MTA. I'd suggest finding a photoshop/gimp plugin for vtf. Open the file and save as jpg/png/dds. I use gimp but keep saying File signature does not match 'VTF'. Link to comment
Ren_712 Posted August 18, 2015 Share Posted August 18, 2015 To open with gimp you'll need a plugin for that (as i mentioned before) Link to comment
greentumbleweed Posted August 18, 2015 Share Posted August 18, 2015 is there anyway to change the size of the original texture? the vtf loads, but its white i think its because of the size difference, i could be wrong tho Link to comment
Tekken Posted August 18, 2015 Share Posted August 18, 2015 (edited) To open with gimp you'll need a plugin for that (as i mentioned before) I downloaded a vtf plugin for gimp I am not stupid, but didn't work... Edited August 19, 2015 by Guest Link to comment
Tekken Posted August 18, 2015 Share Posted August 18, 2015 is there anyway to change the size of the original texture? the vtf loads, but its white i think its because of the size difference, i could be wrong tho It's white because aren't loaded correctly. Link to comment
greentumbleweed Posted August 18, 2015 Share Posted August 18, 2015 if you place a png with the wrong size the same thing happens... so thats why i say maybe thats the reason if you look at top-gta's texture theyre VERY highres unlike the original textures on sa models Link to comment
Tekken Posted August 18, 2015 Share Posted August 18, 2015 if you place a png with the wrong size the same thing happens... so thats why i say maybe thats the reason if you look at top-gta's texture theyre VERY highres unlike the original textures on sa models The problem here is because we don't know how to use those *.vtf files. Link to comment
greentumbleweed Posted August 18, 2015 Share Posted August 18, 2015 i guess my theory is wrong i made my own vtf image from my current png file and it still wont load Link to comment
[XP]~Cnosi~> Posted August 18, 2015 Share Posted August 18, 2015 It's something familiar as this one: https://forum.multitheftauto.com/viewtopic.php?f=91&t=90833 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now