Commit Graph

55 Commits

Author SHA1 Message Date
everything8215
2c4ed90ad3
Add license 2024-09-27 08:35:44 -04:00
everything8215
78b948d76b Baram -> Clyde 2024-08-21 13:28:00 -04:00
everything8215
0ece2bcbef Improve text encoding/decoding
Eliminated automatically generated .inc files for fixed-length text arrays.
Improved python code for extracting, decoding, and encoding text.
Finished implementing the DTE optimization algorithm, only to find that it's no better than the vanilla algorithm!
2024-08-12 15:58:20 -04:00
everything8215
56b32333a7 Japanese text encoding
Fixed problems with encoding Japanese text. There is an extra space character used in Bushido names (0x1EEF) that needed to be removed from the normal kanji table. I was also using small text character tables for monster special attack names instead of large text.
2024-08-08 07:23:35 -04:00
everything8215
3be27b40e5 Improve array syntax
Syntax and formatting changes throughout the entire repo. I tried to standardize how arrays of data are generated and accessed in the code, opting to use ca65's scoping capability when appropriate. I also wanted to prepare the asset management code to be used in the FF5 repo.
2024-08-07 23:15:24 -04:00
everything8215
d9a71016e1 Japanese version support
Add support for SFC version (jp)
Generate debug files
Add partial RAM map for menu and battle graphics
Added some helper macros
Fix some Windows compatibility issues
2024-07-19 15:12:37 -04:00
everything8215
635e68c372 Add end credits text 2024-05-26 14:51:09 -04:00
everything8215
441c0abaa2 Improve ending and credits
Code and data for ending cutscenes and end credits can now be relocated
2024-05-25 21:32:08 -04:00
everything8215
8b3e2afab0 Add AI Script
Also lots of other updates and improvements in src/battle/
2024-05-23 19:37:38 -04:00
everything8215
b331088dd5 Finish menu_anim.asm
Added some addresses so that menu code relocates properly now
2024-05-23 06:38:18 -04:00
everything8215
c8591a36c9 Event script links
Added NPC properties, event triggers, and map startup event pointers with links to the event script
2024-05-05 13:56:47 -04:00
everything8215
7419847a52 Full event script disassembly 2024-04-27 11:58:36 -04:00
everything8215
a4b8b81179 Event script macros, text escape format
Added assembler macros for generating event script commands (WIP)

