Severed bunny head
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 > DEH for ability to see VPO (numvisplanes>128) with doom2+
 
Author
All times are GMT. The time now is 02:14. Post New Thread    Post A Reply
entryway
Forum Staple


Posts: 2587
Registered: 01-04


Only for doom2-plus-1.92.6

Usage: apply this DEH for doom2p.exe, start any pwad with hacked exe, activate pistol. If AMMO is 0 in statusbar - there was no overflow of 'vanilla' visplanes limit (MAXVISPLANES = 128)

code:
Patch File for DeHackEd v3.0 # Note: Use the pound sign ('#') to start comment lines. Doom version = 19 Patch format = 6 Weapon 1 (Pistol) Ammo type = 124732


Already patched doom2p.exe and show_vpo.deh:
http://prboom-plus.sourceforge.net/doom2p_show_vpo.zip

Last edited by entryway on 08-11-09 at 20:30

Old Post 08-11-09 19:59 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
esselfortium
Cumulonimbus Antagonistic Posting


Posts: 5268
Registered: 01-02


O_O

....HOW?!

__________________
essel.spork-chan.net - doom stuff, artwork, and music by esselfortium

Old Post 08-11-09 20:25 #
esselfortium is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2587
Registered: 01-04



esselfortium said:
....HOW?!

With "Ammo type" overflow it's possible to see any memory value in AMMO part of statusbar.

124732 = (0x100000 + 0x298 * 128 - 0x9AF14) / 4 + 1

0x100000 - address of visplanes table from doom2+
0x298 - size of one visplane (sizeof(visplane_t))
128 - MAXVISPLANES from doom2.exe
0x100000 + 0x298 * 128 == &visplanes[128]
0x9AF14 - address of players[0].ammo[0]
+1 is for visplane_t::pichum instead of visplane_t::height

Thus, address of players[0].ammo[124732] actually is equal to address of visplanes[128].picnum which is initialized to 0 at start.

Old Post 08-11-09 20:54 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
myk
volveré y seré millones


Posts: 14423
Registered: 04-02


Ah, see, VPOs are a good thing now... they give you ammo!

(This should be useful while testing Doom levels from the DOS prompt.)

Old Post 08-11-09 21:29 #
myk is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 6000
Registered: 07-00


Cool hack!

Old Post 08-11-09 21:34 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Mechadon
Senior Member


Posts: 1787
Registered: 12-06


Wow, amazing :O

Old Post 08-11-09 21:47 #
Mechadon is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 6849
Registered: 06-06


What if vanilla mods appear, replacing gun slots with various indicators?

Heh heh. Not even CHOCOLATE DOOM will work with them!

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


Posts: 7046
Registered: 07-07


PROTIP: When visplanes overflow, shoot at them until they die.

Old Post 08-12-09 09:17 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2587
Registered: 01-04



printz said:
Heh heh. Not even CHOCOLATE DOOM will work with them!

But you can try this in Choco:
code:
Patch File for DeHackEd v3.0 # Note: Use the pound sign ('#') to start comment lines. Doom version = 21 Patch format = 6 Weapon 1 (Pistol) Ammo type = 12


Will give you one bullet for every killed monster (14 for secrets count). Works in prb+ 2.5.0.4.test too.

Old Post 08-12-09 09:35 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
cybdmn
Junior Member


Posts: 206
Registered: 06-09


This is by far the greatest dehacked patch i've ever seen.

Old Post 08-12-09 14:38 #
cybdmn is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 6849
Registered: 06-06


Oh. I can finally make necro weapons in vanilla or chocolate Doom! (soul cube for Doom 1 -- yet gotta resolve the restoration part...)

Old Post 08-12-09 15:49 #
printz is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 02:14. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > DEH for ability to see VPO (numvisplanes>128) with doom2+

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.

Forums Directory