Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (84,895 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

Sign in to follow this  
AK-73

dffxbox2pc

Recommended Posts

AK-73

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

Share this post


Link to post
Share on other sites
simkas

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.

Share this post


Link to post
Share on other sites
GTAdedan

wow that's very fast, can't wait to see some results

Share this post


Link to post
Share on other sites
AK-73

 

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

Share this post


Link to post
Share on other sites
Beep

Great tool!

 

I mirrored the file for you smile.gif .

 

Mirror

Share this post


Link to post
Share on other sites
AK-73
Great tool!

 

I mirrored the file for you smile.gif .

 

Mirror

 

Cool. Thanks. smile.gif

 

Alex

Share this post


Link to post
Share on other sites
simkas
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)

 

Share this post


Link to post
Share on other sites
AK-73
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

 

Share this post


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

Share this post


Link to post
Share on other sites
AK-73

 

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

 

Share this post


Link to post
Share on other sites
simkas
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?

Share this post


Link to post
Share on other sites
AK-73

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

 

Share this post


Link to post
Share on other sites
DexX

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

Share this post


Link to post
Share on other sites
AK-73

I take it that it does not work with Xbox VC?

 

Alex

 

Share this post


Link to post
Share on other sites
g30dud3

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?

Share this post


Link to post
Share on other sites
Claude GTA3
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

Share this post


Link to post
Share on other sites
mr.blonde

i think the hands from gta3's xbox version is better than the PC version's hands tounge.gif

 

Share this post


Link to post
Share on other sites
ModelingMan

The vehicles don't need to be re-exported, simple case of changing the file version of both the DFF and TXD in RWAnalyze.

Share this post


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

Share this post


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

Share this post


Link to post
Share on other sites
atfburner

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

Share this post


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

Share this post


Link to post
Share on other sites
atfburner

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

 

Share this post


Link to post
Share on other sites
AK-73

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

Share this post


Link to post
Share on other sites
AK-73

 

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

 

Share this post


Link to post
Share on other sites
simkas

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?

Share this post


Link to post
Share on other sites
AK-73

 

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

 

 

Share this post


Link to post
Share on other sites
AK-73

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

 

Share this post


Link to post
Share on other sites
SteaVor

-nvm-

Share this post


Link to post
Share on other sites
Nach_Scratch

Help Error!!

 

user posted image

 

 

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
Sign in to follow this  

×

Important Information

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