Oni engine patches (Win)

From OniGalore
Revision as of 20:35, 1 May 2013 by Iritscen (talk | contribs) (/cat to be consistent with Mac patch pages)
Jump to navigation Jump to search
For a list of changes to the Mac version of Oni, see here.

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)