Decompiling help!

Decompiling help!

Re: Decompiling help! Posted by Dragon_Slayer on Wed Feb 4th 2009 at 12:38am
Dragon_Slayer
12 posts
Posted 2009-02-04 12:38am
12 posts 1 snarkmarks Registered: Aug 22nd 2006 Occupation: College Student Location: USA
The map: dm_deathchurch

The game: HL2DM

The Problem: Annoying scream tends to loop and loop and loop...

What i want to do: Decompile dm_deathchurch, find the sound, delete it, and recompile the map (if needed).

I cant seem to find the author of this map, so if anyone knows the author, this will make my life easier, as i could just tell the author about this problem and save everyone here time! This is a great map, but for some wierd reason this screaming noise loops, and its a pretty loud noise heard around the entire map. I tried using vmex to decompile the map. I do not get an error that states anything about the map being protected, instead the decompile window stops here:

"Entities java.nio.BufferUnderflowException"

And the window freezes.

Any ideas? Its a great map and would like to put it back on the server, but the complaints are high on this one.
Re: Decompiling help! Posted by Dragon_Slayer on Wed Feb 4th 2009 at 1:33am
Dragon_Slayer
12 posts
Posted 2009-02-04 1:33am
12 posts 1 snarkmarks Registered: Aug 22nd 2006 Occupation: College Student Location: USA
Found out the author is: LMPQ {{MARIO}}. Cant find any contact info to him though...
Re: Decompiling help! Posted by omegaslayer on Wed Feb 4th 2009 at 2:49am
omegaslayer
2481 posts
Posted 2009-02-04 2:49am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
From now on please post questions in the Half Life 2 editing forums. To help you, there is a tool out there (written by the same guy who made the map decompiler) called entspy. Here is the website:

http://www.geocities.com/cofrdrbob/entspy.html

No guarantees though if it works (Valve may have a new version of .bsps out or something)
Re: Decompiling help! Posted by Le Chief on Wed Feb 4th 2009 at 3:16am
Le Chief
2605 posts
Posted 2009-02-04 3:16am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Instead of deleting the sound in the map, you may want to just delete the old sound (if it is in the mod directory) or overwrite it (if it is a default sound, content in mod folders are given higher priority than content in the gcf files). Copy the sound common/null.wav (its in a gcf file) over to the correct directory in the Half-Life 2 deathmatch folder and rename it to the problem sound sound file ;).

Ofcourse, this will prevent the sound from being heard on other maps while the replacement is present, but its just an alternative if you don't want to go through the hassle of decompiling and recompiling.
Aaron's Stuff
Re: Decompiling help! Posted by Riven on Wed Feb 4th 2009 at 4:45am
Riven
1640 posts
Posted 2009-02-04 4:45am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
Moved this post to the HL2 editing forum now....

Man, what's up with people these days? :lol:
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: Decompiling help! Posted by haymaker on Wed Feb 4th 2009 at 6:08am
haymaker
439 posts
Posted 2009-02-04 6:08am
haymaker
member
439 posts 921 snarkmarks Registered: Apr 1st 2007 Location: CAN
wait, don't decompile it, use entspy

if you can find the general coordinates of the sound, you can delete it with this program.

http://www.geocities.com/cofrdrbob/entspy.html

You can modify any bsp file without resulting in map differs errors, if you do it properly.
Re: Decompiling help! Posted by Dragon_Slayer on Wed Feb 4th 2009 at 6:56am
Dragon_Slayer
12 posts
Posted 2009-02-04 6:56am
12 posts 1 snarkmarks Registered: Aug 22nd 2006 Occupation: College Student Location: USA
haymaker said:
wait, don't decompile it, use entspy

if you can find the general coordinates of the sound, you can delete it with this program.

http://www.geocities.com/cofrdrbob/entspy.html

You can modify any bsp file without resulting in map differs errors, if you do it properly.
I have installed entspy, and when i run it, i find the map "dm_deathchurch.bsp", and click open. After that the window closes, and nothing happens. I have installed the latest Java Runtime like it says to do. I tried this on one of my maps i have made, and it does the same thing. Am i misusing entspy?
Re: Decompiling help! Posted by haymaker on Wed Feb 4th 2009 at 3:08pm
haymaker
439 posts
Posted 2009-02-04 3:08pm
haymaker
member
439 posts 921 snarkmarks Registered: Apr 1st 2007 Location: CAN
hmm i just tried my copy of it, it's old but it works fine...Steam should be off...perhaps your AV or some other windows setting is killing it...

