TKC-Community

Hacking and Art => Vietcong 1 & 2 => Topic started by: [TKC] ~<{LTC}>~ on July 27, 2004, 02:28:00 am

Title: HB planns
Post by: [TKC] ~<{LTC}>~ on July 27, 2004, 02:28:00 am
i was just wandering how the whole hb works, i am planning to rewrite the whole #$@!# hb i need to know what file tells hb what to kick etc
Title: HB planns
Post by: Blizzard on July 27, 2004, 01:25:10 pm
I know only that when u unpack the cbf of HB u got the Actual directory, which is the same of which is into Vietcong\Hradba\. So u've to modify those files and repack them into cbf, and replace it with the one into Vietcong\Hradba\version folder. I know only this :(
Title: HB planns
Post by: [TKC] ~<{LTC}>~ on July 27, 2004, 02:06:13 pm
but what files do you get? and how to open them?
Title: HB planns
Post by: Blizzard on July 27, 2004, 07:43:16 pm
dunno which file u've to modify and how to modify it, i would know it too :(, I think old dude could explain us Better how to do that, say only "U've to modify the build #" doesn't be understod for me, i still cant understand.
I would like to know which file i've to modify, and if i've to modify it with a Debugger or an Hex editor or in another way.
And also for the repacking of files into cbf....it could be done with a debugger so.......but i've not the knowledge of ASM to do that :(
Title: HB planns
Post by: ZOldDude on July 28, 2004, 01:12:17 am
HB/version

HB/actual has the dll....versions have the information and incoded build number.
Title: HB planns
Post by: [TKC] ~<{LTC}>~ on July 28, 2004, 01:19:04 am
z we're on to somthing  :D
Title: HB planns
Post by: ZOldDude on July 29, 2004, 11:40:33 pm
Today I sent Mulla Omar a .rar file that I got from Marko which has ALL of the HB version files.

He may have it in the download section soon.
Title: HB planns
Post by: [TKC]thejoker on July 30, 2004, 01:46:03 am
great that will be good once me and blizzard finally find out how to do it  :cry:
Title: HB planns
Post by: [TKC] ~<{LTC}>~ on July 30, 2004, 03:04:47 am
i'll help you
Title: HB planns
Post by: ZOldDude on July 31, 2004, 12:35:57 am
When the .rar file pack is posted in the download area take a look at HB114 as they DISABLED (removed) the SPEEDHACK detection due to many false kicks.

Also if you want to just put up a "fun server" take all the files out of the HB/versions folder and only put HB114 into it.
Goto GAME OPTIONS and turn OFF "auto-update" (your server will not download any HB files).
In the server command list you can set HB "on"

Now you can serve a game that has the HB shield in fornt of it on the server list......and it will let people with HIGHER #'s of HB connect without any problems!

HB114 will let you use SPEEDHACK/WALLHACK/WIREFRAMS!!!!!!!!!!

If you compare HB114 to the other versions then it will be easyer to find the SPEEDHACK defenitions (spl?).
Title: HB planns
Post by: [TKC]thejoker on July 31, 2004, 12:39:19 am
could you give a better hint as to what to search in the hex editor when looking in the cbf (if thats what we are even suposed to do)
Title: HB planns
Post by: Blizzard on September 13, 2004, 01:29:23 pm
Quote from: [TKC]thejoker
could you give a better hint as to what to search in the hex editor when looking in the cbf (if thats what we are even suposed to do)
Title: HB planns
Post by: hoax-ravenheckler on September 13, 2004, 06:48:32 pm
i think, but thats what I think...
You need to change something in the dll, not in the cbf...
Probally guys tried this but thats all i can help you out with...
Title: HB planns
Post by: [TKC]thejoker on September 13, 2004, 08:10:22 pm
we dont edit the cbf as we need to repack, so we need to extract edit something (DLL will probably be best bet) then repack into a cbf
Title: HB planns
Post by: Blizzard on November 03, 2004, 11:22:12 pm
Quote from: [TKC]thejoker
we dont edit the cbf as we need to repack, so we need to extract edit something (DLL will probably be best bet) then repack into a cbf


