Cracking Rez Files (via text editor)

Posts 1–15 of 143 · Page 1 of 10
Cracking Rez Files (via text editor)
As you know you can open nearly any non executable file in Text Editor....
While I was perusing the looking for a .rez file editor to change the rez files of Combat Arms. I realized that currently no such RezEditor existed. So the idea hit me to view the code stored in the .rez file via a text editor and just to see if it could be decoded.

Here is a preview of code stored in the CHARS_M_HEAD.rez:
Code:
CW_HLMT_HV_DF_CHLOE_JS      Në ,M ÒÛ^J    BTL     CAP      &V @)  ÒÛ^J    BTL     CW_CP_NM_PATRIOTCAP1_HM      ºp
 •£  ÒÛ^J    BTL     CM_CP_NM_PATRIOTCAP1_HM      ‚ Äi  ÒÛ^J    BTL     W_CAP      (È ¹§  ÒÛ^J    BTL     DUMMY      S ŠÖ  ÒÛ^J    BTL     BERET      O µ0  ÒÛ^J    BTL     CW_HLMT_NM_SANTABEANIE_HM      Y ÍM  ÒÛ^J    BTL     CW_CP_NM_DF_SOPHIAHAIR_HM      žÛ
 »,  ÒÛ^J    BTL     CW_CP_NM_DF_DAWSONHAIR_JS      ¤Æ øª  ÒÛ^J    BTL     CM_HLMT_NM_SANTABEANIE_HM      b› ¥·  ÒÛ^J    BTL     BEANIE      d 5;  ÒÛ^J    BTL     W_DUMMY      à 6m  ÒÛ^J    BTL     W_BERET      |ñ æ©  ÒÛ^J    BTL     BANDANA      ì   ¨¬  ÒÛ^J    BTL     711_CAP      lÜ W=  ÒÛ^J    BTL     W_BEANIE      ’a ~6  ÒÛ^J    BTL     MEI_HAIR      *Ý 	p  ÒÛ^J    BTL     HAIR_W_A      %Ï% ¬¬  ÒÛ^J    BTL     ZADAN_CAP      l% ¹¸  ÒÛ^J    BTL     XMAS_HORN      øž t=  ÒÛ^J    BTL     W_BANDANA      Ë^ -@  ÒÛ^J    BTL     W_711_CAP      áo ýî  ÒÛ^J    BTL     EOD_HELMET      Ü Æ  ÒÛ^J    BTL     BOONIE_HAT      ŒÌ$ àI  ÒÛ^J    BTL     W_XMAS_HORN      ‚n Ið  ÒÛ^J    BTL     VBSS_HELMET      œÓ §½  ÒÛ^J    BTL     RUDOLPH_SET      ™U íÙ  ÒÛ^J    BTL     W_EOD_HELMET      Û ‰Y  ÒÛ^J    BTL     W_BOONIE_HAT      C‘ ?Ý  ÒÛ^J    BTL     SKULL_HELMET      Ëü ÑÖ  ÒÛ^J    BTL     PUMPKIN_HEAD      ˜ çë  ÒÛ^J    BTL     PILOT_HELMET      3M _ ÒÛ^J    BTL     IBH_MK2_SEAL      ÒH$ ºƒ  ÒÛ^J    BTL     W_VBSS_HELMET      Þ^ L~ ÒÛ^J    BTL     GOGGLE_HELMET      q ·Ã  ÒÛ^J    BTL     DECKLAND_HAIR      .Ò p	 ÒÛ^J    BTL     COMBAT_HELMET      ü×# Öp  ÒÛ^J    BTL     W_SKULL_HELMET      t# øc  ÒÛ^J    BTL     W_PUMPKIN_HEAD      üÎ! âÖ  ÒÛ^J    BTL     W_PILOT_HELMET      $å  Øé  ÒÛ^J    BTL     W_IBH_MK2_SEAL      ÷ƒ Ôx ÒÛ^J    BTL     PROTECT_HELMET      †/  žµ  ÒÛ^J    BTL     W_GOGGLE_HELMET      Fu ¥  ÒÛ^J    BTL     W_COMBAT_HELMET      ‘) Kò  ÒÛ^J    BTL     BONEHEAD_HELMET      ޥ" &Î  ÒÛ^J    BTL     W_PROTECT_HELMET      W! %Ð  ÒÛ^J    BTL     BALACLAVA_FACE_D      ’N ÅÒ  ÒÛ^J    BTL     BALACLAVA_FACE_C      )} iÑ  ÒÛ^J    BTL     BALACLAVA_FACE_B      ”*  •Ï  ÒÛ^J    BTL     BALACLAVA_FACE_A      ù† â…  ÒÛ^J    BTL     W_BONEHEAD_HELMET      f  8  ÒÛ^J    BTL     CW_CP_NM_ROKMC_HM      O U²  ÒÛ^J    BTL     CM_CP_NM_ROKMC_HM      ¹ ¸„  ÒÛ^J    BTL     CW_HLMT_SHEMAGH_HM      œq ’`  ÒÛ^J    BTL     CM_HLMT_SHEMAGH_HM      Þá p	 ÒÛ^J    BTL     BULLETPROOF_HELMET
Pretty Crazy right? Its completly illegible, but if you look closely yo can see words like "helmet", "shemagh", "pilot helmet", "pumpkinhead", etc. (including some items that havent been released yet ;P)

Essentially the Lithtech Engine reads these files and creates 3D models, textures, sounds etc. according to what is written. By editing these files you can make your gameplay experience really easy or really hard or just flat out fk up the game xD...

I want this to be a collective community project to play with an decode the .rez file via text editor. Im going to try my hand at it. see what you can do. Switch your regular face with the "bulletproof helmet", switch with your own hair "mei's_hair", be creative, and have fun.

Intructions:
1. Just open up your .rez file in a Text Editor (NOT a word processor)
2. Make sure you dont overwrite the original .rez file. That could cause serious problems and you might have to completly reinstall Combat Arms
3. Be very CAREFUL when messing with rare code. Make sure you save plenty of copies of the originals.
4. IF YOU DONT UNDERSTAND WHAT THIS IS DONT MESS WITH IT.


I hope we create a simi-code for reading the .rez files. Note that this is all client-sided, meaning if you change your regular hat to look like a shemagh no one will know the difference. The added bonus of a rez file hack is that it is completely unpatchable, and therefore undetectable by HackSheild so you can use these hacks with a high level accounts with out fear of detection.
Nice, hopefully it works.
Me too but I don't think it'll work if it does make yourself a zombie would be awesome.
Aha yeah that would be pretty awesome, post your results if you get it working.
Quote Originally Posted by weaselm01 View Post
Ummm no :L.... Your referring to res not rez. Res is short for resource which refers to resource files used by Win32 executables (aka. dll, cpl, etc.). I am talking about .rez files which are the type of files LithEngine (which is the game engine for Combat Arms) runs. These files are produced in 3D modeling programs and then saved in text commands to be run by the Engine previously mentioned.
No its different.
LAWLZ...Sowwie just saw rez and figured
lol np, thx for moving thread, wasnt sure where it went.

Anyway Ive noticed some of these files are really big. If you try to open the CHAR_SND.rez file in notepad it will look like your computer has crashed for a second lol xD. It takes a long time to assign characters to everything written in the code. Also CHAR_SND stands for Character Sound file. Im not sure why you would want to mess with that unless you want to say sound like a girl instead of a boy in-game o_O?

Anywho these files are originaly stored in byte code. So there is a Hexadecimal representation for all the characters seen int the notepad. The files are actually very small, but diplyaing a sprite for every hexadecimal digit eats up memory which is why it takes so long to load. It would be nice if someone could develop a program that can read the data in the files in its original hex format (to save time) and assign the Readable Code in its place. I might try to do this it would make it a lot easier, but first I would need to find a Lithcode compiler and reverse engineer it to decompile. Or if I could find an API for the 3D modeling code Doobic Studios (the developer Nexon sources the game to) uses in their 3D modeling software. then I could directly translate the code into a human readable format.
omg so if i change black cap into a bandana , do i get the +5 speed too ? , or just a black cap which looks for me as a bandana ? O.o
Quote Originally Posted by rapid x View Post
omg so if i change black cap into a bandana , do i get the +5 speed too ? , or just a black cap which looks for me as a bandana ? O.o
If you switch the code for black cap with the code for bandanna all the available attributes of bandanna should be transferred over to black cap.

Im a little confused right now. There is a lot of meaningless 3Dmodeling code in there. What we need to find is the attributes for certain functions such as "hat speed increase" or "jump height" The attributes for these functions are stored in the .rez files and changing the files could allow you to superjump or whatever These hacks would be completly unpatchable and permanent.


Sorry for dbl post
Why not just use WinRez and mod your game?
OMG :O
why didn't I think of that.... oh yeh I already did. If you care to read the post on the previous page you will notice that weasel suggested the same thing. Winrez is for Win32 files not Lithtech Resource files. >_>
You try Visual Studios?
Posts 1–15 of 143 · Page 1 of 10
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?