Doom monster
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > How to change the "secret revealed" sound and message in prBoom-plus
 
Author
All times are GMT. The time now is 00:36. Post New Thread    Post A Reply
Never_Again
knows his birth month


Posts: 963
Registered: 04-03


Editors
  • For WAD editing get SLADE v3.0.1 or later.
  • Download and install Visual C++ 2010 runtimes, found at the bottom of the Downloads page, if you haven't done so already. SLADE will not run otherwise.
  • For EXE editing get HxD, a free hex editor.


Changing the sound
The following replaces the sound prB+ plays when you enter a sector with the secret special with the sound of items respawning in Deathmatch 2.0 (-altdeath). If you want to use another sound instead, skip steps 1-5.

1) Open any IWAD (DOOM.WAD, DOOM2.WAD, TNT.WAD or PLUTONIA.WAD) in SLADE.
2) Type dsi into the Filter box located below the WAD's Entries list
3) Two entries will be displayed. DSITMBK is the one we want.
4) Right-click on the DSITMBK entry and choose Export.
5) Save the entry to DSITMBK.lmp (the default) and note where you saved it.
6) Open prboom-plus.wad (found in your prB+ folder) in SLADE.
7) Type dss into the Filter box. This brings up the DSSECRET entry.
8) Right-click on the DSSECRET entry and choose Import
9) A dialog box comes up. Find the file you saved in step 5 and (double-)click it.
10) Save the change - File menu -> Save

Changing the message
The following changes the "A secret is revealed!" message displayed when you enter a secret to simply "secret". Note that although the tutorial deals with glboom-plus.exe, the same steps can be used with prboom-plus.exe.

1) Open glboom-plus.exe in HxD (e.g. by dragging the .exe from Windoze Explorer and dropping it into the HxD window)
2) Go to Search menu -> Replace ...
3) Copy and paste the below into the "Search for" field:
code:
41 20 73 65 63 72 65 74 20 69 73 20 72 65 76 65 61 6C 65 64 21

4) Copy and paste the below into the "Replace with" field:
code:
20 20 20 20 20 20 20 73 65 63 72 65 74 20 20 20 20 20 20 20 20

5) Change the "Datatype" drop-down box to Hex-values.
6) Set "Search direction" to All and click the "Replace all" button. You'll receive the "Replaced 1 occurences of ..." notification.
7) Save the change: File menu -> Save.

If you want no message at all but want to keep the sound, replace the code in step 4 above with this:
code:
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20


HTH

Old Post 03-22-11 02:43 #
Never_Again is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ralphis
IDL Founder


Posts: 3704
Registered: 09-02


What good reason is there to hex edit the binary to change the secret message?

Old Post 03-22-11 02:46 #
Ralphis is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Never_Again
knows his birth month


Posts: 963
Registered: 04-03


I can think of three:
- the message is too long
- it's too ZDoomy
- hex-editing is easier and quicker than compiling your own bins

Old Post 03-22-11 03:05 #
Never_Again is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
blob1024
Forum Regular


Posts: 675
Registered: 05-10


thaaaaanks a bunch. loved this sound effect ;)

Old Post 03-22-11 22:32 #
blob1024 is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
bgraybr
Member


Posts: 398
Registered: 05-10


I wish that both ports had a simple menu option to disable the message... I thought that prboom plus had it but I'm almost certain that zdoom doesn't.

Old Post 04-06-11 11:08 #
bgraybr is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 10709
Registered: 07-07


If you want to remove it entirely in ZDoom:
1. Make a little wad file with just one lump, named SNDINFO. In it, put just this line:
code:
misc/secret dsempty

2. Now open your zdoom-<username>.ini.
Search for the [Global.Autoload] header and add this line just under it:
code:
path=<path-to-your-SNDINFO-wad>

That's it for the sound!

3. Now for the message. While still in zdoom-<username>.ini, search for all "secretmessage=" lines and delete the rest of the lines, so you remove all the "A Secret is revealed!" stuff.
That's it for the text!

From then on, when playing ZDoom, you will not see the message and neither will you hear the sound.

