Source Decompiler Created 18 years ago2006-03-18 13:39:38 UTC by ChapterNine ChapterNine

Created 18 years ago2006-03-18 13:39:38 UTC by ChapterNine ChapterNine

Posted 18 years ago2006-03-18 13:39:38 UTC Post #169326
Is there such a thing as a "Source BSP Decompiler"?
I've tried one, VMEX. (Java-based.) When I pressed the holy, blue and big button "Decompile!". The program died. No lag, just closed itself.

So, sum1 know of a working Source Decompiler?
Posted 18 years ago2006-03-18 14:00:30 UTC Post #169332
vmex worked for me, but I havent tried it in a while.
Nem has a map viewer called crafty
http://nemesis.thewavelength.net/index.php?p=1
Posted 18 years ago2006-03-18 14:05:30 UTC Post #169334
Ok.. I really want this BSP decompiled.. would learn much from it.
Posted 18 years ago2006-03-18 14:12:12 UTC Post #169335
I can help you there...I haven't updated my VMEX cause the new versions have things that stop you from doing other things...

So download an older version that doesn't have that silly menu...I just do this:

Have a folder with the VMEX stuff in it and then have the .bsp of the map you want to decompile in the same folder. Then at the top where it has C:VMEXprogram blah blah add at the end:

C:yourdirectorywhereVMEXisvmex dm_steamlab.bsp or whatever your map is...

The VMF file should be at the bottom with the same name as the map but with a p or a d at the end indicating it was decompiled.
Habboi HabboiSticky White Love Glue
Posted 18 years ago2006-03-18 14:19:23 UTC Post #169338
Hrm.. I think I heard of another decompiler... Just look around, use google.
Posted 18 years ago2006-03-18 14:21:36 UTC Post #169339
Habboi, where do I download an older version?
Can I have yours? (http://rapidshare.de)
Posted 18 years ago2006-03-18 16:22:55 UTC Post #169355
Habboi HabboiSticky White Love Glue
Posted 18 years ago2006-03-18 19:51:13 UTC Post #169393
When you downloaded vmex, there should be another app called vmex2. That works for me. just DONT RIP OFF OR TAKE ANYTHING FROM ANY MAP!
Posted 18 years ago2006-03-18 20:19:58 UTC Post #169396
I use Vmex1...Vmex2 does the same thing for me.
Habboi HabboiSticky White Love Glue
Posted 18 years ago2006-03-19 06:22:50 UTC Post #169455
Ok. Call me a n00b, but I don't get it.
I launch the .jar file, selects the BSP I want to decompile, I press the "Decompile" button, and then the program is gone.
Just gone, (as I said in earlier posts), no lags, just a shutdown.
Posted 18 years ago2006-03-19 06:27:21 UTC Post #169460
Don't directly run the jar file, invoke it with Vmex2.bat.

If that fails, update your Java Runtime Environment or invoke VMEX directly via commandline to decompile the file.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 18 years ago2006-03-19 07:08:12 UTC Post #169477
Invoke? (Sry, my english isn't excellent...)
Posted 18 years ago2006-03-19 07:18:25 UTC Post #169481
Using the .BAT file, I get this nice little error;
User posted image
The code of the batch file is:
ORIGINALLY:
java -jar Vmex.jar %1 %2 %3 %4 %5 %6 %7 %8
MINE IS:
java -jar Vmex.jar C:ProgramBlandatmap_1.bsp %2 %3 %4 %5 %6 %7 %8

This SHOULD work, shouldn't it?
Posted 18 years ago2006-03-19 07:36:13 UTC Post #169482
The Batch code is fine.

http://www.geocities.com/cofrdrbob/faq.html
Q. Why do I get the message "Unknown map file ident or version"?

A. VMEX will only decompile .bsp files of maps made for the Half-Life 2 Source engine (e.g., for HL2, HL2DM, and Counter-Strike: Source). It cannot decompile maps made for Half-Life 1 (or its mods, such as Counter-Strike 1.6 and Condition Zero) or for other games which use the BSP format such as the Quake series.

The game Vampire: The Masquerade Bloodlines is based on the Source engine, but uses an earlier version of the bsp file format (17, rather than 19 as is used in HL2). As of v0.95, the decompiler partially supports this format. Some things, such as VTMB's modified entity I/O connections, are not handled correctly by the Hammer editor in the HL2 SDK. Note also that it is not possible to recompile these maps in a form suitable for VTMB unless somebody writes compiler tools that produce version 17 BSP files.

As of version 0.97, VMEX also has initial support for version 20 bsp files, as used for the HDR-enabled maps in the Day of Defeat: Source release.
I think your VMEX copy is outdated. v0.96 doesn't support v20 BSP files. v0.97 does.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 18 years ago2006-03-19 08:03:12 UTC Post #169484
Ok... I think my map has the wrong version.
The map's original name is d2_lostcoast.bsp and it is the Half-Life 2: Lost Coast level.
So it cannot, SADLY :cry: , be decompiled.
End of story.
Posted 18 years ago2006-03-19 09:24:04 UTC Post #169496
I reckon it can be decompiled...It is a .bsp and I have never met a map that can't be decompiled.
Habboi HabboiSticky White Love Glue
Posted 18 years ago2006-03-19 16:22:44 UTC Post #169548
So, do it yourself!
Decompile the Lost Coast level, and upload the map at rapidshare!
I doubt that I am the only one who would like this map decompiled...
Think of it, what about making a de_lostcoast? :nuts:
Posted 18 years ago2006-03-19 16:48:46 UTC Post #169555
Ok gives it a try...

Like I said "I have never met a map that can't be decompiled"

Here you go: http://rapidshare.de/files/15920316/lostcoastvmf.zip.html

Oh and I did something to it so you can't make a de_LostCoast ;)
Habboi HabboiSticky White Love Glue
Posted 18 years ago2006-03-19 16:59:24 UTC Post #169556
I've met plenty of Goldsource maps that won't decompile--well they decompile but then they crash hammer upon loading!--... any suggestions there?
Posted 18 years ago2006-03-19 18:10:49 UTC Post #169565
Only one...Does hammer give any warnings? If not look for entities like env_message or env_text in a .txt format and delete them...

Anything HDR like...delete as well...
Habboi HabboiSticky White Love Glue
Posted 18 years ago2006-03-20 00:41:37 UTC Post #169627
I reckon it can be decompiled...It is a .bsp and I have never met a map that can't be decompiled.
If your BSP Version number is not supported by VMEX it cannot be decompiled. Beta maps use v15 BSP files, if I recall, therefore VMEX shouldn't support them for example.

Also if anyone paid attention to my post they'd notice that v20 (HDR) maps are supported by VMEX 0.97 (The version being used here is v0.96) - Lost Coast is a v20 BSP and decompiles properly with VMEX 0.97b, as do the DOD maps and de_nuke/militia and CS:S HDR maps.
RabidMonkey RabidMonkeymapmapmapfapmap
You must be logged in to post a response.