Skip to content

Latest development build

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 31 Aug 13:30
9773a70
Merge iQue into master (#94)

* initial go at liboot-iqs.a

* A few more liboot-iqs addresses

* A few more more liboot-iqs addresses

* iQue fix for metronome_hook and more iQue addresses

* we hit 100 addresses for iQue baybee

* 123 addresses for iQue

* Almost all the addresses for iQue

* All but like 3 addresses for iQue

* correcting z64_item_highlight_vram

* making changes to try to build iQue

* Makefile changes

* fixing lib file and z64.h

* removing print from make.lua

* changing actor overlay table to be correct

* Changes to play_ovl_tab and make script to make iQue build work

* replacing 0x60 with 0x50 for ique, etc etc

* gameinfo fix

* fixing crash screen for ique :)

* got savestates and pausing working

* changes to make gz boot on ique and fix input display hopefully

* fixing io_init

* adding z64_externs for ique

* changes to allow selection of player

* more changes for player 2/3/4 support on gz

* moar changes

* controller option fix

* fixing z64_play_ovl_tab and ptr and making controller select commit on deactivate not changed

* fixing input display colors

* change to sbrk to account for ique case with osBbSramAddress and fix for reset for ique

* adding z64.h for access to osBbSramAddress in sbrk

* changing > to >= in sbrk

* reverting change of > to >= in sbrk as per Thar0's recommendation

* test to see if we need game arena info and file indices like n64

* reverting change to file indexes back to make ique more like gamecube in that regard

* removing || from file indices #if causing error

* reverting z64_arena_node and z64_arena back to being like gamecube for iqs, trying out being like gamecube for ocarina-related savestate making/loading, and removing N64 z64_arena_node functionality from state.c

* removing || from z64.h

* removing another || from z64.h

* removing || from state.c

* removing another || from state.c

* making loading/saving overlays more like gamecube for ique and seeing if it works

* removing more ||'s....

* Adding __osBbIsBb check to make sbrk work on emulator for ique gz

* reverting change to make loading/saving overlays more like gamecube with the overlay header to make savestates sort of work again

* fixing temp day speed address

* iQue pre-merge updates
  * Unbreak other versions of gz.
  * Merge ldr with gz binary and update patching process to facilitate
    version-specific patches and loader code. Move linker script into gz
    repo.
  * Add support for deflate encoding in savestates.
  * Rename ique version to ique-cn.
  * Move ique debug screen patch to separate file.
  * Revert zu_reset and add support for CIC 6102.
  * Some formatting and other small changes.
  * Remove iQue VC version code from makefile, doesn't work and probably
    has no hope of working.
  * Fix __osBbHackFlags option callback and add version guard.
  * Remove input side channel.

* Fix z64_file for savestates
  * Add padding to make z64_file_t the correct size.
  * Fix backwards compatibility with older savestates.
  * Bump savestates version.

* Fix overlay loading on ique

* Update memory domains for ique

* Fix ucode addresses for ique

* Update memory domains for ique, add safety mechanisms for sp semaphore and bb skc

* Use domain address mask in sp/mi regs safety check

* Remove trailing whitespace

* Add comment about -Wstringop-overflow warning

* Fixing z64_message_icon_state and amount to write for z64_message_state for ique

* Several offset fixes for states for ique and non-ique, fixing quick text for ique

* Reverting back some non-ique offsets and using z64_version instead of is_ique()

* Addressing cadmic's comments on quicktext fix and #ifdef indenting in state.c

* Fixing missed reverting of z64_staff_notes offset saving, fixing indents inside of #ifdef's in state.c

* Verify and fix iQue addresses, add symbol name comments, fix whitespace

* Add workaround for ique bss size bug

---------

Co-authored-by: Noah Philips <nsphilips7@gmail.com>