Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

WFT/XFT to DFF


DK22Pac
 Share

Recommended Posts

I have extracting the files xtd from the file rpf with Open IV,

instead of Liberty V r47, and the textures works perfectly

also in Open IV, now. :)

Edited by Automan
Link to comment
Share on other sites

  • 2 months later...
rokistaking187

does this tool automatically convert WFT/XFT to dff ? :catspider:

 

edit:my bad wasn't lookin' on the post ...

Edited by rokistaking187
Link to comment
Share on other sites

You haven't read the first post, have you?

Link to comment
Share on other sites

Try to extract .xft files by LibertyV instead of OpenIV.

  • Like 1

HHnErXC.png


Link to comment
Share on other sites

OpenIV extracts files fine, but it doesn't decompress them (it actually shouldn't do it),

XFT2DFF works with decompressed files only.

Link to comment
Share on other sites

  • 2 weeks later...

 

 

 

If it does not work with models exported via OpenIV then what programs do you use to export?

 

LibertyV.

http://gtaforums.com/topic/594175-relgtav-libertyv/

 

Sorry my bad, I forgot to mention that I want to export Max Payne 3 models.

 

Thank you anyway, but I can already edit GTA V models, I read through the topic, unfortunately no one mentioned a program for MP3.

 

But could I ask you to link the "load IPL" plugin that you mentioned, please.

F8i4bRU.png

Link to comment
Share on other sites

  • 1 month later...

DK22Pac, The Massacre Racer from GTA-V DLC Festive Surprise, for example,

has the UV-Mapping for livrery on channel 2.

But wftxfttodff to Bonnet and Boot assigns only one channel UV Channels, and the mapping is lost...

Can you do something? :)

Link to comment
Share on other sites

  • 1 month later...
BMWSauberF1.08

sorry for bumping this topic

DK22Pac, The Massacre Racer from GTA-V DLC Festive Surprise, for example,

has the UV-Mapping for livrery on channel 2.

But wftxfttodff to Bonnet and Boot assigns only one channel UV Channels, and the mapping is lost...

Can you do something? :)

it happen also on the jester,the secound uv-channel is missing from the doors and the boot

Link to comment
Share on other sites

Try with this updated tool

http://www.mediafire.com/download/mydvf6e8e0b6a6n/xdr2dff.rar

If this won't work, send me these models (xdr files).

Edited by DK22Pac
Link to comment
Share on other sites

BMWSauberF1.08

the original v prelight color can be useful if you want to convert the dff to a wft and the flipped faces problem is not a big issue,but yes the broken uv channels for dlc vehicles need to be fixed

Edited by Aztecas_5
Link to comment
Share on other sites

Certainly it is not essential, but it would work less to do! :D

I would not mind, since I am converting them all! :D

Link to comment
Share on other sites

  • 1 month later...

DK22Pak, the program has worsened:
xft_TOdff2error_UVmapping.jpg

 

---

 

Occured a YFT to DFF converter, now! :D

Edited by Automan
Link to comment
Share on other sites

  • 1 month later...

Update - added ytd/ydr/ydd/yft > txd/dff/col converter.

Main features:

-2dfx export

-Day/night prelight calculation

-Collision file generation

-Breakable model generation

-Wide list of settings

Vehicle models are currently exported as skinned mesh. Auto-splitting may be added in future.

Edited by DK22Pac
Link to comment
Share on other sites

Yft converter (version with gerarchy) locked DFF file:
dff_is_locked.jpg

