AK-73 Posted February 18, 2008 Share Posted February 18, 2008 (edited) 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 February 5, 2012 by AK-73 RyanDri3957V 1 Link to comment Share on other sites More sharing options...
simkas Posted February 18, 2008 Share Posted February 18, 2008 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 More sharing options...
GTAdedan Posted February 18, 2008 Share Posted February 18, 2008 wow that's very fast, can't wait to see some results Link to comment Share on other sites More sharing options...
AK-73 Posted February 18, 2008 Author Share Posted February 18, 2008 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 More sharing options...
Beep Posted February 18, 2008 Share Posted February 18, 2008 Great tool! I mirrored the file for you . Mirror Link to comment Share on other sites More sharing options...
AK-73 Posted February 18, 2008 Author Share Posted February 18, 2008 Great tool! I mirrored the file for you . Mirror Cool. Thanks. Alex Link to comment Share on other sites More sharing options...
simkas Posted February 18, 2008 Share Posted February 18, 2008 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 More sharing options...
AK-73 Posted February 18, 2008 Author Share Posted February 18, 2008 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 More sharing options...
simkas Posted February 18, 2008 Share Posted February 18, 2008 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 More sharing options...
AK-73 Posted February 18, 2008 Author Share Posted February 18, 2008 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." 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 More sharing options...
simkas Posted February 18, 2008 Share Posted February 18, 2008 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." 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 More sharing options...
AK-73 Posted February 18, 2008 Author Share Posted February 18, 2008 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 More sharing options...
DexX Posted February 18, 2008 Share Posted February 18, 2008 excellent work. it allowed me to confirm some theories i had about the lighting on the buildings, among other stuff. wonderful job. Link to comment Share on other sites More sharing options...
AK-73 Posted February 19, 2008 Author Share Posted February 19, 2008 I take it that it does not work with Xbox VC? Alex Link to comment Share on other sites More sharing options...
g30dud3 Posted February 19, 2008 Share Posted February 19, 2008 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 More sharing options...
Claude GTA3 Posted February 19, 2008 Share Posted February 19, 2008 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 More sharing options...
mr.blonde Posted February 19, 2008 Share Posted February 19, 2008 i think the hands from gta3's xbox version is better than the PC version's hands Link to comment Share on other sites More sharing options...
ModelingMan Posted February 19, 2008 Share Posted February 19, 2008 The vehicles don't need to be re-exported, simple case of changing the file version of both the DFF and TXD in RWAnalyze. Link to comment Share on other sites More sharing options...
gtamodeler Posted February 20, 2008 Share Posted February 20, 2008 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? Link to comment Share on other sites More sharing options...
simkas Posted February 20, 2008 Share Posted February 20, 2008 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? No, he can't. Link to comment Share on other sites More sharing options...
atfburner Posted February 21, 2008 Share Posted February 21, 2008 (edited) First of all grats for making this very good tool! 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 February 21, 2008 by atfburner Link to comment Share on other sites More sharing options...
ModelingMan Posted February 21, 2008 Share Posted February 21, 2008 but I have problems with any .txd file outside an .img like news.txdall these result in a 0 byte file created in \output The files outside the IMG don't need to be decompressed. Link to comment Share on other sites More sharing options...
atfburner Posted February 21, 2008 Share Posted February 21, 2008 ModelingMan i applied your advice changing version (for cars) to other .txd's outside an .img and presto its working tx Link to comment Share on other sites More sharing options...
AK-73 Posted February 25, 2008 Author Share Posted February 25, 2008 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 More sharing options...
AK-73 Posted March 3, 2008 Author Share Posted March 3, 2008 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 More sharing options...
simkas Posted March 4, 2008 Share Posted March 4, 2008 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 More sharing options...
AK-73 Posted March 6, 2008 Author Share Posted March 6, 2008 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 More sharing options...
AK-73 Posted March 13, 2008 Author Share Posted March 13, 2008 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... Beep - can you update the mirror? Alex Link to comment Share on other sites More sharing options...
SteaVor Posted March 13, 2008 Share Posted March 13, 2008 -nvm- Link to comment Share on other sites More sharing options...
Nach_Scratch Posted March 13, 2008 Share Posted March 13, 2008 Help Error!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now