Shadow-Link Posted July 15, 2009 Share Posted July 15, 2009 (edited) Current version: 0.1b Beta Date: 16.07.2009 Download from my website Download from GTAGarage What does it do? With this tool you can convert SA dff files to the IV engine. It will create a wdr file from scratch. The following data will be converted: - Vertex (Position, UV, Material) - Faces - All textures will be added as default gta material Todo: - Vertex Colors Ignored Data: - 2DFX (Handled by wpl) - Night Vertex Colors You can post Comments/Requests/Bug Reports/etc in this topic! NOTE: This is a public beta, and as such it is crucial that you backup all files you replace with models created with dff2wdr! I won't be held responsible for any loss of files that may result due to use of dff2wdr. Requirements - You need to have Java installed - Version 1.0, 1.01, 1.02, 1.03, 1.04 of GTAIV.exe Usage - Make sure all vertices have a texture applied. - Click "File->Open Stock/Custom DFF". - Select the file you want to convert/Select the directory that contains the dff files you want to convert. - Files will be saved as <DFFNAME>.wdr. - Import model with SparkIV/OpenIV. Tip: Use WDR Analyze and check if there are just as many Shaders as Geometrys, if that's not the case don't import the model in IV it will crash. Known issues - Weapons are possible but with bugs. - You can't convert peds/player. (Also contain bones) - When the dff is in the same folder as dff2wdr.exe the program will stop at "Adding padding till *". Changelog Version 0.1b -Added normals (To give models normals you'll need to export your dff with Kam's script and check the "Norm" button.) Version 0.1 -Initial beta release Credits A very special thanks to (in no specific order): Aru, Cool Fire, DexX, Gforce, Jost Vice, Paroxum, REspawn, supermortalhuman, Tim (and everyone I forgot) who have been invaluable in the research of game code/file formats which made this program possible. Legal This program is provided "as-is" without any implied warranty or support. Use of modified files during online play may result in being banned. Use at your own risk! Webmasters Please don't reupload this to your website. Link to this forum topic or my website instead. This tool is still a WIP and there are many many more updates/fixes to come. Tutorial This tutorial is made by quechus13! It's shows how to import weapons into IV. Edited September 15, 2009 by Prince-Link Link to comment Share on other sites More sharing options...
JostVice Posted July 15, 2009 Share Posted July 15, 2009 (edited) This will be fun, you're the boss Will edit post with any problem I have! Can't choose 'Custom DFF', and Stock f*cks the models Fixed! Edited July 15, 2009 by Jost_Vice Link to comment Share on other sites More sharing options...
supermortalhuman Posted July 15, 2009 Share Posted July 15, 2009 Glad to see it made to public! I will have to put some stank on getting myself yet-another-video-card Will your users be testing/showing screens here, or will you start a test topic like the vehicle one in IV editing discussion? Impressive feat here, Prince, I am happy to have been around while you created this! Link to comment Share on other sites More sharing options...
crashsilumator234 Posted July 15, 2009 Share Posted July 15, 2009 (edited) YOU MADE IT TO THE TOP PRINCE! Uhh how do i put textures to the file? here it is a failed attempt of converting GTA SA sawn off shotgun can you help me, but you have a good tool! you may notice a rare line on the trigger too, do you see it? Edited July 15, 2009 by crashsilumator234 Link to comment Share on other sites More sharing options...
quechus13 Posted July 15, 2009 Share Posted July 15, 2009 Well i like it but im gonna try some more stuff LOL PIC: Link to comment Share on other sites More sharing options...
crashsilumator234 Posted July 15, 2009 Share Posted July 15, 2009 Well i like it but im gonna try some more stuff LOL PIC: lol, what is that dude? Link to comment Share on other sites More sharing options...
chasez Posted July 15, 2009 Share Posted July 15, 2009 (edited) How exactly it works? I add the dff file and it stops at 95% with message ''adding padding till 12288'' and that's it nothing else, where it creates the wdr file? some of us already are making weapons but you said that we can't convert weapons and can't convert peds/player but I can't convert even a building Edited July 15, 2009 by chasez Link to comment Share on other sites More sharing options...
crashsilumator234 Posted July 15, 2009 Share Posted July 15, 2009 How exactly it works? I add the dff file and it stops at 95% with message ''adding padding till 12288'' and that's it nothing else, where it creates the wdr file? I think desktop Link to comment Share on other sites More sharing options...
Shadow-Link Posted July 15, 2009 Author Share Posted July 15, 2009 @crashsilumator234: As mentioned in the readme/this topic/my website/gta garage weapons are not supported yet. You'll have to add the textures to the WTD that's associated with the WDR. @chasez: A log file should be generated, maybe you can mail/post it (only the last few lines). And send me the model you are trying to convert. Edit: It creates the file in the same directory as the dff. Link to comment Share on other sites More sharing options...
quechus13 Posted July 15, 2009 Share Posted July 15, 2009 Well i like it but im gonna try some more stuff LOL PIC: PIC lol, what is that dude? a toilet plunger XD Another test: Link to comment Share on other sites More sharing options...
Shadow-Link Posted July 15, 2009 Author Share Posted July 15, 2009 Oh forgot to mention this: When you try to convert models exported with kam's script, Use the "Open Custom DFF" option in the menu. else Vertices will screw up Link to comment Share on other sites More sharing options...
crashsilumator234 Posted July 15, 2009 Share Posted July 15, 2009 Well i like it but im gonna try some more stuff LOL PIC: PIC lol, what is that dude? a toilet plunger XD Another test: LOL, Awesome bat Link to comment Share on other sites More sharing options...
Stress2 Posted July 15, 2009 Share Posted July 15, 2009 Custom DFF's are disabled in this version? Link to comment Share on other sites More sharing options...
Shadow-Link Posted July 15, 2009 Author Share Posted July 15, 2009 (edited) EDIT: Download again if your "Convert Custom model" menu item is gray Edited July 15, 2009 by Prince-Link Link to comment Share on other sites More sharing options...
Stress2 Posted July 15, 2009 Share Posted July 15, 2009 Yes in my case it is gray Link to comment Share on other sites More sharing options...
crashsilumator234 Posted July 15, 2009 Share Posted July 15, 2009 Yes in my case it is gray same here Link to comment Share on other sites More sharing options...
Shadow-Link Posted July 15, 2009 Author Share Posted July 15, 2009 Redownload. Sorry Uploaded an old version! Link to comment Share on other sites More sharing options...
JostVice Posted July 15, 2009 Share Posted July 15, 2009 (edited) Guys, Prince-Link updated it, so redownload. It works fine for me Click link here is my test, model is opaque, not dynamically lit, but producing shadow. Looks like it is in a big shadow, the model doesn't cast shadow from other stuff Edited July 15, 2009 by Jost_Vice Link to comment Share on other sites More sharing options...
quechus13 Posted July 15, 2009 Share Posted July 15, 2009 I love your program! Link to comment Share on other sites More sharing options...
crashsilumator234 Posted July 15, 2009 Share Posted July 15, 2009 I love your program! from what model is that music tone? Could you post a dl link Link to comment Share on other sites More sharing options...
Gforce Posted July 15, 2009 Share Posted July 15, 2009 it's great to see you finally fixed those nasty little bugs and made this a public release any chance you could upload a video tutorial on how to use this for us n00bs ? Link to comment Share on other sites More sharing options...
quechus13 Posted July 15, 2009 Share Posted July 15, 2009 I love your program! from what model is that music tone? Could you post a dl link I made it for SA If you want a download link here it is: HERE Replaces the grenade also it looks funny ingame because you throw it and then explodes XD Just replace the files in weapons.img Also tested something awesome! Link to comment Share on other sites More sharing options...
Shadow-Link Posted July 15, 2009 Author Share Posted July 15, 2009 Me likes that. Glad people got my program working Link to comment Share on other sites More sharing options...
quechus13 Posted July 15, 2009 Share Posted July 15, 2009 Me likes that. Glad people got my program working Yes i do like it I will be making weapons for GTA IV now Moderators should give you a reward or something you are a GOD now XD Link to comment Share on other sites More sharing options...
chasez Posted July 15, 2009 Share Posted July 15, 2009 This is great To add new buildings you need OpenIV. to create WTD you need DDS converter 2 and g-texture. just have to figure out the place where to put the building and its done Link to comment Share on other sites More sharing options...
crashsilumator234 Posted July 15, 2009 Share Posted July 15, 2009 I love your program! from what model is that music tone? Could you post a dl link I made it for SA If you want a download link here it is: HERE Replaces the grenade also it looks funny ingame because you throw it and then explodes XD Just replace the files in weapons.img Also tested something awesome! THANKS Link to comment Share on other sites More sharing options...
Shadow-Link Posted July 16, 2009 Author Share Posted July 16, 2009 (edited) New Release! Download dff2wdr again to get the newest version. New Version supports normals. Which gives models real lighting! To give models normals you'll need to export your dff with Kam's script and check the "Norm" button. JV Will post some screen in the next post Edited July 16, 2009 by Prince-Link Link to comment Share on other sites More sharing options...
JostVice Posted July 16, 2009 Share Posted July 16, 2009 Excuse the textures. I'm on medium. Model shows correctly, 3 different materials, cast shadows, lighting and all that stuff. I found a weird bug, where depending of the camera angle one of the geometry blocks (geometry blocks = different materials IDs) dissapeared. Could be something external? Link to comment Share on other sites More sharing options...
Shadow-Link Posted July 16, 2009 Author Share Posted July 16, 2009 (edited) @JV: It could be the bounding box values in the wpl. Or the Unknown vectors (got an idea what those are, so will implement that tomorrow). Edited July 16, 2009 by Prince-Link Link to comment Share on other sites More sharing options...
Gforce Posted July 16, 2009 Share Posted July 16, 2009 @JV: It coulb be the bounding box values in the wpl. Or the Unknown vectors (got an idea what those are, so will implement that tomorrow). could also be the bounds dimensions in the ide too Link to comment Share on other sites More sharing options...
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