Skip to content

Commit

Permalink
Update texture replacements for Retro-Fueled so they're not loaded on…
Browse files Browse the repository at this point in the history
… kernel

untested but it should work!!!
  • Loading branch information
Superstarxalien committed Mar 11, 2023
1 parent 4776bc3 commit 5761d4f
Show file tree
Hide file tree
Showing 46 changed files with 77 additions and 2,499 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
1020, exe, 0x80031cc8, 0x0, ../../Patches/EurLibcrypt/src/libcrypt.s

// Hooks
926, exe, GAMEPROG_GetPtrHighScoreTrack, -0x8, src/hookNewGame.s
1020, exe, GAMEPROG_GetPtrHighScoreTrack, -0x8, src/hookNewGame.s
common, exe, BOTS_SetRotation, -0x8, src/hookUpdate.s
926, exe, LOAD_VramFile, -0x8, src/hookVRAM.s
1020, exe, LOAD_VramFile, -0x8, src/hookVRAM.s

// Erasing the original reserve cancelation if, so that we can run our own code
926, exe, Player_Driving_PhysLinear, 0xA30, src/hookReserveCancelation.s
Expand All @@ -23,13 +19,82 @@ common, exe, OnCollide_Drivers, 0xB9, assets/TurboPadToSTP.bin
// Standardize turbo pad reserves
common, exe, OnCollide_Drivers, 0xA4, assets/StandardizeTurboPadReserves.bin