Old Post 04-06-11 11:47 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7627
Registered: 01-03



bgraybr said:
I wish that both ports had a simple menu option to disable the message... I thought that prboom plus had it but I'm almost certain that zdoom doesn't.



The reason ZDoom doesn't have a menu entry is because there's currently no decent string editing control for the menu. Using the console or INI is easy enough though.

Old Post 04-06-11 12:51 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Grazza
1.19345614 × 10^-66 m^4 kg^2 / s^2


Posts: 12324
Registered: 07-02



bgraybr said:
I wish that both ports had a simple menu option to disable the message... I thought that prboom plus had it
From usage.txt:

Additional HUD settings are available here:
Main Menu\Options\Setup\Status Bar / HUD (on last page)

ADVANCED HUD SETTINGS ; HUD settings
Secret Areas ; Display on-screen message and play sound when a secret is registered

Old Post 04-06-11 17:51 #
Grazza is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
TB171
Junior Member


Posts: 219
Registered: 02-12



Gez said:
If you want to remove it entirely in ZDoom:
1. Make a little wad file with just one lump, named SNDINFO. In it, put just this line:
code:
misc/secret dsempty

2. Now open your zdoom-<username>.ini.
Search for the [Global.Autoload] header and add this line just under it:
code:
path=<path-to-your-SNDINFO-wad>

That's it for the sound!

3. Now for the message. While still in zdoom-<username>.ini, search for all "secretmessage=" lines and delete the rest of the lines, so you remove all the "A Secret is revealed!" stuff.
That's it for the text!

From then on, when playing ZDoom, you will not see the message and neither will you hear the sound.

\

Wait how would you do the path? Like this? C:\gzdoom -file SNDINFO.wad ?
Or what?

__________________
Not even death can save you from me....

Old Post 05-17-12 01:03 #
TB171 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
GreyGhost
Why don't I have a custom title by now?!


Posts: 8153
Registered: 01-08


No need to mention GZDoom, just where the wad's located - such as Path=C:\Doom2\Wads\SNDINFO.wad

Old Post 05-17-12 03:50 #
GreyGhost is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
TB171
Junior Member


Posts: 219
Registered: 02-12



GreyGhost said:
No need to mention GZDoom, just where the wad's located - such as Path=C:\Doom2\Wads\SNDINFO.wad


Oh, thanks GreyGhost! :D

Old Post 05-17-12 04:20 #
TB171 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
exp(x)


Posts: 2595
Registered: 04-04


Why the balls are you hexediting a binary for an open source program?

Old Post 05-17-12 06:02 #
exp(x) is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Csonicgo


Posts: 4403
Registered: 03-04



exp(x) said:
Why the balls are you hexediting a binary for an open source program?


Because he can.

Old Post 05-17-12 07:29 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
myk
volveré y seré millones


Posts: 15137
Registered: 04-02



Never_Again said:
Changing the sound
The following replaces the sound prB+ plays when you enter a sector with the secret special with the sound of items respawning in Deathmatch 2.0 (-altdeath). If you want to use another sound instead, skip steps 1-5.

1) Open any IWAD (DOOM.WAD, DOOM2.WAD, TNT.WAD or PLUTONIA.WAD) in SLADE.
2) Type dsi into the Filter box located below the WAD's Entries list
3) Two entries will be displayed. DSITMBK is the one we want.
4) Right-click on the DSITMBK entry and choose Export.
5) Save the entry to DSITMBK.lmp (the default) and note where you saved it.
6) Open prboom-plus.wad (found in your prB+ folder) in SLADE.
7) Type dss into the Filter box. This brings up the DSSECRET entry.
8) Right-click on the DSSECRET entry and choose Import
9) A dialog box comes up. Find the file you saved in step 5 and (double-)click it.
10) Save the change - File menu -> Save

Don't do that. Use wadfile_1 or wadfile_2 in the configuration file to always add a PWAD with the chosen sound lump. It's an order!

Old Post 05-25-12 00:05 #
myk is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 00:36. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > How to change the "secret revealed" sound and message in prBoom-plus

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Message Board Statistics