SpongeBob SquarePants: Battle for Bikini Bottom (GCN/WIIRD/NTSC-U)

Game Hacks, Trainers, Cheats

Moderator: Ralf@gc-forever

Post Reply
User avatar
kesterstudios
Posts: 138
Joined: Wed Apr 17, 2019 1:00 am

SpongeBob SquarePants: Battle for Bikini Bottom (GCN/WIIRD/NTSC-U)

Post by kesterstudios » Fri Sep 09, 2022 4:37 pm

SpongeBob SquarePants: Battle for Bikini Bottom [GQPE78]

Code: Select all

16:9 Widescreen [Brandondorf9999]
043D07E0 3F400000
043D07E4 3F800000
043D07E8 3F800000
043D07F0 80134030
043D07F8 41000000
C2134024 00000003
3C808032 38600003
38844258 38A00006
60000000 00000000
04134028 48000005
C213402C 00000002
7E2802A6 3A310008
7E2803A6 00000000
C2134030 00000013
C222BE60 C262BE64
FE409890 EE529024
FC119800 41800010
EE319824 EE528824
FE209890 C262BE68
EE3104F2 EE5204F2
8A22BE6C 2C110001
40820020 8A22BE74
2C110001 41820014
EE318824 EE529024
3A200000 9A22BE6C
8A22BE74 2C110001
4182002C 3E20802B
D2317DD0 FE208850
D2317DBC D2517DC4
C262BDDC EE73982A
EE5204F2 FE409050
D242BDB4 4E800020
60000000 00000000
C213403C 00000004
3A200001 9A22BE6C
8222BE70 7E2903A6
4E800421 e3e10058
60000000 00000000
C20209AC 00000002
3883E178 38600003
60000000 00000000
040209b0 48113681
C20209B8 00000004
7C000278 3A200001
9A22BE6C 8222BE70
7E2903A6 4E800421
60000000 00000000
C2020A84 00000002
3884E178 38A00078
60000000 00000000
04020A88 481135A9
C2020A90 00000004
7C000278 3A200001
9A22BE6C 8222BE70
7E2903A6 4E800421
60000000 00000000
C20BAB60 00000002
38600003 38E00006
60000000 00000000
040bab64 480794CD
C20BACFC 00000004
3A200001 9A22BE6C
8222BE70 7E2903A6
4E800421 e3e100f8
60000000 00000000
C20C3CA4 00000002
C0C29710 3A200001
9A22BE74 00000000
C21D0AB4 00000008
ED090024 8A22BE74
2C110001 4082002C
C222BE60 FE404890
FC114800 4180000C
FE408890 FE204890
ED089024 ED4A0472
3A200000 9A22BE74
60000000 00000000
C2245D4C 00000007
3A200001 9A22BE74
8222BE70 7E2903A6
4E800421 3A200000
9A22BE74 EC0004B2
D003000C C0030004
EC000472 D0030004
60000000 00000000
042363f0 C082BE78
0423642c C022BE78
C209913C 00000003
D0A10068 8222BE70
7E2903A6 4E800421
60000000 00000000
C2099168 00000004
3C608026 3A200001
9A22BE6C 8222BE70
7E2903A6 4E800421
60000000 00000000

Infinite Underwear [Codejunkies]
003C1C0B 00000006

Max Underwear [Codejunkies]
003C1C93 00000006

Max Shiny Objects [Codejunkies]
023C205A 00002710

Max Spatulas [Codejunkies]
023C205E 000003E7

Max/All Socks [Codejunkies]
083C2060 000000C8
201B0001 00000000
003C211F 000000C8

Max Wheels [Codejunkies]
023C20E6 000003E8
023C211A 000003E8
Last edited by kesterstudios on Sat Sep 10, 2022 11:02 pm, edited 2 times in total.
User avatar
kesterstudios
Posts: 138
Joined: Wed Apr 17, 2019 1:00 am

Re: SpongeBob SquarePants: Battle for Bikini Bottom (GCN/WIIRD/NTSC-U)

Post by kesterstudios » Fri Sep 09, 2022 5:30 pm

Code: Select all

Skip Main Menu [Heavy Iron Modding]
043CABB4 00000000
*Using this code will cause all loading screens to be invisible.
*Quitting the game will not return you to the Main Menu, and will instead reload the first level.

Stereo Sound Fix [Heavy Iron Modding]
043ce1a0 c2800000
Fixes the inverted stereo panning on the GC version of the game (sounds on the right would play on the left for speakers/headphones).

Warp anywhere [gamemasterplc]
040BC1C8 38000001
040BC258 38000001
040BC300 38000001

