Decompiling help!
Post Reply
Quote
Re: Decompiling help!
Posted by Dragon_Slayer on Wed Feb 4th at 12:38am 2009


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.





Quote
Re: Decompiling help!
Posted by Dragon_Slayer on Wed Feb 4th at 1:33am 2009


Found out the author is: LMPQ {{MARIO}}. Cant find any contact info to him though...



Quote
Re: Decompiling help!
Posted by omegaslayer on Wed Feb 4th at 2:49am 2009


Assisted Answer
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)




Quote
Re: Decompiling help!
Posted by Le Chief on Wed Feb 4th at 3:16am 2009


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 smiley.

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.






Quote
Re: Decompiling help!
Posted by Riven on Wed Feb 4th at 4:45am 2009


Moved this post to the HL2 editing forum now....

Man, what's up with people these days? smiley






Quote
Re: Decompiling help!
Posted by haymaker on Wed Feb 4th at 6:08am 2009


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.




Quote
Re: Decompiling help!
Posted by Dragon_Slayer on Wed Feb 4th at 6:56am 2009


Quoting haymaker
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?




Quote
Re: Decompiling help!
Posted by haymaker on Wed Feb 4th at 3:08pm 2009


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.




Quote
Re: Decompiling help!
Posted by Dragon_Slayer on Thu Feb 5th at 2:07am 2009


Quoting haymaker
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...




Quote
Re: Decompiling help!
Posted by Dragon_Slayer on Thu Feb 5th at 3:12am 2009


Accepted Answer
Well, id like to thank you guys for helping me on this smiley. 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!




Quote
Re: Decompiling help!
Posted by fishy on Fri Feb 6th at 5:07pm 2009


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.



Quote
Re: Decompiling help!
Posted by haymaker on Fri Feb 6th at 8:28pm 2009


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



Quote
Re: Decompiling help!
Posted by warlord on Fri May 15th at 7:32am 2009


Quoting fishy
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.




Quote
Re: Decompiling help!
Posted by heritagegirl on Wed Jul 1st at 9:23pm 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?





Post Reply