Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 39
  1. #16
    troy896's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    124
    Reputation
    10
    Thanks
    17
    My Mood
    Aggressive
    he meant his post lol.

  2. #17
    B1ackAnge1's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    456
    Reputation
    74
    Thanks
    344
    My Mood
    Cynical
    Quote Originally Posted by why06 View Post
    Wow. Just read it. I've been busy lately so havent got to chill on the forums much. Anyway what I wanted to do was mess with the TXT files to change attributes. One thing I don't get about this is they are all .rez files. so how can you tell which one is a DTX, SPR, LTB, DAT, or TXT?
    Same here - do most of this stuff at the office, so not like I can spend a lot of time on it, or even fire up the game lol.

    It's basic software engineering and data structures. 1 rez file contains many files, so besides the actual file data there's a block of info that describes length offsets, names etc etc. quite straight forward.
    Starting to think perhaps they compressed the attribute files since compared to any other game they are a LOT smaller.. unless they stripped out a lot of the comments etc and then encrypted them..

  3. #18
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,305
    Reputation
    170
    Thanks
    2,194
    My Mood
    Flirty
    Quote Originally Posted by B1ackAnge1 View Post
    Same here - do most of this stuff at the office, so not like I can spend a lot of time on it, or even fire up the game lol.

    It's basic software engineering and data structures. 1 rez file contains many files, so besides the actual file data there's a block of info that describes length offsets, names etc etc. quite straight forward.
    Starting to think perhaps they compressed the attribute files since compared to any other game they are a LOT smaller.. unless they stripped out a lot of the comments etc and then encrypted them..
    Oh ok I understand now. I did notice the attribute.rez was smaller, but I would have to open it up to check. Time to grab my tools and get to work.... well tomorrow, I'll get to work tomorrow. xD

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  4. #19
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,305
    Reputation
    170
    Thanks
    2,194
    My Mood
    Flirty
    Wow I didn't notice this, but your the guy who developed WinRez. I was looking in my ProgramFiles and I noticed the name on the file was on the WinRez tool. Lol I just thought thought you used it I didn't know you were the guy who actually programmed it. Sorry for the double post, but I think this post deserves to be stickied.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  5. #20
    Ghty82's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Combat Arms Section, Sydney, Australia
    Posts
    1,451
    Reputation
    11
    Thanks
    128
    My Mood
    Angelic
    Nice find man



    "I dream of a world where people are not judged by their post count but by their content of character." Me
    "Ask not what MPGH can do for you, But what you can do for your MPGH!"

  6. #21
    B1ackAnge1's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    456
    Reputation
    74
    Thanks
    344
    My Mood
    Cynical
    Quote Originally Posted by why06 View Post
    Wow I didn't notice this, but your the guy who developed WinRez. I was looking in my ProgramFiles and I noticed the name on the file was on the WinRez tool. Lol I just thought thought you used it I didn't know you were the guy who actually programmed it. Sorry for the double post, but I think this post deserves to be stickied.
    hahah yup that'd be me

  7. #22
    Ryan_Duke's Avatar
    Join Date
    May 2008
    Gender
    male
    Location
    Posh Gang HQ
    Posts
    429
    Reputation
    16
    Thanks
    195
    My Mood
    Psychedelic
    Quote Originally Posted by B1ackAnge1 View Post
    Tools for with Combat Arms Rez Files

    I was posting in this thread but I didn't want to a) threadjack and b) have this stuff get lost
    so I figured a dedicated post would be in order. I intend to update this post as I make more progress or test out more of the existing tools.

    First off, the Game uses the LithTech Jupiter Engine (not the 'EX' version Like Fear, but the previous version like NOLF2/Contract J.A.C.K. etc) so lets do a little overview of how a Jupiter engine based game is structured (almost-straight copy from other thread):

    Jupiter Engine Structure
    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 .

    c) This game uses a 'custom' version of the standard REZ File format found in all previous lithtech games such as: 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 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) 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).

    f) 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. usually the game is actually started with: engine.exe -rez game.rez

    g) 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. engine.exe -rez <name of folder e.g. Game>

    h) 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 (Object.LTO) as normally found with most LT games which actually holds a lot of the properties of objects etc etc- most likely since this is an online only game.


    Ok so now that you've got files extracted, what do these files do?
    Filetype Explanation

    TXT = Attribute Files - Specifies game /model settings etc etc. (Unlike normal these were 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 - Think PNG files (images that support transparency) Normally these files are created through the LithTech World Buildling Application called DEdit. Old DTX Plugins don't work, however I've figured out the new format (see here) so I could start work on something if there's an interest.

    SPR = Sprite File(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. (See Sample I Extracted here)

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

    Official Tools Available
    Official Tools would be the ones from either NOLF2 or Contract JACK for now.
    However with the subtle file changes that have been made not all of these will work. Normally with the Jupiter Engine you have the following Toolset available:

    Dedit World Creator - most people have a hard time getting used to it, but once you do it's a great editor
    LithRez Command Line Rez File Creator/Extractor
    FxEd Make visual effects (fire/sparkles etc etc)
    ModelEdit used to configure 3d models (attach child model files for animations etc)
    and some other misc tools & plugins.


    3rd Party Tools Available
    RezXtract - Download Here
    Simple Rez Extracter; Takes a rez file and just dumps out all the contents in the same folder as the rez file.

    Winrez LT Studio 3.1 - Download Here
    My Old tool suite from the Shogo/NOLF Days updated to support CA. Lets you browse and extract only the files you want etc. I'm skipping the installer this time since it's old school C++ which doesn't need a whole lot.
    Includes:
    WinRez (Extract the Rez Files)
    WinRezSH (Shell Extension if you want righ***ick capability in windows to extract rez files)
    ResEdit (Edit CRes.DLL String Table)
    DTXView (Preview DTX Files)
    DTXShell (Needs to be run through REGSVR32.exe - Allows DTXs to be show in Thumbnail view in windows)
    Just run 'Register.Bat' to register both Shell Dlls.
    Note: Winrez, while being able to extract the CA Rez format CAN NOT YET CREATE this new format until we figure out the extra 44 bytes or verify how critical they are.


    LTB2X - Download Here
    A Converter that 'sometimes' works and lets you convert a LTB to a Direct3D .X model. Doesn't support any animations etc etc though so not that useful (yet..)


    To-Do List
    Ok that's some decent progress, but what's left? (and i'll use a format I see a lot of you guys use )

    Extract Rez Files [ X ]
    Update Winrez to Extract CA Rez Files [ X ]
    Figure out DTX Texture Files [ X ]
    Update Winrez to Save CA Rez Files [ ] <-- Next on the List
    Decode Attribute TXT Files [ ] <-- Next on the List
    Write DTX Plugin for Paint.NET [ ]
    Update LTB2X Tool to work with all models/anims [ ]

    If you have any questions about the Engine in general or how to use the tools etc feel free to post etc.
    DUDE! Send Me Your Work SO Far! Id Really Like To Help Out. If It Wont Send Over MPGH Just E-Mail it at Tech23time@gmail.com

  8. #23
    Doom445's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    1
    My Mood
    Twisted
    Cool Nice Job

  9. #24
    i hate EVERYONE's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Where else. At MPGH.NET
    Posts
    143
    Reputation
    10
    Thanks
    34
    My Mood
    Sleepy
    WOW THX. NOW IM ABLE TO EDIT THE DLL OF HACKS SO I CAN MAKE IT TO COOL ONES.

  10. #25
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,305
    Reputation
    170
    Thanks
    2,194
    My Mood
    Flirty
    invisible
    Quote Originally Posted by i hate EVERYONE View Post
    WOW THX. NOW IM ABLE TO EDIT THE DLL OF HACKS SO I CAN MAKE IT TO COOL ONES.
    eh?

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  11. #26
    abou01's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    i dont know
    Posts
    390
    Reputation
    11
    Thanks
    24
    My Mood
    Bored
    Thanks idk why but it doesnt work anyways thx

  12. #27
    simon133's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Location
    Montreal
    Posts
    64
    Reputation
    10
    Thanks
    2
    My Mood
    Cool
    copy and paste i guess








  13. #28
    ★LilWayne★'s Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    78
    Reputation
    10
    Thanks
    64
    My Mood
    Psychedelic

    awesome

    Sweet.. I can kick some ass now,

  14. #29
    Mew2king's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Cinnaminson New Jersey
    Posts
    213
    Reputation
    10
    Thanks
    22
    My Mood
    Tired
    TEXTURE HACKING TIEM!! GO GO GO!
    Straight from RK:

    Quote Originally Posted by wetrichard View Post
    *UNLEECHABLE- MPGH PROOF
    Goals:
    [X] Play as Meta Knight
    [X] Win as Meta Knight
    [X] Choose Meta Knight in a Combat Arms match
    [X] Get banned as Meta Knight
    [X] Win a tourney (with Meta Knight)
    [] Use hacks to beat a Meta Knight
    [] Beat a Meta Knight in Tourney
    [X] Plank on the edge for 7 minutes straight (as Meta Knight)
    [] Lose a match as Metaknight
    [X] Get Metaknight on random
    [X] Vote in a ban Metaknight poll

  15. #30
    RedThunder's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    2,599
    Reputation
    84
    Thanks
    553
    My Mood
    Twisted
    wow if you could use this ppl could change weapon skins right, so someone could make the l85 take up the same space as the default or soemthign smaller, maybe even be able to change the specs to look like zombies or somthign maybe even a charchter form L4D
    TROLL MATH
    14 posts per thread per hour, even at 1 thread an hour in 5 hours, general trolling time, thats 70 posts, and seeing as i try to run it at about 3 threads at a time, then i can make 210 posts in a day which means in 10 days i could be back to where i am if i started a new account, lol so in theory in a month id have 6k posts, in 2 months id have 12k, in 3 months 18k, in 4 months id have 24k and i could have the highest post count on the forum

    14*3*5*10*3*4=highest post count on the forums in 4 months

Page 2 of 3 FirstFirst 123 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-25-2009, 12:12 AM
  2. Search for the Mysterious Combat Arms .REZ Editor...
    By why06 in forum Combat Arms Glitches
    Replies: 15
    Last Post: 08-19-2009, 05:49 AM
  3. What are the combat arms .rez files?? Exactlly!!
    By headsup in forum Combat Arms Hacks & Cheats
    Replies: 11
    Last Post: 07-15-2009, 05:54 PM
  4. What is the best C++ reading tool for Combat Arms?
    By gunman353 in forum C++/C Programming
    Replies: 0
    Last Post: 02-19-2009, 04:23 PM
  5. Yay, My own settings for Combat Arms!
    By gudsoldier in forum Combat Arms Hacks & Cheats
    Replies: 23
    Last Post: 08-21-2008, 02:03 PM

Tags for this Thread