Page 4 of 10 FirstFirst ... 23456 ... LastLast
Results 46 to 60 of 143
  1. #46
    devon919's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Canada
    Posts
    161
    Reputation
    10
    Thanks
    3
    My Mood
    Relaxed
    interesting i think we should have some expert coders look into this xD

  2. #47
    XXXDEATHTOLLXXX's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    i've seen and used the .rez extractor posted here a while back on my head textures and all i get is .DTX files which are annoying because my programs cant open them. Apparently theyre created and usable by a program called Docu-Tech or something like that. If anyone has that they might be able to mess with the extracted files.

  3. #48
    B1ackAnge1's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    455
    Reputation
    74
    Thanks
    344
    My Mood
    Cynical

    Exclamation

    Ok apparently there seems to be some confusions amongst you guys as to how this game (or any LithTech (LT) based game) is structured, what tools are required & what's possible. It's frustrating to see people repeat the same (or new) inaccurate information that will only confuse people trying to figure this out. I've been working/modding LT based games since Shogo (yeah that's the 90's... i'm old...) and everytime a new Lith game got released we went through the same cycle of people not understanding or wrongly assuming things, so let me sum up the basics to make this clear for everyone:

    a) A Rez file is a BINARY file, which is nothing more than a container for other files. Think of it like a custom Zip / Rar file format, but without the compression (basically a TAR file)

    b) It being a binary file opening it up in a any text editor will do no good, nor will changing the font. If anything - if you were to try to save it again it would most likely corrupt the file (No offense to who posted that, but I had to actually laugh when I read that... )

    c) This game uses a 'custom' version of the standard REZ File format found in all previous lithtech games such as: FEAR, No One Lives Forever 2, AvP2, Shogo, etc etc. As previously posted it has an extra 44 bytes in the header which is why all the tools for those games don't understand this newer rez file.

    d) I Wrote something in about an hour last Friday to Extract THESE rez files called 'RezXTract' (See attachment in this post). Given some time i'm sure I could figure out the extra 44 bytes and add full support to WinRez so you can Extract AND create the Rez files for this game.

    e) Ok so now that you've got files extracted, what do these files do?
    As posted here depending on the file extension they are:

    TXT = Attribute Files - Specifies game /model settings etc etc. (Binary Encrypted in this game - so again See point (B) above: no text editor or font change is going to let you open this until we figure out how they encrypted it and convert it back to a plain old text files)

    WAV = Obviously WAV Files for sounds (should support MP3 (or MP3encoded Wav) as well from what I recall)

    DTX = Texture Files - NOTHING to do with Docu-Tech. Think PNG files (images that support transparency) There's some DTX Plugins floating around for Photoshop though i'm not sure these would work with what appears a newer/modified DTX Format. Normally these files are created through the LithTech World Buildling Application called DEdit. I could probably figure this one out since I did just that with the old DTX File Format.

    SPR = Sprite (Links to multiple DTXs for animations)

    LTB = Model File (usually made from a LTA/LTC file that never gets released - used to be a LTB Converter floating around the NOLF Forums that may work ) This is the actual 3d Model of the weapons/characters etc etc an uses the DTX Files for it's textures

    DAT = Level Files / Maps (Generated by DEdit Application) again uses DTX Files for textures.

    f) If you're playing on an online server, any changes you make locally will either a) only show up on your machine b) not have any effect at all with the server pushing it's configuration as a basic means to prevent 'cheating'.
    You'd have to run a local server mode etc to see the changes (or if there's a single player mode run that).

    g) If you want to try ANY existing tools and see if they work, your best bet will be the F.E.A.R. tools since this was the latest big game to have the tools released for it.

    h) In your main folder you will see an engine.exe and a combatarms.exe these are as you guessed the actual engine & a launcher jsut to get the game started.

    i) Most lithtech games support running with all rez files extracted in the game folder which makes it easier to test things (Rez-ing is only required to 'distribute' your files to others). Haven't tried it , but unless they specifically removed this feature from the engine there's no reason this wouldn't work for this game either.

    j) All the game logic sits in the Game Folder with the content. CShell.DLL in particular is where all the clientside code sits. (Built from C++). There does not seem to be a server side DLL as normally found with most LT games.
    Last edited by B1ackAnge1; 08-24-2009 at 10:50 AM.

  4. The Following 6 Users Say Thank You to B1ackAnge1 For This Useful Post:

    euhsoftware (08-27-2009),joi121 (08-24-2009),Justin (08-24-2009),Tierrize (11-07-2009),why06 (08-28-2009),yosty (08-25-2009)

  5. #49
    joi121's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    In my mom :)
    Posts
    75
    Reputation
    10
    Thanks
    31
    My Mood
    Busy
    waiting you to realease that Rez Extractor! or you can just decode the Player.txt
    __________________________________________________ __________________________________________

    Don't press Thanks! if you'r not smart!

    I'm not a coder but i can help you in enythink else. so if you need somethink PM me



  6. #50
    XxLatino4LifexX's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    42
    Reputation
    10
    Thanks
    7
    My Mood
    Grumpy
    LAWL DUDE DIS IS AWESOME1!!!!! I GOT MY CHARACTAR LOOKING HALF ZOMBIE AND HALF SUPER SPY!!!!!!!!!!!1 (how do u post screenie?)

  7. #51
    yosty's Avatar
    Join Date
    Jul 2008
    Gender
    male
    Posts
    44
    Reputation
    10
    Thanks
    3
    My Mood
    Relaxed
    Ty very much, but now how do i edit all those files u explained?

  8. #52
    joi121's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    In my mom :)
    Posts
    75
    Reputation
    10
    Thanks
    31
    My Mood
    Busy

    Wink

    Quote Originally Posted by yosty View Post
    Ty very much, but now how do i edit all those files u explained?
    w8, he is now working on the decompiler or WinRez how he say we need to have a program, in Text Editor(Notepad) this is not possible
    __________________________________________________ __________________________________________

    Don't press Thanks! if you'r not smart!

    I'm not a coder but i can help you in enythink else. so if you need somethink PM me



  9. #53
    B1ackAnge1's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    455
    Reputation
    74
    Thanks
    344
    My Mood
    Cynical

    Update - Textures

    Well made some progress on the textures... no idea why they changed what they did besides just to make sure the existing tools didn't work...

    Should be able to turn this into a Paint.NET plugin or so, so that you guys are at least able to edit textures

    Small sample:

  10. The Following 2 Users Say Thank You to B1ackAnge1 For This Useful Post:

    jmlendez14 (11-08-2009),quindo (08-28-2009)

  11. #54
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    You rock dude +1 internets.
    On a more serious note, how did you do it? Did you just modify your existing tools or what? And how did you figure out what was different between your version and theirs?

  12. The Following User Says Thank You to zeco For This Useful Post:

    B1ackAnge1 (08-27-2009)

  13. #55
    euhsoftware's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Quebec, Canada
    Posts
    48
    Reputation
    10
    Thanks
    18
    My Mood
    Amused
    zeco, after C++ learn Python. Python en:Table of Contents - Notes <= a good tutorial to begin

    B1ackAnge1, did you make it in C or C++? If so, how many lines of code did it need?

    Bye!

  14. #56
    B1ackAnge1's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    455
    Reputation
    74
    Thanks
    344
    My Mood
    Cynical

    Cool

    Quote Originally Posted by zeco View Post
    You rock dude +1 internets.
    On a more serious note, how did you do it? Did you just modify your existing tools or what? And how did you figure out what was different between your version and theirs?
    Thanks! My old tool collection (WinrezLT Suite) had a Rezzing program, DLL String Editor, DTX Texture Viewer and DTX Shell Extension so that it hooks into windows to allow them to be visible in thumbnail mode (see above). As far as the 'how' I Basically just opened the new files side-by-side to some 'old' ones and started comparing in a hex-editor, then changed code based on what I thought they changed, debugged a few things and voila

    I've got WinRez Reading the REZ Files now as well so I'll probably post that up later tomorrow or so. The only thing still a mystery is the extra 44 bytes they have in theirs which i'll have to figure out and see how critical those are or if I can just put garbage in there.. (funny thing is: I haven't even ran the game yet to try out anything lol)

    Quote Originally Posted by euhsoftware View Post
    B1ackAnge1, did you make it in C or C++? If so, how many lines of code did it need?
    Bye!
    Which part? The RezXtract program a few posts back is C# (I was planning a C# version of WinRez but never finished it, but had some code to deal with the Rez Files already - I may just start on it again since i could make a much nicer version in no time), while WinRez & the DTX Viewing etc is all C++. And how many lines of code? hahah I haven't thought about lines of codes in years... i had to actually run a utility to get that number for ya My entire winrez LT Studio project is about 20k lines of code, while for instance just the DTX reading etc is about 2k. Pretty small I'd say (I'm used to working on 500k+ lines projects )



    Now we're getting somewhere
    Last edited by B1ackAnge1; 08-27-2009 at 07:46 PM.

  15. #57
    FragInABox's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    216
    Reputation
    10
    Thanks
    22
    My Mood
    Bored
    My notepad crashes when I open the rez files. D:

  16. #58
    pureflame212's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Over the rainbow
    Posts
    394
    Reputation
    10
    Thanks
    102
    My Mood
    In Love
    Quote Originally Posted by FragInABox View Post
    My notepad crashes when I open the rez files. D:
    Haha Lol Mines doesnt
    100% Legit Account

    [img]https://************.com/sig/012/xdweezy.jpg[/img]











    To Do List
    100 Posts []
    150 Posts []
    250 Posts []
    500 Posts []
    750 Posts []
    1000 Posts []
    Get Unbelievable []
    Get Unbelievable+ []
    Get Unbelievably++ []
    Make A Pointless Long List []
    Finish Pointless Long List []

  17. #59
    B1ackAnge1's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    455
    Reputation
    74
    Thanks
    344
    My Mood
    Cynical
    Quote Originally Posted by FragInABox View Post
    My notepad crashes when I open the rez files. D:
    Don't use Notepad - go back a few posts and look for my post with the 'RezXTract' attachment in it.. Or wait till tomorrow when i'll upload a version of WinRez which will work with the Rez File (extract only)

  18. #60
    beaster11's Avatar
    Join Date
    Jul 2008
    Gender
    male
    Location
    the place you call home
    Posts
    55
    Reputation
    10
    Thanks
    5
    My Mood
    Sleepy
    Quote Originally Posted by B1ackAnge1 View Post
    Don't use Notepad - go back a few posts and look for my post with the 'RezXTract' attachment in it.. Or wait till tomorrow when i'll upload a version of WinRez which will work with the Rez File (extract only)
    yo ur rez xtract was awesome, but (kinda new at doing this stuffins) what would i do with it all extracted?

Page 4 of 10 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. [Trade] My Texture Mod for Info on Rez Files.
    By minorutono in forum Combat Arms Hacks & Cheats
    Replies: 18
    Last Post: 09-24-2009, 11:12 PM
  2. Replies: 13
    Last Post: 07-13-2009, 12:32 AM
  3. [RELEASE]CA rez file editor
    By andrew440 in forum Combat Arms Hacks & Cheats
    Replies: 20
    Last Post: 07-08-2009, 08:09 PM
  4. Do You Know How To Read Or Convert Rez Files Into Somtin Else?
    By KillerKen013 in forum General Hacking
    Replies: 3
    Last Post: 05-19-2009, 02:20 PM
  5. [request]those tex.rez files
    By xavl123 in forum Combat Arms Hacks & Cheats
    Replies: 11
    Last Post: 08-24-2008, 11:51 PM

Tags for this Thread