Hold Z to moonjump [Heavy Iron Modding]
0A292620 00000010
423C0C80 006C4130
043CB47F 00000000

Hold A and B to moonjump [Heavy Iron Modding]
0A292620 00000300
423C0C80 006C4100

Fly (Z toggle) [Heavy Iron Modding]
043CB47F 00000000
BC38C9C4 00100000
4C3C2054 00000001
043C2054 00000000
00000000 00000000
043C2054 00000001
00000000 00000000
Y - go up
X - go down
Left stick - move around
L/R - move faster (also allows you to noclip)

Disable Hans [Heavy Iron Modding]
04297e48 00000000

Unlock Bubble Bowl [gamemasterplc]
04069144 38000001

Unlock Cruise Bubble	 [gamemasterplc]
04057DBC 38000001

Skip Copyright Screen [Heavy Iron Modding]
040A2704 60000000

Skip Intro Videos [Heavy Iron Modding]
040a61a4 38600002

Instant Cutscene/Flythrough Skips [Heavy Iron Modding]
043cabb8 00000000
043cabbc 00000000

No Cutscene Black Bars [Heavy Iron Modding]
003ca988 00000000

Hold L+DPAD  to switch characters [Heavy Iron Modding]
0a292620 00000041
003cb663 00000000
0a292620 00000048
003cb663 00000001
0a292620 00000042
003cb663 00000002
L + Dpad Left - SpongeBob
L + Dpad Up - Patrick
L + Dpad Right - Sandy
*If you try to switch to a character in a level where that character does not exist (e.g. Sandy in Jellyfish Fields), you'll switch to SpongeBob instead.
*L is the button for Cruise Bubble, so if you have it unlocked, the switch will be delayed until you are done using the Cruise Bubble.

Skip Spatula Animations [Heavy Iron Modding]
040634F8 60000000
0406363C 60000000
04076A38 60000000
04076A4C 60000000
040640A0 60000000

Press L+R+Z to instantly respawn [Heavy Iron Modding]
4A292620 00000070
023C1C0B 00000000

Cruise Bubble 2.0 [Heavy Iron Modding]
042DBAC4 3F800000
042DBA94 44160000
042DBAE0 4F000000
042DBAE4 3D4CCCCD
042DBAD0 41200000
042DBAD4 41000000
4A292620 00000100
042DBABC 40C00000
042DBAC0 41400000
4A292620 00000200
042DBABC C0C00000
042DBAC0 C1400000
4A292620 00000900
042DBABC 41C00000
042DBAC0 42100000
4A292620 00000000
042DBABC C1400000
042DBAC0 00000000
Gives you a 600 second Cruise Bubble with fully manipulable speed. Can be useful as a freecam.
Controls:

A - Forward
B - Backwards
Y - Turbo

Don't Take Damage [gamemasterplc]
040765D4 60000000

Always Cruise Boosting [Heavy Iron Modding]
043C1F40 40A00000
043C2044 00000001

Disable Force Conversation [gamemasterplc]
041305D8 38600001

Disable Screen Fading when loading a level or dying [Heavy Iron Modding]
0404196C 4E800020
040419CC 4E800020

Enable Camera Zoom in All Levels [Heavy Iron Modding]
04051208 540007fe

Disable Camera Collision [Heavy Iron Modding]
043ca908 00000000

Infinite Shiny Objects [Heavy Iron Modding]
043C2058 0001869F

Underwear Disabled [gamemasterplc]
040641CC 4800000C

Enemies Deactivated [gamemasterplc]
043C1C60 41000000
*The game will softlock if you drown.

Low Gravity [gamemasterplc]
043C0E7C 40F00000

Infinite Fruit Life [gamemasterplc]
043C1DD0 7F7FFFFF

Low Throw Gravity [gamemasterplc]
043C1DAC 41480000

0.25 Game Speed [Heavy Iron Modding]
043C0C1C 00000001

No Terminal Velocity [Heavy Iron Modding]
04019E24 C0428228
Allows the player and other entities to fall faster over time with no speed cap.

Keep Cruise Boost through Bus Stops [Heavy Iron Modding]
04070454 60000000
040704A4 60000000

Custom Loading Screen Texture [Heavy Iron Modding]
043CAB28 XXXXXXXX
Set a custom background texture for the loading screen. Replace XXXXXXXX with any RWTX Asset ID.

Infinite Sandy Hover [Heavy Iron Modding]
043C1DF0 40A00000

No Shiny Objects from enemies/tikis [Heavy Iron Modding]
040f9480 60000000
040ecfec 60000000
0412a67c 60000000

Always Spongeball [Heavy Iron Modding]
003cb637 00000001
003cb69f 00000001