If you keep having probs, try and locate the coordinates ( you can open the bsp in notepad and look for classname "ambient_generic", don't edit the file though ) and the sound name, PM the file to me and I'll try it.

OR if you find the entity in notepad, you can delete it carefully and save the file under a new name

ps Entspy has a quirk where you can only edit an original bsp just the once, after that it will give you map differs errors.
Re: Decompiling help! Posted by Dragon_Slayer on Thu Feb 5th 2009 at 2:07am
Dragon_Slayer
12 posts
Posted 2009-02-05 2:07am
12 posts 1 snarkmarks Registered: Aug 22nd 2006 Occupation: College Student Location: USA
haymaker said:
hmm i just tried my copy of it, it's old but it works fine...Steam should be off...perhaps your AV or some other windows setting is killing it...

If you keep having probs, try and locate the coordinates ( you can open the bsp in notepad and look for classname "ambient_generic", don't edit the file though ) and the sound name, PM the file to me and I'll try it.

OR if you find the entity in notepad, you can delete it carefully and save the file under a new name

ps Entspy has a quirk where you can only edit an original bsp just the once, after that it will give you map differs errors.
So, within PM, i do not see an area for me to upload a file, am i missing something there?

also, i opened the map up in notepad and found the sound: "ambient/creatures/town_child_scream1.wav" , and i deleted it from the file from { to }, and saved it as dm_deathchurchfixed, and ingame, the server wont switch to the map, nor can i create a server with that map. So, deleting was a bad idea to begin with.

You can go to filefront.com and get the map "dm_deathchurch". the sound plays when you go up the stairs, open the vertical bar door, go up the second flight of stairs, turn around, and you will see this black cloud behind bars (supposedly a posessed soul). When u walk up and touch the bars, this is when the sound plays. For some odd reason, in a server with more than 6 players playing, the sound starts to loop. I have still tried entspy on every map i have, and its not working...
Re: Decompiling help! Posted by Dragon_Slayer on Thu Feb 5th 2009 at 3:12am
Dragon_Slayer
12 posts
Posted 2009-02-05 3:12am
12 posts 1 snarkmarks Registered: Aug 22nd 2006 Occupation: College Student Location: USA
Well, id like to thank you guys for helping me on this :). But i found an older program called "EntEd", which worked. Now, i have taken out the sound (not really, just "muted" it). Now, i have to rename the file, cause of course i made a change to it. I am planning to call it "dm_deathchurchfixed".

I WILL include a txt file which states the sound change i made to the file, and that the map, and all of its works are all credited to LMPQ {{MARIO}}. so i will make sure he gets all credits, cause of course, i altered one thing...therefore it isnt mine.

Sound good to yall? i dont want to look like the bad guy here. I am a mapper and i know i will be pissed if someone stole my map and called it theirs. now we can put the map back on our server, and not have that damn looping noise to deal with!

Dragon_Slayer!
Re: Decompiling help! Posted by fishy on Fri Feb 6th 2009 at 5:07pm
fishy
2623 posts
Posted 2009-02-06 5:07pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
Entities are all dealt with server side, so if put the updated map version on a server without changing it's name, then no-one would need to download it again.
Re: Decompiling help! Posted by haymaker on Fri Feb 6th 2009 at 8:28pm
haymaker
439 posts
Posted 2009-02-06 8:28pm
haymaker
member
439 posts 921 snarkmarks Registered: Apr 1st 2007 Location: CAN
you'd have to check make sure ented doesnt change the checksum of the file, if does clients will get "map differs" error. i know entspy has the option to allow for this, idk about ented
Re: Decompiling help! Posted by warlord on Fri May 15th 2009 at 7:32am
warlord
166 posts
Posted 2009-05-15 7:32am
warlord
member
166 posts 247 snarkmarks Registered: Sep 11th 2003 Occupation: ill show ye Location: americas
fishy said:
Entities are all dealt with server side, so if put the updated map version on a server without changing it's name, then no-one would need to download it again.
i thought the game would dissconnect saying mapsize differs from original

or something like that.
Re: Decompiling help! Posted by heritagegirl on Wed Jul 1st 2009 at 9:23pm
heritagegirl
2 posts
Posted 2009-07-01 9:23pm
2 posts 0 snarkmarks Registered: Jul 1st 2009
1.)Are you sure you have java?
2.)When you say it freezes, is it freezing on the black screen that is decompiling the map or what?