The Rare Witch Project Forums

The Rare Witch Project Forums (https://www.therwp.com/forums/index.php)
-   The Banjo Kazooie Series (https://www.therwp.com/forums/forumdisplay.php?f=5)
-   -   Banjo-Tooie EEPROM stuff (https://www.therwp.com/forums/showthread.php?t=55683)

BanjoPL 25th March 2019 02:27 PM

Banjo-Tooie EEPROM stuff
 
source: https://github.com/cxd4/tooie-save-e.../master/data.c

JAMJARS SILOS:

static int silo_shortcut_tunnels(int optc, char* optv[])
{
unsigned long flags;

if (optc < 2)
return 1;
game[0x0E7] &= ~0xE0;
game[0x0E8] &= ~0x1F;
flags = strtoul(optv[1], NULL, 2);
game[0x0E7] |= !!(flags & 1<<00) << (0 + 5);
game[0x0E7] |= !!(flags & 1<<01) << (1 + 5);
game[0x0E7] |= !!(flags & 1<<02) << (2 + 5);
game[0x0E8] |= !!(flags & 1<<03) << (3 - 3);
game[0x0E8] |= !!(flags & 1<<04) << (4 - 3);
game[0x0E8] |= !!(flags & 1<<05) << (5 - 3);
game[0x0E8] |= !!(flags & 1<<06) << (6 - 3);
game[0x0E8] |= !!(flags & 1<<07) << (7 - 3);
return 0;
}

There are flags for EIGHT silos in Banjo-Tooie. QUAGMIRE is 7th silo.


CHEATO CODES:

static int set_cheat_codes(int optc, char* optv[])
{
unsigned long flags;

if (optc < 2)
return 1;
game[0x128] &= ~0x0F;
game[0x129] &= ~0x3F;
game[0x08B] &= ~(1 << 04); /* all world doors opened up cheat */
game[0x136] &= ~(1 << 03); /* homing eggs cheat */
flags = strtoul(optv[1], NULL, 2);
game[0x128] |= !!(flags & 1<< 0) << (4 + 0);
game[0x128] |= !!(flags & 1<< 1) << (4 + 1);
game[0x128] |= !!(flags & 1<< 2) << (4 + 2);
game[0x128] |= !!(flags & 1<< 3) << (4 + 3);
game[0x129] |= !!(flags & 1<< 4) << (0 + 0);
game[0x129] |= !!(flags & 1<< 5) << (0 + 1);
game[0x129] |= !!(flags & 1<< 6) << (0 + 2);
game[0x129] |= !!(flags & 1<< 7) << (0 + 3);
game[0x129] |= !!(flags & 1<< 8) << (0 + 4);
game[0x129] |= !!(flags & 1<< 9) << (0 + 5);
game[0x08B] |= !!(flags & 1<<10) << 4;
game[0x136] |= !!(flags & 1<<11) << 3;
return 0;
}

There are flags for 12 Cheato codes in Banjo-Tooie. We have found all of them.


All times are GMT. The time now is 07:35 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.