Changed some enumerated constants and flags to enums
Changed text escape sequence format from \escape to {escape} for easier parsing
2024-03-30 15:21:16 -04:00
everything8215
e4a6a6e39b Fix Makefile 2024-01-17 07:31:03 -05:00
everything8215
4e0aaf4bd9 Assets overhaul
Completely changed how assets are extracted and included. Also made major changes to file organization.
2024-01-17 07:20:25 -05:00
everything8215
1aca5a054d Add SPC code 2023-06-07 14:34:19 -04:00
everything8215
2ab61bbef8 Fix world sine table
The sine table for the world map is 271 bytes long and uses angles measured in degrees. It starts at EF/FEF1 (not EF/FEF0) and goes to the end of the ROM. Also a couple minor fixes.
2023-05-12 13:36:41 -04:00
everything8215
de84a0642d Fix range.is_empty 2023-05-10 15:59:30 -04:00
everything8215
20b770fe2b Add bytes_to_asm
Also changes encode_mml to not encode an mml file if the corresponding asm file is already up to date
2023-05-10 15:58:19 -04:00
everything8215
6fbafc553b Use a loop to make sfx pointers 2023-03-28 21:11:24 -04:00
madsiur
61b1990342 Fix bug that prints ch1 label when ch1 not used 2023-03-26 22:57:43 -04:00
everything8215
8e57552e63
Merge pull request #2 from madsiur/sfx
SFX MML Support
2023-03-26 13:41:39 -04:00
Toussaint-Dupont, Frédéric
79f23edb51 Change spc_data range 2023-03-23 18:08:37 -04:00
Toussaint-Dupont, Frédéric
0d9b13661b Fix sfx call command bug 2023-03-23 18:01:03 -04:00
Toussaint-Dupont, Frédéric
797ba2bba1 Add asm sfx labels and pointers 2023-03-23 18:00:01 -04:00
Toussaint-Dupont, Frédéric
983408f0fb Add sfx mml to bin function 2023-03-23 17:59:12 -04:00
Toussaint-Dupont, Frédéric
33f57dee6c Add sfx mml scripts 2023-03-23 17:57:52 -04:00
everything8215
9f28cf1e18 Reorganize asset extraction
Each asset definition is now in a separate json file.
Added data codecs. Assets get decoded and extracted into the "assets" folder, though they don't get encoded and assembled into the ROM yet.
2023-02-18 20:19:49 -05:00
everything8215
74fb88ef5f
Merge pull request #1 from madsiur/mml
MML support
2023-01-27 13:08:22 -05:00
Toussaint-Dupont, Frédéric
1fbdac0829 Add mml conversion to build process 2023-01-26 18:09:13 -05:00
Toussaint-Dupont, Frédéric
a9c8302497 Add mml support 2023-01-26 18:05:35 -05:00
Toussaint-Dupont, Frédéric
87721c45ad Add make mml command and fix echo bug 2023-01-26 18:03:21 -05:00
Toussaint-Dupont, Frédéric
f52ce1bf20 Add mml files 2023-01-26 18:02:03 -05:00
Toussaint-Dupont, Frédéric
bfd2ca3ccc Add extracted files 2023-01-26 18:01:18 -05:00
Toussaint-Dupont, Frédéric
436e2f421f Add mml folder exclusion 2023-01-18 17:50:49 -05:00
Toussaint-Dupont, Frédéric
aba84159a6 Add asset extraction folders 2023-01-18 17:27:17 -05:00
everything8215
05a281e6cd Update README.md 2023-01-11 09:16:23 -05:00
everything8215
1d7fd0ab63 Reorganized file structure
Switched from Node.js to Python 3
2023-01-10 18:48:53 -05:00
everything8215
39241f1ec1 Update README.md 2022-12-16 12:55:08 -05:00
everything8215
13942abcb0 Add sound and ending code
Also added all remaining data.
This now builds a byte-perfect ROM except for the compressed cutscene code because I haven't figured out how to match the original compression algorithm.
2022-12-16 12:23:41 -05:00
everything8215
e60dbbf938 Compressed cutscene code
Improved how cutscene code gets compressed and linked into the ROM.
Also added rev. 1 of English version
2022-12-07 23:20:52 -05:00
everything8215
4c5934f203 Add "THE END" screen
Also added some missing data and fixed some things that were not byte-perfect
2022-12-07 17:26:36 -05:00
everything8215
ebdfc2169f Add some missing data
Reformatted data asm files to be more compact
Named more subroutines in btlgfx, and added generic labels for data
Fixed a few assembly errors
2022-12-04 16:25:25 -05:00
everything8215
9b1c4f4742 Add battle graphics data
Battle module is now functional! I haven't finished fixing up all of the local addresses, so it will probably still break if code is added or removed. Major components still missing are sound/music and all of the ending cinematics.
2022-11-28 09:07:16 -05:00
everything8215
bb11909f39 Added battle graphics code
Battle is still not functional but all of the code is there
2022-11-22 16:22:06 -05:00
everything8215
06b72ee610 Split up asm files 2022-09-25 12:40:47 -04:00
everything8215
88a4441ce2 Add cutscenes
Add compressed cutscene code (title/splash screen, opening credits, floating island, world of ruin)
Modified Makefiles to compress cutscene code
Add long branch macros
Updates to field and menu code
2022-09-18 14:18:04 -04:00
everything8215
db96c9edb7 Add menu code
Also created a debug event for testing, set DEBUG to 1 in include/const.inc to use it
2022-09-08 17:57:13 -04:00
everything8215
3e4215efb4 Add missing ROM symbols in bank C0 & EE 2022-08-21 09:28:35 -04:00
everything8215
7e45680cd0 Add treasures 2022-08-19 07:29:10 -04:00