help on (de)compilier


(TIHan) #1

i have a question about how to use the de compilier… how do u get it to work? i understand u drag a bsp over the q3map2.exe but then the .bsp changes to 1 kb and when i look at it under word pad this is wut it says:

IBSP.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%I LOVE MY Q3MAP2 2.5.6 on Sat Aug 16 13:00:53 2003%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

the % is the represent the strange boxes in the computer language
:moo:
:moo:
wut do i have to do to (de)compile a .bsp… i want someone to post something about how to do it step by step, thx anyway :smiley:


(JIM_BOB7813) #2

You can do it using q3map2toolz.
when you have it setup, change the dropbox to .bsp, not .map.
extract the .bsp of your map into maps folder

in the buildoptions tab select BSP.

Then the command line might look like this:

"C:\Program Files\GtkRadiant-ET-1.3\q3map2.exe" -game et  "C:\Program Files\Wolfenstein - Enemy Territory\etmain\maps\oasis.bsp"

add the switches so it looks like this:

"C:\Program Files\GtkRadiant-ET-1.3\q3map2.exe" -game et -convert -format map  "C:\Program Files\Wolfenstein - Enemy Territory\etmain\maps\oasis.bsp"

You can do this by editing the text in the command line window.
Then hit build, let q3map2 do it’s magic. :notworthy:


(Venom) #3

i did exactly what you said but it still doesnt work. it converts the .bsp into a .map but whenever i try to load it in radiant it says “Unable to load project D:\Program Files Wolfenstein - Enemy Territory\etmain\maps\radar_converted.map An unrecoverable error has occured.” what should i do to fix this?


(JIM_BOB7813) #4

I don’t know, I tried it with Oasis and it opened in Radiant.


(SCDS_reyalP) #5

ydnars latest q3map2 (see the q3map2 forum) also decompiles now :smiley:


(TIHan) #6

ok i got it working on a batch file :drink: :cool: :bump: :angry: :banana: :banghead: :smiley: :chef: :moo: :eek: :eek2: :frowning: :clap: :blah: :banghead: :bash: :bored: :???: :disgust: :eek3: :cool: :cool: :cool: :cool:


(ziege) #7

Enough with the emoticons and tell us how you did it! What’s in the batch file? I get the error “oasis.bsp is version 47, not 46”

[Edit: Sorted, ydnar kindly explained it here :slight_smile: http://www.splashdamage.com/forums/viewtopic.php?p=30665#30665 ]


(Apple) #8

I get the error “oasis.bsp is version 47, not 46”

I get this on every map I’ve tried to decompile.


(bsimser) #9

Decompiling files is a gray area for most software (and pretty much impossible with current compilers). With BSP files it’s more black (or white) than gray.

I cannot see any real reason why anyone thinks they “need” to decompile a BSP, except to lift some brushwork for their own. If you want to know how something is done, for the most part, authors will tell you (unless they’re trying to keep an edge on the free map market but having a map that does something unique and they don’t want to loose that uniqueness).

If you’re really interested just load the map up in dev mode and turn on the triangles. True, you won’t get actual brushwork but you’ll basically see how something is done. I can’t see a legitimate reason to decompile a BSP unless the author is dead or otherwise not reachable and the map should be finished or updated.


(TIHan) #10

all i did was create a .txt file anywhere on the pc, (but to be safe i put it in the gtk radiant main folder), and in the txt file put these commands in:

“C:\Program Files\GtkRadiant-ET-1.3\q3map2.exe” -game et -convert -format map “C:\Program Files\Wolfenstein - Enemy Territory\etmain\maps\radar.bsp”

save it, then rename the file, q3map2.bat after that, go look in etmain and open pak0.pk3 and go to maps, copy the radar.bsp and paste it out of the pk3 and into etmain\maps\ … now just click the q3map2.bat and it will make it a .map the map will be located in ur etmain\maps\ make sure u have ydar’s latest q3map2…

if u wanted another map besides radar, all u have to do in the txt is rename the \maps\radar.bsp to \maps(mapname).bsp remeber to put whatever map u wanted out of the pk3 and into etmain\maps\