Decompilation of Paper Mario - Mirror of https://github.com/pmret/papermario
Go to file
Alex Bates 4680a74e0b
Introduce clang-format (#1004)
* add basic .clang-format

* configure vscode clang-format modified lines on save

* update clang-format to only run on C files

* add ci action to print clang-format diff

* use GITHUB_BASE_REF

* --binary

* clang-format-14

* move workflow to pr.yaml

* oops

* checkout fetch-depth 0

* use cpp-linter-action

* test

* fail if step fails

* log depth

* fetch main

* set fetch-depth

* limit diff and run clang-format

* use versioned clang-format

* untiy actual code

* fix argument order

* colorize output

* Clean up #989

* move cpp lint job to lint.yaml

* disable vscode autoformat

* add git hook to make sure assets/$version has been gitignored (#1006)

* add git hook to make sure assets/ hasn't been gitignored

* echo to stderr

* quiet git check-ignore

* add .v64 and .n64 to gitignore

* Changed some variable names in state_title_screen (#1003)

* Changed some variable names in state_title_screen.c

* resolving pull request items

* changed TitleData to TitleScreenGfxData across sys

* replace gbi names with understandable ones

* accidentally switched logo and pressStart

* changed GfxData to ImgList

* Renaming and b32

* Doing this but more

* pause menu cleanup (#1008)

* minor pause cleanup

* macro

* comments

* second macro

* delete macros

* hm

* pause message names

* unused tutorial messages

* oops

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>

* fold doc 1 (#1009)

* minor fold cleanup

* fold doc I

* enough

* rename

* last

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>

* appendGfx_shading_palette (#1010)

* cleanup & warnings for modern gcc

* clean

* stuff

* diff.py update

* Fix offset problem in struct

* Fix texture issue in chapter_change

* appendGfx_shading_palette

* Convert tabs to spaces (#1012)

* Add .git-blame-ignore-revs (#1014)

# 1213a4adf0aa515d0c7c7e37db396363914fda2egit-blame

* func_E02000AC (#1013)

* draw_image_with_clipping (#1016)

* draw_image_with_clipping

Co-authored-by: Unnunu <serge_zorkin@mail.ru>

* tiny fix

---------

Co-authored-by: Unnunu <serge_zorkin@mail.ru>

* npc_do_player_collision (#1017)

* appendGfx_animator_node  (#1018)

* appendGfx_animator_node

Co-authored-by: Mr-Wiseguy <68165316+Mr-Wiseguy@users.noreply.github.com>

* find_similar_areas improvements

* oopz

---------

Co-authored-by: Mr-Wiseguy <68165316+Mr-Wiseguy@users.noreply.github.com>

* lol 100% (#1019)

Co-authored-by: Rainchus <rainmachus@gmail.com>
Co-authored-by: Unnunu <serge_zorkin@mail.ru>

* image fx (#1015)

* more fold

* fold render modes

* fold rename 1

* fold rename 2

* fold rename 3

* imgfx struct reorg

* post merge

* the rest

* extras

* forgot these

* done

* ImgFx

* ImgFX

* check

* misc cam stuff

* ws

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>

* Pal pause (#1011)

* PAL pause segment

* PAL pause_gfx_en segment

* Apply name changes

* Merge gPauseBadgesElements

* Rename ITEM_TYPE_FLAG_ENTITY_COLLECTIBLE

* Split PAL and monolingual arrays

* Nix support (#1020)

Very hacky
Will be maintained by @NotNite

* use ARRAY_COUNT(ExtraDoubleRecipes) (#1023)

* Replace python-githooks with manual command (#1027)

* ui_images (#1021)

* ui_images

* Move French assets to their own folder

* imgfx data (#1029)

* various cleanup (#1030)

* more fold

* fold render modes

* fold rename 1

* fold rename 2

* fold rename 3

* imgfx struct reorg

* post merge

* the rest

* extras

* forgot these

* done

* ImgFx

* ImgFX

* check

* misc cam stuff

* ws

* misc

* btl msg

* 3 combine modes

* 3 more

* many more

* screen overlays

* stencil types

* all screen transitions

* jp build fix

* another jp fix

* iq fix

* mystery battle enum added oOoOoOoOooo

* DMG_SRC

* starting battle cam presets

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>

* btl cam modes (#1035)

* some btl cam

* couple things

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>

* Add version option to diff.py (#1037)

* Clean trailing whitespace (#1038)

* Add missing newlines

* Remove trailing whitepace

* split em (#1040)

Co-authored-by: HailSanta <Hail2Santa@gmail.com>

* Update .git-blame-ignore-revs (#1039)

* standardized battle script names (#1043)

* damage intensity

* standardized battle script names

* few more

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>

* Dump PAL filemenu section (#1036)

* Dump PAL filemenu section

Co-authored-by: Unnunu <serge_zorkin@mail.ru>

* Clean up numbers

* Use more constants

* Find more constants

* Clean up a bit

* eth cleanup

* Clean up

* Fix brace style

* rename new file & funcs

---------

Co-authored-by: Unnunu <serge_zorkin@mail.ru>
Co-authored-by: Ethan Roseman <ethteck@gmail.com>

* revert test change

* update clang-format config

* indent case labels

---------

Co-authored-by: Marijn van der Werf <marijn.vanderwerf@gmail.com>
Co-authored-by: CreateSource <72283721+abnormalhare@users.noreply.github.com>
Co-authored-by: HailSanta <53960937+HailSanta@users.noreply.github.com>
Co-authored-by: HailSanta <Hail2Santa@gmail.com>
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
Co-authored-by: Unnunu <serge_zorkin@mail.ru>
Co-authored-by: Mr-Wiseguy <68165316+Mr-Wiseguy@users.noreply.github.com>
Co-authored-by: Rainchus <rainmachus@gmail.com>
Co-authored-by: Julian <hi@notnite.com>
Co-authored-by: Devon R <Gorialis@users.noreply.github.com>
2023-05-02 05:07:31 +09:00
.github Introduce clang-format (#1004) 2023-05-02 05:07:31 +09:00
.vscode Introduce clang-format (#1004) 2023-05-02 05:07:31 +09:00
docs Splat refactor (#257) 2021-04-13 16:47:52 +09:00
include Dump PAL filemenu section (#1036) 2023-05-01 16:40:57 +09:00
src Albino Dino sprite/animation names (#1042) 2023-05-02 04:55:25 +09:00
tools Albino Dino sprite/animation names (#1042) 2023-05-02 04:55:25 +09:00
ver Albino Dino sprite/animation names (#1042) 2023-05-02 04:55:25 +09:00
.clang-format Introduce clang-format (#1004) 2023-05-02 05:07:31 +09:00
.clang-tidy Update .clang-tidy (#533) 2021-11-16 17:03:38 +09:00
.editorconfig use tabs in msg files 2021-02-10 14:26:58 +00:00
.git-blame-ignore-revs Update .git-blame-ignore-revs (#1039) 2023-04-30 03:56:50 +09:00
.gitattributes suppress asm/nonmatchings/ in github diffs 2021-01-15 21:18:37 +00:00
.gitignore add git hook to make sure assets/$version has been gitignored (#1006) 2023-03-28 13:32:20 +09:00
configure Fix configure on macOS (#261) 2021-04-17 20:53:34 +09:00
CONTRIBUTING.md Master to main (#970) 2023-03-09 01:55:54 +09:00
coverage.py Hotfix coverage script 2023-03-20 10:36:13 +09:00
diff_evt.py Disassemble Star Power scripts (#584) 2021-12-29 02:11:07 +09:00
diff_settings.py Add version option to diff.py (#1037) 2023-04-29 21:48:27 +09:00
diff.py appendGfx_shading_palette (#1010) 2023-04-08 23:04:45 +09:00
docker-compose.yml gud changes 2020-04-24 00:26:17 -04:00
Dockerfile Skip 'sudo' in install.sh if you are already root user (#343) 2021-07-27 12:17:51 +01:00
Doxyfile Fix 'badly punctuated parameter list in define' issues (#777) 2022-09-16 08:27:35 -10:00
first_diff.py Add versioning (#187) 2021-02-22 18:21:23 +09:00
INSTALL.md Clean trailing whitespace (#1038) 2023-04-29 15:28:06 +02:00
install.sh Replace python-githooks with manual command (#1027) 2023-04-24 15:02:57 +09:00
Jenkinsfile Build world/area_mac/machi for PAL (#967) 2023-03-12 19:08:06 -04:00
make_expected.sh title_screen_draw_copyright (iQue) (#1044) 2023-05-02 02:51:52 +09:00
progress.py render_hud_element (#972) 2023-03-11 11:15:59 +09:00
README.md add PAL and iQue hashes to readme and change list into table (#995) 2023-03-24 03:08:39 +09:00
requirements_extra.txt much faster (#781) 2022-09-19 06:07:31 -10:00
requirements.txt add git hook to make sure assets/$version has been gitignored (#1006) 2023-03-28 13:32:20 +09:00
shell.nix Nix support (#1020) 2023-04-22 14:47:03 +01:00

Paper Mario

Build Status Discord Channel

This is a work-in-progress decompilation of Paper Mario.

It builds the following ROMs:

Region SHA1 hash Progress
US 3837f44cda784b466c9a2d99df70d77c322b97a0 Progress (US)
JP b9cca3ff260b9ff427d981626b82f96de73586d3 Progress (JP)
PAL 2111d39265a317414d359e35a7d971c4dfa5f9e1 Progress (PAL)
iQue 5c724685085eba796537573dd6f84aaddedc8582 Progress (iQue)

To set up the repository, see INSTALL.md.

Please see CONTRIBUTING.md for information on how to contribute to the project. Any and all help is welcome!

Also see our website at papermar.io.