Then what about this "something" ? What have we to change before repack back to cbf? At least give us infos about this :(
Title: HB planns
Post by: [TKC]thejoker on November 03, 2004, 11:27:11 pm
i think maybe if we just switch DLLs it may work, im gonna try this now
Title: HB planns
Post by: shultz69 on November 12, 2004, 04:37:57 pm
I've been searching a while on internet looking for infos about cbf compression method. Unfortunately CBF used in Vietcong it's not a Crystallographic Binart File, therefore the link Mullah gave us shouldn't be the right one :(

But this is what I found

8   Header (BIGF + (char)1 + ZBL)
8   Archive Size
4   Number Of Files
8   Directory Offset
8   Directory Size
8   First File Offset (header size) (64)
4   Unknown
8   Unknown
8   null

// go to dirOffset

// for each file
2   Entry Size (not including these 2 bytes)
X   Entry

Anyone has an idea about the algorithm used for the files compression?
Title: HB planns
Post by: [TKC]thejoker on November 13, 2004, 03:25:18 am
i have a cbf creator
Title: HB planns
Post by: shultz69 on November 13, 2004, 01:13:07 pm
Quote from: [TKC]thejoker
i have a cbf creator


Did you do it on your own, or it's somewhere on the web?
Title: HB planns
Post by: ZOldDude on November 14, 2004, 03:10:42 am
Quote from: [TKC]thejoker
i have a cbf creator


Yes but you have told me that if you EXTRACT a file and then PACK it that the game does not run.

This is without makeing ANY changes to the file.

Leads me to think that the packer you got is not working correctly.
Title: HB planns
Post by: Blizzard on November 14, 2004, 12:54:37 pm
the CBF works cause i tried to extract the last hradba and repack it without any change. The game starts and doesnt  download the last hradba, so i think the CBF works. But with other packages the game doesnt wanna start (if i change something, i didnt try to pack an extracted cbf without changes, tried only with HB), dunno why :(. Surely there is something wrong  :?
Title: HB planns
Post by: hoax-ravenheckler on November 14, 2004, 01:38:46 pm
joker, did you made it yourself?
I'm trying to get on to, hard to get too, nobody is trusting each other anymore
Title: HB planns
Post by: shultz69 on November 15, 2004, 10:20:05 am
I've found MultiEx Commander. Is this the program you have Joker?

For the moment it doens't work (at least, I didn't manage to get it work) but I've read that it will support Vietcong CBF compression
Title: HB planns
Post by: [TKC]thejoker on November 15, 2004, 08:33:23 pm
no, i use BFcreator which is the one VMT and PMT use which is the one pterodon use.
Title: HB planns
Post by: Blizzard on November 16, 2004, 10:09:34 pm
i heard about MultiEx and if im not wrong, with that program u could only extract CBFs, but im not quite sure about this.
Title: HB planns
Post by: shultz69 on November 16, 2004, 11:31:49 pm
Quote from: Blizzard
i heard about MultiEx and if im not wrong, with that program u could only extract CBFs, but im not quite sure about this.


I read that for the moment (the post was a bit old) it only extracts few files from a CBF.
In order to make this program work correctly you need a script (I tried one but as I told in the previous post it doesn't work) or a plugin. I think it could be nice to use a plugin since they give you all the functions your library should export in order to be a working plugin to the MultiEx commander. Through this plugin you can extract, remove, add or replace files from a CBF. It would be perfect but nothing can be done till the compression method is unknown
Title: HB planns
Post by: DrHekyl on November 22, 2004, 12:04:22 pm
I recompile cbf's the lazy way, I just create a blank directory with the files I want to complie in it, and then patch the default compile path in the editor. All I do after that is open a map and compile it. The compiler will generate a new cbf or dat(dat=cbf btw) file, but not the maps. I have toyed with the idea of creating a utility that taps into the game dlls and uses the internal functionality, but haven't gotten around to it yet. This would allow me to do generate certificates and from there essentially anything.
Title: HB planns
Post by: Taxman on March 19, 2006, 12:46:35 am
Quote
II just create a blank directory with the files I want to complie in it, and then patch the default compile path in the editor. All I do after that is open a map and compile it. The compiler will generate a new cbf or dat(dat=cbf btw) file, but not the maps. I have toyed with the idea of creating a utility that taps into the game dlls and uses the internal functionality, but haven't gotten around to it yet. This would allow me to do generate certificates and from there essentially anything.


Sounds like a good method.