User Tools

Site Tools


super_mario_64:console_compatibility

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
super_mario_64:console_compatibility [2018/03/11 23:31]
david [RCVI Hack]
super_mario_64:console_compatibility [2018/07/31 18:23]
AloXado320 [Issue with Fog and Billboarded Objects]
Line 54: Line 54:
  
 To figure out if a level has fog or not, you will have to look at any [[super_mario_64:​fast3d_display_list_commands#​b7f3d_setgeometrymode|0xB7 (F3D_SETGEOMETRYMODE)]] commands that you see before a 0xFC command occurs. If the parameters contain a 0x10000 flag, then fog will be enabled in the level. To figure out if a level has fog or not, you will have to look at any [[super_mario_64:​fast3d_display_list_commands#​b7f3d_setgeometrymode|0xB7 (F3D_SETGEOMETRYMODE)]] commands that you see before a 0xFC command occurs. If the parameters contain a 0x10000 flag, then fog will be enabled in the level.
- 
- 
  
 ---- ----
Line 69: Line 67:
   1.) Find all occurrences of: 0A 01 00 2D 00 64 96 96 80 29 AA 3C   1.) Find all occurrences of: 0A 01 00 2D 00 64 96 96 80 29 AA 3C
   2.) Replace occurrence with: 0A 01 00 2D 00 64 7F 7F 80 29 AA 3C    2.) Replace occurrence with: 0A 01 00 2D 00 64 7F 7F 80 29 AA 3C 
 +
 +----
 +
 +==== Issue with Fog and Billboarded Objects ====
 +
 +Levels imported in SM64 Editor using fog with transparent textures, have an issue where sprite-based objects like coins, chuckyas, and goombas would be covered with the fog color. This is an example on a "SM64: Ztar Attack"​ affected level:
 +
 +{{:​super_mario_64:​ztarattackfogissue.png?​nolink&​400|}} ​
 +
 +This problem came from a typo in the display list that SM64 Editor creates when importing the level. This happens on levels with fog that has alpha textures. Levels with fog without alpha textures aren't affected.
 +
 +The typo is near the end of a display list where it is disabling fog. \\
 +The SETOTHERMODE_L command was set to ''​B9 00 03 1D <color #​ed1c24>​C8 11</​color>​ 30 78''​ instead of ''​B9 00 03 1D <color #​ed1c24>​00 44</​color>​ 30 78''​.
 +
 +**How to fix it?**
 +  1.) Find all occurrences of: 
 +    BA 00 14 02 00 00 00 00
 +    B9 00 03 1D C8 11 30 78
 +    B6 00 00 00 00 01 00 00
 +    ​
 +  2.) Replace occurrence with: 
 +    BA 00 14 02 00 00 00 00
 +    B9 00 03 1D 00 44 30 78
 +    B6 00 00 00 00 01 00 00
  
 ---- ----
super_mario_64/console_compatibility.txt ยท Last modified: 2019/01/08 13:50 by redetzky