ChocolateBirdData/5/addresses_SNES_PSX.tsv

9.4 KiB

1LabelSNESPSX_filePSX_offsetformatComment
2ptrs_worldmap_event_replacements0x006ABD6 of u165 worlds + the end address
3worldmap_event_replacements.00x00726C61 of WorldMapEventReplacementhardcoded of above
4worldmap_event_replacements.10x0073DA53 of WorldMapEventReplacementhardcoded of above
5worldmap_event_replacements.20x007518106 of WorldMapEventReplacementhardcoded of above
6worldmap_event_replacements.30x0077941 of WorldMapEventReplacementhardcoded of above
7worldmap_event_replacements.40x00779A98 of WorldMapEventReplacementhardcoded of above
8character_battle_sprite_stone_palette0x00F807N/AN/A16 of ColorBGR555Also 0x199835
9character_battle_sprite_disabled_palette0x00F867/mnu/memsave.bin0x00003416 of ColorBGR555
10locations_bg_palettes0x03BB00/nar/ff5_binx.bin0x03BF8043 of 128 of ColorBGR555
11font_glyphs_dialogue0x03E800256 of SNESTritilelength 0x1800
12spc_note_durations0x041D7E14 of u8
13bytelength_sfx_brr_data0x041E3Fu16Used by the memcpy routine that copies the below data to the SPC (0x010E = 270 bytes = 16 BRR packets = 480 samples)
14sfx_brr_data0x041E41270 of u8Use the below SPC pointers
15bytelength_sfx_brr_pointers0x041F4Fu16Used by the memcpy routine that copies the below data to the SPC (0x0020 = 32 bytes)
16sfx_brr_pointers0x041F518 of 2 of u16SPC memory addresses not ROM. Start address followed by loop address.
17bytelength_sfx_adsrs0x041F71u160x0010 = 16 bytes
18sfx_adsrs0x041F738 of ADSR
19bytelength_sfx_samplerates0x041F83u160x0010 = 16 bytes
20sfx_samplerates0x041F858 of u16
21bytelength_sfx_data0x041F95u160x1C00 = 7168 bytes
22sfx_sequence_pointers0x041F97256 of 2 of u16Contains SPC pointers. Subtract 0x3000 to get position within next block. Each SFX sequence has two channels.
23sfx_sequences0x0423976144 of u80x1800 = 6144 bytes
24bgm_song_pointers0x043B9772 of u24
25bgm_instrument_brr_pointers0x043C6F35 of u24
26bgm_instrument_loop_starts0x043CD835 of u16
27bgm_instrument_samplerates0x043D1E35 of u16
28bgm_instrument_adsrs0x043D6435 of ADSR
29bgm_instrument_indices0x043DAA72 of 16 of u16length 0x900
30
31worldmap_compressed_tilesets0x070000tilesets 0 up to 0x434
32worldmap_compressed_tilesets20x080000tilesets 0x434 up to 0x500
33ptrs_jp_speech0x0822202160 of u16
34ptrs_event_scripts0x0833201940 of u24
35event_scripts0x0849DCSee above for addresses
36jp_speech0x0A0000See 0x082220 for offsets
37ptrs_tilemaps0x0B0000328 of u16
38tilemaps0x0B0290See above for offsets
39
40map_palette_animation0x0DFA4015 of 24 of u8Need new struct
41map_palette_animation_colors0x0DFBA844 of ColorBGR555
42
43ptrs_npc_scripts0x0E0000928 of u16
44npc_scripts0x0E0740See above for offsets
45ptrs_event_triggers0x0E2400512 of u16
46event_triggers0x0E2800920 of EventPlaceSee above for offsets
47ptrs_zone_exits0x0E36C0512 of u16
48zone_exits0x0E3AC0See above for offsets
49ptrs_npc_data0x0E59C0512 of u16
50npc_data0x0E5DC2See above for offsets
51zones0x0E9C00512 of ZoneData
52enemy_battle_sprite_palettes0x0ED000See enemy_battle_sprite_data for pointers. Some are 8 colours instead of 16.
53?0x0EE130
54ptrs_tile_blocks0x0F000028 of u16
55tile_blocks0x0F0038See above for offsets
56ptrs_tile_properties0x0FC54023 of u16
57tile_properties0x0FC56ESee above for offsets
58worldmap_minimap_border_tiles0x0FD80032 of TileSNES4bpplength 0x400
59ptrs_worldmap_tilesets0x0FE0005 of 256 of u16Every offset points to a horizontal line of 256 tiles stored in banks C7 and C8
60worldmap_block_properties0x0FEA003 of 192 of WorldMapBlockProperties
61worldmap_blocks0x0FF0C0/nar/ff5_binx.bin0x0403003 of 4 of 192 of u8# Top-left corners, top-right corners, bottom-left corners, bottom-right corners
62worldmap_tiles.bias0x0FF9C0/nar/ff5_bin3.bin0x03FB003 of 256 of u8Add to each pixel of the mode7c tiles
63worldmap_palettes0x0FFCC0/nar/ff5_binx.bin0x0400003 of 128 of ColorBGR555
64tbl_enemy_stats0x100000384 of EnemyStats
65tbl_enemy_encounters0x103000512 of 16 of u8
66tbl_enemy_item_rewards0x105000384 of 4 of u82 drops 2 steals
67tbl_enemy_control_actions0x105600384 of 4 of u8
68jp_enemy_names0x105C00
69tbl_enemy_groups0x106800256 of 4 of u16
70ptrs_jp_location_names0x107000164 of u16
71jp_location_names0x107200See above
72encounters_events0x107800
73encounters_trapchests0x107980
74enemy_zones.worldmaps0x107A003 of 512 of u8TODO
75enemy_zones.dungeons0x108000512 of u16TODO
76tbl_zone_danger0x108400TODO
77tbl_enemy_release_actions0x108600384 of u16
78tbl_enemy_formation_coords0x108900
79tbl_enemy_special_attacks0x109900384 of u16
80ptrs_enemy_ai_scripts0x109C00384 of u16
81enemy_ai_scripts0x109F00See above for offsets
82enemy_battle_sprite_layouts_small0x10D004102 of 8 of u8length 0x330
83enemy_battle_sprite_layouts_large0x10D33472 of 16 of u16length 0x900
84enemy_battle_sprite_mini0x10E0034 of TileSNES4bpplength 0x80
85enemy_battle_sprite_frog0x10E0834 of TileSNES4bpplength 0x80
86enemy_battle_sprite_shadow0x10E1033 of TileSNES4bpplength 0x60
87tbl_weapons0x110000128 of WeaponDatalength 0x600
88tbl_armors0x11060096 of ArmorDatalength 0x480
89tbl_items0x110A8032 of ItemDatalength 0x100
90tbl_magic0x110B80256 of MagicDatalength 0x800
91tbl_equip_types0x11248064 of 4 of u8length 0x100 - Item Equipment type definitions (64x4 bytes, 2B weapon, 2B armor)
92tbl_armors_elem_def0x11258064 of ElemDeflength 0x140 - Item Armor Element defense 64x(5B - absorb, evade, immunity, half, weakness)
93tbl_armors_status0x1126C064 of StatusEffectlength 0x1C0 - Item Armor Status defense 64x(7B - 4B Initial, 3B Immune)
94tbl_prices_items0x112A00256 of ItemCostlength 0x200
95tbl_prices_magic0x112C00128 of ItemCostlength 0x100
96tbl_charlevels_exp0x11500099 of u24
97tbl_charlevels_hp_base0x11512999 of u16
98tbl_charlevels_mp_base0x1151EF99 of u16
99ptrs_job_ability_lists0x1152C021 of u16
100job_ability_counts0x1152EA22 of u8
101job_ability_lists0x115300length 0x12C - u16 ABP required, u8 ID. Pointers are from bank 0x110000 and start at $5300
102tbl_char_stat_bonuses0x11551E5 of 4 of u8
103tbl_job_base_stats0x1156B022 of 4 of u8
104tbl_job_default_equipment0x11570822 of 4 of u8
105tbl_job_default_commands0x11576022 of 4 of u8
106tbl_job_innates0x1157B822 of u16
107tbl_ability_stats_commands0x115E00256 of 4 of u8length 0x400
108tbl_ability_stats_passives0x11630833 of 4 of u8length 0x84
109character_initial_data0x1170004 of Characterlength 0x140
110attack_layouts0x117FA05 of 2048 of u8length 0x2400
111weapon_palettes0x11A3A0
112enemy_battle_status_sprite_palette0x11A40016 of ColorBGR555
113tiles_fist0x11D710/btl/ff5_btl.bin0x021D10TileSNES3bppAlso /mnu/men_bin.eng:0x00D910
114font_glyphs_small0x11F000256 of TileSNES2bpplength 0x1000
115character_battle_sprite_tiles0x120000/mnu/men_bin.eng0x0102005 of 22 of 48 of TileSNES4bpp
116character_battle_sprite_palettes0x14A3C0/btl/ff5_btl.bin0x0273C05 of 22 of 16 of ColorBGR555Also /mnu/men_bin.eng:0x03A5C0
117enemy_battle_sprite_data0x14B180384 of EnemySpriteDatalength 0x780
118character_battle_sprite_layouts0x14B997/btl/ff5_btl.bin0x02899711 of 6 of u8
119tbl_battle_backgrounds0x14BA2134 of BattleBackgroundData
120battle_background_palettes0x14BB3184 of 16 of ColorBGR555
121ptrs_battle_background_tile_animations0x14C5B18 of u16bank 0x140000 (0xD40000)
122battle_background_tile_animations_data0x14C5C1see above
123ptrs_battle_background_palette_animations0x14C6CD3 of u16bank 0x140000 (0xD40000)
124battle_background_palette_animations_data0x14C6D3see above
125ptrs_battle_background_tilemap_flips0x14C7369 of u16bank 0x140000 (0xD40000)
126battle_background_tilemap_flips_data0x14C75Csee above
127ptrs_battle_background_tilemaps0x14C86D28 of u16bank 0x140000 (0xD40000)
128?0x14C8A5
129battle_background_tilemaps_data0x14E09Bsee above
130enemy_battle_sprite_tiles0x150000See enemy_battle_sprite_data for pointers
131ptrs_battle_background_tileset_skips0x18415721 of u24RAM addresses, subtract 0x7FC000 from results to get offset from tileset
132ptrs_battle_background_tilesets0x18419621 of u24ROM addresses, subtract 0xC00000
133lzss_battle_background_tilesets0x1841D5see pointers above, 4bpp
134?0x18DE36
135initial_npc_flags0x18E000128 of u8
136ptrs_trigger_scripts0x18E080704 of u16offset from this same address
137trigger_scripts0x18E600see above, links to event scripts too
138tiles_attack_anims0x190000
139ptrs_anim_unk10x19A486405 of u16bank offsets to below
1400x19A7B0padding
141anim_unk10x19A7C0see above
142ptrs_anim_unk20x19B35E1669 of u16bank offsets to below, animation frame data??? also to anim_unk1
143anim_unk20x19C068see above
144tiles_npcs0x1A0000
145worldmap_tiles.00x1B8000/nar/ff5_bin3.bin0x039B00256 of TileSNESMode7cAdd the biases
146worldmap_tiles.10x1BA000/nar/ff5_bin3.bin0x039B00256 of TileSNESMode7cAdd the biases
147worldmap_tiles.20x1BC000/nar/ff5_bin3.bin0x039B00128 of TileSNESMode7cAdd the biases
148font_glyphs_kanji0x1BD000426 of SNESTritilelength of 0x27F0
149?0x1BF800
150ptrs_map_bg3_graphics0x1C000018 of u16From start of region (0x1C0024)
151map_bg3_graphics0x1C00242bpp
152ptrs_map_graphics0x1C2D8440 of u32From start of region (0x1C2E24)
153map_graphics0x1C2E244bpp
154map_animation_graphics0x1F9B00
155map_palettes0x1FFC0032 of 16 of ColorBGR555
156
157RPGe_font_character_widths0x203225512 of u8RPGe only, Includes the 1px spacing