Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (91,862 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. 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

    2. Red Dead Redemption

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

cj2000

Improoved Kams DFF IO

Recommended Posts

cj2000

I am using Kams Scripts to worck with dff files for a long time. The scripts, in my opinion are still the best way to worck with dff files as they worck on every, or at least the most, version of Max. It´s also no secret, the sripts have a lot of bugs, so I started fixing some of them.

 

Features of this improoved scripts:

 

- UV2 suport (Import and export)

- Zmod dff import

- small fixes to material import and export

- fixed material IDs for exported faces

 

The improoved scripts can be downloaded here.

 

Instalation: just replace the original Kams scripts with the corresponding ones from the downloaded folder.

 

Helpfull information: After remooving faces from a mesh, UV2 map of this mesh will be lost when exporting, to fix it you have to colapse the UVW stack befor export. Some dffs exported by the old Kams script could be imported incorect (the same for dffs exported with Deniskas script), to fix this Zmod button must be disabled befor importing such files, but for importing Zmod dffs Zmod button must be enabled befor import. For original GTA dff import it is not important if Zmod buton is enabled or not, but I recomend to keep it enabled for performance reasons.

 

Thanks:

 

Kam for his script

The Hero for his help in understanding dff format

Edited by cj2000

Share this post


Link to post
Share on other sites
goodidea82

That's great. Can you upload it somewhere, where the link will be persistent. (E.g. gtainside.com)

 

How does it relate to X-Seti's work? Maybe link the two pages so people will find them.

 

I have little modeling experience. Can you explain what UV2 is good for and how to use it? Does SA support texture blending?

Edited by goodidea82

Share this post


Link to post
Share on other sites
cj2000

That's great. Can you upload it somewhere, where the link will be persistent. (E.g. gtainside.com)

 

How does it relate to X-Seti's work? Maybe link the two pages so people will find them.

 

I have little modeling experience. Can you explain what UV2 is good for and how to use it? Does SA support texture blending?

Yes, I was thinking to upload it to gtainside, but later when I have the final version.

There is no real relation to X-Seti's work, as far I know he´s worcking on maping scripts, but after he got some kind of permision to publish his worck on Kams scripts, I decided to do the same.

UV2 is the map for reflection texture in GTA SA.

Share this post


Link to post
Share on other sites
cj2000

A version with improoved export is avaible here. UV2 map should be exported corectlly after editing the mesh even without colapsing UVW stack.

At the moment I have improoved multiDFF import, so all clumps can be imported at once. Also going to make some other improovements on import and export functions. After that, I think to have the final version. But if somebody has ideas about other improovements to DFF IO, I´ll see if they can be also done.

Edited by cj2000

Share this post


Link to post
Share on other sites
ALMOST610

Its good to see some fixes, I do find that at times the DFF Exporter (Before You Have Made Fixes) will f*ck up geometry of things at times, like it moves certain vertexs around all over the place and screws up some parts of the model, I am yet to try your fixes but if this does nothing to fix that I'll send over some of the models that do this so you can look into it further.

 

Also If you need somewhere to host the file feel free to upload it on my website, http://almost610.ucoz.com

Share this post


Link to post
Share on other sites
cj2000

Mooving vertex, is something new to me, but problems with TextureCords were known.

Share this post


Link to post
Share on other sites
cj2000

So this here should be the final version, at least at the moment. This version alows to import multiclump dff at once and have some other improovements to import and export functions.

Share this post


Link to post
Share on other sites
Jinx.

Can you upload to Mediafire/GTAInside/something else please?

Share this post


Link to post
Share on other sites
cj2000

Can you upload to Mediafire/GTAInside/something else please?

What´s wrong with that link?

Share this post


Link to post
Share on other sites
Jinx.

I mean as a second link. Sorry for not mentioning :p

 

Also you said that you'll upload the final version on gtainside, so I'll give you that.

Edited by Jinx.

Share this post


Link to post
Share on other sites
cj2000

I mean as a second link. Sorry for not mentioning :p

 

Also you said that you'll upload the final version on gtainside, so I'll give you that.

As you know, my english is awful, I said it should be the final version, but at the moment it isn´t, as there still could be some bugs, I haven´t seen. Once I know there are no real bugs, I upload the final version to gtainside.

Share this post


Link to post
Share on other sites
cj2000

So think the script can be released on monday, haven´t noticed any bugs with vertex mooved around or something like that, the only problem can be with imported models made with this script to Zmod, but Zmod models can be imported without problem.

Share this post


Link to post
Share on other sites
Jinx.

Honestly why one would import models exported with 3ds max (specifically your tool) in Zmodeler? I mean, unless zmod can fix something, there is no reasom to do that, so it isn't a major issue. Good job on the tool :)

 

 

Also pls read that spoiler :(

Share this post


Link to post
Share on other sites
csillam_faszlama

So you say, if I export a dff from Max, it'll mess up in Zmodeler when importing?

Share this post


Link to post
Share on other sites
Jinx.

So you say, if I export a dff from Max, it'll mess up in Zmodeler when importing?

Pretty much, yeah. Edited by Jinx.

Share this post


Link to post
Share on other sites
cj2000

 

So you say, if I export a dff from Max, it'll mess up in Zmodeler when importing?

Pretty much, yeah.

 

It something about 50/50, some models can be imported to Zmod without problems, while some other not, was already a problem with the old Kams script. I also agree, that Zmod has nothing max hasn´t, as R* used max for modeling. However if you are part of a big mod and worcking with other people, who use Zmod, this could be a problem, as they will not be able to import some models exported from max, but models made with Zmod can be imported with this script without problems.

 

P.S. Have read your Spoiler, the problem I must find the model first, once I have found, will upload it again.

Share this post


Link to post
Share on other sites
csillam_faszlama

So the same problem exists in the old script? Cause I haven't noticed any problem so far with it, so your script should work me also... Will try it out.

Share this post


Link to post
Share on other sites
cj2000

So the same problem exists in the old script? Cause I haven't noticed any problem so far with it, so your script should work me also... Will try it out.

The problem seems to have something to do with the BinMeshPLG (MaterialSplit) section, was also the reason Kams script was unable to import Zmod dffs.

I know I promissed to upload the final section, but noticed there is some isues with RWLights, even they are not used ingame, for some maping stuff inside max they seem to have importance.

Share this post


Link to post
Share on other sites
csillam_faszlama

I use your script, and it works perfectly so far :)

Thanks for the script!

Share this post


Link to post
Share on other sites
Landrei

can it import rw 3.6.0.3 formats?

Share this post


Link to post
Share on other sites
cj2000

can it import rw 3.6.0.3 formats?

If I understood right, you are tallking about SA dffs, so yes.

Share this post


Link to post
Share on other sites
cj2000

Have finally uploaded the files to gtainside, here the link.

Edited by cj2000

Share this post


Link to post
Share on other sites
cj2000

Noticed there was a problem with skined model export, the problem was fixed and the downloadlink on gtainside should be replaced by the fixed version soon.

Share this post


Link to post
Share on other sites
Gmer

@cj2000 I used this exporter for a while but noticed it doesn't respect scene changes of 3DS Max, like if I import, and change something (in my case: vertexes aka polycount using tool like MultiRes)

and then I export it, it will be the same as old values. The DFF will remain the same size as old one as if I didn't change anything, and your exporter version will not write the new DFF as it should, by ignoring things that have been changed.

I'm not sure if it would ignore everything, like material or physical drawing changes, as I haven't tested. (in that case your exporter would be de facto useless..)

 

Is that a bug? I'm forced to fall back on the original Kams again, although I rather want to use yours for the improvements and modernisation it offers.

If relevant, using 3DS Max 2017 here, but I think this can happen with any 3DS if you cannot prove me wrong.

Edited by Gmer

Share this post


Link to post
Share on other sites
X-Seti

When Autodesk release newer versions of 3dsmax they ignore existing scripts in the community, Kams out the box never worked for me because of the changes in max script, The best 3dsmax you can use is 2012 or 2014.

Share this post


Link to post
Share on other sites
csillam_faszlama

True: I use 2012 version, and I can assure you, it's working perfectly. Never tried 2014, but what X-Seti says must be right.

Share this post


Link to post
Share on other sites
cj2000

I personally not using newer max versions, and for me the script is worcking fine, but never tested it on versions higher than 2008. For newer max versions the plugin by The Hero could be a beter solution. The reason I tried to improove Kams script, was to give people like me, not wiling to throw their money away for the newest max version, an oportuniti to worck with dff files in max.

After worcking some time on improoving Kams script, I noticed it's really otdsted, as it based on the incomplete and particulary wrong knowledge of dff format, that is more than 10 years old. So I started writing new scripts, based on actual knowledge about dff format. I hope to be able making that scripts avaible for public soon.

Share this post


Link to post
Share on other sites
lpgunit

Will this fix the UV seams issue with models? The problem with the original Kams scripts and a few others is that it would leave unsightly seams on models exported using the tool.

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.