Commit Graph

2648 Commits

Author SHA1 Message Date
HailSanta
e342a33a20
star rod dx upstreaming (#1177)
* so far

* leftover

* first batch

* part zwei

* item name changes

* misspelling

* comments

* THE

* fix pal

* muurgle

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2024-03-06 02:32:00 -05:00
AltoXorg
8d5b066b7d
SHIFT_BSS be gone (#1173)
* merge asm in src all versions

* main: refactor and eliminate SHIFT_BSS

* engine1 static BSS

* engine2

* folder move

* fix shift build

* cleanup msg & msg_draw

* wtf?

* un-static-ized

* .

* remove unnecess. rodata pad

* populate dangling common syms
2024-03-05 19:54:53 +09:00
Rainchus
e303e2a04b
Suggest possible bgm name if it is not found (#1178)
* suggest possible bgm name if it is not found

* remove pointless ()

* run black

* ...run updated black
2024-03-05 16:01:17 +09:00
Alex Bates
e6da18503f
document D_802946E0 (#1176)
* document D_802946E0

* silly me

* make not static

* whoops again
2024-02-28 04:23:28 +09:00
Ethan
c3cf1565fa
Update splat to 0.22.0 2024-02-20 16:37:16 +09:00
Josh Diamond
562ccb68ad
rename fuzzy leech anim (#1174)
* fix pm_sprites caching

Co-authored-by: Alex Bates <alex@bates64.com>

* name fuzzy leech anim

---------

Co-authored-by: Alex Bates <alex@bates64.com>
2024-02-18 07:55:01 +00:00
Alex Bates
e1176acfed
Mitigate #1170 (#1172)
* add old star rod dirs to gitignore

* remove something from mapfs to introduce bug

* fix build

See https://github.com/pmret/papermario/issues/1170

* Revert "remove something from mapfs to introduce bug"

This reverts commit 4a3927866e.
2024-02-17 06:38:54 +09:00
AltoXorg
6a2ad7e1b9
iQue appendGfx_message (#1167)
* iQue appendGfx_message

* i forgot constant name

* update progress.py

this should 100% by now :)
2024-02-06 21:32:33 +09:00
croghostrider
1ad6a2145e
PAL filemenu_get_menu_message (#1166) 2024-02-05 13:35:58 +09:00
croghostrider
8ea884c0a9
PAL dma_load_msg (#1165) 2024-02-05 02:05:31 +09:00
Alex Bates
9f0452dd0a
Fix Icons.xml not respecting asset stack (#1160)
* fix Icons.xml not respecting asset stack

* resolve xml path in icons.py rather than configure

* I think fix

---------

Co-authored-by: Ethan <ethteck@gmail.com>
2024-02-04 01:35:31 +09:00
AltoXorg
540757c7e2
ique msg (#1164) 2024-02-03 23:27:25 +09:00
Alex Bates
fd9593a7b0
fix EVT_SETUP_CAMERA_DEFAULT (#1162) 2024-02-02 23:53:41 +09:00
Ethan
0d94b5ed7d
fix black issues 2024-02-02 15:11:32 +09:00
Alex Bates
6710c93baf
support EndeavourOS
EndeavourOS uses quotes in its /etc/release for some reason
2024-01-30 22:28:27 +00:00
Alex Bates
66c781c68f fix --modern-gcc and allow overriding ld with PAPERMARIO_LD environment variable 2024-01-23 15:54:31 +00:00
Alex Bates
e6bf24bf95
Support Nix package manager (#1158)
* support nix package manager

* add glibc

* use /usr/bin/env python3 shebang
2024-01-23 21:08:13 +09:00
Alex Bates
1d0c818088
Use python iconv if system iconv is broken (#1156)
* use python iconv if system iconv is broken

* black
2024-01-22 05:37:54 +09:00
Alex Bates
260b96faf9
fix doxygen not parsing API_CALLABLE (#1157) 2024-01-22 05:37:36 +09:00
Alex Bates
9574baebaf
Make EVT macros easier to read and write (#1154)
* fix rename.py

* update doxygen EVT_CALL->Call

* support passing files to rename.py

* remove EVT macro prefix and make them PascalCase

* rename PlayEffect function to PlayEffect_impl so it doesn't conflict with macro

* dead_PlayEffect_impl
2024-01-21 13:04:47 +00:00
HailSanta
f1edb83213
hasBack for player sprites (#1155)
* hasBack for player sprites

* these too

* bump splat requirement

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2024-01-21 16:44:49 +09:00
Ethan Roseman
f89df67fe4
Autos gawn (#1153)
* working on it

* ique brok

* Autos gawn (#1152)

* ique builds

* Yeet most `auto, .data` from ique

* us dun

---------

Co-authored-by: angie <angheloalf95@gmail.com>

* update shplort

* fix configure

* requests

---------

Co-authored-by: angie <angheloalf95@gmail.com>
2024-01-21 03:28:11 +09:00
AltoXorg
bfe9a42b06
some JP decomp (#1149)
* main segment cleanup

* engine1

* engine4

* evt

* entity

* engine2 msg split

* engine2 draft

* identify all gu functions

* font_width + charset

* update msg ids

* os stuff

* msg stuffs

* msg_copy_to_print_buffer

* popup_menu_draw_menu_contents

* appendGfx_message

* cleanup

* building fixed

* Change exceptasm symbols to not be global

---------

Co-authored-by: Ethan <ethteck@gmail.com>
2024-01-16 14:13:54 +09:00
HailSanta
1589a30e26
API_CALLABLE + misc minor cleanup (#1150)
* leftover work

* remaining API_CALLABLE

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2024-01-16 13:56:57 +09:00
AltoXorg
b2cf91c8ca
yaml-ify map metadata & iQue pm_map (#1145)
* map (draft)

* put to mapfs.yaml and other ver.

* ique map finished

* alisin ang type
2024-01-11 20:41:11 +09:00
Alex Bates
82b09bd69e
support modded NPC sprites (#1146)
* support modded NPC sprites

- improve compatibility with Star Rod SpriteSheet.xml files
  - SR's intention is to move to the decomp xml but the current release of SR emitted incompatible xml
- use npc.xml instead of npc_sprite_names.yaml to generate linker entries. this allows mods to add new sprites

* black

why does it want two spaces before line comments!?

* Doxygen (#1142)

* use doxygen
* add documenting guide based on https://github.com/zeldaret/oot/blob/main/docs/Documenting.md
* exclude stdlib readme from doxygen
* refuse to configure matching iQue on macOS (EGCS compiler is not built for macOS, so iQue won't build. We still enable iQue builds on macOS by using gcc-papermario via --non-matching.)
* use proper doxygen bug comment style
* document common EVT API funcs nicely
* add doxygen ci
* add \vars command

* s/master/main

* use Doxygen 1.10.0

* fix doxygen ci

* fix doxygen ci

* fix doxygen (final)

* fix doxygen (final real)

* Fix Doxygen CI (#1147)

* remove old doxygen ci line

* fix warns

Thanks @Ponmander for reporting this
2024-01-11 19:33:39 +09:00
Alex Bates
fdb4428cc6
Fix Doxygen CI (#1147) 2024-01-10 00:29:18 +00:00
Alex Bates
380eabdba3 fix doxygen (final real) 2024-01-10 00:12:25 +00:00
Alex Bates
44e2da93e0 fix doxygen (final) 2024-01-10 00:11:24 +00:00
Alex Bates
2e62ed9f7d fix doxygen ci 2024-01-10 00:08:53 +00:00
Alex Bates
8f0522ca0a fix doxygen ci 2024-01-10 00:07:18 +00:00
Alex Bates
2edffb080c use Doxygen 1.10.0 2024-01-10 00:02:55 +00:00
Alex Bates
6fc2e1a74f
s/master/main 2024-01-09 23:57:35 +00:00
Alex Bates
37f59877e5
Doxygen (#1142)
* use doxygen
* add documenting guide based on https://github.com/zeldaret/oot/blob/main/docs/Documenting.md
* exclude stdlib readme from doxygen
* refuse to configure matching iQue on macOS (EGCS compiler is not built for macOS, so iQue won't build. We still enable iQue builds on macOS by using gcc-papermario via --non-matching.)
* use proper doxygen bug comment style
* document common EVT API funcs nicely
* add doxygen ci
* add \vars command
2024-01-09 23:56:08 +00:00
Alex Bates
029de584b7
Fix INCLUDE_IMG and INCLUDE_PAL on modern GCC (#1143)
* fix INCLUDE_IMG and INCLUDE_PAL on modern GCC

* use .pushsection/.popsection

* use pushsection/popsection on modern compiler only

* add gcc-mips-linux-gnu to debian deps

* remove rogue )

* move -DMODERN_COMPILER to cflags_modern
2024-01-09 14:20:24 +09:00
Alex Bates
070a5488d0
Fix custom texture archive palettes (#1144)
* txa: fix custom palettes

* use self.warn
2024-01-09 14:17:33 +09:00
Alex Bates
6b5883f1f5
Assetify crash font (#1140)
* assetify crash font

* bump pigment64 version

* bump pigment ver

* maybe fix

* 2

* move to new img asset inclusion

---------

Co-authored-by: Ethan <ethteck@gmail.com>
2024-01-09 01:42:34 +09:00
Ethan Roseman
6da232df36
Image asset rework (#1141)
* poc

* A bit

* 19 files to go

* ique fixed this took me hours omg

* 4 more

* dead vines

* fixules

* drop .bin from needed macro
2024-01-08 01:36:59 +09:00
Ethan
f152efa31c
fix / improve find_similar_areas.py 2024-01-07 12:30:26 +09:00
Alex Bates
6741e3f848
Modern GCC improvements (#1139)
* enable gcc_modern color

* add capability to compile segments with gcc_modern

* macos: install modern gcc
2024-01-07 10:40:16 +09:00
Ethan Roseman
262428c68a
Splat update (#1136)
* Remove splat from repo

* refactor scraps

* requirements update
2024-01-03 02:16:18 +09:00
AltoXorg
9b96f91dc6
JP pm_msg (#1135)
* implement jp msg

* replace

* .
2023-12-25 22:15:30 +09:00
Ethan
c55c2c0017
Fix the dang warning stuff...finally? 2023-12-25 22:14:39 +09:00
Ethan Roseman
b716abeadb
Misc tidying (#1134)
Cleaned up Yay0compress cod
Identified / classified remaining bins in the US yaml
Tiny comment removal in a source file
2023-12-11 18:44:57 +09:00
AltoXorg
3637dae749
SJIS escape convert for battle/area/tik2/area.c (#1133)
* SHIFT-JIS escape convert

* scrap that ninja rule

* yet another attempt to fix the warning madness once and for all

* oops

---------

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2023-12-10 01:50:54 +09:00
Ethan Roseman
746a42af64
Debugging PR warning silliness (#1132)
* Debugging PR warning silliness

* by gorsh I think I've nabbed it
2023-12-04 18:22:06 +09:00
AltoXorg
a67a8408fc
Match iQue msg_draw_char (#1131)
* match msg_draw_char

* name ResetTilesImg

* refactor obfuscator functions
2023-12-04 14:24:27 +09:00
HailSanta
c2ade571fe
model rendering doc (#1128)
* all over the place

* model roundup

* missing reset_tiles for jp/ique splat

* fix pal

* fix ique

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2023-11-24 13:06:58 +09:00
Rainchus
2b88651f79
add enums and change script->functionTemp[0] to script->AI_TEMP_STATE (#1127) 2023-11-24 13:04:42 +09:00
Alex Bates
59ab2bb752
fix debug builds (#1129) 2023-11-24 13:03:59 +09:00