IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

This section is for obtaining help on creating and releasing tools

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


Pages: (2) [1] 2   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 GTA III/VC/SA 3ds max .dff importer

 compiled plugin
 
seggaeman  
Posted: Thursday, Oct 27 2011, 09:20
Quote Post


Ace
Group Icon
Group: Members
Joined: Mar 29, 2010

mr.gif

XXXXX



This is a 3ds max importer for GTA III/VC/SA .dff model files. Since it's a compiled plugin import speed is comparable to Zmodeler2 & it can handle large models.

UPDATE 26/10/2011 Added support for night vertex colors.

Night vertex color and alpha are imported to mapping channels 3 and 4 (x-coordinate only) respectively; let me know if you are able to view and edit the information.

Instructions

In addition to 3ds max you need to have .NET framework 4 and Max.NET installed.
You will also need Kam's gta_material.ms which is included with his scripts.

Download the Max.NET installer here.
http://www.ephere.com/autodesk/max/downloads.html

Download Kam's 3ds max scripts here.
http://www.gtagarage.com/mods/show.php?id=9172

But it's important to note that the plugin will not work with versions prior to 3ds max 9 since they do not have in-built support for the .NET framework.

Copy GTADffImporter.dll into <3ds max root folder>\plugins. It's advisable to run 3ds max as administrator; sometimes it didn't work when this step was omitted.

The plugin is accessible from the utilities tab: Expand the "Utilities" rollout and click the "More... " button. In the list you should find an entry for "GTA DFF importer".

The utility brings up a dialog. Click the "open" button to choose a file. One or more numbers will appear in the listbox; these represent clumps in the .dff file. The numbers are the offsets(i.e addresses) of the clumps relative to the beginning of the file. Select one of them and click the "Import" button to perform the import.

Most .dffs are single clump.

Features

Imports GTA III, Vice City and GTA SA models.
Imports materials, normals, both UV maps and vertex colors.
Limited support for peds: mesh is imported but bones are represented by dummy nodes.
UV and other animations not supported.
2dfx not supported.
Does not import collision data.

This post has been edited by seggaeman on Friday, Dec 30 2011, 18:57

O This mod is hosted at GTAGarage.com

Screenshots:
GTAGarage screenshot

Downloads:
Download plugin - 0.009MB, uploaded on Nov 01 2011, downloaded 6609 times

Click here to view the mod at GTAGarage

PM
  Top
 

 
dingleman  
Posted: Thursday, Oct 27 2011, 11:13
Quote Post


SA:LC Mod Leader
Group Icon
Group: Members
Joined: Dec 18, 2005

au.gif

XXXXX



Ah, nice one seggaeman. I'll definately have to check this out tomorrow.
Users WebsitePMMSNXbox Live
  Top
 

 
aad  
Posted: Monday, Oct 31 2011, 20:38
Quote Post


3d artist
Group Icon
Group: Members
Joined: Mar 15, 2004

nl.gif

Member Award




what makes this more special then the already released DFF importer / exporters ??
PMYahoo
  Top
 

 
seggaeman  
Posted: Tuesday, Nov 1 2011, 05:41
Quote Post


Ace
Group Icon
Group: Members
Joined: Mar 29, 2010

mr.gif

XXXXX



It imports stuff made in Zmodeler.

This post has been edited by seggaeman on Tuesday, Nov 1 2011, 17:09
PM
  Top
 

 
DimZet13  
Posted: Tuesday, Dec 6 2011, 18:51
Quote Post


Crackhead
Group Icon
Group: Members
Joined: Feb 7, 2010

ru.gif

XXXXX



please create dff VC(PS2) Importer
Users WebsitePMICQ
  Top
 

 
pmillett  
Posted: Thursday, Dec 22 2011, 19:51
Quote Post


The Dragon King
Group Icon
Group: Members
Joined: Feb 5, 2008

us.gif

XXXXX



This is a good tool... However, I feel you should take into consideration protecting the models that are locked. It's nice to import models into 3ds Max that were made in Zmodeler and ZModeler2, but will you protect locked models out of respect for the modelers that made them?

This post has been edited by pmillett on Thursday, Dec 22 2011, 21:56
Users WebsitePM
  Top
 

 
fastman92  
Posted: Sunday, Dec 25 2011, 22:45
Quote Post


фастман92 | ف
Group Icon
Group: Members
Joined: Jul 28, 2009

pl.gif

XXXXX



QUOTE (pmillett @ Thursday, Dec 22 2011, 21:51)
This is a good tool... However, I feel you should take into consideration protecting the models that are locked. It's nice to import models into 3ds Max that were made in Zmodeler and ZModeler2, but will you protect locked models out of respect for the modelers that made them?

I don't really think it's a good idea. Though what's wrong if someone opens your DFF that is for free anyway. If someone can open DFF, it may be improved especially when no domage parts were made. Even taking someone's hard work isn't a reason to block DFF as everyone is unknown and anonymous on internet. We don't glory anyone for making mods it is wrong to try to get rid of the mod reuse by another.
Users WebsitePMMSN
  Top
 

 
pmillett  
Posted: Monday, Dec 26 2011, 00:39
Quote Post


The Dragon King
Group Icon
Group: Members
Joined: Feb 5, 2008

us.gif

XXXXX



Well, if the author gives permission then have them send the model unlocked if they can. People are going to use other people's work without permission regardless as some just don't have respect for them. If it's locked it should remain so unless you actually have permission since with permission you don't have to worry about having to bypass the lock anyway,
Users WebsitePM
  Top
 

 