Always Sliding [Heavy Iron Modding]
883c204f 00000000
08292622 00000000
90292623 00000000
003c22a7 00000003
003cb69f 00000001
00000000 863c246c
803bef30 00000004
00000000 863c2474
803bef10 00000004

Custom Tubelet Colors [Heavy Iron Modding]
0429b9a0 RRGGBBff
0429b9a4 RRGGBBff
0429b9a8 RRGGBBff
0429b9ac RRGGBBff
0429b9b0 RRGGBBff
0429b9b4 RRGGBBff
0429b9b8 RRGGBBff
0429b9bc RRGGBBff
0429b9c0 RRGGBBff
0429b9c4 RRGGBBff
Set custom Tubelet flame colors. Replace RRGGBB with the RGB hex codes of the colors.

Custom Shiny Object Values [gamemasterplc]
043c0de0 PPPPPPPP
043c0de4 BBBBBBBB
043c0de8 GGGGGGGG
043c0dec YYYYYYYY
043c0df0 RRRRRRRR
04099b30 4800b6d0
Set custom Shiny Object values. Replace the following values with shiny object values in hexadecimal:
PPPPPPPP - Purple (originally 50)
BBBBBBBB - Blue (originally 10)
GGGGGGGG - Green (originally 5)
YYYYYYYY - Yellow (originally 2)
RRRRRRRR - Red (originally 1)

Taking Damage Crashes The Game [Heavy Iron Modding]
04076430 48000000
04069508 48000000

Hans will not grab you if you go out of bounds [Heavy Iron Modding]
04071ed0 60000000

Render Invisible RpAtomics [Heavy Iron Modding]
040c315c 60000000
Forces all RpAtomics to render regardless of their rpATOMICRENDER flag. Useful for debugging.

Goo Stays Frozen Forever [Heavy Iron Modding]
040935a0 60000000

Bus Stop Softlock Fix [Heavy Iron Modding]
0412da00 801f0024
0412da04 28000002
0412da08 40800024
0412da0c ec2208ba
0412da10 fc010040
0412da14 40800010
Fixes a softlock that could occur in the original game when the player uses a Bus Stop and gets positioned too far away from it.

Invisible Player [Heavy Iron Modding]
043c1c04 00000000
*The player will temporarily become visible while using the Cruise Bubble and being grabbed by Hans.

Invisible JSPs [Heavy Iron Modding]
040c3128 4e800020

Always Clear Camera [Heavy Iron Modding]
040c0314 3884065c
040c0318 38a00003

Player only has 1 Underwear [Heavy Iron Modding]
043c1c90 00000001

No Shiny Limit [Heavy Iron Modding]
04065d30 60000000
0406378c 60000000
0409a070 48000020

Infinite Spin Stalling [Heavy Iron Modding]
043cb5c8 00000000
Dampens your velocity every time you Bubble Spin or Karate Kick in midair consecutively, instead of only the first time. Can be used to gain extra air time.

Floaty Bubble Spin [Heavy Iron Modding]
04082348 60000000
Locks your Y velocity to 0 when Bubble Spinning or Karate Kicking. Can be used to gain an insane amount of air time, especially when combined with Infinite Spin Stalling.

Disable Goo [Heavy Iron Modding]
04123794 4e800020

Undampened Bowling Turn Speed [Heavy Iron Modding]
040672c8 60000000
Removes the dampening used when turning while bowling, allowing free range of movement (try with Always Cruise Boosting code).

Enable Unused Glare FX [Heavy Iron Modding]
043cb390 00000001

Infinite Draw Distance [Heavy Iron Modding]
040a1f5c 4e800020
Last edited by kesterstudios on Sat Sep 10, 2022 10:53 pm, edited 4 times in total.
User avatar
kesterstudios
Posts: 138
Joined: Wed Apr 17, 2019 1:00 am

Re: SpongeBob SquarePants: Battle for Bikini Bottom (GCN/WIIRD/NTSC-U)

Post by kesterstudios » Fri Sep 09, 2022 5:36 pm

Code: Select all

All 3D entities are visible (Ignores UI + UIFT) [Heavy Iron Modding]
c200e638 00000007
88030004 28000020
4182000c 28000021
4082001c 88030018
70000081 20000001
7c000034 5403de3e
48000008 38600001
60000000 00000000
0400e63c 4e800020

All 3D entities are invisible (Ignores UI + UIFT) [Heavy Iron Modding]
c200e638 00000007
88030004 28000020
4182000c 28000021
4082001c 88030018
70000081 20000001
7c000034 5403de3e
48000008 38600000
60000000 00000000
0400e63c 4e800020

