Commit Graph

219 Commits

Author SHA1 Message Date
Kaz 2ec8ae4bec Preliminary support for English rev0 debug. Matching but still needs
cleaning up.
Rename DEBUG_TRANSLATE to DEBUG_FIX now that we have actual English
Debug ROMs.
Add Sapphire German "first edition" debug support, now that we have a
hash for it.
Fix an obvious nonmatching.
2020-06-08 04:12:23 -04:00
Kaz 7e6d3999cf sub_809E8F0 get. 2020-06-03 04:52:49 -04:00
PikalaxALT 04d158cfcd Merge branch 'master' of github.com:pret/pokeruby into modern_gcc 2019-12-14 11:56:41 -05:00
huderlem d63e99c418 Merge pull request #754 from camthesaxman/emerald_diff
resolve more emerald differences
2019-10-19 08:08:03 -05:00
easyaspi314 (Devin) dcd7c8a241 Fix a mixup in the naming :( 2019-09-05 14:28:56 -04:00
easyaspi314 (Devin) 3203e4f2f4 Document some debug menu things 2019-09-05 13:37:38 -04:00
PikalaxALT 3d3ec3150a Merge branch 'master' into modern_gcc 2019-09-05 09:38:27 -04:00
easyaspi314 (Devin) 8f1e63cbcd Mark some things in tomomichi_debug_menu.c 2019-08-26 19:27:24 -04:00
easyaspi314 (Devin) 0934066d11 Fix some test menu translations, document unused functions and name stuff 2019-08-25 22:54:45 -04:00
easyaspi314 (Devin) 5d1f39aa6f Improve a mori_debug_menu translation 2019-08-25 21:07:42 -04:00
easyaspi314 (Devin) b19c77d1c9 Replace asm("") with ++ --.
agbcc is weird
2019-08-25 21:06:57 -04:00
easyaspi314 (Devin) f97cff8748 Improve some nohara translations. 2019-08-25 19:23:42 -04:00
easyaspi314 (Devin) 1c0ccca5a2 Match and document DebugMenu_8077C3C (now DebugMenu_ConvertBuildDate)
It seems that simply putting an asm("") matched 8077C3C.
2019-08-24 23:17:06 -04:00
easyaspi314 (Devin) a631973b73 [WIP] English Debug menu translations! (Plus some build system fixes)
I'm back!
                       す
Éß テ-ブ↑& ÒÛªù! (かなテーブルを捨てろよ!/Throw away the kana table!)

When compiled in English with DEBUG, instead of óじばÌ (mojibake),
you now get actual English translations!

No more switching from the game, to the kana chart, and if you don't know
Japanese, Google Translate, just to read one sentence.

Additionally, the few unknown translations should use proper encoding or
Romaji.

I decided to use a nicer macro system:

static const u8 sStrHello[] = DTR("こんにちは", "Hello");

This prevents ifdef HELL, as the mixed Japanese and English would
be messy.

Additionally, some special character issues were corrected.

Things untranslated/bugs:
 - Tomomichi's dummy functions. Of course, they don't do much.
 - The title screen battle menu. This uses a Gen 2 style tile rendering
   and the way it is rendered is incredibly overcomplicated.
 - A few phrases which I couldn't get a clear translation for. I don't know
   much Japanese lol.
 - Song names. Just tedious with the limited buffer size.
 - A few layout issues. Some dimensions should be tweaked to avoid text
   box ovetflows.
 - Potential buffer overflows, which I want to try to avoid
   - (ASan for GBA? :morphon:)
 - While I use the DEBUG_TRANSLATE flag (automatic with ENGLISH && DEBUG)
   for C code, the asm data only checks for ENGLISH && DEBUG. Additionally,
   they are ugly.
 - Haven't tested all builds yet.
 - Some code formatting issues.

I also made it so this will compile with the system preprocessor (including
Clang), and my agbcc binutils (which will attempt to be selected automatically
if you don't have DKP).

Clang needs a few flags (it can't do asm enums with line numbers and it does
trigraphs in standard mode), but it is no longer flipping out.

I am going to restart my build system project. It was getting way off track,
and ucpp was too difficult to maintain (one of the main reasons for the silence).
2019-08-23 20:44:01 -04:00
camthesaxman bbd177fa20 fix more emerald differences 2019-07-31 18:29:13 -05:00
camthesaxman ea0dfce3c4 gMPlay to gMPlayInfo 2019-07-29 21:17:54 -05:00
PikalaxALT 5d268f0acf Make Ruby compile with gcc-8 2019-06-26 19:47:30 -04:00
PikalaxALT 5c7c095bab gTrainerBattleOpponent = SECRET_BASE_OPPONENT 2019-04-23 19:57:44 -05:00
PikalaxALT 1eb17b1921 Some documentation of contest_link_80C2020 2019-04-08 17:33:35 -05:00
PikalaxALT 0c690920ab through sub_80C4A28 2019-04-08 17:33:35 -05:00
Melody 4161c6e6d7 Use real apostrophes instead of fake ones 2018-12-07 10:54:47 -05:00
Kermalis 378a1421ae Renaming cry voicegroups 2018-09-22 15:38:44 -04:00
Kermalis 3e80e081b5 Voicegroups need names 2018-09-15 02:53:50 -04:00
vblm12 ff5bf7804e Change OPPONENT to TRAINER in taya_debug_window.c 2018-07-21 16:40:05 -05:00
yenatch ca9cdc306e label some of pokemon_summary_screen 2018-07-02 22:11:25 -04:00
Marcus Huderle 605f8ac114 Merge branch 'master' into contest_link_80C2020 2018-06-25 17:50:27 -05:00
Marcus Huderle 2c7a4e1406 Use MUS_ prefix instead of BGM_ prefix for songs 2018-06-20 17:47:51 -05:00
Marcus Huderle c80206e701 Rename map attribute structs to MapLayout 2018-06-20 17:47:33 -05:00
Marcus Huderle 2e80477ea1 Label move_tutor_menu.c 2018-06-10 11:09:57 -05:00
Marcus Huderle 0a2c709535 Label all metatile behaviors and functions 2018-06-07 20:54:44 -05:00
Marcus Huderle 49a5bda839 Label/document field_control_avatar.c and a few misc things 2018-06-06 00:18:20 -05:00
Marcus Huderle 4ee671c9bf Standardize args to palette blend functions 2018-05-21 09:02:30 -07:00
PikalaxALT f54ccdc7ca Take the IME/IE ops out of their own blocks 2018-04-22 08:57:17 -04:00
PikalaxALT 1a63f6607e Fix mistake in debug_80C47BC 2018-04-21 15:51:32 -04:00
PikalaxALT 557248ffc9 Decompile watanabe data 2018-04-21 15:07:26 -04:00
PikalaxALT 936981f669 Remaining functions in watanabe 2018-04-21 14:09:13 -04:00
PikalaxALT 8528e529da copypasta through debug_80C7A54 2018-04-21 11:18:33 -04:00
PikalaxALT f2adb8e246 through InitSeeTrainers 2018-04-20 22:31:46 -04:00
PikalaxALT 1acdf9496c through debug_80C74E4 2018-04-20 21:57:18 -04:00
PikalaxALT c576a8878a nonmatching debug_80C6FA8 2018-04-20 08:38:13 -04:00
PikalaxALT b5e253af0d through debug_80C6CB8 2018-04-19 19:42:00 -04:00
PikalaxALT b229bfee70 through InitSeePokemonGraphics 2018-04-19 08:43:15 -04:00
PikalaxALT 3920dd26d0 through debug_80C689C 2018-04-18 22:45:55 -04:00
PikalaxALT 508e2a78ac debug_80C5FFC 2018-04-18 08:42:20 -04:00
PikalaxALT 3a43969845 through debug_80C5EF4 2018-04-17 21:36:43 -04:00
PikalaxALT 3a82d934ab through debug_80C5738 2018-04-17 20:41:18 -04:00
PikalaxALT d42c033eb6 through debug_80C53F0 (also testing resplit of string) 2018-04-17 19:15:32 -04:00
PikalaxALT 670a3e6b2b through debug_80C5208 2018-04-16 23:42:34 -04:00
PikalaxALT d86e8008b3 through debug_80C4F48 2018-04-16 23:20:01 -04:00
PikalaxALT dc8dba6949 through debug_80C4AC4 (temp ewram struct) 2018-04-15 21:19:54 -04:00