seggaeman  
Posted: Monday, Dec 26 2011, 17:57
Quote Post


Ace
Group Icon
Group: Members
Joined: Mar 29, 2010

mr.gif

XXXXX



Actually the problem is that if I implement recognition of the Zmodeler2 locking system, files generated by at least one other tool won't import correctly. I know someone who created a PS2 to PC .dff converter and the files generated won't import in Zmodeler2, because they were "locked" unintentionally. And because of the way this locking system works, this issue can arise with Kam's exporter as well

Another alternative is to use the "non standard .dff" workaround, but if I do that no Zmodeler file will import. It will defeat the purpose of the tool as I see it.

It remains though that I have ceased work on the .NET version of the importer, if there are going to be further updates they will only apply to the native SDK plugin (also posted on gtagarage).

Pmilett if you or anyone else would like to have locking for this tool I'll supply you the source code.

Btw an exporter is coming.

This post has been edited by seggaeman on Monday, Dec 26 2011, 18:34
PM
  Top
 

 
XEPOMAHT007  
Posted: Monday, Dec 26 2011, 20:46
Quote Post


Stupid Idiot
Group Icon
Group: Members
Joined: Nov 18, 2009

ru.gif

XXXXX



any plans to support import bump mapping from dff gta3?

user posted image
PM
  Top
 

 
bammargera  
Posted: Monday, Dec 26 2011, 21:43
Quote Post


Just Call Me Rob, Its Easier That Way
Group Icon
Group: Members
Joined: Sep 24, 2006

en.gif

Member Award




GTA 3 Bump maps? What is this? Why haven't I heard of it wow.gif
Users WebsitePMMSNPlayStation Network
  Top
 

 
ALMOST610  
Posted: Tuesday, Dec 27 2011, 00:07
Quote Post



Group Icon
Group: Members
Joined: Jan 30, 2009

au.gif

Member Award




Is He Talking About Collision? It looks like the person is falling through the fence.
Users WebsitePM
  Top
 

 
goin-god  
Posted: Tuesday, Dec 27 2011, 00:35
Quote Post


High Roller
Group Icon
Group: $outh $ide Hoodz
Joined: Mar 18, 2007

ar.gif

Member Award




QUOTE (ALMOST610 @ Monday, Dec 26 2011, 21:07)
Is He Talking About Collision? It looks like the person is falling through the fence.

He wasn't talking about colision, he was talking about Bump Maps.
Users WebsitePMMSNPlayStation Network
  Top
 

 
ALMOST610  
Posted: Tuesday, Dec 27 2011, 00:38
Quote Post



Group Icon
Group: Members
Joined: Jan 30, 2009

au.gif

Member Award




Well perhaps someone will explain what a Bump Map is bammargera questioned it, it is clear that I do not know what it is, can you enlighten us then?
Users WebsitePM
  Top
 

 
seggaeman  
Posted: Tuesday, Dec 27 2011, 18:18
Quote Post


Ace
Group Icon
Group: Members
Joined: Mar 29, 2010

mr.gif

XXXXX



A bump map makes an object appear to have an irregular surface (even though actual geometry may be flat). @ XEPOMAT007 Are you sure gta 3 models support it? Send me a sample model if you have 1.
I wasn't aware of this.
PM
  Top
 

 
Vicolaships  
Posted: Friday, Dec 30 2011, 13:57
Quote Post


SCM + IFP
Group Icon
Group: Members
Joined: Apr 1, 2007

fr.gif

XXXXX



Download link down !
I would like to give a try smile.gif
Users WebsitePM
  Top
 

 
seggaeman  
Posted: Tuesday, Jan 3 2012, 16:13
Quote Post


Ace
Group Icon
Group: Members
Joined: Mar 29, 2010

mr.gif

XXXXX



Use the "Download mod" button on gtagarage.

http://www.gtagarage.com/mods/show.php?id=16737

You may also want to check this importer; it has more capabilities. I've stopped updating the Max.NET tool.

http://www.gtagarage.com/mods/show.php?id=18572
PM
  Top
 

 
ALMOST610  
Posted: Wednesday, Jan 4 2012, 00:27
Quote Post



Group Icon
Group: Members
Joined: Jan 30, 2009

au.gif

Member Award




Perhaps you could also try and add support for GTA IV, as far as I know there is no Max Script for IV and it would be a welcome from plenty of modders who dont like using Zmod.
Could you look into it Seggaeman?
Users WebsitePM
  Top
 

 
seggaeman  
Posted: Thursday, Jan 5 2012, 09:51
Quote Post


Ace
Group Icon
Group: Members
Joined: Mar 29, 2010

mr.gif

XXXXX



I would have liked to, but there are two hurdles. My pc is not good enough to run GTA IV, plus I don't have knowledge of the .wft file format. I guess it's .wft you are talking of since Shadow's plugins and GIMS can do WDR.
PM
  Top
 

 
ALMOST610  
Posted: Friday, Jan 6 2012, 02:45
Quote Post



Group Icon
Group: Members
Joined: Jan 30, 2009

au.gif

Member Award




I myself am not to familiar with GTA IV file formats either but on the event that a Max Script is available I would get into modding and playing around with it then.

I think that ZMod might have import/export capabilities can you not reverse engineer that plugin and create a max script, all I can say is try and do what you can, and it will be more than I can comprehend, not sure how all these scripts and plugins work to begin with.
Users WebsitePM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Pages: (2) [1] 2 

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG