Oni engine patches (Win): Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
m (using hatnote template)
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Brain-dumping in-place patches here, because there needs to be a place where one can look them up without bugging Neo ^_^
{{Hatnote|For information on the patches to Mac versions of Oni, see the [[:Category:Patches|Patches category]]. For historical information on earlier patches to the Windows EXE, see [[AE:ONK/EXE]].}}
{{fmbox
  | text = This information is obsolete because the task of patching the Windows application was moved to the [[Daodan DLL]], and more recently [[OniX]] was introduced as a rebuild of the application. See those pages for current information on patches to Windows Oni.
  }}


=List of in-place patches=
==List of implemented patches==
A brief timeline of the upgrades so far:
A brief timeline of the upgrades so far:
{|
{|
Line 8: Line 11:
{{th}}
{{th}}
!Date!!Offset!!Old hex!!New hex!!Description
!Date!!Offset!!Old hex!!New hex!!Description
|-align=center
|2009/07||0x00135AF0<br>0x00135AF4||0x06<br>0x06||0x07<br>0x0B
|align=left|RGBA8888 texture support
|-align=center
|2008/11||0x004FBED4||0x02||0x'''XX'''||XX is the speed multiplier for carousel\slowmo. *Implemented but not released*
<!--
<!--
|-align=center
|-align=center
Line 52: Line 60:
:Increasing the buffer size to accomodate 1024x1024 textures doesn't work because of a limitation elsewhere in the engine.
:Increasing the buffer size to accomodate 1024x1024 textures doesn't work because of a limitation elsewhere in the engine.
:Therefore, the patch will only allow for 512x512 until further notice. BTW, 512x512 is ''plenty'' for virtually any purpose.
:Therefore, the patch will only allow for 512x512 until further notice. BTW, 512x512 is ''plenty'' for virtually any purpose.
==List of experimental patches==
{|
|
{{table}}
{{th}}
!Date!!Offset!!Old hex!!New hex!!Description
|-align=center
|2008/12/31||0x0051A889||66 C7 46 46 C0 12 5B 5E 83 C4 14 C3 90 90 90 90 90||66 8B 1D C4 7D 62 00 66 89 5E 46 5B 5E 83 C4 14 C3||Makes wp_fadetime actually have a function
|-align=center
|2008/12/31||0x0051A560||2C||31||See above
|-align=center
|2008/12/31||0x0051AB0E||6801||C012||Sets the fadetime to 4800 by default (what it would be if you hadn't done the above patch)
|-align=center
|2008/12/31||0x004DC420||00010000 00C7051C C95E0070 BD4E00C7 0520C95E 0040CB4E||00050000 00C7051C C95E0070 B84300C7 0520C95E 0020BE43||Hackish fix for Konoko not kicking guns.
|-align=center
|2008/12/31||0x0051A825||66895E54 66895E52 899EFC00 00006689 5E46689 5E50||90909090...||Fixes the exploit where dropping a weapon and picking it up removed the cooldown timer (nya nya :P)
|-align=center
|2008/11||0x004D8AA0||0x04716300||0x48B85E00||Replaces the pointer door_drawframes with the pointer for the "Last Man Standing" cheat
|-align=center
|2008/11||0x0055058C||646F6F72 5F647261 77667261 6D657300||6368725F 6C6D7300 00000000 00000000 ||Replaces the variable name "door_drawframes" with the variable name "chr_lms"
|-align=center
|2008/11||0x00550564||64726177 7320646F 6F726672 616D6573 20666F72 20616C6C 20756E70 6C616365 6420646F 6F727300||7475726E 73206F6E 204C6173 74204D61 6E205374 616E6469 6E67206D 6F646500 00000000 00000000||Replaces the description "draws doorframes for all unplaced doors(1 null)" with "turns on Last Man Standing mode(9 nulls)"
|-align=center
|2008/10||0x00046FB7||13||XX
|align=left|game ends after level XX (hex)
|}
|}
[[Category:Patches]]

Latest revision as of 19:50, 2 July 2022

For information on the patches to Mac versions of Oni, see the Patches category. For historical information on earlier patches to the Windows EXE, see AE:ONK/EXE.

List of implemented patches

A brief timeline of the upgrades so far:

Date Offset Old hex New hex Description
2009/07 0x00135AF0
0x00135AF4
0x06
0x06
0x07
0x0B
RGBA8888 texture support
2008/11 0x004FBED4 0x02 0xXX XX is the speed multiplier for carousel\slowmo. *Implemented but not released*
2008/06 0x00020EA7
0x00020F4A
10
20
20
40
font texture cache doubled
2008/06 0x00005251 04 10 now supports textures up to 512x512
2008/05 0x000206A8 00 01 non-"_Final" levels are now valid
2007/07 0x0010B03B
0x0010B04C
04
04
20
20
pathfinding grid cache size x8
2007/07 0x0009C07C
0x0009C080
0x0009C084
0x0009C110
30
34
38
30
6C
70
74
6C
projectile awareness fixed
20??/?? 0x00002E6D ?? EB DirectInput fixed on Windows NT
NOTE
Increasing the buffer size to accomodate 1024x1024 textures doesn't work because of a limitation elsewhere in the engine.
Therefore, the patch will only allow for 512x512 until further notice. BTW, 512x512 is plenty for virtually any purpose.

List of experimental patches

Date Offset Old hex New hex Description
2008/12/31 0x0051A889 66 C7 46 46 C0 12 5B 5E 83 C4 14 C3 90 90 90 90 90 66 8B 1D C4 7D 62 00 66 89 5E 46 5B 5E 83 C4 14 C3 Makes wp_fadetime actually have a function
2008/12/31 0x0051A560 2C 31 See above
2008/12/31 0x0051AB0E 6801 C012 Sets the fadetime to 4800 by default (what it would be if you hadn't done the above patch)
2008/12/31 0x004DC420 00010000 00C7051C C95E0070 BD4E00C7 0520C95E 0040CB4E 00050000 00C7051C C95E0070 B84300C7 0520C95E 0020BE43 Hackish fix for Konoko not kicking guns.
2008/12/31 0x0051A825 66895E54 66895E52 899EFC00 00006689 5E46689 5E50 90909090... Fixes the exploit where dropping a weapon and picking it up removed the cooldown timer (nya nya :P)
2008/11 0x004D8AA0 0x04716300 0x48B85E00 Replaces the pointer door_drawframes with the pointer for the "Last Man Standing" cheat
2008/11 0x0055058C 646F6F72 5F647261 77667261 6D657300 6368725F 6C6D7300 00000000 00000000 Replaces the variable name "door_drawframes" with the variable name "chr_lms"
2008/11 0x00550564 64726177 7320646F 6F726672 616D6573 20666F72 20616C6C 20756E70 6C616365 6420646F 6F727300 7475726E 73206F6E 204C6173 74204D61 6E205374 616E6469 6E67206D 6F646500 00000000 00000000 Replaces the description "draws doorframes for all unplaced doors(1 null)" with "turns on Last Man Standing mode(9 nulls)"
2008/10 0x00046FB7 13 XX game ends after level XX (hex)