[GENRL];; Write info to log.txt;bEnableLog = 0;; Use hashes instead of real file names. This is useful since there's a limit with 20 symbols for file name inside IMG archive;bHashedFileNames = 0;;;             TEXTURES;;; Lower dimensions for textures - 1 to use 2nd level, 2 - 3rd ...;iBaseTextureLevel = 0;; Anisotropy level for textures;iAnisotropyLevel = 0;; Extended texture name - don't use this if you don't know what is this;bExtendedTextureName = 0;;;;             MODELS;;;; Scale models;fScaleMultiplier = 1.0;; Level of detail (0-3, 0 - high);iLodLevel = 0;; Generate collision models (they will be stored in separated .col files, use col_merge tool to pack them into one .col file;bGenerateCollision = 0;; Make collision mesh optimization;bOptimizeCollisionMesh = 1;; Generate AABB tree for collision model;bGenerateCollisionAABBTree = 1;; Collision model default lighting intensity (0-255);iCollisionModelLighting = 255;; Skip large (and thus invalid) col model or try to delete excess faces.; Disable this if you wan to fix invalid models manually;bSkipLargeCol = 1;; Export bones and hierarchy data (don't enable this if you want to convert map objects);bExportSkeleton = 1;; Export vertex colors - this is skipped if bGenerateDayPrelight is enabled;bExportVertexColors = 0;; Export normals;bExportNormals = 1;; First UV channel (-1 - export all, 0 - first, 1 - second,...);iFirstUVChannel = -1;; Second UV channel. This is ignored if iFirstUVChannel is set to -1. If iFirstUVChannel is not set to -1; and iSecondUVChannel is set to -1, iSecondUVChannel is not used (so only one UV channel will be exported);iSecondUVChannel = 1;; Calculate day lighting;bGenerateDayPrelight = 0;; Calculate day lighting for dynamic (yft) models;bGenerateDPForDynamicObjects = 0;; Calculate night lighting;bGenerateNightPrelight = 0;; Calculate night lighting for dynamic (yft) models;bGenerateNPForDynamicObjects = 0;; Sun prelight parameters;fPrelightSunX = 1.0fPrelightSunY = 1.0fPrelightSunZ = 0.5iPrelightSunColorR = 255iPrelightSunColorG = 255iPrelightSunColorB = 255fPrelightSunRangeA = 0.5fPrelightSunRangeB = 1.0;; Night lighting parameters;fNightPrelightBaseLevel = 0.1fNightPrelightMultiplier = 0.2;; 2dfx parameters;f2dfxCoronaSizeMultiplier = 1.0f2dfxPointlightSizeMultiplier = 12.0f2dfxShadowSizeMultiplier = 7.0i2dfxShadowIntensity = 100 ; (0-255)f2dfxCoronaFarClip = 150.0;; Default material properties;fMaterialDiffuse = 1.0fMaterialAmbient = 1.0;; Export vehicle colors info;bExportVehicleColors = 1;; Generate breakable data for dynamic (yft) models;bGenerateBreakableModel = 0;; Breakable model lighting. This is used only when bGenerateNPForDynamicObjects is disabled;fBreakableLighting = 0.3;; Broken model lighting - this will be multiplied with breakable model lighting;fBrokenLighting = 0.5

The problem is:

; First UV channel (-1 - export all, 0 - first, 1 - second,...);iFirstUVChannel = -1

This is fine for UV-mapping:

; First UV channel (-1 - export all, 0 - first, 1 - second,...);iFirstUVChannel = 0;; Second UV channel. This is ignored if iFirstUVChannel is set to -1. If iFirstUVChannelis not set to -1; and iSecondUVChannel is set to -1, iSecondUVChannel is not used (so only one UVchannel will be exported);iSecondUVChannel = 0
Channel_UV_mapping.jpg

 

So, if now UV-mapping is not correct, channel 2 to 1:
Channel_2_to_1.jpg

 

- - - -

 

And only 1 mesh?...:
only_1_mesh.jpg

Edited by Automan
Link to comment
Share on other sites

Update - added ytd/ydr/ydd/yft > txd/dff/col converter.

Main features:

-2dfx export

-Day/night prelight calculation

-Collision file generation

-Breakable model generation

-Wide list of settings

Vehicle models are currently exported as skinned mesh. Auto-splitting may be added in future.

 

 

Is it also possible in future to add LODs import? GTAIV has different LODS, or better said, just the low-poly meshes for distance for example.

Edited by SilverRST
Link to comment
Share on other sites

@SilverRST

; Level of detail (0-3, 0 - high); iLodLevel = 0

HHnErXC.png


Link to comment
Share on other sites

What is the parameter to separate the 3D mesh?... :/

quote from dk22pac:

 

 

Vehicle models are currently exported as skinned mesh. Auto-splitting may be added in future.
Link to comment
Share on other sites

Update: Added mesh split option; some fixes with col model generation; released sources.

fr9rCmnm.png sMgMOvOm.png 8drvnsvm.png

Link to comment
Share on other sites

I don't know it's a bug or feature, but vehicles are still in one mesh instead of splitted on parts.

HHnErXC.png


Link to comment
Share on other sites

I don't know it's a bug or feature, but vehicles are still in one mesh instead of splitted on parts.

 

Same here. Also, dynamic meshes like cloth roof on dune not converted.

Link to comment
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
 Share

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

×
×
  • Create New...

Important Information

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