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

    1. GTANet.com

    1. GTA Online

      1. Los Santos Tuners
      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. Red Dead Redemption 2

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

    1. Grand Theft Auto Series

      1. 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. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. 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. 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

      1. GTANet 20th Anniversary
    2. Support

    3. Suggestions

dffxbox2pc


AK-73
 Share

Recommended Posts

dffxbox2pc

 

March 13th, 2008: New Version (v0.2) is out.

 

dffxbox2pc is a command line tool that decompresses (and converts) Xbox GTA3

.dffs and .txds (so the name actually ended up being a bit of a misnomer)

so that they can imported by Kam's scripts for Gmax/3DSM or opened with

TXDWorkshop respectively. The tool DOES NOT convert .dffs or .txds so that

they can directly imported into any PC games and be expected to work - you

need to reexport .dffs and rebuild .txds at this point.

 

How to use converted files:

- txds: extract textures from txds with txdworkshop and build new txds from scratch

- vehicle .dffs: vehicles need some minor makeover (like adding reflections)

- actor .dffs: actors get decompressed and modified so that they can be imported as

PC VC actors into Gmax/3DSM directly. However you need to reposition some bones and

do some minor work, chiefly on the neck area and the clavicles.

 

IMPORTANT!

I do not encourage anyone freely distributing on the internet XBox GTA3 models

converted with this script on a massive scale. Anyone who does do so is doing

so *at their own risk*. Talking about risk, I do not accept responsibility for

anything that may result from installation/usage of this script. Use at your

own risk.

 

GTA Garage Mod Page:

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

 

 

Mirror (v0.2):http://almost610.dmon.com/load/other/dffxb...c_v0_2/2-1-0-19

 

 

Mirror (v0.1):http://www.mr-green.nl/downloads/dffxbox2pc.zip

 

ATTENTION! Last time I checked dffxbox2pc contained some kind of memory leak.

I don't advise to use the batch conversion on more than say 100 or 150 files

at a time.

 

ALSO: dff2box2pc does have some filesize limitation that I forgot to fix. If a

decompressed file gets too big, it might not get decompressed properly at this

point. Just so you know. (All vehicles should work fine though.)

 

 

cheers,

Alex

Edited by AK-73
  • Like 1
Link to comment
Share on other sites

When I try to convert a single file by typing "dffxbox2pc" and just the name of the model, it gives me some error. But when I type in "dffxbox2pc *" it converts the models just fine.

Link to comment
Share on other sites

 

When I try to convert a single file by typing "dffxbox2pc" and just the name of the model, it gives me some error. But when I type in "dffxbox2pc *" it converts the models just fine.

What error message does it state?

 

Btw, actors are "partially" supported: it seems to import the geometry, just skinning them remains a problem.

 

Alex

Link to comment
Share on other sites

When I try to convert a single file by typing "dffxbox2pc" and just the name of the model, it gives me some error. But when I type in "dffxbox2pc *" it converts the models just fine.

What error message does it state?

 

Btw, actors are "partially" supported: it seems to import the geometry, just skinning them remains a problem.

 

Alex

The command prompt says "Proccesing file" and then shows a bunch of random symbols then in the error it says:

 

Debug error!Program c:\dffxbox2pc\dffxbox2pc.exeInvalid allocation size 4294967295 bytes.(Press retry to debug the application)

 

Link to comment
Share on other sites

When I try to convert a single file by typing "dffxbox2pc" and just the name of the model, it gives me some error. But when I type in "dffxbox2pc *" it converts the models just fine.

What error message does it state?

 

Btw, actors are "partially" supported: it seems to import the geometry, just skinning them remains a problem.

 

Alex

The command prompt says "Proccesing file" and then shows a bunch of random symbols then in the error it says:

 

Debug error!Program c:\dffxbox2pc\dffxbox2pc.exeInvalid allocation size 4294967295 bytes.(Press retry to debug the application)

 

I'll check it out. Might be that some last minute fixes have caused that bug. Did you start it properly?

 

Did you type in

 

dffxbox2pc mydff

 

instead of

 

dffxbox2pc mydff.dff

 

perhaps?

 

It sounds like it doesn't find the file to convert... but perhaps I am wrong.

 

Alex

 

Link to comment
Share on other sites

I'll check it out. Might be that some last minute fixes have caused that bug. Did you start it properly?

 

Did you type in

 

dffxbox2pc mydff

 

instead of

 

dffxbox2pc mydff.dff

 

perhaps?

 

It sounds like it doesn't find the file to convert... but perhaps I am wrong.

 

Alex

Yes, I typed it in without .dff.

 

 

Also, a lot of character or ped models don't work. It just imports those dummies but doesn't get the mesh.

Link to comment
Share on other sites

 

I'll check it out. Might be that some last minute fixes have caused that bug. Did you start it properly?

 

Did you type in

 

dffxbox2pc mydff

 

instead of

 

dffxbox2pc mydff.dff

 

perhaps?

 

It sounds like it doesn't find the file to convert... but perhaps I am wrong.

 

Alex

Yes, I typed it in without .dff.

 

 

Also, a lot of character or ped models don't work. It just imports those dummies but doesn't get the mesh.

 

