Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    2. News

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Shadow-Link

[IV][REL][SCR]DFF2WDR

Recommended Posts

Shadow-Link

 

user posted image

 

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 by Prince-Link

Share this post


Link to post
Share on other sites
JostVice

This will be fun, you're the boss inlove.gif

 

Will edit post with any problem I have!

 

Can't choose 'Custom DFF', and Stock f*cks the models sad.gif

 

Fixed!

Edited by Jost_Vice

Share this post


Link to post
Share on other sites
supermortalhuman

Glad to see it made to public! I will have to put some stank on getting myself yet-another-video-card wink.gif

 

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!

Share this post


Link to post
Share on other sites
crashsilumator234

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

user posted image

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 by crashsilumator234

Share this post


Link to post
Share on other sites
quechus13

Well i like it but im gonna try some more stuff LOL

 

 

PIC:

user posted image

 

Share this post


Link to post
Share on other sites
crashsilumator234
Well i like it but im gonna try some more stuff LOL

 

 

PIC:

user posted image

lol, what is that dude?

Share this post


Link to post
Share on other sites
chasez

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 sad.gif

Edited by chasez

Share this post


Link to post
Share on other sites
crashsilumator234

 

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

Share this post


Link to post
Share on other sites
Shadow-Link

@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.

Share this post


Link to post
Share on other sites
quechus13
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:

 

user posted image

Share this post


Link to post
Share on other sites
Shadow-Link

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

Share this post


Link to post
Share on other sites
crashsilumator234
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:

 

user posted image

LOL, Awesome bat

Share this post


Link to post
Share on other sites
Stress2

Custom DFF's are disabled in this version?

Share this post


Link to post
Share on other sites
Shadow-Link

EDIT: Download again if your "Convert Custom model" menu item is gray

Edited by Prince-Link

Share this post


Link to post
Share on other sites
Stress2

Yes in my case it is gray sad.gif

Share this post


Link to post
Share on other sites
crashsilumator234
Yes in my case it is gray sad.gif

same here

Share this post


Link to post
Share on other sites
Shadow-Link

Redownload. Sorry Uploaded an old version! smile.gif

Share this post


Link to post
Share on other sites
JostVice

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. whatsthat.gif

 

user posted image

 

Looks like it is in a big shadow, the model doesn't cast shadow from other stuff

Edited by Jost_Vice

Share this post


Link to post
Share on other sites
quechus13

I love your program! cookie.gifcookie.gifcookie.gifcookie.gifcookie.gif

 

user posted image

 

 

Share this post


Link to post
Share on other sites
crashsilumator234
I love your program! cookie.gifcookie.gifcookie.gifcookie.gifcookie.gif

 

user posted image

from what model is that music tone? Could you post a dl link smile.gif

Share this post


Link to post
Share on other sites
Gforce

it's great to see you finally fixed those nasty little bugs and made this a public release colgate.gif

 

any chance you could upload a video tutorial on how to use this for us n00bs ? wink.gif

Share this post


Link to post
Share on other sites
quechus13
I love your program!  cookie.gif  cookie.gif  cookie.gif  cookie.gif  cookie.gif

 

user posted image

from what model is that music tone? Could you post a dl link smile.gif

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!

 

user posted image

 

Share this post


Link to post
Share on other sites
Shadow-Link

Me likes that. Glad people got my program working biggrin.gif

Share this post


Link to post
Share on other sites
quechus13
Me likes that. Glad people got my program working biggrin.gif

Yes i do like it

I will be making weapons for GTA IV now biggrin.gif

 

Moderators should give you a reward or something you are a GOD now XD

Share this post


Link to post
Share on other sites
chasez

This is great smile.gif 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 biggrin.gif

Share this post


Link to post
Share on other sites
crashsilumator234
I love your program!  cookie.gif  cookie.gif  cookie.gif  cookie.gif  cookie.gif

 

user posted image

from what model is that music tone? Could you post a dl link smile.gif

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!

 

user posted image

THANKS

Share this post


Link to post
Share on other sites
Shadow-Link

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 wink.gif

Edited by Prince-Link

Share this post


Link to post
Share on other sites
JostVice

user posted image

 

user posted image

 

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?

Share this post


Link to post
Share on other sites
Shadow-Link

@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 by Prince-Link

Share this post


Link to post
Share on other sites
Gforce
@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 wink.gif

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • 1 User Currently Viewing
    0 Members, 0 Anonymous, 1 Guest

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.