Version differences: Difference between revisions

m
fixed incorrect unit
mNo edit summary
m (fixed incorrect unit)
 
(16 intermediate revisions by 9 users not shown)
Line 12: Line 12:
! File !! Difference
! File !! Difference
|-
|-
| audio/dac.c || style="background-color: #F99" | In func_80316928, D_80226D7C is (in the U version) set to 172,320 times what it would be set to in the J version.
| audio/heap.c || style="background-color: #FFFF90" | In audio_reset_session, gTempoInternalToExternal holds the conversion ratio from the internal tatums/tick to beats/minute in the J version and tatums/minute in the U version.
|-
|-
| audio/data.c || style="background-color: #F99" | D_80332190 has different data in J and U versions. This may be related to sound glitch.
| audio/data.c || style="background-color: #F99" | gAudioSessionPresets has different data in J and U versions.
|-
|-
| audio/dma.c || style="background-color: #F99" | In func_80317270, osInvalDCache isn't called on the J version.
| audio/dma.c || style="background-color: #F99" | In dma_sample_data, osInvalDCache is called on the U version.
|-
|-
| audio/interface_1.c || style="background-color: #F99" | 15 separate numeric literals are doubles in J but floats in U.
| audio/interface_1.c || style="background-color: #F99" | 15 separate numeric literals are doubles in J but floats in U.
Line 70: Line 70:
| game/behavior_actions.c || style="background-color: #9F9" | music_touch.inc.c is only included in the U version. This means the "Music Touch" object doesn't exist on the J version. The only thing the object does is play the "Correct Solution" jingle the first time Mario enters within 200 units of it. This object is only used once in the game, to play the puzzle jingle when Mario enters the shortcut in the CCM slide.
| game/behavior_actions.c || style="background-color: #9F9" | music_touch.inc.c is only included in the U version. This means the "Music Touch" object doesn't exist on the J version. The only thing the object does is play the "Correct Solution" jingle the first time Mario enters within 200 units of it. This object is only used once in the game, to play the puzzle jingle when Mario enters the shortcut in the CCM slide.
|-
|-
| game/behaviors/bbh_tilt_floor.inc.c || style="background-color: #9F9" | (Nim is making a video on this)
| game/behaviors/bbh_tilt_floor.inc.c || style="background-color: #9F9" | See [https://www.youtube.com/watch?v=sOuk8sLwyS4&t=19s this video] for an explanation of the version difference.
|-
|-
| game/behaviors/boo.inc.c || style="background-color: #9F9" | In [[Go on a Ghost Hunt]], there is a single boo upstairs which spawns in the Eye-to-Eye Secret Room. The premise of the star is that you must kill all of the boos, but since you aren't intended to go upstairs in that star the boo upstairs shouldn't count. Mario is required to kill 5 boos. In the U version, a check was added to make sure that killing the upstairs boo doesn't contribute to spawning the Big Boo. In the J version, you can kill 4 boos downstairs and 1 boo upstairs in any order and the Big Boo will spawn. If you kill the upstairs boo last, the text that normally appears when unlocking the Big Boo doesn't appear, nor does the "Correct Solution" jingle play.
| game/behaviors/boo.inc.c || style="background-color: #9F9" | In [[Go on a Ghost Hunt]], there is a single boo upstairs which spawns in the Eye-to-Eye Secret Room. The premise of the star is that you must kill all of the boos, but since you aren't intended to go upstairs in that star the boo upstairs shouldn't count. Mario is required to kill 5 boos. In the U version, a check was added to make sure that killing the upstairs boo doesn't contribute to spawning the Big Boo. In the J version, you can kill 4 boos downstairs and 1 boo upstairs in any order and the Big Boo will spawn. If you kill the upstairs boo last, the text that normally appears when unlocking the Big Boo doesn't appear, nor does the "Correct Solution" jingle play.
|-
|-
| game/behaviors/boo.inc.c || style="background-color: #FFFF90" | In the J version, a part of an if statement's condition in ActionBooGivingStar0 is o->oUnk1AC_S32 >= 5 . On the U version, the debug parameter gDebugInfo[5][0] is added to 5.
| game/behaviors/boo.inc.c || style="background-color: #9F9" | In the J version, gDebugInfo[5][0] acts as the number of extra boos (past 5) needed to activate a Big Boo. In the U version, this debug option was removed.
|-
|-
| game/behaviors/boo.inc.c || style="background-color: #FFFF90" | boo_stop() is called in ActionBooGivingStar4 only on the U version.
| game/behaviors/boo.inc.c || style="background-color: #FFFF90" | boo_stop() is called in ActionBooGivingStar4 only on the U version.
Line 82: Line 82:
| game/behaviors/bowser.inc.c || style="background-color: #9F9" | In the final Bowser fight in the J version, Bowser's hitbox is still able to be interacted with after the Grand Star spawns ([https://cdn.discordapp.com/attachments/454787583684378647/580079347990265857/amarec20190520-1303.mp4 video]). This was fixed in the U version.
| game/behaviors/bowser.inc.c || style="background-color: #9F9" | In the final Bowser fight in the J version, Bowser's hitbox is still able to be interacted with after the Grand Star spawns ([https://cdn.discordapp.com/attachments/454787583684378647/580079347990265857/amarec20190520-1303.mp4 video]). This was fixed in the U version.
|-
|-
| game/behaviors/bowser.inc.c || style="background-color: #9F9" | In the US version, Bowser checks if he's in a demo to prevent the typical 1/10 chance of dancing.
| game/behaviors/bowser.inc.c || style="background-color: #9F9" | In the US version, Bowser checks if he's in a demo to prevent the typical 1/10 chance of dancing. This is because the U version added a new [[BitDW]] demo.
|-
|-
| game/behaviors/bowser.inc.c || style="background-color: #FFFF90" | func_u_802B4AF4() is only declared in the U version.
| game/behaviors/bowser.inc.c || style="background-color: #FFFF90" | func_u_802B4AF4() is only declared in the U version.
Line 104: Line 104:
| game/behaviors/coin.inc.c || style="background-color: #9F9" | On the U version, coins will unload if they land on the death barrier. On the J version, they will continue to exist.
| game/behaviors/coin.inc.c || style="background-color: #9F9" | On the U version, coins will unload if they land on the death barrier. On the J version, they will continue to exist.
|-
|-
| game/behaviors/coin.inc.c || style="background-color: #9F9" | If a coin bounces more than 5 times in a row, it will only continue to the bounce sound on the J version.
| game/behaviors/coin.inc.c || style="background-color: #9F9" | If a coin bounces more than 5 times in a row, it will only continue to play the bounce sound on the J version.
|-
|-
| game/behaviors/cruiser.inc.c || style="background-color: #9F9" | On the U version, the wings on the RR cruiser will play a sound every 64 frames. (It waits for the timer to become 64, then plays the sound and sets it to 0.) On the J version, it won't do any of this.
| game/behaviors/cruiser.inc.c || style="background-color: #9F9" | On the U version, the wings on the RR cruiser will play a sound every 64 frames. (It waits for the timer to become 64, then plays the sound and sets it to 0.) On the J version, it won't do any of this.
Line 114: Line 114:
| game/behaviors/king_bobomb.inc.c || style="background-color: #9F9" | In ActionKingBobomb0, King Bob-omb's velocity is only set to 0 in the U version. It is not touched in the J version. This is the cause of [https://t.co/rSZBnhKCAT this J-specific glitch.]
| game/behaviors/king_bobomb.inc.c || style="background-color: #9F9" | In ActionKingBobomb0, King Bob-omb's velocity is only set to 0 in the U version. It is not touched in the J version. This is the cause of [https://t.co/rSZBnhKCAT this J-specific glitch.]
|-
|-
| game/behaviors/king_bobomb.inc.c || style="background-color: #9F9" | King Bob-omb's star spawns ''from'' 100 units lower in the U version than in the J version, before moving to its final spot during the cutscene.
| game/behaviors/king_bobomb.inc.c || style="background-color: #9F9" | King Bob-omb's star spawns ''from'' 100 units higher in the U version than in the J version, before moving to its final spot during the cutscene.
|-
|-
| game/behaviors/mips.inc.c || style="background-color: #9F9" | When MIPS has action 1 in the J version, his forward velocity is set to 45. In the U version, it's set to o->oUnk1AC_F32, which is 40 for the 1st MIPS and 45 for the 2nd MIPS. This was probably done to slow him down a bit.
| game/behaviors/mips.inc.c || style="background-color: #9F9" | When MIPS has action 1 in the J version, his forward velocity is set to 45. In the U version, it's set to o->oUnk1AC_F32, which is 40 for the 1st MIPS and 45 for the 2nd MIPS. This was probably done to slow him down a bit.
Line 122: Line 122:
| game/behaviors/moneybag.inc.c || style="background-color: #9F9" | When turning invisible, moneybags make a sound in U but not in J.
| game/behaviors/moneybag.inc.c || style="background-color: #9F9" | When turning invisible, moneybags make a sound in U but not in J.
|-
|-
| game/behaviors/mr_i.inc.c || style="background-color: #FFFF90" | In ActionMrI0, the Mr. I will set its MoveAngles to 0 on the J version. On the U version, it calls set_object_angle(o, 0, 0, 0), which sets both its FaceAngles and MoveAngles to 0.
| game/behaviors/mr_i.inc.c || style="background-color: #9F9" | In ActionMrI0, the Mr. I will set its MoveAngles to 0 on the J version. On the U version, it calls set_object_angle(o, 0, 0, 0), which sets both its FaceAngles and MoveAngles to 0. This has no effect in the game.
|-
|-
| game/behaviors/piranha_plant.inc.c || style="background-color: #9F9" | piranha_plant_reset_when_far is only declared in the U version. It resets the piranha plant if it is far away from Mario. This was done to patch [https://www.youtube.com/watch?v=zkA3WFlHS9g this J-specific glitch.]
| game/behaviors/piranha_plant.inc.c || style="background-color: #9F9" | piranha_plant_reset_when_far is only declared in the U version. It resets the piranha plant if it is far away from Mario. This was done to patch [https://www.youtube.com/watch?v=zkA3WFlHS9g this J-specific glitch.]
Line 130: Line 130:
| game/behaviors/piranha_plant.inc.c || style="background-color: #9F9" | Mario can run into a sleeping piranha plant and receive knockback. On the U version, he will not get hurt, but on the J version, he will.
| game/behaviors/piranha_plant.inc.c || style="background-color: #9F9" | Mario can run into a sleeping piranha plant and receive knockback. On the U version, he will not get hurt, but on the J version, he will.
|-
|-
| game/behaviors/racing_penguin.inc.c || style="background-color: #FFFF90" | When the penguin is turning to face Mario at the end of the race (todo: confirm this), func_802BE3B4(1) is called but only on the U version.
| game/behaviors/racing_penguin.inc.c || style="background-color: #9F9" | When the penguin is turning and walking at the end of the race, the game will play a walking noise when not on the J version.
|-
|-
| game/behaviors/racing_penguin.inc.c || style="background-color: #9F9" | The penguin's star spawns ''from'' 200 units lower in the U version than in the J version, before moving to its final spot during the cutscene.
| game/behaviors/racing_penguin.inc.c || style="background-color: #9F9" | The penguin's star spawns ''from'' 200 units lower in the U version than in the J version, before moving to its final spot during the cutscene.
Line 170: Line 170:
| game/file_select.c || style="background-color: #9F9" | The sound clip that plays when you select a file in the file select has Mario saying "Okey Dokey!" in the U version.
| game/file_select.c || style="background-color: #9F9" | The sound clip that plays when you select a file in the file select has Mario saying "Okey Dokey!" in the U version.
|-
|-
| game/file_select.c || style="background-color: #9F9" | The "Select File" text has a different font and is in a [https://media.discordapp.net/attachments/471852219558526989/589527680798687262/33jpz3.gif slightly different position] in the U version.
| game/file_select.c || style="background-color: #9F9" | The "Select File" text has a different font and is in a [[Media:SelectScreenFont.gif|slightly different position]] in the U version.
|-
|-
| game/file_select.c || style="background-color: #9F9" | In the U version, sSoundTextX is used to center the name of the current sound setting on the main file select. In the J version, it remains uncentered.
| game/file_select.c || style="background-color: #9F9" | In the U version, sSoundTextX is used to center the name of the current sound setting on the main file select. In the J version, it remains uncentered.
Line 290: Line 290:
| game/interaction.c || style="background-color: #9F9" | The [[dab]] is patched in the U version.
| game/interaction.c || style="background-color: #9F9" | The [[dab]] is patched in the U version.
|-
|-
| game/interaction.c || style="background-color: #9F9" | Mario only says "Boing!" when he bounces on an enemy that causes him to twirl (e.g. [[Fly Guy|Fly Guys]]) on the U version.
| game/interaction.c || style="background-color: #9F9" | Mario says "Boing!" when he bounces on an enemy that causes him to twirl (e.g. [[Fly Guy|Fly Guys]]) only on the U version.
|-
|-
| game/interaction.c || style="background-color: #9F9" | Mario can press either B or A to read a sign on the U version. On the J version, B must be pressed.
| game/interaction.c || style="background-color: #9F9" | Mario can press either B or A to read a sign on the U version. On the J version, B must be pressed.
|-
|-
| game/interaction.c || style="background-color: #9F9" | Mario must be facing within 14563 (0x38E3) angle units of a sign to talk to it on the J version. On the U version, the range is wider; he can be within 16384 (0x4000) angle units to talk to it.
| game/interaction.c || style="background-color: #9F9" | Mario must be facing within 14563 (0x38E3) angle units i.e. 80 degrees of a sign to talk to it on the J version. On the U version, the range is wider; he can be within 16384 (0x4000) angle units i.e. 90 degrees to talk to it.
|-
|-
| game/level_select_menu.c || style="background-color: #9F9" | In the title screen, Mario says "Hello!", "Press Start to play!", and "Game over!" only on the U version.
| game/level_select_menu.c || style="background-color: #9F9" | In the title screen, Mario says "Hello!", "Press Start to play!", and "Game over!" only on the U version.
Line 314: Line 314:
| game/main.c || style="background-color: #9F9" | The U version of Mario 64 is able to detect PAL TVs and change its video output accordingly. The J version assumes any connected screen is NTSC, and is therefore not compatible with PAL TVs.
| game/main.c || style="background-color: #9F9" | The U version of Mario 64 is able to detect PAL TVs and change its video output accordingly. The J version assumes any connected screen is NTSC, and is therefore not compatible with PAL TVs.
|-
|-
| game/mario_actions_airborne.c || style="background-color: #9F9" | In the U version, when Mario gets air knockback or bonks in the air, Mario will say "Doh!" if his action arg is 0 and he's travelling faster than 28 units per second forwards or backwards, and "Uh!" otherwise. In the J version, he will always say "Uh!"
| game/mario_actions_airborne.c || style="background-color: #9F9" | In the U version, when Mario gets air knockback or bonks in the air, Mario will say "Doh!" if his action arg is 0 and he's travelling faster than 28 units per frame forwards or backwards, and "Uh!" otherwise. In the J version, he will always say "Uh!"
|-
|-
| game/mario_actions_airborne.c || style="background-color: #9F9" | When Mario gets stuck in the ground, SOUND_MARIO_OOOF will play in the J version and SOUND_MARIO_OOOF2 will play in the U version.
| game/mario_actions_airborne.c || style="background-color: #9F9" | When Mario gets stuck in the ground, SOUND_MARIO_OOOF will play in the J version and SOUND_MARIO_OOOF2 will play in the U version.
Line 368: Line 368:
| game/object_helpers.c || style="background-color: #9F9" | The [[Timestop|timestop glitch]] is patched on the U version.
| game/object_helpers.c || style="background-color: #9F9" | The [[Timestop|timestop glitch]] is patched on the U version.
|-
|-
| game/object_helpers.c || style="background-color: #FFFF90" | obj_spawn_star_at_y_offset is only declared in the U version.
| game/object_helpers.c || style="background-color: #9F9" | obj_spawn_star_at_y_offset is only declared in the U version. This function spawns the star initially at a slightly higher height so stars don't spawn at ground level. This is used by the large penguins and by King Bob-omb.
|-
|-
| game/object_list_processor.c || style="background-color: #9F9" | [[Spawning Displacement|Spawning displacement]] is patched in the U version by setting Mario's platform to NULL when an area loads.
| game/object_list_processor.c || style="background-color: #9F9" | [[Spawning Displacement|Spawning displacement]] is patched in the U version by setting Mario's platform to NULL when an area loads.
Line 380: Line 380:
| game/star_select.c || style="background-color: #9F9" | When selecting a star, Mario says "Let's-a Go!" in the U version but not in the J version.
| game/star_select.c || style="background-color: #9F9" | When selecting a star, Mario says "Let's-a Go!" in the U version but not in the J version.
|}
|}
[[Category:Games]]
156

edits