All SIMPs and PLATs are Invisible (excluding Skydomes) [Heavy Iron Modding]
c200e638 0000000d
88030004 2800000b
4182000c 28000006
4082003c 88030005
38a00000 7c0903a6
2c000000 40810020
80830008 38050002
7c04022e 28000132
41820014 38a50020
4200ffec 38600000
48000018 88030018
70000081 20000001
7c000034 5403de3e
60000000 00000000
0400e63c 4e800020

Xbox UI Controls [Heavy Iron Modding]
041307bc 57e00319
041307dc 57e0039d
041338f4 5406039d
0413391c 540003da
040ba214 54000319
040ba244 5400039d
04113bf0 5400039d
04099d70 3c60fff4
04099db8 54c0031b
04099e44 5403031a
4a000000 8028f204
6000014f 00000000
30000000 00020000
14000000 00080000
e2000001 00000000
4a100000 00000004
62000000 00000000
Flips B and X buttons for UI (menus, textboxes, etc.) to match controls that Xbox would use.

Mirrored Mode [Heavy Iron Modding]
041cc438 48000024
C2245D44 00000002
C0230044 EC000072
D0030004 00000000
C2097E98 00000005
3CA08039 88C5C9CC
7CC600D0 98C5C9CC
88C5C9CE 7CC600D0
98C5C9CE C02D8EB8
60000000 00000000
C20B4720 00000003
3C60802C 3C803F80
908381A0 38600013
60000000 00000000
C2036474 00000003
3CE0802C 3C00BF80
900781A0 4E800020
60000000 00000000
*Dpad, Bungee, and Cruise Bubble controls are inverted on X-axis.
*If all save slots are full, press A if there's a black screen when starting the game

No Need for Shiny Objects or Golden Spatulas [gamemasterplc]
C20526FC 00000002
38000000 90040008
80040010 00000000

Start With Shiny Objects Modifier [gamemasterplc]
043C0DD8 XXXXXXXX
XXXXXXXX-Decimal Number Converted to Hex

Start With Golden Spatulas Modifier [gamemasterplc]
043C0DDC XXXXXXXX
XXXXXXXX-Decimal Number Converted to Hex

Enable Character Modifier [gamemasterplc]
04097DA8 38600001
DPad Up = SpongeBob
DPad Left = Patrick
DPad Right = Sandy
*Only works if that character is normally in that level

No Cruise Bubble Time Limit [gamemasterplc]
0405D1B4 60000000
040599F0 4E800020

No Cutscene Black Bars [gamemasterplc]
04041E78 4E800020
Ironcraft456
Posts: 23
Joined: Thu Apr 28, 2022 8:41 pm

Re: SpongeBob SquarePants: Battle for Bikini Bottom (GCN/WIIRD/NTSC-U)

Post by Ironcraft456 » Tue Oct 11, 2022 6:25 pm

I just did some experimenting and confirmed that the first three lines of the 16:9 code for this also works for Scooby Doo Night of 100 Frights. I copied it from Dolphin Wiki.

Code I'm using for this:
043D07E0 3F400000 $Vertical Aspect
043D07E4 3F800000 $Horizontal Aspect
043D07E8 3F800000 $FOV
Unfortunately, the first two lines don't seem to do anything, but when I forced 16:9 on Dolphin(no widescreen hack), there was no culling I could notice on the sides. So my guess is the game might calculate it's aspect ratio in maybe the same location, but different manner, just they didn't change how the FOV/culling worked between games. Pretty cool that it works. Wonder if there's anything else that could be made to work like this. I do have one more game I want to try this on, so we'll see I guess.
User avatar
kesterstudios
Posts: 138
Joined: Wed Apr 17, 2019 1:00 am

Re: SpongeBob SquarePants: Battle for Bikini Bottom (GCN/WIIRD/NTSC-U)

Post by kesterstudios » Tue Oct 11, 2022 9:59 pm

Ironcraft456 wrote:
Tue Oct 11, 2022 6:25 pm
I just did some experimenting and confirmed that the first three lines of the 16:9 code for this also works for Scooby Doo Night of 100 Frights. I copied it from Dolphin Wiki.

Code I'm using for this:
043D07E0 3F400000 $Vertical Aspect
043D07E4 3F800000 $Horizontal Aspect
043D07E8 3F800000 $FOV
Unfortunately, the first two lines don't seem to do anything, but when I forced 16:9 on Dolphin(no widescreen hack), there was no culling I could notice on the sides. So my guess is the game might calculate it's aspect ratio in maybe the same location, but different manner, just they didn't change how the FOV/culling worked between games. Pretty cool that it works. Wonder if there's anything else that could be made to work like this. I do have one more game I want to try this on, so we'll see I guess.
The first two lines have to be doing something if the widescreen is working properly no?
Ironcraft456
Posts: 23
Joined: Thu Apr 28, 2022 8:41 pm