// Compile texture replacements to kernel
926, iso, 0x8000A000, 0x0, src/logo.c, logo.bin
926, iso, 0x8000C400, 0x0, src/banner.c, banner.bin
926, iso, 0x8000E400, 0x0, src/banner_p.c, banner_p.bin
1020, iso, 0x8000A000, 0x0, src/logo.c, logo.bin
1020, iso, 0x8000C400, 0x0, src/banner.c, banner.bin
1020, iso, 0x8000E400, 0x0, src/banner_p.c, banner_p.bin
// Texture replacements
// Replacements are only for US and Europe, Japan has these textures either drastically or slightly altered and I can't be bothered
926, bigfilelevelsmenu_modelsdatavrm, 0x0, 0x0, assets/logo/data.vrm
1020, bigfilelevelsmenu_modelsdatavrm, 0x0, 0x0, assets/logo/data.vrm
926, bigfilelevelstracksarena21Pdatavrm, 0x0, 0x0, assets/banner/arena21P.vrm
926, bigfilelevelstracksblimp11Pdatavrm, 0x0, 0x0, assets/banner/blimp11P.vrm
926, bigfilelevelstrackscastle11Pdatavrm, 0x0, 0x0, assets/banner/castle11P.vrm
926, bigfilelevelstrackscave11Pdatavrm, 0x0, 0x0, assets/banner/cave11P.vrm
926, bigfilelevelstrackscoco11Pdatavrm, 0x0, 0x0, assets/banner/coco11P.vrm
926, bigfilelevelstracksdesert21Pdatavrm, 0x0, 0x0, assets/banner/desert21P.vrm
926, bigfilelevelstracksice11Pdatavrm, 0x0, 0x0, assets/banner/ice11P.vrm
926, bigfilelevelstracksisland11Pdatavrm, 0x0, 0x0, assets/banner/island11P.vrm
926, bigfilelevelstrackslabs11Pdatavrm, 0x0, 0x0, assets/banner/labs11P.vrm
926, bigfilelevelstracksproto81Pdatavrm, 0x0, 0x0, assets/banner/proto81P.vrm
926, bigfilelevelstracksproto91Pdatavrm, 0x0, 0x0, assets/banner/proto91P.vrm
926, bigfilelevelstrackssecret11Pdatavrm, 0x0, 0x0, assets/banner/secret11P.vrm
926, bigfilelevelstrackssecret21Pdatavrm, 0x0, 0x0, assets/banner/secret21P.vrm
926, bigfilelevelstrackssewer11Pdatavrm, 0x0, 0x0, assets/banner/sewer11P.vrm
926, bigfilelevelstracksspace1Pdatavrm, 0x0, 0x0, assets/banner/space1P.vrm
926, bigfilelevelstrackstemple11Pdatavrm, 0x0, 0x0, assets/banner/temple11P.vrm
926, bigfilelevelstrackstemple21Pdatavrm, 0x0, 0x0, assets/banner/temple21P.vrm
926, bigfilelevelstrackstube11Pdatavrm, 0x0, 0x0, assets/banner/tube11P.vrm
926, bigfilelevelstracksarena2relicdatavrm, 0x0, 0x0, assets/banner/arena2relic.vrm
926, bigfilelevelstracksblimp1relicdatavrm, 0x0, 0x0, assets/banner/blimp1relic.vrm
926, bigfilelevelstrackscastle1relicdatavrm, 0x0, 0x0, assets/banner/castle1relic.vrm
926, bigfilelevelstrackscave1relicdatavrm, 0x0, 0x0, assets/banner/cave1relic.vrm
926, bigfilelevelstrackscoco1relicdatavrm, 0x0, 0x0, assets/banner/coco1relic.vrm
926, bigfilelevelstracksdesert2relicdatavrm, 0x0, 0x0, assets/banner/desert2relic.vrm
926, bigfilelevelstracksice1relicdatavrm, 0x0, 0x0, assets/banner/ice1relic.vrm
926, bigfilelevelstracksisland1relicdatavrm, 0x0, 0x0, assets/banner/island1relic.vrm
926, bigfilelevelstrackslabs1relicdatavrm, 0x0, 0x0, assets/banner/labs1relic.vrm
926, bigfilelevelstracksproto8relicdatavrm, 0x0, 0x0, assets/banner/proto8relic.vrm
926, bigfilelevelstracksproto9relicdatavrm, 0x0, 0x0, assets/banner/proto9relic.vrm
926, bigfilelevelstrackssecret1relicdatavrm, 0x0, 0x0, assets/banner/secret1relic.vrm
926, bigfilelevelstrackssecret2relicdatavrm, 0x0, 0x0, assets/banner/secret2relic.vrm
926, bigfilelevelstrackssewer1relicdatavrm, 0x0, 0x0, assets/banner/sewer1relic.vrm
926, bigfilelevelstracksspacerelicdatavrm, 0x0, 0x0, assets/banner/spacerelic.vrm
926, bigfilelevelstrackstemple1relicdatavrm, 0x0, 0x0, assets/banner/temple1relic.vrm
926, bigfilelevelstrackstemple2relicdatavrm, 0x0, 0x0, assets/banner/temple2relic.vrm
926, bigfilelevelstrackstube1relicdatavrm, 0x0, 0x0, assets/banner/tube1relic.vrm
1020, bigfilelevelstracksarena21Pdatavrm, 0x0, 0x0, assets/banner/arena21P.vrm
1020, bigfilelevelstracksblimp11Pdatavrm, 0x0, 0x0, assets/banner/blimp11P.vrm
1020, bigfilelevelstrackscastle11Pdatavrm, 0x0, 0x0, assets/banner/castle11P.vrm
1020, bigfilelevelstrackscave11Pdatavrm, 0x0, 0x0, assets/banner/cave11P.vrm
1020, bigfilelevelstrackscoco11Pdatavrm, 0x0, 0x0, assets/banner/coco11P.vrm
1020, bigfilelevelstracksdesert21Pdatavrm, 0x0, 0x0, assets/banner/desert21P.vrm
1020, bigfilelevelstracksice11Pdatavrm, 0x0, 0x0, assets/banner/ice11P.vrm
1020, bigfilelevelstracksisland11Pdatavrm, 0x0, 0x0, assets/banner/island11P.vrm
1020, bigfilelevelstrackslabs11Pdatavrm, 0x0, 0x0, assets/banner/labs11P.vrm
1020, bigfilelevelstracksproto81Pdatavrm, 0x0, 0x0, assets/banner/proto81P.vrm
1020, bigfilelevelstracksproto91Pdatavrm, 0x0, 0x0, assets/banner/proto91P.vrm
1020, bigfilelevelstrackssecret11Pdatavrm, 0x0, 0x0, assets/banner/secret11P.vrm
1020, bigfilelevelstrackssecret21Pdatavrm, 0x0, 0x0, assets/banner/secret21P.vrm
1020, bigfilelevelstrackssewer11Pdatavrm, 0x0, 0x0, assets/banner/sewer11P.vrm
1020, bigfilelevelstracksspace1Pdatavrm, 0x0, 0x0, assets/banner/space1P.vrm
1020, bigfilelevelstrackstemple11Pdatavrm, 0x0, 0x0, assets/banner/temple11P.vrm
1020, bigfilelevelstrackstemple21Pdatavrm, 0x0, 0x0, assets/banner/temple21P.vrm
1020, bigfilelevelstrackstube11Pdatavrm, 0x0, 0x0, assets/banner/tube11P.vrm
1020, bigfilelevelstracksarena2relicdatavrm, 0x0, 0x0, assets/banner/arena2relic.vrm
1020, bigfilelevelstracksblimp1relicdatavrm, 0x0, 0x0, assets/banner/blimp1relic.vrm
1020, bigfilelevelstrackscastle1relicdatavrm, 0x0, 0x0, assets/banner/castle1relic.vrm
1020, bigfilelevelstrackscave1relicdatavrm, 0x0, 0x0, assets/banner/cave1relic.vrm
1020, bigfilelevelstrackscoco1relicdatavrm, 0x0, 0x0, assets/banner/coco1relic.vrm
1020, bigfilelevelstracksdesert2relicdatavrm, 0x0, 0x0, assets/banner/desert2relic.vrm
1020, bigfilelevelstracksice1relicdatavrm, 0x0, 0x0, assets/banner/ice1relic.vrm
1020, bigfilelevelstracksisland1relicdatavrm, 0x0, 0x0, assets/banner/island1relic.vrm
1020, bigfilelevelstrackslabs1relicdatavrm, 0x0, 0x0, assets/banner/labs1relic.vrm
1020, bigfilelevelstracksproto8relicdatavrm, 0x0, 0x0, assets/banner/proto8relic.vrm
1020, bigfilelevelstracksproto9relicdatavrm, 0x0, 0x0, assets/banner/proto9relic.vrm
1020, bigfilelevelstrackssecret1relicdatavrm, 0x0, 0x0, assets/banner/secret1relic.vrm
1020, bigfilelevelstrackssecret2relicdatavrm, 0x0, 0x0, assets/banner/secret2relic.vrm
1020, bigfilelevelstrackssewer1relicdatavrm, 0x0, 0x0, assets/banner/sewer1relic.vrm
1020, bigfilelevelstracksspacerelicdatavrm, 0x0, 0x0, assets/banner/spacerelic.vrm
1020, bigfilelevelstrackstemple1relicdatavrm, 0x0, 0x0, assets/banner/temple1relic.vrm
1020, bigfilelevelstrackstemple2relicdatavrm, 0x0, 0x0, assets/banner/temple2relic.vrm
1020, bigfilelevelstrackstube1relicdatavrm, 0x0, 0x0, assets/banner/tube1relic.vrm

// Modify Turbo_Increment function to allow for USF stacking
// this rewritten function has inaccurate behavior in the european version (1020), see github issues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,4 @@ and LinkZer. Blue fire color swap by Avery.
or polswid.

This mod automatically enables the cheat code to turn every turbo pad into
a "blue fire" turbo pad, and sets reserves of all blue fire pads to 1 second.

TECHNICAL DATA

* This mod compiles to kernel addresses 0xA000, 0xC400, and 0xE400, using 4992,
4736, and 3456 bytes for each, in order to load the custom graphics. This means
you may not be able to stack this mod with other mods that compile to kernel.
a "blue fire" turbo pad, and sets reserves of all blue fire pads to 1 second.

This file was deleted.

Loading

0 comments on commit 5761d4f

Please sign in to comment.