TKC-Community

Hacking and Art => Vietcong 1 & 2 => Topic started by: M. O. on January 05, 2004, 07:07:02 pm

Title: Retail Extraction
Post by: M. O. on January 05, 2004, 07:07:02 pm
All credits for this goes to tintin, who has been kind enough to write everything down:

This is for informational purposes only. It is up to the user to decide if it is moral/legal to use this information,I take no resposibility in any way how you use this information, or if you screw up your system trying to follow it.

Well everyone has tried to find a program that would extract the cbf files. There were a few programs that did most of the job, but did not extract the important config files. After much searching and even writing a program that could extract most the files, it dawned on me. Pterodon was nice enough to package a cbf extractor for us. It just needed a bit of tweaking to do what is wanted.

If you notice when Pterodon puts out its games, like its demo it packages them as an installer + a cbf file. If you pay attention the cbf file called disk01.cbf contains the game executable, the dlls, and at least one other cbf file. All the setup.exe does is extract files from disk01.cbf and adds some reg entries.

For example when we run setup on the retail it creates the retail dir extracts the game dlls from disk01.cbf, extracts the vietcong.exe and also another build###.cbf that contains all the game info. When you later patch the game it replaces some dlls and the exe and adds some more cbf files in the game dir.

What people have wanted to do is to extract cbf files OTHER than the disk0#.cbf. Through studying how setup.exe works you can adapt it to extract ANY cbf file.

{Downloadable setup.exe file available}
With a hex editor open the setup.cbf in the retail version. Keep searching for the work disk. EVentually you will see were it says disk....cbf

Right before this you will see 2 sets of %s%02d . What needs to be done is the first %s%02d needs to be replaced with nulls. That is replace each of those characters with hex 00. This will allow the setup program to extract every file from a cbf. The cbf has to still be renamed to disk01.cbf.

To extract any cbf, copy it to a blank drive in the root folder. copy your modified setup.exe and the original setup.cbf to the blank drive too. Now go to you windows temp dir and empty it of everything! This is important as the setup program will try and copy anything from the temp dir. One trick is to make a text file with some odd name and put it in the temp dir. This is because when you see the setup program copy this file, then you know it is time to kill the setup program.


Before you attempt this remember this will extract the files into the vietcong game directory. You may want to move your demo installation somewhere else. Also rename the reg keys. The install (setup.exe) program may ask you to uninstall the old install, let it do that all it does is remove anything in the vietcong default install folder (if you rename it, it does nothgin) and remove the regkey. Now with the newly moded setup.exe, setup.cbf and the build#.cbf file that was renamed to disk01.cbf that you moved to a empty drive start the install. Dont choose to install icons or gamespy! Just let the program run, it will list all the files being extracted, When you see it trying to copy that one file that you made and placed in the windows temp dir use the task manager to kill the setup exe. Do not press cancel as cancel will delete any extracted files.
Title: Retail Extraction
Post by: jazznas on January 05, 2004, 07:18:16 pm
huh, although i extracted the demo and retail about a hounded times i dont understand the tutorial :?
Title: Retail Extraction
Post by: M. O. on January 05, 2004, 08:07:22 pm
then write a new one  :wink:
Title: Retail Extraction
Post by: jazznas on January 06, 2004, 04:20:40 pm
i did :wink:
Title: Retail Extraction
Post by: Wizkid on January 06, 2004, 04:23:21 pm
Jazzie's not translating TinTin's to deutsch, he's making a new in deutsch  :P  (Talked to him yester day
Title: Retail Extraction
Post by: UnKnOwN on January 09, 2004, 01:28:45 am
does this extraction count for 1.41? does extraction work for 1.41?
Title: Retail Extraction
Post by: [TKC]thejoker on January 09, 2004, 01:31:17 am
wots the extraction for?im a n00b vc cheater :P
Title: Retail Extraction
Post by: M. O. on January 09, 2004, 01:46:18 am
Quote from: UnKnOwN
does this extraction count for 1.41? does extraction work for 1.41?


Of course it will even work for Fist Alpha  :wink:
The only general thing hradba does is to look for unextracted files and turn off the game when you start playing if non-extracted files are not found. Practically it would be easy to bypass manually with any debugger and a bit of experience. However if you want to do it automatically it's another thing. But you can still extract the files yes.

PS. You can even extract hradba.

Quote from: thejoker
wots the extraction for?im a n00b vc cheater


