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.

Improoved Kams DFF IO


cj2000
 Share

Recommended Posts

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

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

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.

Link to comment
Share on other sites

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

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

XDBuildTopicSig6.png

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

What´s wrong with that link?

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Good point. Good luck :)

 

 

As I don't really wanna bump, is it possible to reupload your Polaris V8? The link is dead, unfortunately :(

 

http://gtaforums.com/topic/761041-vcs-polaris-v8/

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 :(

Link to comment
Share on other sites

csillam_faszlama

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

Link to comment
Share on other sites

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

Pretty much, yeah. Edited by Jinx.
Link to comment
Share on other sites

 

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.

  • Like 2
Link to comment
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.

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

can it import rw 3.6.0.3 formats?

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

Link to comment
Share on other sites

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

Edited by cj2000
Link to comment
Share on other sites

  • 3 weeks later...

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.

Link to comment
Share on other sites

  • 4 months later...

@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
Link to comment
Share on other sites

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.

.

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

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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.

76561198000404928.png

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.