Ethan Roseman
55a849a50a
De-duplicate more UnkNpcAIMainFunc occurrences ( #659 )
2022-03-10 19:11:34 +09:00
Ethan Roseman
9cd911765d
File menu & more ( #658 )
2022-03-10 09:55:38 +00:00
Ethan Roseman
d02e72e78f
Item funcs & ctx fixes ( #649 )
...
* stuffs
* func_80136A08
* C50A0
* WIP
* clean
* fix context issues
* clean
2022-02-18 02:11:27 +09:00
Ethan Roseman
3a578399fb
calc_item_damage_enemy and some others ( #641 )
...
* SFX funcs, configure fix
* the actual rename (oops)
* 3 sprite funcs
* 2 funcz
* calc_item_damage_enemy and cleanup, others
* cleanup
* Warnings
* clean fx_api
* match npc_raycast_general and name npc_collision.c
* PR comment
2022-02-09 03:33:05 +09:00
JoshDuMan
348d12c4e3
Match some more Libultra ( #639 )
2022-02-08 14:05:20 +00:00
JoshDuMan
e1766601f8
Match 50 functions in Libultra ( #636 )
...
* Fix script disasm
* Stuff
* Work on libultra
* More Libultra Work
* My Libultra work for now
* Fix all OS warnings
* fix gitignore
2022-01-31 20:40:55 +09:00
Ethan Roseman
96e85f4da1
SFX funcs, configure fix ( #635 )
...
* SFX funcs, configure fix
* the actual rename (oops)
2022-01-31 19:10:02 +09:00
Ethan Roseman
d2da25dc10
GCC 2.7.2 support ( #633 )
...
* name big_smoke_puff
* 0-5
* 6 -> land
* more effect stuff
* flower effects
* name fix
* cloud_puff
* flower splash
* cloud_trail
* 2 more
* more
* a bunch more
* -2F
* more
* the rest
* cleanup and the rest
* attack_result_text
* PR stuffs
* numbaz
* Attempt to get 2.7.2 support working
* Update Jenkinsfile
* try
* fix
* fix issues
* remove KMC_ASM remnants
* NON_EQUIVALENT for the effect gfx func
* We don't need wine
2022-01-29 10:01:26 +09:00
Ethan Roseman
9fa9639575
The Great Effect Naming ( #632 )
...
* name big_smoke_puff
* 0-5
* 6 -> land
* more effect stuff
* flower effects
* name fix
* cloud_puff
* flower splash
* cloud_trail
* 2 more
* more
* a bunch more
* -2F
* more
* the rest
* cleanup and the rest
* PR stuffs
2022-01-25 01:58:33 +09:00
JoshDuMan
0f67c8c425
Disassemble Various Battle Scripts ( #626 )
...
* Disassemble DGB
* Disasm omo
* Disassemble KGR
* Disassemble Battle Goompa
* Disasm Goombario
* Disasm Jan2
* Disasm JAN Battle Map
* Delete data files
* Disasm Spin Smash
* Partners Disasm
* Disasm KZN Battle Map
* Delete func
* jungle_guy
* Spear Guy
2022-01-19 20:21:19 +09:00
JoshDuMan
44dd710d54
Disassemble 3 Battle Maps ( #622 )
...
* Disassemble ISK Part 2 Battle Map
* Disassemble MIM BTL Map and fix script maps
* Delete mim
* Disasm Script
* Disassemble ARN Battle Map
* Remove files
* Remove struct
* Handle comments and merge conflicts
2022-01-17 02:22:23 +09:00
HailSanta
4e33a016eb
struct renaming and trigger/entity cleanup ( #623 )
...
* rename static structs to blueprint
* evt structs renamed
* renamed HudElementAnim to HudScript, worked on triggers
* fix Trigger/TriggerBP fields and entity cleanup
* entity data cleanup 1
* block
* blue warp pipe
Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2022-01-16 22:28:09 +09:00
JoshDuMan
36e5315fdc
Disassemble Various Data Files ( #616 )
...
* Disassemble IWA Battle Map
* Disassemble SBK Battle Map
* Disassemble Quake Hammer
* Disassemble jump.c
* Disassemble Hammer Action Command
* Some Labelling
* Fix symbol_addrs
* Disassemble ISK Part 1 Battle Map
* Restore symbol_addrs
2022-01-13 15:26:42 +09:00
Zach Banks
fdf0ed245b
Improve find_duplicates.py
performance, ~30x ( #618 )
...
- Use length heuristic to avoid computing true Lev ratio
- Prebuild `sym_bytes` map for `sym_name` -> `query_bytes`
2022-01-13 15:25:39 +09:00
JoshDuMan
79bcd008f9
Battle Map and Move Disassembly ( #614 )
2022-01-11 02:06:43 -05:00
Ethan Roseman
e60e5fccd1
BSS round 2, hud_element.c funcs ( #613 )
...
* an end func
* 2nd segment bss file added
* hud_element work
* some renaming, set_hud_element_scale
* 2 hud_element funcz
* remove more unneeded undefined_syms
* bss 3, PR comments
2022-01-11 03:25:06 +09:00
alex
715e469ab9
update msg building for precomp
2022-01-08 15:45:42 +00:00
JoshDuMan
5d5106b39c
Work on Pointers ( #610 )
2022-01-08 14:47:52 +09:00
JoshDuMan
d684991270
Disassemble TRD Part 1 Battle Map ( #607 )
2022-01-08 14:43:11 +09:00
JoshDuMan
03c60ee7c5
Improve disasm_script.py and do some sample scripts ( #606 )
2022-01-06 11:32:57 -05:00
JoshDuMan
4657f3621b
Disassemble mac, hos, and nok Battle Maps ( #602 )
...
* voodoo magic
* Cleanup + match func_802180D0_464560
* work
* Finish mac battle map
* Add to gBattleAreas
* splat
* Disassembled hos and nok battle maps
* Match Kent C Function
* fix build
* Fix
* Work on disasm_script
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2022-01-05 20:01:44 +09:00
JoshDuMan
55228bd3a7
Fix a few warnings ( #601 )
...
* .
* Externs
* Fix a few warnings
* __osGetCause
* Comment
* Ethan
2022-01-04 02:36:01 +09:00
JoshDuMan
f44eb0bb88
Disassemble KMR 3 Battle ( #600 )
...
* Work.
* D_80000000
* The rest of KMR_03
* Comments
2022-01-03 18:54:01 +09:00
Alexander Faßbender
76c7e51f4a
Update and move tools ( #596 )
...
* update scripts and move outdated ones to /old/
* updates
* resolve issues
2022-01-02 13:10:49 +01:00
JoshDuMan
5962ce37fd
Disassemble KMR 2 Battle ( #597 )
2022-01-01 08:08:04 -05:00
alex
3c2bd694e5
update star_rod_idx_to_c.py for battle formations
2021-12-30 14:22:44 +00:00
Ethan Roseman
5cb9183779
Effects, includes ( #589 )
...
* effect_13
* effect_14
* most of effect_15
* clean, standardize effects
* fx_16 wip
* UnkNpcAIFunc35
* includes
* UnkPosFunc2
* UnkNpcAIFunc36
* PR comments
2021-12-30 14:14:55 +09:00
Alex Bates
d22bd18f98
Disassemble Star Power scripts ( #584 )
...
* fix diff_evt.py
* document UW/UF based on @SeekyCt's advice
* fix star_rod_idx_to_c.py
* migrate battle/star/focus data
* use N() where possible
* rm data.s
* update symbol_addrs
* refresh
* lullaby
* star storm
* chill out
* fix float problems (sad)
* smooch
* time out
* up and away
* star beam
* peach beam
* peach focus
* peach dash
* rm old data
* Assorted Decomp Across The Galaxy (#574 )
* popup_menu_update & other
* a bunch of 190B20
* starting load_player_actor
* load_player_actor
* blorp
* load_partner_actor
* fx_11_main
* fx_11 done
* cleanup
* fx_12
* 3 encounter_api funcs
* encounter_api done
* some 20ec0 funcs
* clean
* PR comments, warnings
* name btl_actorHomePositions
* PR comments
* merge
* Introduce SPRITE_PIXEL_SCALE (#580 )
* fix func_80273444 warns
* make end of data explicit in splat.yaml
* lol
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
Co-authored-by: Alexander Faßbender <31699028+Brotenko@users.noreply.github.com>
2021-12-29 02:11:07 +09:00
Ethan Roseman
15b6cb398c
Assorted Decomp Across The Galaxy ( #574 )
...
* popup_menu_update & other
* a bunch of 190B20
* starting load_player_actor
* load_player_actor
* blorp
* load_partner_actor
* fx_11_main
* fx_11 done
* cleanup
* fx_12
* 3 encounter_api funcs
* encounter_api done
* some 20ec0 funcs
* clean
* PR comments, warnings
* name btl_actorHomePositions
* PR comments
2021-12-28 20:43:24 +09:00
Alexander Faßbender
f82f699188
DSL Script conversion ( #562 )
...
* start converting scritps to new syntax
* convert old DSL scripts to new format
* update disasm_script and disasm more DSL scripts
* .
* .
* resolve issues
* add EVT_PTR() to GotoMap calls
2021-12-24 14:29:05 +01:00
Alexander Faßbender
6667a4288f
update disasm_script to use current ( #561 )
2021-12-23 13:16:12 +01:00
Ethan Roseman
731d270014
Fuse symbol_info with disasm_script so you can give it symbols ( #552 )
2021-12-15 19:27:26 -05:00
Alexander Faßbender
bbed111c28
Update migrate_data_to_c including some migration ( #550 )
...
* optimize migrate_data_to_c.py and do some data migration as a test
* .
* spacing
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2021-12-15 16:02:33 +01:00
Alexander Faßbender
c719faf847
Create simple data "migration" script ( #548 )
...
* setup function
* cleanup parts of calc_item_damage_enemy
* init data2c
* clean up data2c.py
* .
* rename and update script to have additional functionality
* .
2021-12-12 22:53:19 +09:00
Ethan Roseman
755c83a363
fold_* , effect_10, and other assorted decomp ( #535 )
...
* work on appendGfx_message
* :OK:
* indentation
* message window states
* SetEntityCullMode & some of appendGfx_model
* 9 smalls
* 2 more
* 2 mo
* update_player_actor_shadow
* EffectInstanceData rework
* some shtuff
* effect_10 dun
* wip
* wip
* wipz
* rename
* progz
* remove wip work for appendGfx_model
* PR comments
* Alex comments
* tomorrow for sure
* eventually
2021-11-19 23:31:28 +09:00
Ethan Roseman
34254d102e
appendGfx_message ( #520 )
...
* work on appendGfx_message
* :OK:
* indentation
* message window states
* PR comments
* ran formatter
* change some types
* debuggin
* undebuggin
Co-authored-by: Alex Bates <hi@imalex.xyz>
2021-11-12 21:23:43 +09:00
Alexander Faßbender
be4bb17dee
Update flags and enums in enums.h ( #525 )
...
* prepare enums.h
* update enums.h
* add commits to enums.h
* resolve enum and flag issues with enums.h
* delete artifacts
* resolve issue with soundid enum
* :P
* setup first few parameterised flag enums
* add flags to npc.h related structs
* add flags to npc.h related structs
* create enums for several common structs
* .
* resolve issue with enum sizes
* resolve issue with enum sizes
* resolve issue with enum sizes
* parameterise entity and event related flags
* update enums.h
* add commits to enums.h
* resolve enum and flag issues with enums.h
* delete artifacts
* resolve issue with soundid enum
* :P
* setup first few parameterised flag enums
* add flags to npc.h related structs
* add flags to npc.h related structs
* create enums for several common structs
* .
* resolve issue with enum sizes
* resolve issue with enum sizes
* resolve issue with enum sizes
* parameterise entity and event related flags
* .
* Update 190B20.c
* Update enums.h
2021-11-11 13:30:59 +09:00
Lightning
9764f4d44f
Changes required to prevent kmc compiler from using debugging ( #514 )
...
as it inserts extra instructions at the moment
2021-11-01 10:26:58 +09:00
Alex Bates
a8c85b377a
Share 1370.c across versions ( #509 )
...
* split jp gfxRetrace_Callback
* func_80025F70
* use 1370_len_7d0 on jp
* rename 1370_len_7d0 to main
* coverage.py
2021-10-31 03:53:55 +09:00
Alex Bates
8a380bf6ea
use is_debug.c on jp ( #507 )
2021-10-29 23:07:59 -04:00
Ethan Roseman
068b8a5b08
B4580 and d0a70_len_4fe0 ( #502 )
...
* func_80133A94
* animator stuff
* add_anim_node and animator_node_update_model_transform
* a bunch more
* more
* .
* temp
* create_mesh_animator
* 2 mo
* d0a70 funcs
* more d0a70
* 2 mo
* 1 + cleanup
* 2 mo
* cleanup
* revert change to verbosity for splat
* PR comments
2021-10-30 02:57:15 +09:00
Alexander Faßbender
b9bc4b8af8
Assign dead maps to alive counterparts ( #496 )
...
* add information about dead maps
* link the names of dead maps to their alive counterparts
* Update EB1170.c
* remove redundant function declaration
* resolve issues
2021-10-27 11:24:52 +02:00
Lightning
fb74314a6d
Debug in elf ( #491 )
...
* git subrepo pull (merge) --force tools/splat
subrepo:
subdir: "tools/splat"
merged: "e5838f0b06"
upstream:
origin: "https://github.com/ethteck/splat.git "
branch: "master"
commit: "e5838f0b06"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "2f68596"
* Allow storage of extra debug info in elf
* Fix string
* Add comment detailing purpose of genobjcopy
2021-10-25 23:26:38 -04:00
Alexander Faßbender
beeb5627e6
Deduplicate various dead functions ( #494 )
...
* what is dead may never die
* resolve issues
* fixing dead_gPartnerActionStatus2
* .
* resolve issues
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2021-10-25 16:32:44 +02:00
Alex Bates
ae00fea170
Add new EVT macros ( #482 )
...
* add tools and new macros
* change EVT_OP enum names
* first file
* convert some files
* stuff
* EVT_PTR
* src/battle/item
* src/battle
* tool changes
* clouds.inc.c
* src/evt
* foliage.inc.c
* bitwise ops
* staticentitydata vars
* add diff_evt.py
* use evt macros in dro_01
* evt macro docs
* whoops
* fix some warnings
2021-10-25 20:44:55 +09:00
Ethan Roseman
33c9dda3a5
KMC GCC, effects, cleanup, map funcs ( #476 )
...
* warnings, cleanup, 2 npc ai funcs
* kmcgcc stuff
* effect_75
* effect_9.c done
* cleanup, work on kmc gcc
* start on fx_73
* guOrtho/guOrthoF
* more libultra/cleanup
* more libultra
* add wine for darwin
* effect_73 done
* UnkQuizFunc
* effect func naming
* name appendGfx funcs
* fix fx_66
* Add KMC wrapper to Jenkinsfile
* mac fixes
* fix macro usage
* oopz
* 3 fixes
* blah
* KMC_ASM
* config changes
2021-10-22 23:01:27 +09:00
Lightning
f6fa89bbc4
Minor enhanement ;) ( #488 )
2021-10-21 13:38:17 -04:00
Ethan Roseman
969e28c76c
40% ( #459 )
...
* cleanup
* some of effect_9
* remove 1 warning
* restore Bowser Slug to his former glory (behavior)
2021-10-03 18:42:38 +01:00
Ethan Roseman
4c787f68c1
Effect_6 done, splat, diff updates ( #451 )
...
* fx_6_appendGfx
* update_effects
* effect_6 done
* Update diff.py
* update configure for new splat
* git subrepo pull --force tools/splat
subrepo:
subdir: "tools/splat"
merged: "0efa552c5d"
upstream:
origin: "https://github.com/ethteck/splat.git "
branch: "master"
commit: "0efa552c5d"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "2f68596"
* nu stuff / undefined_syms org
2021-09-30 18:48:03 +09:00
Ethan Roseman
555f0ea15b
Effects ( #442 )
...
* effect shim names
* fx_1_main and data migration
* fx_1_renderWorld
* header reorg
* remove stale comment
* effect_1
* cleanup
* fx_6 stuff
* most of effect_6, misc changes
* cleanup
* PR stuff
* warningz
2021-09-27 08:19:58 +09:00