You can access any files, sound, gfx, configurations etc you can mod the game completely. That simply means that you can cheat as you want.
Title: Retail Extraction
Post by: [TKC]thejoker on January 09, 2004, 01:48:37 am
sweeeeeet:D
Title: Retail Extraction
Post by: Anonymous on January 22, 2004, 10:16:08 am
OK ive managed to extract the demo, i can access the ini folders and edit mp and weap.txt, but how do i play the game with the modded weapons, wont it just run the game like normal? because all i have done is extract from build***.cbf but the cbf file will not have changed only the extracted contents of it, ANYONE????
Title: Retail Extraction
Post by: ZOldDude on January 22, 2004, 10:31:56 am
Have you tryed to REDIRECT your shortcut to the extracted game?
Title: Retail Extraction
Post by: Anonymous on January 22, 2004, 01:42:56 pm
OK this is what i have done, I have extracted the game to c:\VC\Vietcong MP Demo . In there i have the ini folders etc etc Disk01.cbf, Setup.exe and Uninstall.exe . Now where would i redirect the shortcut to? Setup.exe ?
Title: Retail Extraction
Post by: jazznas on January 22, 2004, 04:14:35 pm
just copy all .dll and .exe files from a non-cracked version of the demo and copy&paste them into your extracted version
Title: Retail Extraction
Post by: Anonymous on January 22, 2004, 08:16:04 pm
Hey, yeah i finally worked out how to run the modded game, but when i use the new weapons they have no sound except for reloading and bullets bouncing, is this normal?? Anyone have sound for the cheat weaps??
Title: Retail Extraction
Post by: [TKC] ~<{LTC}>~ on January 22, 2004, 08:18:08 pm
the demo doesent has soundfiles for the cheat weapons, for example the radio doesent realy work cause there is no data and no sound :wink:
Title: Retail Extraction
Post by: ? ? ? ]V[ ? N ? on February 20, 2004, 05:55:43 am
What's real fun is Importing the old Stream map into Vietcong and playing it. I think you should release the Extracted maps for people to play on the FA demo. You know.
Extract FA and figure out a way to put the maps in the demo...there you would make pterodon lose money.
Title: Retail Extraction
Post by: jazznas on February 20, 2004, 02:23:56 pm
nice try to make us host warez

better luck next time :roll:
Title: Retail Extraction
Post by: ZOldDude on February 21, 2004, 10:42:52 am
Quote from: ? ? ? ]V[ ? N ?
What's real fun is Importing the old Stream map into Vietcong and playing it. I think you should release the Extracted maps for people to play on the FA demo. You know.
Extract FA and figure out a way to put the maps in the demo...there you would make pterodon lose money.


You host them Eric.
Next time Gathering contactcts your host they will not just shut you down but the FBI will visit you.

Oh ...I was the person that snitched you out so if you have a beef take it up with me and no one else.

Jerk-wad. :twisted:
Title: Retail Extraction
Post by: kaskad on April 04, 2004, 06:08:44 am
What setup.cbf do I have to open in the Hex? the one on the CD ? or the one in the Vietcong folder (installed game) ? I already looked in all of them, and didn't see any %s%02d  nor disk....cbf.....
and what is this "Downloadable setup.exe file available" ? where can I get it ?
Title: Retail Extraction
Post by: M. O. on April 04, 2004, 12:20:17 pm
It's the setup.bin but it doesn't matter. Download the fixed file, in the downloadssection.
Title: Retail Extraction
Post by: Medic on July 18, 2004, 02:51:15 pm
ZOldDude hinted this
Quote
".....can re-pac .cbf also."
but  I can't seem to find documentation on it. Is there a re-pac tutorial around, or did I misunderstand?
Thanks

Mullah Omar
Quote
repack the cbf file via the map editor later on.

DOH! if thats it I got it. my bad.
Thanks
Title: Retail Extraction
Post by: ZOldDude on July 18, 2004, 09:25:22 pm
Also look at the method used to turn the games install program into an extractor.....along with how the map editor saves as .cbf and you should be able to make your own stand alone compressor.
Title: Retail Extraction
Post by: Medic on July 18, 2004, 09:57:49 pm
I will look into this and see what I can make work.   :D  Thanks Z

Is'nt there a document on re-pacing somewere?

Someone should just make a VB front end for these tasks, unless thats wrong or not capable of doing it.
Hmm I'll look into that too, but I just got my C book last week and teaching myself right now.
Title: Retail Extraction
Post by: Medic on July 19, 2004, 12:45:28 am
So how do you do an export a bes file?
From inside the game pulling a piece out and editing it then import it back into the game?
like a room section of a map.
From a bes file to a 3dmax file?

[LaG]M0dding
Quote
it is possible to open .bes files in 3d max, i did it once... i openened the tower from halong in 3d max.. but i dont think its a good idea to bring this info out, how to do it, i know some people will, but i wont, i wont use the trick either, i aint gonna edit the house from halong or whatever, its useless, people will just mess up pterodons good work, but i just was curious about the possibilitys with some plug inns and stuff...
and also, to view how pterodons creates some things u know
Title: Retail Extraction
Post by: M. O. on July 19, 2004, 02:50:54 am
There is no tool to edit already packed .bes files. But it should be easy to do one.
Title: Retail Extraction
Post by: [TKC] Aphex on November 02, 2004, 07:50:13 pm
Just asking where can i get some info for covering up the extracted game. Ie; so i can play the game while it is extracted if i was wanting to change the colors of the skins textures etc.
Title: Retail Extraction
Post by: [TKC] Aphex on November 02, 2004, 07:59:59 pm
Quote from: Mullah Omar
There is no tool to edit already packed .bes files. But it should be easy to do one.


If this can be done, i will be humping that persons leg for a lifetime. Ever since i started modding / mapping i have been after soemthing that will convert, view .bes files in a 3d viewport.. or even better a plugin for 3dsmax that will allow you to import them.
Its the biggest ask i have ever said and i have been saying it for a very long time now.
Im not too sure about jimmy ( [LAG] Modding ) saying about getting the Halong tower into 3dsm.. he has never mentioned anything at all like that to me so i dont believe that is entirely true.

But as i said, even if its a viewport that can allow a user to load up a .bes file, and give them the ability to rotate it, move around it ( if its a level ) and to zoom in and out. Its a big ask i know but i mean that first sentence i said ;)  :lol:
Title: Retail Extraction
Post by: ZOldDude on November 02, 2004, 09:25:13 pm
Have you TRIED just asking Janacek or Matyskiewicz?
Title: Retail Extraction
Post by: [TKC] Aphex on November 02, 2004, 11:34:17 pm
Yes indeed i have a few times. And even Luke ( PMT Leader ).. still nothing.
Title: Retail Extraction
Post by: Jimmy on November 29, 2004, 02:34:02 am
Quote
Im not too sure about jimmy ( [LaG] Modding ) saying about getting the Halong tower into 3dsm