Re: SpongeBob SquarePants: Battle for Bikini Bottom (GCN/WIIRD/NTSC-U)

Post by Ironcraft456 » Tue Oct 11, 2022 11:42 pm

Well those seem to handle the width & height of the image...something the force 16:9 option would probably do seeing as it needs that to even work. The last line works, as I remember seeing obvious culling at some part, something I can no longer see with the code enabled. The UI is positioned correctly and goes off screen correctly, though that may just be the "Force 16:9" option doing that.

Edit: Upon doing further testing, the code seems to do nothing whatsoever. I turned it off, turned on "Force 16:9" on Dolphin, and the result was the same. So who knows. I wasn't able to notice any culling, that's for sure. I think when I noticed culling was when I had the "Widescreen Hack" on a long time ago, so might be something weird with that.
User avatar
kesterstudios
Posts: 138
Joined: Wed Apr 17, 2019 1:00 am

Re: SpongeBob SquarePants: Battle for Bikini Bottom (GCN/WIIRD/NTSC-U)

Post by kesterstudios » Wed Oct 12, 2022 5:55 pm

Ironcraft456 wrote:
Tue Oct 11, 2022 11:42 pm
Well those seem to handle the width & height of the image...something the force 16:9 option would probably do seeing as it needs that to even work. The last line works, as I remember seeing obvious culling at some part, something I can no longer see with the code enabled. The UI is positioned correctly and goes off screen correctly, though that may just be the "Force 16:9" option doing that.

Edit: Upon doing further testing, the code seems to do nothing whatsoever. I turned it off, turned on "Force 16:9" on Dolphin, and the result was the same. So who knows. I wasn't able to notice any culling, that's for sure. I think when I noticed culling was when I had the "Widescreen Hack" on a long time ago, so might be something weird with that.
Its probably one of those games where there is no culling at all or if there is, the culling frustrum is very large. Tales of symphonia and fire emblem path of radiance for example dont show culling if you force 16:9.
Ironcraft456
Posts: 23
Joined: Thu Apr 28, 2022 8:41 pm

Re: SpongeBob SquarePants: Battle for Bikini Bottom (GCN/WIIRD/NTSC-U)

Post by Ironcraft456 » Wed Oct 12, 2022 8:55 pm

Could be. If there is, it's probably hard to spot unless you look for it, or maybe certain spots later in the game that I didn't look at. Not like it'd be hard with not a lot of objects on screen at once. I also took a look at the game using the Dolphin Debugger, and the addresses for the gecko code aren't even in the callstack in ram. What is there...no clue, no assembly instructions were even listed on any of them. So who the heck knows where this game's aspect ratio calculations even are(even if there were assembly instructions, not like I'd know what it did, I don't know assembly. I could've wrote down the code and compared it to this game and do some googling to figure out how it worked, I suppose...did just port over source code from BetterWW into a gecko code last night, not like it was that difficult, seeing as source code is public, hard part was figuring out where it was in memory...which I did by just copying down instructions and addresses and comparing it to the source code to see what it did and where I was[Dolphin Debugger lets you copy the hex code, too, so not like I did much]. Eventually found it. I ported over the "Turn While Swinging" function. Did it because I didn't really want the randomization since I've never played Wind Waker before...not like I actually own the game yet, but it's in the plans. Side note, I could port over some other changes if I wanted to, I have some of the code written down for the Swift/Brisk Sail code among a few others...some of which wouldn't even be useful in the base game).

Edit: I have done more testing. Using the full code results in it hanging on a black screen, not even getting to the yellow copyright text. I've also determined that the first few lines of the code also do nothing on Spongebob: BFBB. No widescreen until I put full code in. After determining that, I started adding more lines of this code into the Scooby cheat file. I've determined that it reads up to the fifth line without error. Adding the 6th line results in a bunch of invalid write errors to 0x80002350, starting at location 0xfc0802a6 and continuing on from there. Generally following the pattern(per different error message) of ending with a 6, then an a, then an e. Starting with 0xfc0802b2, the pattern gets an added 2 ahead of the 6 for all the ones after. I didn't bother sitting through every last one, so I have no idea when the error messages stop. So I determined that IF someone were to make a widescreen code for Night of 100 Frights, they could use this code as a starting point up until line 5. Everything past that is different. These errors are most likely part of why the black screen happens on Scooby
Post Reply