"Please note that in dffxbox2pc version 0.1 actor models are not properly

converted yet. I'm working on it though." smile.gif

 

It has different number of bones and different names, that's why Kam's will not import it.

 

Alex

 

Link to comment
Share on other sites

I'll check it out. Might be that some last minute fixes have caused that bug. Did you start it properly?

 

Did you type in

 

dffxbox2pc mydff

 

instead of

 

dffxbox2pc mydff.dff

 

perhaps?

 

It sounds like it doesn't find the file to convert... but perhaps I am wrong.

 

Alex

Yes, I typed it in without .dff.

 

 

Also, a lot of character or ped models don't work. It just imports those dummies but doesn't get the mesh.

 

"Please note that in dffxbox2pc version 0.1 actor models are not properly

converted yet. I'm working on it though." smile.gif

 

It has different number of bones and different names, that's why Kam's will not import it.

 

Alex

But shouldn't the bones not get imported then?

Link to comment
Share on other sites

In theory it should crash when it does try to set-up the bones. Which happened for example with Claude when I imported him. It imported the geometry, then crashed.

 

I'll take a closer look at it.

 

Alex

 

Link to comment
Share on other sites

excellent work. it allowed me to confirm some theories i had about the lighting on the buildings, among other stuff. wonderful job. icon14.gif

Lurking..

Link to comment
Share on other sites

This is an incredible development, and I can't wait for it to be done for Vice City. So far has anyone actually been able to convert and reexport a model to get it working in game? Maybe post a screenshot?

Link to comment
Share on other sites

This is an incredible development, and I can't wait for it to be done for Vice City. So far has anyone actually been able to convert and reexport a model to get it working in game? Maybe post a screenshot?

user posted image

 

user posted image

 

user posted image

Link to comment
Share on other sites

This is an incredible development, and I can't wait for it to be done for Vice City. So far has anyone actually been able to convert and reexport a model to get it working in game? Maybe post a screenshot?

user posted image

 

user posted image

 

user posted image

Hey, Can you me Send Catalina and the Claude for SA? Please, You Can put in on Rapidspahre ok? or you will my Email adress? colgate.gif

Link to comment
Share on other sites

This is an incredible development, and I can't wait for it to be done for Vice City. So far has anyone actually been able to convert and reexport a model to get it working in game? Maybe post a screenshot?

 

Hey, Can you me Send Catalina and the Claude for SA? Please, You Can put in on Rapidspahre ok? or you will my Email adress? colgate.gif

No, he can't.

Link to comment
Share on other sites

First of all grats for making this very good tool! cookie.gif

 

So far textures extracted from vice gta3.img have been editable

but I have problems with any .txd file outside an .img like news.txd

all these result in a 0 byte file created in \output

 

Edit

same problems with GTA III

Edited by atfburner
Link to comment
Share on other sites

but I have problems with any .txd file outside an .img like news.txd

all these result in a 0 byte file created in \output

The files outside the IMG don't need to be decompressed.

abstract_sig.png

Link to comment
Share on other sites

user posted image

 

ModelingMan i applied your advice changing version (for cars) to other .txd's outside an .img

and presto its working biggrin.gif tx

 

Link to comment
Share on other sites

Concerning file versions: the tool does do a "dirty" change of file version from the original xbox version already (dirty in the sense that it is not precise but has been a quick hack to get on with the decompression/conversion - it does actually replace any xbox version byte sequence with a different version's byte sequence which is potentially error prone, if you think about it).

 

Anyway I always intended to include an option for specifying the target file version but never got around implementing the option itself.

 

As I said in the Misc forum, I am currently trying to get xbox GTA3 actor models converted so that they can be easily converted as rigged to VC.

 

One question there (since I am not an expert): if I have a fully rigged ped - can I readjust the position/rotation of a bone without affecting the vertices somehow? If so, how?

 

If not, I guess a (max-)script could fix the problem, no?

 

Alex

Link to comment
Share on other sites

 

Double post, sry.

 

The good news is that I am short of a new version, this time including support for *fully skinned* actors in the PC Vice City format. The tool decompresses the .dff and rearranges the data automatically so that they can be imported into GMax/3DSM (possibly even used straight away, off into the.img).

 

Alex

 

Link to comment
Share on other sites

I saw another bug. As I was checking out the VC cars, some of them didn't get imported, it just gave me some error. The cars I tried were the police car and the taxi. Maybe it's because they have those lights?

Link to comment
Share on other sites

 

I saw another bug.

 

 

Which was the first?

 

 

As I was checking out the VC cars, some of them didn't get imported, it just gave me some error. The cars I tried were the police car and the taxi. Maybe it's because they have those lights?

 

I'll check it out.

 

The next version is coming around very well. I already got the actors skinned (asuka is looking really good), I'm just adding in the finishing touches. I expect an new version release on Monday.

 

Alex

 

 

Link to comment
Share on other sites

Double-post:

 

New version uploaded, includes support for fully skinned actors, PC VC-style.

 

Please note that I'll also release a maxscript tomorrow (I think) that will allow saving the vertex weights of a skin and/or the bone transforms. I believe this will make rigging actors infinitely easier... wink.gif

 

Beep - can you update the mirror?

 

Alex

 

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.