Commit Graph

856 Commits

Author SHA1 Message Date
mrshigure
efd86abeac
[JP] Battle Code and Battle Areas (#1198) 2024-09-05 23:28:39 +09:00
mrshigure
41685b3723
[JP] Effects, World Actions and some more (#1197) 2024-09-04 15:16:17 +01:00
mrshigure
3526fa4970
[JP] Action Commands, Battle Partners/Items/Moves and some more (#1195) 2024-09-01 21:14:39 +09:00
Ethan Roseman
7f524ee10a
Dep update & fix pip install (#1196) 2024-09-01 20:20:38 +09:00
Ethan Roseman
5f1f696bdc
Use crunch64 for compression (#1189) 2024-06-02 19:48:57 +09:00
z64a
f2ef0713ff
revert texture renaming (#1185)
Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2024-04-26 00:42:34 +01:00
Rainchus
d35bdf466b
Add missing pause_tabs enums, fix BlueNinjaKoopa -> BlackNinjaKoopa (#1184) 2024-04-22 21:09:34 +09:00
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
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
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
Ethan
0d94b5ed7d
fix black issues 2024-02-02 15:11:32 +09: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
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
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
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
Ethan Roseman
ecb65c720a
vram_classes splat update (#1123)
* Change splat subrepo to use main branch

* git subrepo pull --force tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "fbf3fa68a7"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "main"
  commit:   "fbf3fa68a7"
git-subrepo:
  version:  "0.4.5"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "aa416e4"

* building now

* vram classes in the us yaml

* more progrezz

* more

* prepare to deal with the shiftable build

* revert a couple things

* bring the yaml more in line with the old one while debugging

* got statis

* vacuum

* git subrepo pull --force tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "d6490bb877"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "main"
  commit:   "d6490bb877"
git-subrepo:
  version:  "0.4.5"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "aa416e4"

* clean
2023-11-09 21:48:23 -05:00
HailSanta
54e7bb973c
all sounds named (#1120)
* 128 left

* all sounds done

* most battle flags

* battle message states

* status bar and shop cleanup

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2023-10-22 08:39:20 -04:00
HailSanta
ce4ab34def
battle/actor flags and more (#1119)
* battle documentation

* mostly startup stuff

* battle file names

* minor reorg

* actor rendering

* few extras

* file renames and camera unks

* py fix

* fio cleanup

* sounds progress

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2023-10-14 15:43:12 -04:00
HailSanta
3293216356
last actors (#1118)
* omo2

* minor fixes

* actor types extraction

* format py

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2023-10-02 09:12:53 +09:00
HailSanta
46b2f11a59
more boss actors (#1117)
* common actors

* tubba and huff

* chapter 2

* fix ruff / tuff puff names

* bloopers

* slight

* everything except omo2

* format py

* fix pal

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2023-09-23 01:57:29 -04:00
HailSanta
ef440ff994
most actors (#1114)
* common actors

* tubba and huff

* chapter 2

* fix ruff / tuff puff names

* bloopers

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2023-09-01 03:51:10 +09:00
HailSanta
9774b26d93
actors and sounds (#1112)
* all sorts of things

* various

* more

* various

* sound space names

* more

* alternating sounds done

* check

* partial jr troopa cleanup

* jr troopas

* fixes

* extract actor levels

* actor levels done

* chan

* the master

* standard names

* named actor vars

* ACTION_RESULT enum

* fix evt names

* fix struct names

* ember

* lava bubble

* goomba bros + flipped enum

* fix other enum

* goomba king battle

* tutorial enemies

* separate lee

* half lee

* lee done

* lee + duplighost

* more actors

* stray comment

* shy guy dedupe

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2023-08-22 03:07:08 +09:00
Alex Bates
92180a52ee
Build shift US on Jenkins (#1113)
* build shift us on jenkins

* fix

* fix for real this time

* if sbn dir exists, dont exit
2023-08-21 13:09:17 +09:00
AltoXorg
b171712e0e
Match libultra iQue ver (#1111)
* match libultra ique pt 1

* add sgidefs.h to include/gcc

* recvmesg match + _getcount

* add elfpatch.py for those compiled with -mips3

* pt 2

* os/setthreadpri(.data) -> os/thread

* os thread matches

* os timer matches

* pt 4 (erm... 3?)

* vitbl

* os pi matches

* pt. uhmmmm, i've lost track...

* os pfs matches

* replace elfpatch.py

* pt. just forget it...

* outsource from ultralib ique branch

* .

* . 2

* final blow

* add egcs compiler to Jenkinsfile

* fix errors from CI

* minor changes as requested
2023-08-17 02:29:21 +09:00
HailSanta
308af519a5
sounds halfway named (#1110)
* first few

* more

* more sounds

* for now

* visually separate remaining sounds

* checkpoint

* star power refactor

* standard name

* fix

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2023-08-13 06:08:33 +09:00
HailSanta
f445cbaf18
item data generation (#1105)
* item entities

* pt II

* item hud scripts

* world map

* remove duplicate

* py formatting

* generate hud script ID mapping

* rename jump item -> boots

* item table

* unify pt1

* unify pt2

* item enum and ranges

* fix

* disambiguate boots/hammer names

* move table as well

* remove old move table

* comments concerns etc

* py fmt

* recipe generation

* break it!

* phix it

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2023-08-03 12:44:30 +09:00
Ethan Roseman
a3f35fe27a
Make audio respect the asset stack (#1107) 2023-08-01 00:18:27 +09:00