yes i did it Aphex


I found out at a forum once, long time ago, i dont know how to be done though...

anyway, there is a Nvidia plugin around that lets you take screens, and open them up in 3d max, example: you can make a screen capture with that program of the halong tower, and get the model, but only what you see, so you wont be able to have the insides, etc.

There is another way though to open up bes in 3d max.

I believe the program is called XSI or something, they made HL2 with it.

There are plugins around, to open up .bes in XSI.
and converters from.XSI to .MAX.

The only problem with XSI is, that you need a dongle ( infrared device ) to connect with your pc, before it will work.

I have some contacts that have got that dongle, or whatever they call it, so i will ask him.

I will post in here if he will be able to open up .bes in 3d max.
If he can, I can ask him to create .max models of .bes files on your request.

Pterodon does not have a .bes converter to max i think, since they still have all there .max files of al there .bes files,.
Title: Retail Extraction
Post by: M. O. on November 29, 2004, 03:09:39 am
Well I think the .bes format is something pterodon themselves made just for this game. If there's another.bes format it's likely it hasn't anything to do with VC.

But if there's a .bes exporter it should be easy to reverse it.
It's also possible to study the file-format when the program reads it/draws the model.  :wink:
Title: Retail Extraction
Post by: Jimmy on November 29, 2004, 12:26:24 pm
bes exporters are available, those are just plugins for 3d max

u can get them here http://www.pterodon.com/?download

so maybe a smart person with some time could try to make an importer of it?  :P
Title: Retail Extraction
Post by: [TKC]thejoker on November 29, 2004, 08:33:46 pm
dyhekyl maybe as he has some knowledge of debugging?
Title: Retail Extraction
Post by: [TKC] Aphex on November 30, 2004, 02:00:50 am
OMG i wish!!!! Hekyl *begs* plz :D
 :smario
Title: Retail Extraction
Post by: Jimmy on December 07, 2004, 03:33:37 am
About the XSI section, you need an old version from that program, it wont work with the nwest version...

So i think the only way to make it happen, is editing the export utilities for 3d max into importers ( hard job though)
Title: Retail Extraction
Post by: renss78 on May 26, 2005, 03:45:28 am
ok i get it not how do i cheat?!?
Title: Retail Extraction
Post by: Oynky on May 28, 2005, 10:50:51 pm
Hey!

i have an problem :cry:
i have VC1.01 extracted, but when i go multiplayer and trying to connedt to an server,

the only thing that happens is i hear first just normal piep,piep,piep.

but then i hear ''toet,to?t,toeeed''
you know,.... but i can make my own server, and there he will connects to :cry:

so, anyone knows how to solfe this?    TnX
Title: Retail Extraction
Post by: hoax-ravenheckler on May 29, 2005, 12:46:22 am
Very strange you must have missed some files.
Title: Retail Extraction...
Post by: [TKC] IC3M@N on June 15, 2005, 07:31:02 pm
Hi all...
I would like extract the game and i can not this because my english is very  too bad,  i need when that possible is a retail extraction tutorial of french or a link whit this or a guys what can that.....
Thanx...
Title: Retail Extraction
Post by: [TKC]faB.fiVe~ on June 16, 2005, 01:18:06 am
ich kann dir sagen wies geht.. schreib mir ma im msn.. du hast mich ja in deiner liste
Title: Retail Extraction
Post by: [TKC] IC3M@N on June 17, 2005, 07:38:50 am
Danke...
Thanx...

