Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.01 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.01 KB

Conker's Bad Fur Day (code) decompilation

TL;DR - Read the wiki for the most up-to-date information.

There are three code sections within the ROM:

  • initialisation code + libultra; this is referred to as init and is translated to address 0x10000000
  • core game code; this is referred to as game and is translated to address 0x15000000
  • debugger code; referred to as debugger and translated to address 0x16000000

In the us, eu and debug ROMs this game code is compressed; in the earlier ects ROM it is not.

These sections are pulled out of the ROM and combined in order to have a standard way of compiling the code across the different versions.

Building

The following assumes you are within the conker/ directory of the repo,

Extract the game.VERSION.bin

make extract

Compile

make --jobs

Replace sections of original ROM split with newly compiled

make replace

Rebuild ROM

make -C ..