View Single Post
  #1  
Old 25th March 2019, 03:27 PM
BanjoPL's Avatar
BanjoPL BanjoPL is offline
Missing Hero
 
Join Date: Apr 2006
Location: Jolly's
Total Awards: 2
You're Appreciated! INFECTED - B1K1 
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.

Last edited by BanjoPL; 25th March 2019 at 03:29 PM.
Reply With Quote