Sorry, my fucking ATI 9800Pro (2month old !!! thanx ati !!!) is dead this day.
Gaming is not more possible for me and i have no money to buy a new...
That was my first and my LAST ati card ! ! !

 :cry:  :cry:  :cry:  :cry:  :cry:  :cry:  :cry:  :cry:  :cry:  :cry:  :cry:  :cry:
Title: Retail Extraction
Post by: hoax-ravenheckler on June 17, 2005, 10:35:51 am
You must have did something wrong.
ATI aren't such bad GFX cards at all.
Title: Retail Extraction
Post by: [TKC]thejoker on June 17, 2005, 09:08:21 pm
ATI radeon 9800 pro i have. It gives me an undetectable wallhack when i look through binoculars or sniper scope. It rules 8)
Title: Retail Extraction
Post by: [TKC] IC3M@N on June 19, 2005, 06:06:42 am
Very sry all i have my complete computer check and i am very lucky, that was just my motherboard (i have today this replace) and i can more vc gaming .......(yeah)


lol nvidia is the best video card i woulld like this new buy (Nvidia Geforce 6800 Ultra 256 mb of pci express = Agp 16x),........fuck i need 1054?+ a one motherboard whit this pci express slot....
Title: Retail Extraction
Post by: hoax-ravenheckler on June 19, 2005, 01:01:54 pm
Well even better is it to buy 2 of those cards and throw them in with SLI technology.
Title: Retail Extraction
Post by: BLaBla Mama on June 19, 2005, 02:50:14 pm
Quote from: [TKC]thejoker
ATI radeon 9800 pro i have. It gives me an undetectable wallhack when i look through binoculars or sniper scope. It rules 8)


Well, I have also this gfx card but when I look through a sniper scope or binocular I cant see through walls, can you please explain me how to do this?
Title: Retail Extraction
Post by: [TKC]thejoker on June 19, 2005, 05:09:00 pm
You must not have the catalyst driver. www.ati.com and get the latest catalyst driver and once you have it installed it should work.
Title: Retail Extraction
Post by: BLaBla Mama on June 19, 2005, 10:22:02 pm
well, do I have to download this one

Catalyst? for Windows? XP
 
Version 5.6 with Catalyst? Control Center (32MB)*

coz I dont understand what you mean, first you say dont take the catalyst driver and than you say take it:S can you plz explain what you mean or put a link for me...thx
Title: Retail Extraction
Post by: [TKC]thejoker on June 19, 2005, 11:53:41 pm
You must not have it ment you dont have it when you need it. Not dont have it. Anyway you download the one you said, install and there you go, a new wallhack.
Title: Retail Extraction
Post by: BLaBla Mama on June 20, 2005, 03:43:55 pm
well, i downloaded this thingy and installed it but no succes:S do I have to put some special settings first?
Title: Retail Extraction
Post by: [TKC]thejoker on June 20, 2005, 10:33:26 pm
No you shouldnt need to. With the default settings it should work
Title: Retail Extraction
Post by: ZOldDude on June 21, 2005, 04:01:35 am
Works only with VC/FA and only with scopes or spyglass.....not while just looking about.
Title: Retail Extraction
Post by: [TKC]thejoker on June 21, 2005, 10:41:50 am
Quote from: ZOldDude
Works only with VC/FA and only with scopes or spyglass.....not while just looking about.


If (s)he didnt know i was talking about that then (s)he should read more carefully.


Also its VERY hard to use a sniper because of this. However i never use a sniper so its all ok!
Title: Retail Extraction
Post by: BLaBla Mama on June 22, 2005, 07:36:29 pm
strange that it doesnt work for me...but what do YOU see when you take ur binoc? you see through walls like with the bugs on halong or what?
Title: Retail Extraction
Post by: [TKC]thejoker on June 22, 2005, 08:25:52 pm
Post a screenshot of the bugs on halong.
Title: Retail Extraction
Post by: Jimmy on June 22, 2005, 08:57:24 pm
http://img225.echo.cx/img225/6738/16hn.jpg

screen with the bino bug.
Title: Retail Extraction
Post by: BLaBla Mama on June 22, 2005, 10:35:52 pm
strange strange:S I cannot see through walls:S u sure it is not only you who has this bug?
Title: Retail Extraction
Post by: hoax-ravenheckler on June 22, 2005, 11:28:10 pm
No more people have it.
Title: Retail Extraction
Post by: dribble on September 07, 2005, 12:29:37 am
also do i.. bio ownds :D