Compare commits

...

1476 Commits

Author SHA1 Message Date
Martin Michelsen cf7c4674d6 add decode-sjis action 2023-12-22 21:54:59 -08:00
Martin Michelsen 4de23561b0 add option to unmask Ep3 whispers on proxy server, and prevent this from working on newserv 2023-12-22 21:54:48 -08:00
Martin Michelsen fa9b4d7f61 implement $ping on proxy server 2023-12-22 20:21:43 -08:00
Martin Michelsen 2ee6119c93 fix kap and ktp Ep3 env stat expr tokens 2023-12-22 18:26:35 -08:00
nolrinale 02839d8a77 Added Map files to spawn Coren 2023-12-22 17:47:34 -08:00
nolrinale 2af926b461 Coren labo area client function adjustments 2023-12-22 17:47:34 -08:00
Martin Michelsen 23d4b7d905 fix Ep3 6x70 again 2023-12-22 17:17:25 -08:00
Martin Michelsen ef40007720 fix CHALLENGE16 text encoding 2023-12-22 16:46:15 -08:00
Martin Michelsen 05dcc0edfc remove note about Ep3 6x70 2023-12-22 15:29:01 -08:00
Martin Michelsen 28f896faae fix class name in Ep3 quest buffer code 2023-12-22 15:27:45 -08:00
Martin Michelsen d7bdbf19d1 fix 6x69 client ID check 2023-12-22 15:27:45 -08:00
Martin Michelsen cf0588afc8 fix Ep3 6x70 handler 2023-12-22 15:27:45 -08:00
nolrinale 0a4527340d Adding Coren localized files 2023-12-22 11:04:27 -08:00
Martin Michelsen e35c0c82a5 fix 6x70 for all cross-version cases 2023-12-21 22:23:39 -08:00
Martin Michelsen b0b51b425a always block 97 command in proxy sessions 2023-12-21 22:23:39 -08:00
Martin Michelsen 98bd54b98f clean up SAVE_ENABLED flag usage 2023-12-21 19:54:01 -08:00
Martin Michelsen 30cf74ee87 check game mode for v1/v2 crossplay 2023-12-21 14:57:34 -08:00
Martin Michelsen 522c1848e1 use a cleaner method to deal with duplicate 97 commands 2023-12-21 14:53:56 -08:00
Martin Michelsen d7978aa99e fix PSO PC corruption message caused by multiple proxy sessions 2023-12-21 09:59:58 -08:00
Martin Michelsen 61e696d87c delete duplicate quest 2023-12-20 17:17:37 -08:00
Martin Michelsen b17dd5b196 make 6xE2 result weapons unidentified 2023-12-20 16:44:25 -08:00
Martin Michelsen 40c0953ebc switch 6xBE and 6xE3 order 2023-12-20 16:22:56 -08:00
Martin Michelsen 82aaf4cd34 implement 6xE2 subcommand 2023-12-20 15:42:29 -08:00
Martin Michelsen f048a4f5fb add reassembly mode in quest script disassembler 2023-12-20 14:59:39 -08:00
Martin Michelsen 2ee4249f89 fix default Black Paper reward lists 2023-12-19 16:41:40 -08:00
Martin Michelsen c68181e8c0 don't use drop command to change item visibility 2023-12-19 13:33:51 -08:00
Martin Michelsen f2f72b537d fix $loadchar slot index 2023-12-19 11:37:54 -08:00
Martin Michelsen 3284e5ddc1 add missing include on Linux 2023-12-19 10:54:23 -08:00
Martin Michelsen 1299cc345b create players directory if it does not exist 2023-12-18 23:31:09 -08:00
Martin Michelsen b7604eb643 add ability to forbid specific quest flag writes 2023-12-18 21:58:39 -08:00
Martin Michelsen e3315822de block various types of NPC FSOD from SPSOF 2023-12-18 20:33:07 -08:00
Martin Michelsen 592b013f65 use newer actions/checkout version for CI 2023-12-18 13:40:13 -08:00
Martin Michelsen 0ec685cbd0 remove duplicate function definition 2023-12-18 13:31:38 -08:00
Martin Michelsen 12f5b52680 fix name for 6x17/6x18 structs 2023-12-18 13:31:25 -08:00
Martin Michelsen 73815e1520 replace compatibility table with bullet list 2023-12-18 12:31:18 -08:00
Martin Michelsen 49c947b352 prevent various malicious SPSOF commands 2023-12-18 10:28:32 -08:00
Martin Michelsen be6d0e58cf make trial names consistent in readme 2023-12-18 10:25:21 -08:00
Martin Michelsen 58fa32b95b fix PC NTE menu item flags 2023-12-17 23:49:20 -08:00
Martin Michelsen e8431225d0 fix error in readme 2023-12-17 23:33:35 -08:00
Martin Michelsen 7581c8e175 enable chat commands by default in proxy sessions 2023-12-17 23:32:41 -08:00
Martin Michelsen 30b97df4f1 add quest debugging functions on proxy server 2023-12-17 23:32:41 -08:00
Martin Michelsen ec1337712f describe crossplay functions in readme 2023-12-17 23:32:41 -08:00
Martin Michelsen 3f9cad1ca5 add support for PC NTE 2023-12-17 23:32:41 -08:00
Martin Michelsen a6c4217875 add $where command 2023-12-17 23:32:41 -08:00
Martin Michelsen de5547ff68 clean up 6x75 structure 2023-12-17 23:32:41 -08:00
ShiftaDeband da26fb0d14 Adjust PSOPC patch directory structure 2023-12-17 18:44:16 -08:00
ShiftaDeband 29e2ad10c3 Delete system/patch-pc/data directory 2023-12-17 18:44:16 -08:00
Martin Michelsen af06741788 enforce min stack sizes for quest opcodes too 2023-12-17 18:15:30 -08:00
Martin Michelsen d64c9621af fix converted 6x70 subcommand size field 2023-12-17 18:06:45 -08:00
Martin Michelsen 8b0f62f71e don't allow creeating x0 stacks with $item 2023-12-17 17:43:54 -08:00
Martin Michelsen 7a34fb0f7a fix minimum player levels for Hard, etc. on non-V4 2023-12-17 13:50:47 -08:00
Martin Michelsen f14f7dd93b enable item tracking on NTE and 11/2000 and make $item work 2023-12-17 13:50:44 -08:00
Martin Michelsen 74604788c9 add chat bug to to-do list 2023-12-16 21:04:12 -08:00
Martin Michelsen 9fa25d6337 update flycast patch script to support multiple instances 2023-12-16 21:03:50 -08:00
Martin Michelsen 209ccd6726 switch text transcoder error case 2023-12-16 18:00:04 -08:00
Martin Michelsen 1edc40724f remove no-longer-true statement about download quests 2023-12-16 12:33:37 -08:00
Martin Michelsen 367c4e77c1 split allowed drop modes for different game modes 2023-12-16 12:00:29 -08:00
Martin Michelsen 81af488e26 add ability to hide quests based on game player count 2023-12-16 11:28:40 -08:00
Martin Michelsen a9afab9717 fix dropping items breaking extension data 2023-12-16 10:09:52 -08:00
Martin Michelsen 66d7594a36 implement nonstandard drop modes 2023-12-16 10:09:40 -08:00
Martin Michelsen 2bd43391a6 mitigate potential $persist abuse 2023-12-13 21:47:51 -08:00
Martin Michelsen 974269187b add timeout for persistent games 2023-12-13 20:52:35 -08:00
Martin Michelsen 3551b9abc3 add missing include 2023-12-13 15:56:49 -08:00
Martin Michelsen bbef5e329f add default GC patches 2023-12-13 15:39:30 -08:00
Martin Michelsen 7cb0ef9f3e fix warning in TeamIndex constructor 2023-12-13 15:39:30 -08:00
Martin Michelsen 0429638cf0 add extended patch metadata 2023-12-13 15:20:07 -08:00
Martin Michelsen a85e161020 add tools for GC patch reverse-engineering 2023-12-13 15:19:30 -08:00
Martin Michelsen d34f47405c fix typo in item name 2023-12-12 14:00:51 -08:00
Martin Michelsen 179e688cf6 add more heuristics in AR code translator 2023-12-12 14:00:43 -08:00
Martin Michelsen c4827bafdb update metadata JSON files for team quests 2023-12-11 15:56:18 -08:00
Martin Michelsen d2133aae3d add unidentified flag to item descriptions 2023-12-11 14:26:53 -08:00
Martin Michelsen 196f2de616 don't send auto-reply message if sender is blocked 2023-12-11 13:57:36 -08:00
Martin Michelsen d9cdf9804f fix ... in F_ARGS opcode assembly 2023-12-11 13:56:00 -08:00
Martin Michelsen bc017578e3 persist item state when no players are in a game 2023-12-11 12:13:36 -08:00
Martin Michelsen aa27c579f6 update to-do list 2023-12-11 12:11:58 -08:00
Martin Michelsen 6a6943e0df fix typo in arg names 2023-12-11 12:11:58 -08:00
Martin Michelsen 2dc2f85b1a don't disconnect on duplicate EXP requests 2023-12-10 21:45:13 -08:00
Martin Michelsen 6ef5b59724 fix log level on ItemCreator 2023-12-10 21:31:51 -08:00
Martin Michelsen 2f32e8ab7d fix BB inventory desync when buying consumables from shop 2023-12-10 21:16:42 -08:00
Martin Michelsen 60c1aa71dc fix ToolV4 structure 2023-12-10 17:35:57 -08:00
Martin Michelsen a315f6d011 expand metadata comments in q058 2023-12-10 15:22:40 -08:00
Martin Michelsen a42594afd3 fix implicit signed conversion 2023-12-10 14:54:30 -08:00
Martin Michelsen 04445dabd0 fix default BB key config 2023-12-10 14:52:17 -08:00
Martin Michelsen 16cddd28b2 add quest script compiler 2023-12-10 14:24:30 -08:00
Martin Michelsen b53bde9046 expand comment on expand_rate 2023-12-10 09:16:59 -08:00
Martin Michelsen afd63ca1dd make ep2 quests have orange icon on non-BB versions 2023-12-09 19:21:31 -08:00
Martin Michelsen 8ae7696b51 fix $exit when v3 quests are loaded in ep3 games 2023-12-09 19:21:31 -08:00
Martin Michelsen 81d03738da enable $quest to load v3 quests on ep3 2023-12-09 19:10:54 -08:00
Martin Michelsen beb87b546f clean up map logging 2023-12-09 18:32:17 -08:00
Martin Michelsen 12572ed2d4 hide inventory/bank log messages if disabled in config.json 2023-12-09 10:56:58 -08:00
Martin Michelsen bb3d4ac847 disable $bank when character overlay is present 2023-12-09 10:38:48 -08:00
Martin Michelsen 0ded423c84 treat enemy type 0100 as NPC 2023-12-08 23:34:36 -08:00
Martin Michelsen 414ef0d825 don't send card search results if searcher is blocked 2023-12-08 23:34:32 -08:00
Martin Michelsen b54b32b461 reformat DAT constructor tables 2023-12-08 20:39:50 -08:00
Martin Michelsen 67e2428daa don't load Challenge map data on quest start 2023-12-08 20:22:04 -08:00
Martin Michelsen 8654555777 recreate map on challenge mode restart 2023-12-08 18:08:47 -08:00
Martin Michelsen 83166f1eff fix multi-area challenge enemy generation 2023-12-08 17:39:00 -08:00
Martin Michelsen fbf170ef12 fix slime enemy types 2023-12-08 17:38:42 -08:00
Martin Michelsen b7bc148e09 implement solo quest progression flags 2023-12-08 17:01:11 -08:00
Martin Michelsen 009a0fc93d fix Monest child_type 2023-12-08 10:02:36 -08:00
Martin Michelsen 5a98b48521 don't set floor if it's negative 2023-12-08 10:01:01 -08:00
Martin Michelsen bf17ec0943 add unknown enemy type 0118 2023-12-08 09:51:57 -08:00
Martin Michelsen e901f5e681 don't save licenses for replay sessions 2023-12-07 20:27:46 -08:00
Martin Michelsen 6136f8dfb3 implement $edit on v1/v2 2023-12-07 20:08:46 -08:00
Martin Michelsen 0c18656e03 update note about get_game_version 2023-12-07 17:05:26 -08:00
Martin Michelsen 317c9fd616 implement Simple Mail auto-reply when recipient is offline 2023-12-07 12:46:01 -08:00
Martin Michelsen 6d16f8095a factor ClientGameData into Client to reduce data duplication 2023-12-07 12:23:21 -08:00
Martin Michelsen 072ebe81bf add $savechar and $loadchar commands 2023-12-06 23:54:53 -08:00
Martin Michelsen 7db761f181 fix attribute upgrade in Gallon's Shop 2023-12-06 15:57:37 -08:00
Martin Michelsen 7211205e55 fix meseta and material import in $bbchar 2023-12-06 09:55:33 -08:00
Martin Michelsen 85d0bac5cb assign bank item IDs at game join time 2023-12-06 09:46:57 -08:00
Martin Michelsen 713327b0ae fix double language marker on BB 2023-12-05 23:31:16 -08:00
Martin Michelsen 0ce5210c22 add v4 ItemPT data 2023-12-05 23:31:16 -08:00
Martin Michelsen 4ccbb2f683 don't disconnect when no combinations apply 2023-12-05 23:31:16 -08:00
Martin Michelsen 3075370975 add $qcheck command 2023-12-05 23:31:16 -08:00
Matt Swift 9dfdbc624b Add fixed BB Gallon's Shop 2023-12-05 23:07:07 -08:00
Martin Michelsen 027956876d fix episode 3 tests 2023-12-04 22:40:07 -08:00
Martin Michelsen cd1cc43cb3 update to-do list 2023-12-04 22:40:07 -08:00
Martin Michelsen 77798e09be prevent player from joining game if a quest they don't have access to is in progress 2023-12-04 22:40:07 -08:00
Martin Michelsen da0ffea7e0 prevent player from joining game if a quest they don't have access to is in progress 2023-12-04 21:42:51 -08:00
Martin Michelsen 330dbecada rewrite $bbchar implementation 2023-12-04 19:38:42 -08:00
Martin Michelsen 2360beb77b sort bank contents before sending to client 2023-12-04 18:43:37 -08:00
Martin Michelsen 33bbb15bf0 fix stacked item bank deposit bug 2023-12-04 18:23:41 -08:00
Martin Michelsen c25569c688 implement shared bank 2023-12-04 16:59:03 -08:00
Martin Michelsen 01b83044dc cache loaded player files between sessions 2023-12-04 12:38:26 -08:00
Martin Michelsen e05dcb6e70 update rare enemy rates 2023-12-04 10:37:02 -08:00
Martin Michelsen 501a048af0 allow specifying minimum levels for difficulties 2023-12-03 23:35:38 -08:00
Martin Michelsen f605a21c1a add option to specify BB rare enemy rates 2023-12-03 21:44:56 -08:00
Martin Michelsen 8e1edbc34e update notes about DC prototypes 2023-12-03 21:44:56 -08:00
Martin Michelsen 83549fe8e4 update compatibility table 2023-12-03 16:59:05 -08:00
Martin Michelsen fbda7a2a48 fix GC NTE proxy behavior 2023-12-03 16:34:09 -08:00
Martin Michelsen b8d4ab589e update compatibility table 2023-12-03 00:06:32 -08:00
Martin Michelsen e49e159eee implement HDLC/PPP in IPStackSimulator 2023-12-03 00:06:32 -08:00
Martin Michelsen 0442f6e579 fix Ep3 card trade sequence 2023-12-02 18:24:07 -08:00
Martin Michelsen 3160d86eaa only use language from quest header if it's valid 2023-12-01 22:27:58 -08:00
Martin Michelsen 4cd82caa5f fix GC NTE episode number when creating games 2023-12-01 21:34:51 -08:00
Martin Michelsen d943364c29 use DC quest download semantics for GC NTE 2023-12-01 21:00:10 -08:00
Martin Michelsen cddd8007c7 fix 6x75 on GC NTE 2023-12-01 20:29:11 -08:00
Martin Michelsen 039786b2f8 handle GC NTE character data struct 2023-12-01 20:05:12 -08:00
Martin Michelsen 5de53391db disable rare mag evolution logic on v1/v2 2023-12-01 17:34:16 -08:00
Martin Michelsen 5f8e0bd6bd add XB voice chat command structs 2023-12-01 17:32:55 -08:00
Martin Michelsen 3e83669138 update to-do list 2023-12-01 17:32:45 -08:00
Martin Michelsen 5593dc0ecd add PSOBB connection instructions 2023-11-30 10:59:31 -08:00
Martin Michelsen 956e890ad6 use make_shared where appropriate 2023-11-30 10:24:27 -08:00
Martin Michelsen c833b575e4 fix item table reloading 2023-11-30 10:24:11 -08:00
Martin Michelsen 4b3be7eee3 add fallback for undecodable text in quest disassembler 2023-11-30 09:48:40 -08:00
Martin Michelsen f7b6f602cd update to-do list 2023-11-30 09:48:24 -08:00
Martin Michelsen 695f14e3fb implement 6xD8 subcommand 2023-11-30 09:48:12 -08:00
Martin Michelsen 77906b7a57 update example config 2023-11-29 22:51:02 -08:00
Martin Michelsen 14fc0996bd fix team reward keys on quests 2023-11-29 22:48:20 -08:00
Martin Michelsen 3743d0a156 implement quest unlock flags 2023-11-29 22:22:19 -08:00
Martin Michelsen 3d2d96eb7e fix BB bank withdraw conditions 2023-11-29 18:45:30 -08:00
Martin Michelsen ba8917e50d implement team item rewards 2023-11-29 18:28:54 -08:00
Martin Michelsen b09269eabc update to-do list 2023-11-29 17:19:48 -08:00
Martin Michelsen d1ce010d06 make user flag that allows cheating even if cheats are disabled 2023-11-29 17:19:37 -08:00
Martin Michelsen 1e3ca4111a add TODO item about F94D quest opcode 2023-11-29 16:45:02 -08:00
Martin Michelsen 6a052722c9 load V1 rare tables 2023-11-29 16:44:53 -08:00
Martin Michelsen acb9c656c5 implement 6xCB subcommand 2023-11-29 16:42:24 -08:00
Martin Michelsen f5ebf6fdcd fix comment in rare-table-v1.json 2023-11-29 12:55:36 -08:00
Martin Michelsen 9ea84d7101 implement most remaining BB team functions 2023-11-29 11:35:15 -08:00
Martin Michelsen 556360c993 implement choice search 2023-11-28 18:38:43 -08:00
Martin Michelsen 4008d7f4ff remove history/future sections from readme 2023-11-28 18:38:43 -08:00
Matt e47b72dd72 Add Chinese/Korean download quests for PCv2 2023-11-28 14:06:21 -08:00
Martin Michelsen 613d0c6d36 update windows build instructions 2023-11-27 22:54:42 -08:00
Martin Michelsen 2d8de65dd0 fix initial lobby position commands across NTE/proto boundary 2023-11-27 22:50:44 -08:00
Martin Michelsen 33ef130098 allow word select across NTE/proto boundary 2023-11-27 22:50:23 -08:00
Martin Michelsen 3370d9c940 allow symbol chats to cross 11/2000 version boundary 2023-11-27 22:09:38 -08:00
Martin Michelsen 2c24cce740 send 15EA commands upon request 2023-11-27 21:34:28 -08:00
Martin Michelsen 26685ab32c save team config when points are earned 2023-11-27 21:31:10 -08:00
Martin Michelsen 1a5e56c0b2 fix team metadata in lobbies 2023-11-27 21:30:59 -08:00
Martin Michelsen 8e2a58ccaa eliminate ServerBehavior::DATA_SERVER_BB 2023-11-27 21:30:41 -08:00
Martin Michelsen 5192b5f615 hide some unnecessary data from log output 2023-11-27 21:29:48 -08:00
Martin Michelsen 9e55cd228c fix quest opcode flags constants 2023-11-27 16:02:58 -08:00
Martin Michelsen 65417749b2 don't send text messages to 11/2000 clients 2023-11-27 15:58:56 -08:00
Martin Michelsen 9a0ce6c131 update compatibility table in readme 2023-11-27 14:41:10 -08:00
Martin Michelsen d86b41daab update quest disassembler for 11/2000 prototype 2023-11-27 14:40:59 -08:00
Martin Michelsen 0a522e6ac4 add support for 12/2000 DC prototype 2023-11-27 14:40:42 -08:00
Martin Michelsen f2c3d256f3 fix quest disassembler opcode flags 2023-11-27 11:49:24 -08:00
Martin Michelsen dfb1249efc add comment about 11/2000 symbol chat 2023-11-27 11:49:20 -08:00
Martin Michelsen 7feb11b6a7 fix notes in compatibility table 2023-11-27 00:32:12 -08:00
Martin Michelsen 20b66a7a58 improve support for 11/2000 prototype 2023-11-27 00:29:26 -08:00
Martin Michelsen 9b6a023d38 preserve original disp if client is v1 or v2 2023-11-26 22:37:26 -08:00
Martin Michelsen ea83935dc4 implement BB EXP requests properly 2023-11-26 16:21:09 -08:00
Martin Michelsen 654132b5d2 fix BB team chat 2023-11-26 16:18:51 -08:00
Martin Michelsen e484ad72e0 rewrite quest category menu system 2023-11-26 14:52:37 -08:00
Martin Michelsen 64ac199730 fix battle map reloading 2023-11-26 11:46:10 -08:00
Martin Michelsen f4e9b4c60a fix error message when CatchHandlerExceptions is off 2023-11-26 11:45:59 -08:00
Martin Michelsen a4039fa9cd update to-do list 2023-11-25 23:43:54 -08:00
Martin Michelsen 6af0527498 implement team points and member ranking 2023-11-25 23:12:09 -08:00
Martin Michelsen 1cd0092a41 use client's ignore_def value when it doesn't match server's 2023-11-25 22:15:08 -08:00
Martin Michelsen 62d4c65a7d fix help text formatting 2023-11-25 22:13:13 -08:00
Martin Michelsen 220259b093 fix BB quest map loading bug 2023-11-25 21:12:03 -08:00
Martin Michelsen 0f8d88bb58 remove debugging messages 2023-11-25 21:02:53 -08:00
Martin Michelsen 4a3716191b update compatibility notes in readme 2023-11-25 21:02:44 -08:00
Martin Michelsen 5c58c500c1 fix DCNTE smoke test 2023-11-25 19:37:28 -08:00
Martin Michelsen a3d677316a fix DC NTE game join sync commands 2023-11-25 19:35:09 -08:00
Martin Michelsen 0f45ced3e9 add DC NTE map variations 2023-11-25 19:23:25 -08:00
Martin Michelsen ccfdbf2faf use 6x1F instead of 6F to unlock DC NTE games 2023-11-25 16:53:05 -08:00
Martin Michelsen 9c403e9107 remove unneeded debug prints 2023-11-25 16:26:19 -08:00
Martin Michelsen 46c3a44b41 fix uninitialized memory bug in UTF16 encoder 2023-11-25 16:12:11 -08:00
Martin Michelsen bc82594a26 add debugging prints for failure that only happens in GH Actions 2023-11-25 15:54:36 -08:00
Martin Michelsen e3ce4edede fix 8-bit challenge rank encryption 2023-11-25 15:33:33 -08:00
Martin Michelsen 61c37d86c1 fix signedness issue on linux 2023-11-25 13:16:45 -08:00
Martin Michelsen ff12a9aaca fix AR code translator stub 2023-11-25 12:41:24 -08:00
Martin Michelsen b5dbf25254 fix bug that causes long char names to disappear on BB 2023-11-25 12:30:27 -08:00
Martin Michelsen 10e5dc4708 clear arrow color when changing lobbies 2023-11-25 12:30:27 -08:00
Martin Michelsen 1b499ab953 fix spacing in help message 2023-11-25 12:30:27 -08:00
Martin Michelsen 011eedb855 add extra languages on PC v2 2023-11-25 12:30:27 -08:00
Martin Michelsen 897cca83cf add ability to disassemble DC NTE quests 2023-11-25 12:30:27 -08:00
Martin Michelsen fe6e957c92 add DC and GC NTE smoke tests 2023-11-25 12:30:27 -08:00
Martin Michelsen de4cb26c34 refactor GameVersion and QuestScriptVersion into a single enum 2023-11-25 12:30:27 -08:00
Martin Michelsen 9097abf307 fix starting inventory on new BB chars 2023-11-25 12:30:27 -08:00
Matt 14a86610ed Add download quests for V1 and PC 2023-11-25 10:26:33 -08:00
Matt 9e34ce6f49 Add official download quests for DC 2023-11-24 17:56:37 -08:00
Matt 7f1846013d Add missing DC version of MU3 2023-11-24 14:03:19 -08:00
Martin Michelsen 05d6d495a5 work around Tethealla bug in proxy 2023-11-21 23:04:20 -08:00
Martin Michelsen 5991a5a894 rewrite unit generation logic to fix v2/bb behavior 2023-11-21 22:11:41 -08:00
Martin Michelsen b0c481ed62 fix xbox 64 command on schtserv 2023-11-21 20:27:25 -08:00
Martin Michelsen 3712574784 minor style adjustment 2023-11-21 17:09:31 -08:00
Martin Michelsen e738f7f089 update to-do list 2023-11-21 17:09:18 -08:00
Martin Michelsen 8eba207a6b add BFR1 BB key 2023-11-21 13:31:22 -08:00
Martin Michelsen 67ed70082c rewrite 6x6D bug comment 2023-11-21 11:51:06 -08:00
Martin Michelsen 35aa6fba01 fix area number for specialized box item drops 2023-11-21 11:38:24 -08:00
Martin Michelsen 267c2ca00b fix invalid tool class on v3/v4 2023-11-21 11:25:25 -08:00
Martin Michelsen 1d8ae0b4d9 use constructor tables from GC and BB client in map parsing 2023-11-20 23:43:40 -08:00
Martin Michelsen 30ad83fa67 fix incorrect team metadata command target 2023-11-20 17:13:10 -08:00
Martin Michelsen 11880ecc05 fix v2 challenge mode overlays 2023-11-20 17:12:58 -08:00
Martin Michelsen a62b7dad26 fix warning in Map.cc 2023-11-19 23:20:14 -08:00
Martin Michelsen f8280e5f97 fix 6xC6 format 2023-11-19 23:18:31 -08:00
Martin Michelsen c1bf5ebb43 completely reset item creator when a quest loads 2023-11-19 23:07:21 -08:00
Martin Michelsen d1866c9bbf fix Ep2 Sinow child entity handling 2023-11-19 23:06:53 -08:00
Martin Michelsen 42e927caa9 add basic quest map disassembler 2023-11-19 23:06:30 -08:00
Martin Michelsen cd4c06231f fix challenge overlay creation on non-BB versions 2023-11-19 21:42:37 -08:00
Martin Michelsen 4588a71e5a implement 6xD1 command for BB challenge mode 2023-11-19 21:41:51 -08:00
Martin Michelsen 9476a3fc27 show rare seed and variations at game join time if $debug is on 2023-11-19 16:02:01 -08:00
Martin Michelsen b03ccc7e3e fix bug that leaves units equipped after armor item is destroyed 2023-11-19 16:01:24 -08:00
Martin Michelsen bc4092fb75 clean up switch block in team command handler 2023-11-19 13:13:55 -08:00
Martin Michelsen 261cefc8b1 name the unknown grave field in PlayerRecords_Challenge 2023-11-19 13:13:37 -08:00
Martin Michelsen 34666ee220 add missing challenge mode restart commands 2023-11-19 12:38:34 -08:00
Martin Michelsen c918596850 update to-do list 2023-11-19 12:38:22 -08:00
Martin Michelsen 976610705a fix wrap item bug 2023-11-18 23:13:34 -08:00
Martin Michelsen 5758f8dba1 remove in-game enemy drop debug message 2023-11-18 23:13:34 -08:00
Martin Michelsen 8d83b941d0 add debug messages in tekker adjustment code 2023-11-18 23:13:34 -08:00
Martin Michelsen 7ab98f41da fix challenge overlays for non-leaders 2023-11-18 23:13:34 -08:00
Martin Michelsen 5499d29cc2 add AR code translator shell 2023-11-18 23:13:34 -08:00
Martin Michelsen dd5873266d update sub_version notes 2023-11-18 23:13:34 -08:00
Martin Michelsen c1e225847e initial implementation of BB teams (WIP) 2023-11-18 23:13:34 -08:00
Matt 99d1a3272a Add English versions of JP-only BB quests 2023-11-18 15:13:19 -08:00
Martin Michelsen d316d2e260 fix game menu entry flags on v1/v2 2023-11-16 23:37:33 -08:00
Martin Michelsen 2f99a3760a fix visual.version field 2023-11-16 23:27:24 -08:00
Martin Michelsen 6b1a3e615b fix UTF-16 decoding bug again 2023-11-16 23:22:51 -08:00
Martin Michelsen 132395a53a fix DC NTE lobby interactions 2023-11-16 23:22:26 -08:00
Martin Michelsen 9cbcd09be0 fix UTF-16 decoding bug 2023-11-16 21:02:00 -08:00
Martin Michelsen 35f48cbd8f fix default in 18EA struct 2023-11-16 21:01:42 -08:00
Martin Michelsen db6578d57c move color encoding functions to GVMEncoder header 2023-11-16 21:01:06 -08:00
Martin Michelsen 4a5ea63f4a update 6xAC notes 2023-11-16 15:44:00 -08:00
Martin Michelsen 27608d9c11 implement 6xE1 2023-11-16 15:43:53 -08:00
Martin Michelsen c84d4b134f add BB global EXP multiplier 2023-11-15 22:38:37 -08:00
Martin Michelsen 722010c0f7 add $save command 2023-11-15 22:38:36 -08:00
Martin Michelsen 82c651a3ad implement BB trade window 2023-11-15 22:38:36 -08:00
Martin Michelsen 5834a41cec update to-do list 2023-11-15 21:34:27 -08:00
Martin Michelsen f48b5ac8b2 update notes on 8A command 2023-11-15 20:57:09 -08:00
Martin Michelsen 1b29f20541 fix incorrect object lists in quest 2023-11-15 20:01:45 -08:00
Martin Michelsen b492a2fac6 handle rejected tekker results properly 2023-11-15 18:14:04 -08:00
Martin Michelsen c896c11f57 fix duplicate pick up disconnections on BB 2023-11-15 17:29:09 -08:00
Martin Michelsen 6aef245eab fix item ID inconsistencies between server and client due to shops and tekker in BB 2023-11-15 17:18:46 -08:00
Martin Michelsen 8ae6500fb5 add extra aliases for m&y in $item 2023-11-15 17:17:59 -08:00
Martin Michelsen 768bdb5b05 fix variance on specialized boxes 2023-11-15 16:02:31 -08:00
Martin Michelsen f997376819 fix equip slot check 2023-11-15 15:24:54 -08:00
Martin Michelsen 3d7b6837ec disable equip tracking in non-BB games 2023-11-15 14:41:13 -08:00
Martin Michelsen 533ee04443 fix join command queue bug 2023-11-15 13:33:34 -08:00
Martin Michelsen 6e1691d023 fix mag stat adjustments during level up 2023-11-15 12:47:24 -08:00
Martin Michelsen be6fd25190 implement proper equip/unequip tracking 2023-11-15 12:47:14 -08:00
Martin Michelsen ac57fb16a4 fix unit modifiers in $item command 2023-11-15 11:39:50 -08:00
Martin Michelsen 687a4515a2 fix bug that caused sorting inventory to delete extended tech levels 2023-11-15 11:34:53 -08:00
Martin Michelsen 0705b4d155 don't filter by episode at government counter 2023-11-15 00:03:21 -08:00
Martin Michelsen 2818b4ac2f clean up bit cast 2023-11-14 23:50:46 -08:00
Martin Michelsen ab5536d554 add more quest debugging commands 2023-11-14 23:27:40 -08:00
Martin Michelsen fbb053883b implement 6xDE command 2023-11-14 23:27:27 -08:00
Martin Michelsen d1161dd8e4 fix cheat mode check on proxy 2023-11-14 22:25:03 -08:00
Martin Michelsen 91b54b635d fix bug that caused boxes to never be empty 2023-11-14 21:52:38 -08:00
Martin Michelsen 2e89cfa8d6 use server's rt_index for enemy item drops 2023-11-14 21:52:38 -08:00
Martin Michelsen 62d484472f implement 6xE0 command 2023-11-14 21:52:38 -08:00
Martin Michelsen ba3016f89c filter non-download quests by episode 2023-11-14 21:52:38 -08:00
Martin Michelsen c5605c8685 fix some missing client ID bounds checks 2023-11-14 21:52:38 -08:00
Martin Michelsen 126e5944f4 refine 6x70 structure 2023-11-14 21:52:38 -08:00
Martin Michelsen 1531f4dad2 work around data race during game join 2023-11-14 21:52:38 -08:00
Martin Michelsen 82d0539c31 also blank name_color_checksum during $bbchar 2023-11-14 12:29:35 -08:00
Martin Michelsen 5c47385bee fix some $bbchar bugs 2023-11-14 12:25:19 -08:00
Martin Michelsen e3956a0a09 improve specialized box log messages 2023-11-14 12:24:59 -08:00
Martin Michelsen 6568ba7e32 unset x bit on everything in system/ 2023-11-13 22:18:22 -08:00
Martin Michelsen 4fe238a01a track specialized boxes server-side 2023-11-13 22:07:21 -08:00
Martin Michelsen 4b4627d3e5 fix material tracking bug 2023-11-13 22:06:49 -08:00
Martin Michelsen a1b457a5e6 make EXP computation match the client 2023-11-13 18:16:59 -08:00
Martin Michelsen 1ca0e928a4 rename area -> floor in most places 2023-11-13 17:25:16 -08:00
Martin Michelsen 8d4c9ca93a add Ep3 EU in handler-tables 2023-11-13 16:49:46 -08:00
Martin Michelsen 83b8f1a87c delete now-unused player data templates 2023-11-13 16:21:35 -08:00
Martin Michelsen 33a6e307e9 add support for v1 rare item tables 2023-11-13 16:18:20 -08:00
Martin Michelsen 08fbbd50ad fix various battle mode behaviors 2023-11-13 15:42:17 -08:00
Martin Michelsen c5f047dc0d don't check missing categories during quest indexing 2023-11-13 14:25:49 -08:00
Martin Michelsen d976452e00 update readme for new quest directory structure 2023-11-13 14:25:49 -08:00
Martin Michelsen cbe69c6ada fix pvr codepath in quest loading 2023-11-13 14:25:49 -08:00
Martin Michelsen 201676be5c fix REG32_SET_FIXED disassembly 2023-11-13 14:25:49 -08:00
Martin Michelsen 5e6a5355f5 fix load condition for non-BB clients 2023-11-13 14:00:59 -08:00
Martin Michelsen 18ddfa4ef4 use .psochar format for BB characters 2023-11-13 13:00:22 -08:00
Martin Michelsen f5bfd4a3c6 fix signed/unsigned comparison 2023-11-12 20:16:29 -08:00
Martin Michelsen 9c821b2988 organize quests directory by category 2023-11-12 16:30:03 -08:00
Martin Michelsen afba337575 clean up random enemy generation 2023-11-12 12:19:37 -08:00
Martin Michelsen 53451c2d45 add both Ep3 EU ports in config.json 2023-11-12 12:16:48 -08:00
Matt 884653d41c Fix Xbox symlink for q240 2023-11-12 12:14:47 -08:00
Matt 5304fff790 Fix incorrect names for Episode 2 Challenge J 2023-11-12 12:14:47 -08:00
Matt 4316afc137 Add Xbox login and lobby ports 2023-11-12 12:14:47 -08:00
Matt 616f8ad827 Add J versions of BB side story quests 2023-11-12 12:14:47 -08:00
Matt f0f9171acd Add various BB quests 2023-11-12 12:14:47 -08:00
Matt 049135bd2d test commit 2023-11-12 12:14:47 -08:00
Matt 4e68e6a48c Add J versions of Challenge/Battle 2023-11-12 00:26:00 -08:00
Matt 272e757315 Add various BB quests 2023-11-12 00:26:00 -08:00
Matt 768c07b99a test commit 2023-11-12 00:26:00 -08:00
Martin Michelsen 4de1495c31 fix categories on updated Ep3 maps 2023-11-12 00:12:32 -08:00
Martin Michelsen 7872fea6ab send rare enemy list again after loading a quest 2023-11-12 00:01:41 -08:00
Martin Michelsen d33709f4a2 make quests appear in the menu even if they don't exist in player's language 2023-11-12 00:01:41 -08:00
Martin Michelsen 43d7815165 fix some item-related debug messages 2023-11-12 00:01:41 -08:00
Martin Michelsen 3057c31d01 update notes on Ep3 EU 50Hz 2023-11-12 00:01:41 -08:00
Martin Michelsen cce42c4165 add $quest command for debugging 2023-11-12 00:01:41 -08:00
Martin Michelsen 3e735fcea4 implement BB challenge mode random enemy generation 2023-11-11 23:58:24 -08:00
Martin Michelsen 779d32d20f fix $matcount on v2 2023-11-11 22:32:10 -08:00
Martin Michelsen 1fa3d3a56d add other languages for Ep3 maps 2023-11-11 21:44:00 -08:00
Martin Michelsen b2a22522d2 unset x bit on ep3 maps 2023-11-11 21:39:49 -08:00
Martin Michelsen 4e93b2fc8b fix S-rank weapon name encoding/decoding 2023-11-11 15:45:59 -08:00
Martin Michelsen 90b7f0d0c0 add $ping command 2023-11-10 17:59:43 -08:00
Martin Michelsen a0f0230700 forbid rare enemies in challenge mode 2023-11-10 12:41:41 -08:00
Martin Michelsen a0505176ec get quest episode number from start function instead of header 2023-11-10 12:41:29 -08:00
Martin Michelsen 51ba23faa6 exempt solo-mode games from $debug client placement 2023-11-10 11:57:58 -08:00
Martin Michelsen d8e35b021f fix disconnect message when Quit Game is selected 2023-11-09 10:33:08 -08:00
Martin Michelsen a966696d9d fix used_chars_16 error message 2023-11-09 09:18:32 -08:00
Martin Michelsen 72d0047634 fix incorrect parray usage 2023-11-09 09:18:21 -08:00
Martin Michelsen cabd03a82e implement BB challenge param commands 2023-11-08 22:44:59 -08:00
Martin Michelsen 3ea65ccc75 fix missing 6x1B handler 2023-11-08 19:01:01 -08:00
Martin Michelsen 38c0d975cc fix missing 6xDC handler 2023-11-08 15:47:56 -08:00
Martin Michelsen 77799d1a37 add comment about 9F command timing 2023-11-08 15:47:43 -08:00
Martin Michelsen 7d0438f149 fix area_norm for Episode 4 2023-11-07 22:51:44 -08:00
Martin Michelsen c9a61afa62 fix BB $edit name 2023-11-07 22:51:27 -08:00
Martin Michelsen 2da235caf7 don't print BB character name language markers to terminal 2023-11-07 22:24:54 -08:00
Martin Michelsen aa577b4b63 fix HP/TP results in $matcount 2023-11-07 21:50:46 -08:00
Martin Michelsen af43756899 fix typo in comment 2023-11-07 18:51:52 -08:00
Martin Michelsen 696fb8377e re-record XB test 2023-11-07 18:01:09 -08:00
Martin Michelsen cb0e9ba0b2 fix ending proxy session on non-virtual connections 2023-11-07 17:53:31 -08:00
Martin Michelsen 01f3ed7bc6 fix some endianness differences on GC/XB 2023-11-07 17:53:31 -08:00
Martin Michelsen d46e6de4f0 fix xbox redirect command 2023-11-07 17:53:31 -08:00
Martin Michelsen 71cfced5ee add xbox support 2023-11-06 23:09:09 -08:00
Martin Michelsen 4b1f5420f2 save player stats on external level up 2023-11-06 23:09:09 -08:00
Martin Michelsen 0de169e474 fix overlay creation log message 2023-11-06 23:09:09 -08:00
Matt bc8010d704 Add info about setting DNS info to DC flash
Should probably ask Flycast to do this automatically with zero values.
2023-11-06 08:50:04 -08:00
Matt 05b5998a62 Update README.md 2023-11-06 08:50:04 -08:00
Matt 7a5a3deb4d Update Flycast instructions 2023-11-06 08:50:04 -08:00
Martin Michelsen f2e84dbf78 add logging for BB bank actions 2023-11-05 18:37:11 -08:00
Martin Michelsen f0cbb08742 show item price in encode-item action 2023-11-05 18:36:57 -08:00
Martin Michelsen 1deb5e0708 fix tech disk price computation 2023-11-05 18:36:40 -08:00
Martin Michelsen 5326c1d888 fix comment on Ep3 tournament command struct 2023-11-05 18:36:23 -08:00
Martin Michelsen 519565760f add to-do list for PSOX 2023-11-05 18:36:04 -08:00
Martin Michelsen d0dbffb364 add PSOX login port 2023-11-05 12:36:01 -08:00
Martin Michelsen 5957fd62e3 add missing include 2023-11-04 22:10:52 -07:00
Martin Michelsen e8d605afe3 implement v1-encoding for v2 items 2023-11-04 21:30:24 -07:00
Martin Michelsen 25c0aa21dc remove client ID check for externally-generated item IDs 2023-11-04 09:20:42 -07:00
Martin Michelsen b06bfc13b4 don't enforce grind limits on v1/v2 2023-11-03 23:42:44 -07:00
Martin Michelsen a7e478780e deal with invalid 6x59 commands 2023-11-03 23:10:07 -07:00
Martin Michelsen f63b4bd88b don't send blank 6x5F commands when items are skipped 2023-11-03 22:15:43 -07:00
Martin Michelsen cbfcbe16f9 fix $inftp text message 2023-11-03 21:23:00 -07:00
Martin Michelsen 6b812520bc refine ObjectEntry structure 2023-11-02 23:20:00 -07:00
Martin Michelsen f1b00d3ee0 fix unit modifiers in ItemData 2023-11-02 23:19:24 -07:00
Martin Michelsen 008e59b892 fix DC QST decoder 2023-11-02 14:26:06 -07:00
Martin Michelsen 482bc5fbad use client's language when generating download quests 2023-11-02 12:07:11 -07:00
Martin Michelsen 983c6e1ebc fix English language quest fallback in menu generation 2023-11-01 23:19:49 -07:00
Martin Michelsen 1888ab61d4 add ItemRT conversion action 2023-11-01 23:19:49 -07:00
nolrinale ef5350f69b Fixing redaction 2023-10-31 11:59:59 -07:00
nolrinale 5a518c9980 Adding PSOBB localization resources 2023-10-31 11:59:59 -07:00
Martin Michelsen d97db987cd fix BB joinable quest loading bug 2023-10-31 11:04:08 -07:00
Martin Michelsen 8c85868e08 add force English flag for Tethealla BB client 2023-10-31 11:00:54 -07:00
Martin Michelsen 9e682e7c13 add TODO about quest progress flags 2023-10-31 11:00:32 -07:00
Martin Michelsen 96e478192a fix missing value in name_for_enum<EnemyType> 2023-10-31 10:08:17 -07:00
Martin Michelsen 724186a8c0 make $edit level also set stats 2023-10-31 09:57:29 -07:00
Martin Michelsen 4158f4a42a don't double-clear destroyed entity set during quest load 2023-10-30 15:27:08 -07:00
Martin Michelsen 14e6111448 remove redirection feature 2023-10-30 15:19:41 -07:00
Martin Michelsen add46095c3 document BB 0101 command 2023-10-30 14:48:02 -07:00
Martin Michelsen 5e2e38f1b5 rewrite client config; use BB state from login command 2023-10-30 13:15:41 -07:00
Martin Michelsen 47198779b7 add more info to log prefixes 2023-10-29 18:29:34 -07:00
Martin Michelsen 5ff2694ded split information menu across v1+v2 / v3 2023-10-29 18:14:09 -07:00
Martin Michelsen 138c563a40 add v2 challenge templates 2023-10-29 18:01:47 -07:00
Martin Michelsen 5ec969ece3 ignore duplicate item pickup requests 2023-10-29 18:01:44 -07:00
Martin Michelsen 4e2e423a4b fix duplicate entity ids in ItemCreator; add decision logging 2023-10-29 15:28:23 -07:00
Martin Michelsen 632af03a3f fix unidentified flag logic on v2 2023-10-29 14:39:21 -07:00
Martin Michelsen 025fc154d4 refine some BB structures 2023-10-29 13:32:29 -07:00
Martin Michelsen 1ca3d3b27f fix Anti max level on v2 2023-10-29 13:32:29 -07:00
Martin Michelsen 1b839520c9 delete unused SJIS table 2023-10-29 13:32:29 -07:00
Martin Michelsen 293df2b73a fix license autocreation 2023-10-29 13:32:29 -07:00
Martin Michelsen c496abc2bf fix flags argument to add-license shell command 2023-10-28 16:52:56 -07:00
Martin Michelsen 45c2b792f7 fix range check bug in non-v4 ItemParameterTable 2023-10-28 14:50:31 -07:00
Martin Michelsen 50a594ec60 fix logic for EXP-stealing weapons 2023-10-28 13:23:32 -07:00
Martin Michelsen b5739fff68 annotate special name table with types/amounts 2023-10-28 13:23:16 -07:00
Martin Michelsen 2c6df68af3 fix unit table in v2/v3 ItemCreator 2023-10-28 13:23:00 -07:00
Martin Michelsen 8a1c4f5f8b PhysicalData and PlayerStats are the same structure 2023-10-28 10:45:59 -07:00
Martin Michelsen 87cae99326 add default values for all command structs 2023-10-28 10:29:37 -07:00
Martin Michelsen ef939075ef fix some text handling with DC NTE 2023-10-28 01:06:43 -07:00
Martin Michelsen a6a1647801 add missing include again 2023-10-28 00:16:59 -07:00
Martin Michelsen 3ebe7dd3e2 fix camera zone layout in ep3 map disassembly 2023-10-28 00:10:55 -07:00
Martin Michelsen cc1ce099e5 fix constexpr global 2023-10-28 00:10:55 -07:00
Martin Michelsen 62dde991df add missing include 2023-10-28 00:03:59 -07:00
Martin Michelsen 75c11aeba5 refine BattleParamEntry format 2023-10-27 23:58:34 -07:00
Martin Michelsen ed05a5f6ec convert schtserv rare table to json 2023-10-27 23:04:02 -07:00
Martin Michelsen 1c2786ef43 support v2 and v3 ItemPMT files 2023-10-27 21:08:34 -07:00
Martin Michelsen 7651922dc9 add notes about mag effect activation 2023-10-27 21:08:34 -07:00
Martin Michelsen 3a21cb29fd refine PlayerInventoryItem 2023-10-27 21:08:34 -07:00
Matt 005eeb3a3f Change HUcast and RAcast shorthand to the more commonly accepted standard 2023-10-27 12:37:22 -07:00
Martin Michelsen 582fd84f5e rewrite CommonItemSet to support v2 2023-10-26 17:40:26 -07:00
Martin Michelsen 067c28dee5 fix luck material usage on v2 2023-10-26 14:41:28 -07:00
Martin Michelsen 12fbdbbcdd restrict externally-generated item ID range further 2023-10-26 11:25:27 -07:00
Martin Michelsen 700b1497d6 don't use format_data_string to serialize non-English strings 2023-10-26 00:48:29 -07:00
Martin Michelsen 20d709686a require cheats to be allowed on the server for $rand and $secid commands 2023-10-26 00:24:27 -07:00
Martin Michelsen 5c2564336e fix unicode text set codec 2023-10-26 00:03:36 -07:00
nolrinale ee4dade7ad Adding Vanilla PSOBB Rare Item Drop Data Files 2023-10-25 20:20:55 -07:00
Martin Michelsen 7476eb62d3 allow server item tables to be enabled by default 2023-10-25 18:48:22 -07:00
Martin Michelsen 6466eec106 fix externally-generated item IDs in item tracking code 2023-10-25 17:14:04 -07:00
Martin Michelsen 5f0a6f3d8e factor FloorItem struct into 6x5F format 2023-10-25 17:14:04 -07:00
Martin Michelsen 5d251361b0 fix negative bonuses in item descriptions 2023-10-25 17:14:04 -07:00
Martin Michelsen 554edf6edf don't force personal cheat flags off when cheat mode is disabled in a game 2023-10-25 17:14:04 -07:00
Martin Michelsen 0c53a0dc41 rewrite text encoding to handle non-English properly 2023-10-25 17:14:04 -07:00
Matt 6b97c628ef Update DC Serial Generator instructions once again 2023-10-22 20:31:23 -07:00
Martin Michelsen 85125a5569 add override section ID name to confirmation message 2023-10-22 09:43:02 -07:00
Martin Michelsen 1a2be3ab11 update DC serial generator instructions again 2023-10-22 09:43:02 -07:00
Martin Michelsen c0740fd21f fix v2 visual checks again 2023-10-22 09:13:29 -07:00
Martin Michelsen d2d96d9c0a get client language from login command instead of player data 2023-10-22 08:55:09 -07:00
Martin Michelsen ba7a3fc4c6 move item tables to a separate directory 2023-10-21 22:48:27 -07:00
Martin Michelsen 8f2f7670b2 make $item disk:reverser work 2023-10-21 22:17:29 -07:00
Martin Michelsen c579e47354 fix exception handling in $patch command 2023-10-21 22:17:29 -07:00
Martin Michelsen c4790068ef fix cross-version lobby appearance and name colors 2023-10-21 22:01:38 -07:00
Martin Michelsen 7b035d311f fix identified item flag during item generation 2023-10-21 20:34:59 -07:00
Martin Michelsen 713e8ff7c1 fix android skin color change for v2 limits 2023-10-21 18:51:58 -07:00
Martin Michelsen 53ebd42612 add unitxt encode/decode actions 2023-10-21 16:40:19 -07:00
Martin Michelsen 81edf93e3b handle V2 mag encoding properly 2023-10-21 11:48:31 -07:00
Martin Michelsen 05d508230b remove unneeded include 2023-10-20 16:27:55 -07:00
Martin Michelsen 27734a6944 use correct ItemPT table in Challenge mode 2023-10-20 16:23:23 -07:00
Martin Michelsen bf346d3f95 fix Word Select mapping across versions 2023-10-20 16:19:03 -07:00
Martin Michelsen 6933a4338b fix early idle timeout in IP stack simulator 2023-10-19 23:16:16 -07:00
Martin Michelsen 08361ad597 add extract-afs command 2023-10-19 18:55:11 -07:00
Martin Michelsen fbefb1fb21 fix comment about enemy DAR 2023-10-19 18:43:08 -07:00
Matt 08dd67d894 Correct EU Episode III connection port 2023-10-19 18:28:35 -07:00
Martin Michelsen de0e56f37c fix EXP multiplier command 2023-10-19 17:24:16 -07:00
Martin Michelsen 57a5476ff8 remove some done items from to-do list 2023-10-19 15:54:46 -07:00
Martin Michelsen a211bd07ac implement 6xD2 command 2023-10-19 15:45:32 -07:00
Martin Michelsen 5a30272869 implement some BB quest commands 2023-10-19 15:34:06 -07:00
Martin Michelsen 4bc5f1b90f describe entire battle rules structure 2023-10-18 23:30:27 -07:00
Martin Michelsen c0c7bf9b16 fix incorrect game base_version setting 2023-10-18 21:15:45 -07:00
Martin Michelsen 6ec41a279e add more missing includes 2023-10-18 17:33:46 -07:00
Martin Michelsen 519933c44d add missing include 2023-10-18 17:27:14 -07:00
Martin Michelsen 9d0ba3a97b fix class replacement for v3/v2 compatibility 2023-10-18 17:22:26 -07:00
Martin Michelsen 2e36cebbcc implement redirect destinations 2023-10-18 17:22:07 -07:00
Martin Michelsen e8d8b94ffa implement character overlays for challenge mode 2023-10-18 17:16:51 -07:00
Martin Michelsen 8c2ce5210d implement battle rules and character replacement 2023-10-18 11:57:13 -07:00
Martin Michelsen 13dacc013a document CardDefinition and a few other things 2023-10-17 15:51:29 -07:00
Martin Michelsen 85ef84a6d5 fix wording in Ep3 card transformation comment 2023-10-17 10:24:11 -07:00
Martin Michelsen 08a1bf3238 implement server drop tables 2023-10-16 23:10:13 -07:00
Martin Michelsen d66c1f5de9 add ItemRT.afs decoder 2023-10-16 21:14:38 -07:00
Martin Michelsen ba09188b82 add TODO about Ep3 ranks 2023-10-16 19:37:38 -07:00
Martin Michelsen 0bb9718da3 add JSON rare table conversion 2023-10-16 19:37:29 -07:00
Martin Michelsen 04d92d93e5 don't show weapon percents if they're all zero 2023-10-16 19:36:39 -07:00
Martin Michelsen e2f72f3088 split Ep3 and Ep1&2 quest indexes 2023-10-16 17:54:04 -07:00
Martin Michelsen 22ceb2d1f7 fix cross-language quest loading 2023-10-16 11:43:06 -07:00
Martin Michelsen 112896bb34 add non-English versions of several GC quests 2023-10-16 11:34:11 -07:00
Martin Michelsen 5d71b66f84 implement quest version separation 2023-10-16 00:20:38 -07:00
Martin Michelsen 7005b573f5 add names to IPS listen sockets 2023-10-14 21:28:02 -07:00
Martin Michelsen 7d95efa803 don't warn for DHCP release commands 2023-10-13 10:07:43 -07:00
Martin Michelsen 0a3528b978 explicitly clear unused_bootp_legacy 2023-10-13 00:54:46 -07:00
Martin Michelsen 78698a0a89 implement DHCP in IPStackSimulator 2023-10-13 00:45:27 -07:00
Martin Michelsen 01033287f2 add AITalk.bin format notes 2023-10-13 00:37:32 -07:00
Martin Michelsen 1d8c78166d allow trap cards to be customized 2023-10-12 17:55:37 -07:00
Martin Michelsen 4e29f22655 rename Leader/Group function in Ep3 server 2023-10-12 11:46:33 -07:00
Martin Michelsen 31c0a35bb6 reorganize and expand save file tests 2023-10-12 10:57:47 -07:00
Martin Michelsen 9fd19d2676 name more fields in save structs 2023-10-12 10:55:42 -07:00
Martin Michelsen bb89bc9b7b document flags field in character save file struct 2023-10-10 23:53:56 -07:00
Martin Michelsen 76ad50886f add $matcount command 2023-10-10 23:53:33 -07:00
Martin Michelsen 8b1fab916d update some effect names and descriptions 2023-10-10 15:45:27 -07:00
Martin Michelsen 16bb320ed8 add yet another spectator metadata send 2023-10-10 15:14:20 -07:00
Martin Michelsen 453a05fb8c reformat comment 2023-10-10 11:50:33 -07:00
Martin Michelsen c33af99ae5 name some previously-unknown fields 2023-10-10 10:55:49 -07:00
Martin Michelsen 8ad27e9001 fix trial quest for downloading 2023-10-09 21:41:38 -07:00
Martin Michelsen 132daf2c0e retitle Pinz's Shop code appropriately 2023-10-09 20:53:36 -07:00
Martin Michelsen d39f1eb74c add Ep3 proxy option for infinite time 2023-10-09 18:51:19 -07:00
Martin Michelsen 9da756cc14 fix control characters in text-english.json 2023-10-09 18:39:54 -07:00
Martin Michelsen a693fcd48e update note on simple mail command 2023-10-09 18:06:15 -07:00
Martin Michelsen 462f4842aa add unused sound effects code 2023-10-09 18:05:53 -07:00
Martin Michelsen 99fff5baf2 add default dice text files 2023-10-09 11:07:18 -07:00
Martin Michelsen 40da9e5604 add TextDice to disassembly 2023-10-09 11:06:47 -07:00
Martin Michelsen 41c07a3da8 update format of cards.html and make generation faster 2023-10-09 10:00:00 -07:00
Martin Michelsen 9677d0fca4 add default text archive for ep3 card disassembly 2023-10-09 09:10:39 -07:00
Martin Michelsen a674721727 add text archive encoder/decoder 2023-10-08 23:00:18 -07:00
Martin Michelsen aa76631073 update some comments 2023-10-08 17:57:40 -07:00
Martin Michelsen 3902c64424 fix $spec in tournaments 2023-10-08 17:57:24 -07:00
Martin Michelsen 226140deb7 load correct version of quest in cross-play games 2023-10-08 15:45:42 -07:00
Martin Michelsen 812310054c fix 6x70 handling in dc/pc cross-play 2023-10-08 15:20:48 -07:00
Martin Michelsen 5673de78be fix up to-do list 2023-10-08 15:20:15 -07:00
Martin Michelsen 32af88cd9b undo accidental language tag change 2023-10-08 14:53:52 -07:00
Martin Michelsen 3bb8ac5c43 fix BB play_time handling with long char names 2023-10-08 14:50:32 -07:00
Martin Michelsen ea7f655408 implement Episode 3 download quest categories 2023-10-08 14:19:31 -07:00
Martin Michelsen 948985b057 describe card effect name_index field 2023-10-08 12:35:34 -07:00
Martin Michelsen 8df36ea3c2 index quests by number, then by version 2023-10-08 11:14:46 -07:00
Martin Michelsen e723e80171 fix show-ep3-maps 2023-10-08 09:25:01 -07:00
Martin Michelsen 29dd0caaab fix QST encoding issues 2023-10-08 09:15:19 -07:00
Martin Michelsen 30394e7120 consolidate args in quest disassembler 2023-10-07 22:38:51 -07:00
Martin Michelsen eee420f2e1 update to-do list 2023-10-07 21:51:02 -07:00
Martin Michelsen 065c11ac90 only show leader change if player notifs are on 2023-10-07 21:51:02 -07:00
Martin Michelsen 6bebcc841e implement overflow lobbies 2023-10-07 21:10:08 -07:00
Martin Michelsen c2b2239df0 bring back patch_flycast_memory.py 2023-10-07 21:10:08 -07:00
Martin Michelsen abd87054ac add cross-play options 2023-10-07 20:43:35 -07:00
Martin Michelsen 07b1e9cde3 enforce 6x command size limit 2023-10-07 18:22:58 -07:00
Martin Michelsen d5cc91a9bf handle inventory extension data properly 2023-10-07 18:17:54 -07:00
Martin Michelsen 9fd90ee324 update names used in Ep3 disassembly 2023-10-07 13:59:48 -07:00
Martin Michelsen 8a6a7fb47f update some command notes 2023-10-07 12:27:23 -07:00
Martin Michelsen f77e21800c fix QST encoder 2023-10-07 08:38:06 -07:00
Martin Michelsen 2478f18298 don't forward Ep3 server commands sent by clients 2023-10-07 08:38:06 -07:00
Martin Michelsen bb1c0f1d1a add shell server TODO 2023-10-07 08:38:06 -07:00
Matt 9cf53c85a2 pls work 2023-10-07 08:36:38 -07:00
Matt ab5d8e4522 Correct Readme spacing 2023-10-07 08:36:38 -07:00
Matt e4bb5bc28c Remove patch_flycast_memory.py 2023-10-07 08:36:38 -07:00
Matt 1cb0d5bcec Update Flycast connection instructions 2023-10-07 08:36:38 -07:00
Martin Michelsen 88d887a58a combine maps-free and maps-quest into one directory 2023-10-05 22:49:54 -07:00
Martin Michelsen 77f64d3496 document PC save encrypt/decrypt actions 2023-10-05 22:49:54 -07:00
Martin Michelsen cdb3943d9f rename and document DC serial number functions 2023-10-05 22:49:54 -07:00
Martin Michelsen 532bcab0b6 add debug messages for previously-unused CAx commands 2023-10-05 10:38:40 -07:00
Martin Michelsen ab3c27772e document more Ep3 battle subcommands 2023-10-05 10:28:34 -07:00
Martin Michelsen 682632f1c5 implement GBA file not found command 2023-10-05 10:28:04 -07:00
Martin Michelsen 6850bc0e06 update some command notes 2023-10-05 10:27:38 -07:00
Martin Michelsen 6368ebcd71 use spectator text field for something 2023-10-05 00:06:34 -07:00
Martin Michelsen a23dabd58e fix spectator count on joining a spectator team 2023-10-05 00:00:18 -07:00
Martin Michelsen da37fc1fee document spectator message in 6xB4x52 command 2023-10-05 00:00:18 -07:00
Martin Michelsen 15c08c0101 add more info to 6xB4x46 version messages 2023-10-05 00:00:18 -07:00
Martin Michelsen 7e84a5cb6a update some comments 2023-10-04 10:40:18 -07:00
Martin Michelsen 3c4019f705 add simulator AR code 2023-10-04 10:40:05 -07:00
Martin Michelsen 040356d365 fix silly gcc warning 2023-10-03 21:20:06 -07:00
Martin Michelsen f0c339e040 make tournament deck selection start at the same time for all players 2023-10-03 21:13:09 -07:00
Martin Michelsen 38aaffd4bd add TODO for DC/PC crossplay 2023-10-03 21:13:09 -07:00
Matt e81e60b543 Unhide VR category for V1/2 2023-10-03 19:40:06 -07:00
Martin Michelsen da48712449 absolve myself of some longstanding laziness 2023-10-03 19:35:39 -07:00
Martin Michelsen ceefe44b96 add some to-do items 2023-10-03 19:35:39 -07:00
Martin Michelsen bc22327361 add support for all DC versions 2023-10-03 17:58:24 -07:00
Martin Michelsen 37c4cbd8f3 undo battle table fast loading change 2023-10-02 16:58:14 -07:00
Martin Michelsen d90fc2a543 make encryption objects serializable 2023-10-01 22:44:56 -07:00
Martin Michelsen 2dca523a4b clean up comment about Ep3 reverse-engineering 2023-10-01 22:44:56 -07:00
Martin Michelsen 4aa156a322 only show recording messages if Ep3 debug messages are on 2023-10-01 19:27:59 -07:00
Martin Michelsen e9b6b681bd fix Ep3 spectator test 2023-10-01 15:51:53 -07:00
Martin Michelsen 8cf0b9f947 add initializer for SpectatorEntry::name_color 2023-10-01 08:55:08 -07:00
Martin Michelsen bbe42b765c fix spectators not seeing each other's names when joining spectator team 2023-10-01 08:45:13 -07:00
Martin Michelsen 507b2fbcac fix disconnect when viewing Ep3 team info with missing player 2023-10-01 07:52:38 -07:00
Martin Michelsen 5fe21b8eec add initializers to ClientConfig structs 2023-09-30 09:40:50 -07:00
Martin Michelsen d488ccd100 fix type in GVM entry struct 2023-09-30 00:45:28 -07:00
Martin Michelsen 403c17b42d show defeat status in tournament team info 2023-09-29 23:36:08 -07:00
Martin Michelsen a0ff0cf8e7 add some reloading TODOs 2023-09-29 19:00:34 -07:00
Martin Michelsen feded3e891 make tournament and battle table matches load faster 2023-09-29 19:00:25 -07:00
Martin Michelsen 74307ea7a2 maybe fix multiplayer tournament matches 2023-09-29 18:20:36 -07:00
Martin Michelsen 45ea21860d fix spectator list in game details display 2023-09-28 23:19:02 -07:00
Martin Michelsen 6a6fb91acb explain overall_time_limit more clearly 2023-09-28 15:44:18 -07:00
Martin Michelsen 8aaadf81ac update notes about before_message 2023-09-28 14:51:16 -07:00
Martin Michelsen 1f34b6bb90 add TODO for nonblocking reloads 2023-09-28 14:51:07 -07:00
Martin Michelsen fbdfdb085a add learnings from Ep3 Trial Edition download quest 2023-09-28 14:50:52 -07:00
Martin Michelsen 5c5da8e10b add converted Ep3 Trial Edition download quest 2023-09-28 14:46:24 -07:00
Martin Michelsen 103e5325a3 fix CAx1B client ID check 2023-09-27 10:51:18 -07:00
Martin Michelsen 02584e4458 add card list HTML generator 2023-09-27 10:00:33 -07:00
Martin Michelsen 263e9114c5 add TODO for detector encryption 2023-09-26 20:11:34 -07:00
Martin Michelsen fed50aec6b fix typo in readme 2023-09-26 20:11:21 -07:00
Martin Michelsen b9057cf562 add DC NTE UDP-off variants 2023-09-26 12:17:53 -07:00
Martin Michelsen 63f6aff4ed add decoder for Ep3 trial download quests 2023-09-26 12:12:41 -07:00
Martin Michelsen a4961ad69d fix DCv1 login with UDP off 2023-09-26 12:10:04 -07:00
Martin Michelsen f0bd2c7aa6 make incorrect password errors let you re-enter your password 2023-09-26 10:47:16 -07:00
Martin Michelsen ac13bf13b2 update readme 2023-09-26 10:46:57 -07:00
Martin Michelsen 98dc2af278 support decompressed card text archives 2023-09-26 10:46:46 -07:00
Martin Michelsen b7ceeb029a fix battle record loading 2023-09-25 22:37:44 -07:00
Martin Michelsen f036f137f7 fix some wording in example config 2023-09-25 22:28:55 -07:00
Martin Michelsen 187bfa1756 fix download quests on proxy server 2023-09-25 22:28:39 -07:00
Martin Michelsen 5e14a8449c add $meseta command 2023-09-25 21:42:36 -07:00
Martin Michelsen 65f8dea0da add $call command 2023-09-25 09:47:56 -07:00
Martin Michelsen 995a05c409 prefix battle record filenames with serial number 2023-09-25 09:26:48 -07:00
Martin Michelsen 885d125fc4 eliminate the concept of temporary licenses 2023-09-25 09:26:48 -07:00
Martin Michelsen 949ad0d260 fix minor isses in battle replays 2023-09-24 23:17:22 -07:00
Martin Michelsen 9272feff8f add json licenses to gitignore 2023-09-24 16:38:12 -07:00
Martin Michelsen 058b040975 implement Episode 3 meseta 2023-09-24 16:29:58 -07:00
Martin Michelsen 8b544830a0 delete unused enum 2023-09-24 16:29:58 -07:00
Martin Michelsen 0c2ecd4ebb save player names along with tournament entries and show them in info window 2023-09-24 16:29:58 -07:00
Martin Michelsen 6b5e672ebb move VMS structure into SaveFileFormats 2023-09-24 16:29:58 -07:00
Martin Michelsen 7f7aaf920b make reload config affect welcome message and information menu 2023-09-24 09:22:49 -07:00
Martin Michelsen 5c48c75fdc fix decode_sjis 2023-09-24 08:57:07 -07:00
Martin Michelsen 2846e73710 rewrite default information menu contents 2023-09-23 22:33:06 -07:00
Martin Michelsen 2ee1891153 fix PC system filename 2023-09-23 18:06:49 -07:00
Martin Michelsen cc70280761 add PC save file formats and encrypt/decrypt functions 2023-09-23 17:08:37 -07:00
Martin Michelsen 85897baaeb ignore client rules in tournament matches 2023-09-23 09:11:22 -07:00
Martin Michelsen 14973f7453 don't allow multiple simultaneous tournaments with the same name 2023-09-23 08:47:17 -07:00
Martin Michelsen fe984a4284 fix pending match state when loading in-progress tournament 2023-09-23 08:46:58 -07:00
Martin Michelsen 99b508a256 allow tournament matches to start at any battle table 2023-09-23 08:18:36 -07:00
Martin Michelsen 6e522459ae add ability to specify separate DEF dice range 2023-09-22 22:00:17 -07:00
Martin Michelsen be0e616df7 allow players to register for another tournament if they lose their current tournament 2023-09-22 18:11:05 -07:00
Martin Michelsen 1bf3e6869d fix dice option in create-tournament 2023-09-22 17:50:10 -07:00
Martin Michelsen 0df670893f fix log settings not applying to command data 2023-09-22 17:45:31 -07:00
Martin Michelsen de9d52b352 make card drop rate explanation easier to read 2023-09-22 10:58:19 -07:00
Martin Michelsen 3542200379 improve random loading sounds code 2023-09-21 22:43:12 -07:00
Martin Michelsen 82c877f55d document how card transformation works 2023-09-21 21:18:13 -07:00
Martin Michelsen 19499bf23d update notes about D3 rank 2023-09-21 21:14:52 -07:00
Martin Michelsen 4cf1895f4d enforce ep3 lobby restrictions during Meet User 2023-09-21 18:13:01 -07:00
Martin Michelsen aa25f7e79a make compression tests not fail when run in parallel 2023-09-21 17:08:18 -07:00
Martin Michelsen 93906f8ff3 default-clear all converted_endian parrays to zero 2023-09-21 17:07:58 -07:00
Martin Michelsen 931258e8ac fix uninitialized memory in E8 command 2023-09-21 10:39:02 -07:00
Martin Michelsen 5b907d4413 add Ep3 battle test with spectator 2023-09-21 10:22:00 -07:00
Martin Michelsen a8c7da70e0 fix patch ping event case 2023-09-20 23:11:24 -07:00
Martin Michelsen 3682c082ea fix some struct notes 2023-09-20 18:27:43 -07:00
Martin Michelsen de110a1c88 don't repeat ping and idle timeout events 2023-09-20 08:28:05 -07:00
Martin Michelsen 7e4664ea25 handle ping exceptions 2023-09-20 08:03:19 -07:00
Martin Michelsen 3d0a842496 don't allow *this to be destroyed too early on idle timeout 2023-09-19 23:40:31 -07:00
Martin Michelsen 64bbeb0f70 add $stat for live ep3 battle stats 2023-09-19 22:37:19 -07:00
Martin Michelsen 2eb429436f add parent pointers to eliminate code duplication in many places 2023-09-19 22:15:41 -07:00
Martin Michelsen adad870aff annotate more fields in PlayerConfig 2023-09-19 10:05:56 -07:00
Martin Michelsen ecaea3fe49 extend full dressing room codes 2023-09-19 10:05:56 -07:00
Martin Michelsen 4f16243e41 fix incorrect type in Ep3 PlayerConfig 2023-09-19 09:16:10 -07:00
Martin Michelsen 7706adc7cb document more fields in Ep3PlayerConfig 2023-09-19 00:11:13 -07:00
Martin Michelsen 3cf39887e8 add offset comments in CameraSpec 2023-09-18 13:39:26 -07:00
Martin Michelsen c65b012ea5 add full dressing room codes 2023-09-18 13:29:14 -07:00
Martin Michelsen ed97279436 add comment about snapshot format 2023-09-18 11:06:09 -07:00
Martin Michelsen 9cb9e8064a make Rules debug string show open cases 2023-09-18 10:22:22 -07:00
Martin Michelsen 80b9af46db write a bit more about AI params 2023-09-18 09:37:09 -07:00
Martin Michelsen 83ecbf77ab add information about Ep3 camera and AI data in map files 2023-09-18 00:20:49 -07:00
Martin Michelsen 8952a4d56b don't allow toggling spectator flag in a spectator team 2023-09-17 20:47:58 -07:00
Martin Michelsen 4575adea11 fix chat message forwarding to spectators 2023-09-17 19:20:18 -07:00
Martin Michelsen 9e8a59798c explain more about how card drops work 2023-09-17 16:27:34 -07:00
Martin Michelsen bb92feb9a5 add disable chat filter AR code 2023-09-17 16:22:51 -07:00
Martin Michelsen 72155939d5 don't send spectator join commands if battle is already finished 2023-09-17 12:49:18 -07:00
Martin Michelsen 3c1c63f24e make spectator joining more robust 2023-09-17 12:36:05 -07:00
Martin Michelsen ef7f5fb798 maybe fix spectator team map loading 2023-09-17 12:02:58 -07:00
Martin Michelsen 49be421ff4 add wchat shell command 2023-09-17 11:43:35 -07:00
Martin Michelsen e27bce9313 fix spectator count when joining an existing spectator team 2023-09-17 11:43:23 -07:00
Martin Michelsen fbe621173f use correct credentials in test 2023-09-17 10:36:49 -07:00
Martin Michelsen ae518eaaf6 fix accidentally-switched tables in drop rate explanation 2023-09-17 10:33:44 -07:00
Martin Michelsen e858b79b33 use latest official card definitions file 2023-09-17 10:26:13 -07:00
Martin Michelsen 04c34e1b22 update TODO.md 2023-09-17 10:04:46 -07:00
Martin Michelsen f799cfe87c add TODO.md 2023-09-16 11:51:00 -07:00
Martin Michelsen 24f3ddef40 add puyo_j 2023-09-16 11:51:00 -07:00
Martin Michelsen 30e1aacaf0 fix tournament commands on Ep3 trial edition 2023-09-16 10:22:25 -07:00
Martin Michelsen 4741091b9f fix client crash when creating spectator team 2023-09-16 10:00:36 -07:00
Martin Michelsen 4ddc4fce1d add shuffle and resize options in tournaments 2023-09-16 10:00:36 -07:00
Martin Michelsen 1d45c18ce8 keep tournament state consistent on clients 2023-09-16 10:00:36 -07:00
Martin Michelsen 5caa21bccb disband spectator teams when primary players go to results screen 2023-09-15 20:27:23 -07:00
Martin Michelsen 9cef4a14f8 add a tournament option to disable COM entries 2023-09-15 20:27:23 -07:00
Martin Michelsen 27081bd3da add comments for better searchability 2023-09-13 18:22:57 -07:00
Martin Michelsen 2115f188d1 minor formatting 2023-09-13 12:24:18 -07:00
Martin Michelsen bf55da55bf fix segfault on insufficient level for game creation 2023-09-12 20:33:39 -07:00
Martin Michelsen 550b62dec9 add cheat command to remove an FC in an Ep3 battle 2023-09-12 19:49:38 -07:00
Martin Michelsen 215c181798 add fallback map loading in BB solo mode 2023-09-12 19:49:38 -07:00
Martin Michelsen 2f663ef2b3 add missing BB maps 2023-09-12 19:49:38 -07:00
Martin Michelsen b07748d07f fix Madness not skipping HUNTERS_SC with items equipped 2023-09-12 17:54:57 -07:00
Martin Michelsen f708ecc035 strip trailing whitespace from card text 2023-09-12 17:31:11 -07:00
Martin Michelsen fb52047e7c revert card definitions file again 2023-09-12 14:59:27 -07:00
Martin Michelsen a8d09363f1 add Ep3 flag to allow interference for human teams 2023-09-12 14:53:16 -07:00
Martin Michelsen 15566f7143 fix chained action card conditions not applying 2023-09-12 10:30:33 -07:00
Martin Michelsen 7657d4f2fc update Ep3 BB command format 2023-09-11 17:24:13 -07:00
Martin Michelsen d843a54245 update comment on map_category 2023-09-11 12:33:25 -07:00
Martin Michelsen df013784fc document map_category field in MapDefinition 2023-09-11 11:24:57 -07:00
Martin Michelsen 1f6f76a6dc fix uninitialized value used in attack env stats computation 2023-09-10 22:06:24 -07:00
Martin Michelsen b885442a4b remove client ID checks during registration phase 2023-09-10 14:56:06 -07:00
Martin Michelsen e64fa10a58 fix Raspberry Pi build 2023-09-10 13:52:49 -07:00
Martin Michelsen 66ca3ed6dd update to-do list 2023-09-10 10:50:53 -07:00
Martin Michelsen 013e099f50 update to-do list 2023-09-10 10:25:04 -07:00
Martin Michelsen debc920997 update Dolphin connection instructions 2023-09-10 09:48:46 -07:00
Martin Michelsen 80f79aa13c fix name behavior on BB/GC lobby interactions 2023-09-10 09:27:56 -07:00
Martin Michelsen 7585eaeae5 name some unknown Ep3 enum values 2023-09-10 09:27:28 -07:00
Martin Michelsen 52ed062ed9 add comment on AssistFlag enum 2023-09-09 20:06:01 -07:00
Martin Michelsen 753b89c78d give names to assist_flags 2023-09-09 19:21:33 -07:00
Martin Michelsen fa48b58773 fix invalid array access 2023-09-09 17:55:28 -07:00
Martin Michelsen aa48dd5e15 delete hard_reset_flag 2023-09-09 17:55:06 -07:00
Martin Michelsen 0863c4f27c fix CPU replacement on player disconnect 2023-09-09 12:50:41 -07:00
Martin Michelsen f12fdaf165 bounds-check input client IDs 2023-09-09 12:48:12 -07:00
Martin Michelsen e890bfad63 fix multiple array index bugs 2023-09-09 12:48:08 -07:00
Martin Michelsen f8198580dd merge Ep3 ServerBase and Server into one class 2023-09-09 10:13:51 -07:00
Martin Michelsen a40d1ad851 add reload config shell command 2023-09-09 00:06:30 -07:00
Martin Michelsen 901b2b78d2 add missing include 2023-09-08 23:58:10 -07:00
Martin Michelsen 24439a9dc3 re-record Episode 3 battle test 2023-09-08 23:54:02 -07:00
Martin Michelsen 4498fe1232 rename ep3 game command handlers 2023-09-08 23:35:16 -07:00
Martin Michelsen b9fc225786 add Ep3 $inftime command 2023-09-08 23:32:47 -07:00
Martin Michelsen c430340c9d hide Ep3 maps that don't have enough player slots for the game 2023-09-08 23:32:47 -07:00
Martin Michelsen 9c3f764cd9 fix all-players range gathering bug 2023-09-08 23:32:47 -07:00
Martin Michelsen 9dcdece1f9 fix UNKNOWN_07 and NOT_SC condition codes 2023-09-08 20:09:49 -07:00
Martin Michelsen d663472aae delete some TODO items which are now done 2023-09-08 11:30:21 -07:00
Martin Michelsen 245ebd92c6 don't send Ep3 lobby banners again after ending a proxy session 2023-09-08 10:50:16 -07:00
Martin Michelsen c1ed1afa5b add more info about Ep3 lobby banners 2023-09-08 09:38:00 -07:00
Martin Michelsen 39e491eb1e split field in 6x70 command 2023-09-07 23:54:15 -07:00
Martin Michelsen 15b9c05004 add some more AR codes 2023-09-07 22:34:18 -07:00
Martin Michelsen cfa4e3b8b0 implement Episode 3 lobby banners 2023-09-07 22:34:07 -07:00
Martin Michelsen bd6102a894 add another loading screen AR code 2023-09-06 23:55:26 -07:00
Martin Michelsen c45b4cced7 fix rules not serializing properly in tournament state 2023-09-06 23:55:06 -07:00
Martin Michelsen 548aca8cc0 fix Ep3 card auction 2023-09-06 16:39:32 -07:00
Martin Michelsen 75fab887e1 make tournament state parsing more robust 2023-09-06 09:46:33 -07:00
Martin Michelsen d2a589d968 update MapDefinition comments 2023-09-06 09:46:16 -07:00
Martin Michelsen 71d3d4e27c add offline maps and quests 2023-09-05 23:21:36 -07:00
Martin Michelsen 74ff094012 Revert "increase read timeout during log replay"
This reverts commit bbab6968d1.
2023-09-05 23:18:03 -07:00
Martin Michelsen bbab6968d1 increase read timeout during log replay 2023-09-05 23:07:18 -07:00
Martin Michelsen af781dbc09 re-record Episode 3 battle test 2023-09-05 23:00:30 -07:00
Martin Michelsen f771643880 fix rounding in division expressions 2023-09-05 23:00:30 -07:00
Martin Michelsen 2b2d8dfb3d make Episode 3 EX results configurable 2023-09-05 23:00:30 -07:00
Martin Michelsen 66f584d475 fix condition apply using incorrect criterion for non-item checks 2023-09-05 23:00:30 -07:00
Martin Michelsen 3b69d3484d bring back the $ln command 2023-09-05 23:00:30 -07:00
Matt 013a19885f Update Tournament Explainer
Explains which 4-player battle table to use more clearly
2023-09-04 17:58:52 -07:00
Matt 3a7277bc5d Update README for tournament table location
To make it less ambiguous
2023-09-04 17:58:52 -07:00
Martin Michelsen 9f943cf5d8 add $surrender command 2023-09-03 22:44:36 -07:00
Martin Michelsen c3edb93248 fix tests after name marker update 2023-09-03 22:08:07 -07:00
Martin Michelsen 5712ff3e3e fix long name truncation on non-BB versions 2023-09-03 21:33:00 -07:00
Martin Michelsen 2cb2dd3b24 fix creature summon are computation on left/right-oriented maps 2023-09-03 21:25:33 -07:00
Martin Michelsen da431cc174 add details about Ep3 rank text 2023-09-02 10:10:14 -07:00
Martin Michelsen 7c6a1e730e fix fields in Ep3 card definitions footer struct 2023-09-02 08:46:19 -07:00
Martin Michelsen 85dbea215b document Ep3 assist AI parameters 2023-09-01 20:37:54 -07:00
Martin Michelsen 8449a6d21a describe how ep3 card drop rates actually work 2023-09-01 11:08:23 -07:00
Martin Michelsen 2eda283f8f revert accidentally-committed card defs file 2023-08-31 14:03:05 -07:00
Martin Michelsen ba7951a9f4 make CardAuctionPool name matching more lenient 2023-08-31 14:00:02 -07:00
Martin Michelsen e566a247e4 fix card names in example config auction pool 2023-08-31 13:36:05 -07:00
Martin Michelsen 5b038364a1 be more aggressive when reducing size of card defs file 2023-08-31 13:35:02 -07:00
Martin Michelsen ee7c574fdf fix meseta transaction command 2023-08-31 09:37:12 -07:00
Martin Michelsen 02b0bf622c fix error in example config 2023-08-30 18:59:34 -07:00
Martin Michelsen 39d1b338b7 make CardAuctionPool not required 2023-08-30 18:55:24 -07:00
Martin Michelsen b27b458557 always send tournament entry state command if client doesn't have card defs 2023-08-30 18:55:15 -07:00
Martin Michelsen f642e2f5a8 fix invisible players in lobby bug 2023-08-30 18:45:46 -07:00
Martin Michelsen 50ded155ed add option to disable Ep3 infinite meseta 2023-08-30 18:45:46 -07:00
Martin Michelsen eab453413e fix tournament metadata linking through server restarts 2023-08-30 18:45:46 -07:00
Martin Michelsen 2304a17dd0 use new JSON helpers 2023-08-30 18:45:36 -07:00
Martin Michelsen be4837cccf set AllowUnregisteredUsers to true by default 2023-08-30 11:21:55 -07:00
Martin Michelsen 2235103efe resolve auction card IDs at load time 2023-08-28 22:18:17 -07:00
Martin Michelsen 466eb49c55 use new phosg JSON interface 2023-08-28 22:18:05 -07:00
Martin Michelsen a842880123 update comments in config.example.json 2023-08-26 21:34:13 -07:00
Martin Michelsen 897ff4c9ff fix inefficiency in prs_compress_indexed 2023-08-26 21:00:16 -07:00
Martin Michelsen d93866146a make DOLFileIndex support both compressed and uncompressed files simultaneously 2023-08-26 21:00:01 -07:00
Martin Michelsen 1d0c0088d6 add notes from GameJam demo 2023-08-24 23:16:59 -07:00
Martin Michelsen 99a8ab3a21 support big-endian pr2 files 2023-08-22 12:05:27 -07:00
Martin Michelsen c944c7bca0 make archive output filenames more reasonable 2023-08-22 12:05:27 -07:00
Martin Michelsen 39330bc6f2 sort DOL files in Programs menu 2023-08-21 13:35:04 -07:00
Martin Michelsen 300d3cd825 fix some edge-case bugs in ep3 server 2023-08-20 20:42:13 -07:00
Martin Michelsen 8adbe38617 fix differentiation between Episode 3 Trial Edition and final JP version 2023-08-20 13:03:43 -07:00
Martin Michelsen dd5ef0c8a4 add unusable SC card IDs in comments 2023-08-20 09:26:28 -07:00
Martin Michelsen 27b368c2fb update comments in Editors patch 2023-08-18 22:20:36 -07:00
Martin Michelsen 107ffb0997 add decks from ep3 debug menu 2023-08-18 11:54:02 -07:00
Martin Michelsen 36186578f8 add $ep3battledebug command 2023-08-18 09:02:21 -07:00
Martin Michelsen 52b21f8b88 remove unneeded check in generate_weapon_shop_contents 2023-08-16 09:49:13 -07:00
Martin Michelsen b9912ad80f remove meseta when buying shop items 2023-08-16 09:12:45 -07:00
Martin Michelsen 666464dd06 add PSO GC snapshot decoder 2023-08-15 22:12:49 -07:00
Martin Michelsen c0f4f7af5f add Ep3 trial map format 2023-08-15 09:03:10 -07:00
Martin Michelsen 102fe92c3a add note about Ep3 trial B8 command 2023-08-14 11:32:54 -07:00
Martin Michelsen 87118049ab split Episode3::DataIndex into multiple structures 2023-08-13 23:12:27 -07:00
Martin Michelsen 7e55719983 split IS_TRIAL_EDITION into three flags and recognize Ep3 Trial Edition 2023-08-13 19:30:58 -07:00
Martin Michelsen 9b66e07c06 don't send tournament state to Ep3 trial edition clients 2023-08-13 19:11:17 -07:00
Martin Michelsen f657012d8e update comment about TEffIndirectEditor 2023-08-11 18:39:08 -07:00
Martin Michelsen 1f674b9c34 remove debugging prints 2023-08-10 21:28:41 -07:00
Martin Michelsen 6192270040 add default JudgeItem file 2023-08-10 21:12:28 -07:00
Martin Michelsen 2574c74e6b implement tekker variances 2023-08-10 21:06:02 -07:00
Martin Michelsen 0ea3993103 minor optimizations in ItemCreator 2023-08-10 21:05:27 -07:00
Martin Michelsen 2cd1038468 write ItemParameterTable::get_special 2023-08-10 21:04:25 -07:00
Martin Michelsen c7c2d54183 minor style fixes 2023-08-10 21:03:58 -07:00
Martin Michelsen c57b031156 rename 6xB8 command on BB 2023-08-10 21:02:18 -07:00
Martin Michelsen 6d4430da13 remove unused card rank name 2023-08-08 19:02:19 -07:00
Martin Michelsen 7d37a58e6e add comment about Ep3 D1 and D2 card ranks 2023-08-08 10:55:22 -07:00
Martin Michelsen a3f3608f76 make prs_compress_optimal faster 2023-08-06 17:36:56 -07:00
Martin Michelsen f13609c02b fix Ep3 test for new card defs 2023-08-05 12:04:29 -07:00
Martin Michelsen d2b2e1f978 recompress PRS files in system with --optimal 2023-08-05 11:29:21 -07:00
Martin Michelsen 825cd1fcb7 add action to recompress a PRS file optimally 2023-08-05 11:24:47 -07:00
Martin Michelsen 48a6dae50c fix catch by value 2023-08-04 22:51:41 -07:00
Martin Michelsen 911b17df7e improve ep3 data formatting 2023-08-04 22:40:18 -07:00
Martin Michelsen 308c58e761 fix comment on card drop rate field 2023-08-03 12:22:16 -07:00
Martin Michelsen 6c69828f1a restrict GBA quest opcodes to GC game versions 2023-07-27 17:58:35 -07:00
Martin Michelsen 194f7b6275 add encode-qst action 2023-07-22 16:03:58 -07:00
Martin Michelsen 132b8b071f add position comments to ep3 structs 2023-07-22 11:08:06 -07:00
Martin Michelsen f563d5d873 split XB quest file header struct 2023-07-17 09:05:39 -07:00
Martin Michelsen 668c9f9457 add some extra proxy options 2023-07-15 22:52:06 -07:00
Martin Michelsen 8cd1106818 add some PSOX notes 2023-07-15 22:29:39 -07:00
Martin Michelsen 4858ccd812 use QuestScriptVersion to index quests 2023-07-15 22:29:18 -07:00
Martin Michelsen 64e637dbfb add PSOX quest opcodes to handler-tables 2023-07-15 22:26:57 -07:00
Martin Michelsen 419d3500bd add DC NTE and GC NTE quest disassembly 2023-07-15 14:18:33 -07:00
Martin Michelsen 0d9bfa966d add DC NTE and GC NTE quest opcode handlers 2023-07-15 12:14:50 -07:00
Martin Michelsen acba5c670f update quest F8C3 name 2023-07-15 11:06:47 -07:00
Martin Michelsen 73a68911e8 document challenge mode time encoding 2023-07-09 21:04:36 -07:00
Martin Michelsen b1531139c0 implement player records command 2023-07-09 17:08:37 -07:00
Martin Michelsen 7dd00c75a9 write battle/challenge records structures 2023-07-09 10:43:35 -07:00
Martin Michelsen 4284d163d8 don't disassemble unknown labels as raw data 2023-07-07 11:31:49 -07:00
Martin Michelsen ba5aad0296 add offsets in disassembled structs 2023-07-07 11:31:34 -07:00
Martin Michelsen ea60cfb507 add npc_action_string data formatting 2023-07-07 11:31:20 -07:00
Martin Michelsen b6052620be add info about GBA quest opcodes 2023-07-07 09:23:46 -07:00
Martin Michelsen 0df83632d0 rename product_is_valid to product_is_valid_slow 2023-07-07 09:23:46 -07:00
Martin Michelsen b8f7d8f554 require --seed when encrypting trivial data 2023-07-07 09:23:46 -07:00
Martin Michelsen 01d0203de6 rewrite help text 2023-07-07 09:23:46 -07:00
Martin Michelsen 97daebdf83 add option to require item descriptions instead of data 2023-07-07 09:23:46 -07:00
Martin Michelsen acfa708332 unify compression progress_fns 2023-07-06 20:55:01 -07:00
Martin Michelsen 3e22d31c42 update some quest opcode comments 2023-07-04 14:29:12 -07:00
Martin Michelsen d2d1ae723d support disassembling uncompressed quests 2023-07-04 14:28:58 -07:00
Martin Michelsen e34c9856ec add more opcode names 2023-07-04 13:52:32 -07:00
Martin Michelsen ff9305144b fix quest opcode float args 2023-07-04 11:57:32 -07:00
Martin Michelsen 12c4e66cc2 replace bit_cast with as_type 2023-07-04 11:32:15 -07:00
Martin Michelsen 1c9239bade use bit_cast instead of reinterpret_cast 2023-07-04 11:20:40 -07:00
Martin Michelsen 80ae6ecac8 add stack argument disassembly in quest script 2023-07-04 11:11:36 -07:00
Martin Michelsen 90f1df105b update quest opcode descriptions 2023-07-04 09:09:37 -07:00
Martin Michelsen a409ee696c update quest opcode table; disassemble structures in data labels 2023-07-02 23:46:46 -07:00
Martin Michelsen 81049d2765 add some notes files 2023-07-01 22:56:27 -07:00
Martin Michelsen a81793f695 use JSON rare table for BB 2023-07-01 22:45:49 -07:00
Martin Michelsen 9916fb946d update quest opcode table 2023-07-01 18:23:43 -07:00
Martin Michelsen 4442ca0250 support JSON rare item sets 2023-06-29 22:20:39 -07:00
Martin Michelsen b324173d8e add pr2 compression and decompression 2023-06-29 22:20:00 -07:00
Martin Michelsen b5635f50f8 fix weird formatting in ItemCreator 2023-06-29 22:19:08 -07:00
Martin Michelsen a8e7caa0b3 fix comment in compression 2023-06-29 22:18:53 -07:00
Martin Michelsen de14d61835 fix empty-set case in quest disassembly 2023-06-27 11:12:23 -07:00
Martin Michelsen 9acb542689 make quest disassemble robust against invalid inputs 2023-06-27 00:27:04 -07:00
Martin Michelsen af56b6d2c6 describe how extension data works 2023-06-27 00:26:47 -07:00
Martin Michelsen aced59ea7a use default valuse for CharacterStats 2023-06-27 00:25:19 -07:00
Martin Michelsen 42c5c496dc fix tech level description bug 2023-06-27 00:25:03 -07:00
Martin Michelsen cd367fe5bd remove unneeded template parameter 2023-06-27 00:24:50 -07:00
Martin Michelsen 160cf24642 add TODO about extension data in inventories 2023-06-27 00:23:57 -07:00
Martin Michelsen 8656222be3 split disp data into stats and visual substructures 2023-06-26 21:25:24 -07:00
Martin Michelsen e1b4bd32c9 add quest script disassembler 2023-06-25 22:51:09 -07:00
Martin Michelsen fcc43e24c5 don't test optimal compression; it's too slow 2023-06-25 22:51:09 -07:00
Martin Michelsen 12f8e44cb4 update 6xD0 command note 2023-06-25 22:18:48 -07:00
Martin Michelsen 4793b072ae update some documentation 2023-06-25 22:18:48 -07:00
Martin Michelsen 4190a9e03d add more BB game command formats 2023-06-24 09:04:29 -07:00
Martin Michelsen 9602773021 handle unsealable items on BB 2023-06-23 17:32:10 -07:00
Martin Michelsen d6f8fb8917 add EXP multipliers 2023-06-23 17:16:50 -07:00
Martin Michelsen fba31bfc8d do some long-standing TODOs 2023-06-23 17:08:40 -07:00
Martin Michelsen 8b4f353182 simplify bc0_compress a bit 2023-06-23 11:58:28 -07:00
Martin Michelsen a3a1396e6c remove some debugging prints 2023-06-23 11:15:21 -07:00
Martin Michelsen fd4138c7cc make LZSSInterleavedWriter not a template 2023-06-22 21:26:18 -07:00
Martin Michelsen 476e22b368 write optimal prs and bc0 compressors 2023-06-22 21:22:18 -07:00
Martin Michelsen 40ed4c9c9a don't use SIZE_T_MAX macro 2023-06-21 21:41:14 -07:00
Martin Michelsen 13c061323c rewrite bc0_compress 2023-06-21 21:37:03 -07:00
Martin Michelsen 16bfaf8910 fix wrapped descriptions for units and tools 2023-06-21 14:28:45 -07:00
Martin Michelsen 4bbb31b0c6 support partial mag levels in ItemData description + parser 2023-06-21 10:19:53 -07:00
Martin Michelsen cbe6480da6 add debug note after rebuilding 6x6D data 2023-06-20 09:25:14 -07:00
Martin Michelsen 63538088d2 fix generating blank mags by description 2023-06-20 09:24:44 -07:00
Martin Michelsen 0d3da65ca7 add some BB team command notes 2023-06-20 09:24:30 -07:00
Martin Michelsen d65615da16 fix bc0_compress early memo search 2023-06-20 09:22:57 -07:00
Martin Michelsen d7b1e66f88 fix error message 2023-06-19 22:54:31 -07:00
Martin Michelsen 912fec458f don't send 6xBE if 6xC9 requests nothing 2023-06-19 19:32:58 -07:00
Martin Michelsen 5c9242a156 fix 6xC9 command format 2023-06-19 19:32:20 -07:00
Martin Michelsen 15954c9576 fix signed/unsigned comparison in map parser 2023-06-19 19:26:24 -07:00
Martin Michelsen 52e6dafad1 update some command notes 2023-06-19 19:20:40 -07:00
Martin Michelsen 5842d70094 implement meseta/item reward commands on BB 2023-06-19 19:20:40 -07:00
Martin Michelsen 9a6c0b6c9a load quest enemies when starting BB quest 2023-06-19 19:20:40 -07:00
Martin Michelsen 8db058871f implement BB rare monster determination 2023-06-19 18:33:05 -07:00
Martin Michelsen 26dc50930b handle joinable quests 2023-06-19 18:29:54 -07:00
Martin Michelsen 6468af6eb7 fix $item with names that are also specials 2023-06-19 16:03:59 -07:00
Martin Michelsen e8fcf2884a add TODOs for BB rare monsters 2023-06-19 16:03:59 -07:00
Martin Michelsen 8926c22eae handle incorrect mag endianness in PSO GC 2023-06-19 15:52:59 -07:00
Martin Michelsen 46dd11fab0 update chat command descriptions in readme 2023-06-19 12:15:19 -07:00
Martin Michelsen 2b3cc6bcdf fix map loading mismatches 2023-06-19 12:07:03 -07:00
Martin Michelsen 2de37a4733 add EnemyType enum 2023-06-18 22:58:24 -07:00
Martin Michelsen 10dfd8aa5c move BattleParamsIndex to a separate file 2023-06-18 22:58:24 -07:00
Martin Michelsen 1291de4387 improve player position tracking 2023-06-18 22:58:24 -07:00
Martin Michelsen d7bb3b3576 implement Ep3 spectator sound forwarding 2023-06-18 22:58:24 -07:00
Martin Michelsen 24c5ad1d06 handle multiple subcommands in one top-level command 2023-06-18 22:58:24 -07:00
Martin Michelsen dcbfeebc37 change exception type when no item is equipped 2023-06-18 22:58:24 -07:00
Martin Michelsen bcaa2a493e update map loader 2023-06-18 22:58:24 -07:00
Martin Michelsen f2f8d64d44 remove some debug messages 2023-06-18 22:58:24 -07:00
Martin Michelsen 7ac7d7c360 implement JSON rare tables 2023-06-18 22:58:24 -07:00
Martin Michelsen 9995f9cca8 update subcommand format notes 2023-06-18 22:58:24 -07:00
Martin Michelsen 10ab688207 allow creating items by name instead of by data 2023-06-18 22:58:24 -07:00
Martin Michelsen f333a88aaf clean up check_size 2023-06-18 22:58:24 -07:00
Martin Michelsen aead8aae71 fix alignment in CMakeLists 2023-06-18 22:39:56 -07:00
Martin Michelsen 3226efab1e implement general form of drop item request 2023-06-17 21:43:34 -07:00
Martin Michelsen 036049a13f add encrypt-trivial-data 2023-06-15 11:45:53 -07:00
Martin Michelsen 5ebf73779c update config documentation 2023-06-14 17:09:11 -07:00
Martin Michelsen bfe8391cc9 update some debug messages 2023-06-14 09:11:44 -07:00
Martin Michelsen 4904c356f7 update TODOs in readme 2023-06-13 21:52:09 -07:00
Martin Michelsen 71ebf01b0b implement BB item usage and mag feeding 2023-06-13 21:52:09 -07:00
Martin Michelsen 1a72f7c90a fix some item names 2023-06-13 21:52:09 -07:00
Martin Michelsen 6224479d76 fix $exit area tracking bug 2023-06-13 21:52:09 -07:00
Martin Michelsen e18c3fc43d add default cheat mode behavior flag 2023-06-13 21:52:09 -07:00
Martin Michelsen 276284cd39 update quest state TODO item 2023-06-13 21:52:09 -07:00
Martin Michelsen 8c183a6f0c implement warpme/warpall commands 2023-06-13 21:52:09 -07:00
Jake Probst 8c6ccd1cfe only disable drops for normal mode 2023-06-11 14:19:12 -07:00
Jake Probst 47f07bbc51 clarifying comments 2023-06-11 14:19:12 -07:00
Jake Probst c053d87a6c small clarifying comment 2023-06-11 14:19:12 -07:00
Jake Probst 9f78790e14 formatting 2023-06-11 14:19:12 -07:00
Reason 148d327d9f Fixing more formatting
A few ugly things to fix

Format fix v2
2023-06-11 14:19:12 -07:00
Reason 53a9b527e4 Fixing item toggle
Now the toggle is set via per room.
2023-06-11 14:19:12 -07:00
Reason 3ef2f76705 Fixing code style
Cleaning up this code.
2023-06-11 14:19:12 -07:00
Reason 95346118f0 Toggle drops.
Through txt command in-game, or through the config file.

White space fix.

Forgot this part.
2023-06-11 14:19:12 -07:00
Martin Michelsen a963c3316c make drop_item less confusing 2023-06-11 12:21:01 -07:00
Martin Michelsen 0c12e6c4bc add formats for state sync commands 2023-06-11 12:20:41 -07:00
Martin Michelsen 65c08667cc decode download quests during proxy save-files 2023-06-10 10:49:53 -07:00
Martin Michelsen 0386d14638 don't recreate random state for sequential ep3 battles 2023-06-10 10:49:53 -07:00
Martin Michelsen ee837712aa document proxy options in readme 2023-06-09 22:26:11 -07:00
Martin Michelsen 27e95ee343 detect specific_version without using a patch 2023-06-08 21:00:19 -07:00
Martin Michelsen 25b6c594bd make quest categories configurable 2023-06-08 20:43:46 -07:00
Martin Michelsen d6eee92645 hardcode cache patch hook location 2023-06-07 10:01:38 -07:00
Martin Michelsen d60404ff0a wait for responses before sending chains of function calls 2023-06-07 00:38:46 -07:00
Martin Michelsen e1f584984f disable dol compression by default 2023-06-05 09:40:31 -07:00
Martin Michelsen 368d6ad93b reset Ep3 Editors patch to default behavior 2023-06-05 09:31:12 -07:00
Martin Michelsen 615ea8d7b0 use correct types on JSON for Ep3 rules 2023-06-05 09:29:55 -07:00
Martin Michelsen 5ab2a215b5 rewrite shell help text 2023-05-29 18:44:04 -07:00
Martin Michelsen db282cb533 add generate-all-products 2023-05-29 18:44:04 -07:00
Martin Michelsen 5e93076243 fix default flags for versions with encrypted send_function_call 2023-05-28 10:35:37 -07:00
Martin Michelsen c4153f5f6e add DCv1 EU sub_version 2023-05-28 09:49:19 -07:00
Martin Michelsen 2c95782687 support DC NTE and DCv1 Dec 2000 prototype 2023-05-27 19:33:38 -07:00
Martin Michelsen 3cd13863cb fix menu info fallthrough 2023-05-27 13:53:32 -07:00
Martin Michelsen bdb0c05220 add missing include 2023-05-27 13:49:25 -07:00
Martin Michelsen afd93047c1 support compression levels in prs 2023-05-27 13:39:57 -07:00
Martin Michelsen 54a734e049 compress DOL files before sending them to clients 2023-05-27 09:57:36 -07:00
Martin Michelsen 9ec72212cf make patch filenames consistent 2023-05-26 21:25:29 -07:00
Martin Michelsen 5cba72934f re-record tests 2023-05-26 16:40:54 -07:00
Martin Michelsen cf3a09a241 fix uninitialized memory bug in Ep3 server 2023-05-26 16:08:16 -07:00
Martin Michelsen 4ae23f4eff fix DOL loader 2023-05-26 11:30:10 -07:00
Martin Michelsen de3ea6b850 fix info menu bug on DC/PC 2023-05-26 10:58:17 -07:00
Martin Michelsen dbd6c59a0b implement version-specific patches; clean up menu abstraction 2023-05-26 09:55:12 -07:00
Martin Michelsen 03c26b587a send tournament result before battle end command 2023-05-23 21:53:45 -07:00
Martin Michelsen 7ae87f9949 add some command notes 2023-05-21 22:59:30 -07:00
Martin Michelsen 81d0353144 fix $auction command 2023-05-19 09:21:45 -07:00
Martin Michelsen 780dbd769c update episode 3 documentation 2023-05-16 22:25:45 -07:00
Martin Michelsen 695e53a714 qualify all calls to std::move 2023-05-15 23:46:19 -07:00
Martin Michelsen f813ed68df make $exit command work in games 2023-05-12 23:24:41 -07:00
Martin Michelsen a7b3c496d0 update readme 2023-05-11 14:31:08 -07:00
Martin Michelsen 65813b7170 remove memcpy call 2023-05-10 22:51:33 -07:00
Martin Michelsen fc672978d8 fix patch cache clear behavior on GC versions that need it 2023-05-10 22:47:07 -07:00
Martin Michelsen 90a3be7803 add salvage-gci action 2023-05-10 22:47:07 -07:00
Martin Michelsen 8dc5e9f281 add describe-item action 2023-05-10 22:47:00 -07:00
Martin Michelsen 6654030bd3 reformat some files after clang-format option change 2023-05-02 09:27:34 -07:00
Martin Michelsen 4f2e333d6c update some Ep3 format notes 2023-05-02 09:21:48 -07:00
Martin Michelsen 617cf73c5e use new JSONObject::serialize 2023-04-30 10:04:06 -07:00
Martin Michelsen 42fa3955d8 fix .nsk file size mismatches 2023-04-23 22:31:48 -07:00
Martin Michelsen 4509d9f37b move test scripts into tests/ directory 2023-04-19 16:45:23 -07:00
Martin Michelsen 91e484e514 clang-format everything 2023-04-16 15:44:12 -07:00
Martin Michelsen b733f4e199 update some command notes 2023-04-16 10:56:52 -07:00
Martin Michelsen 31ecf917af add generate-product command 2023-04-16 10:49:13 -07:00
Martin Michelsen f954a7f834 update some command notes 2023-04-05 13:52:38 -07:00
Martin Michelsen 42e2301a8e refine command 93 format 2023-04-04 23:14:24 -07:00
Martin Michelsen 35845ea49b more save file format refinement 2023-04-03 00:27:21 -07:00
Martin Michelsen c4e3eb238f specify actual GCI header fields 2023-04-02 15:04:45 -07:00
Martin Michelsen e98d01d7e9 further refine save file format 2023-04-01 23:46:59 -07:00
Martin Michelsen b6f71fffbf document what 96 command's value actually represents 2023-04-01 22:41:43 -07:00
Martin Michelsen 38469119ad refine some parts of save file format 2023-04-01 20:07:03 -07:00
Martin Michelsen e56d572585 define most of the GC save file format 2023-04-01 18:21:58 -07:00
Martin Michelsen 58011c5a00 add zero-based offsets in Episode3::PlayerConfig 2023-04-01 10:49:48 -07:00
Martin Michelsen 42a4a599dc fix executable path in gci test script 2023-04-01 10:36:18 -07:00
Martin Michelsen 5e05b3d11f add comment about gci format 2023-04-01 10:29:43 -07:00
Martin Michelsen a06aa2f1fa reogranize tests directory 2023-04-01 10:27:05 -07:00
Martin Michelsen 3b9a76eec8 implement save file decryption/encryption 2023-04-01 10:16:15 -07:00
Martin Michelsen 06ba95ed97 fix help text typo 2023-03-31 09:16:21 -07:00
Martin Michelsen be83cafe0d check for BB restoration items in ItemCreator 2023-03-30 17:49:21 -07:00
Martin Michelsen 0007a1af56 remove unused argument 2023-03-30 09:49:32 -07:00
Martin Michelsen a7dbfd9781 minor cleanup in ItemCreator 2023-03-30 09:45:36 -07:00
Martin Michelsen 2ed6427773 fix some names in ItemCreator 2023-03-30 09:39:21 -07:00
Martin Michelsen dd1c5a2d0c add note about char save file encryption 2023-03-29 10:40:12 -07:00
Martin Michelsen b4946f5f1e rename unsealable handler function in ItemCreator 2023-03-29 10:39:57 -07:00
Martin Michelsen 4c248c5ee5 fix notes on 44/A6 commands 2023-03-28 20:40:50 -07:00
Martin Michelsen b58f354c41 add extract-bml action 2023-03-27 10:26:53 -07:00
Martin Michelsen dcebc61b13 write Quest::export_qst 2023-03-23 22:34:38 -07:00
Martin Michelsen c48a998750 update some format notes 2023-03-21 22:47:17 -07:00
Martin Michelsen b281eecfee add TOC to readme 2023-03-18 16:48:08 -07:00
Martin Michelsen 40ca249b8a use battle rule names in ItemRestrictions 2023-03-18 15:37:08 -07:00
Martin Michelsen 077bfb2e7d make join/leave notifs always 2 lines 2023-03-18 15:11:51 -07:00
Martin Michelsen fadc0e9f71 autodetect .bin/.dat/.mnm files in (de)compress-prs actions 2023-03-18 15:11:43 -07:00
Martin Michelsen 3dda420c3a allow uneven command sizes in sc/ss command data 2023-03-18 15:08:04 -07:00
Martin Michelsen 618d9180cd fix comflict between Ep3-Editors patch and widescreen AR code 2023-03-17 10:47:18 -07:00
Martin Michelsen 032f0bb2c5 refine Ep3 map definition struct 2023-03-17 10:47:02 -07:00
Martin Michelsen f92822fff0 fix tests after reloading semantic changes 2023-03-16 16:41:01 -07:00
Martin Michelsen 7426c5ad1f make reloading more stable and add more options 2023-03-15 14:47:06 -07:00
Martin Michelsen 45cac5a084 more details on unused 80 command 2023-03-14 17:48:37 -07:00
Martin Michelsen 5ef5ddcbae add decode-vms to help output 2023-03-12 12:55:34 -07:00
Martin Michelsen 59bfa66dad clean up compatibility table 2023-03-12 12:47:32 -07:00
Martin Michelsen 711bbf0a21 add player notifications on proxy server 2023-03-12 00:09:59 -08:00
Martin Michelsen 2291d758ac rewrite quest format table 2023-03-11 11:37:57 -08:00
Martin Michelsen dc7277a2a4 support GCI and DLQ files in Ep3 maps folders 2023-03-11 11:23:41 -08:00
Martin Michelsen 2f19f5ce0b fix VMS decoder 2023-03-11 10:23:13 -08:00
Martin Michelsen cf0902b6ed update format notes from DC disassembly 2023-03-11 10:18:25 -08:00
Martin Michelsen eebffc0d13 fix BB data server proxy behavior 2023-03-09 21:07:57 -08:00
Martin Michelsen 60dd22a7f6 fix cat-client CLI arguments 2023-03-09 11:38:20 -08:00
Martin Michelsen dc9112dfdd make name_for_item output colors consistent with game client 2023-03-09 10:00:01 -08:00
Martin Michelsen f45a76af13 add BB EF structure 2023-03-09 09:59:43 -08:00
Martin Michelsen 47ac90ea6b document BB EF and F0 commands 2023-03-09 00:40:24 -08:00
Martin Michelsen f05641a8b9 fix BB shops + sale prices 2023-03-08 23:21:52 -08:00
Martin Michelsen cfcdd6acad name unknown functions in ItemCreator 2023-03-08 14:41:59 -08:00
Martin Michelsen a3249ab19b split compression tests and skip executable recompression 2023-03-08 10:48:22 -08:00
Martin Michelsen 7af363fec4 update to-do list 2023-03-08 10:44:41 -08:00
Martin Michelsen 4ba5689b25 fix memcpy usage in chat commands and server shell 2023-03-07 23:23:57 -08:00
Martin Michelsen 838e53a91e use GC logic for BB nonrare item drop generation and shops 2023-03-07 23:19:30 -08:00
Martin Michelsen 6cdbc3e8e0 update some readme text 2023-03-07 23:19:30 -08:00
Martin Michelsen 30cc5fbb44 add TODO for quest enemy lists 2023-03-04 15:56:20 -08:00
Martin Michelsen b935760d64 split GameMode into enum class 2023-03-04 15:55:59 -08:00
Martin Michelsen 2932488d00 fix $what output in tests 2023-03-04 11:42:20 -08:00
Martin Michelsen 612f305c3a fix battle param header text 2023-03-04 11:42:04 -08:00
Martin Michelsen 61a9a0ce8d add TODOs for BB to readme 2023-03-04 11:41:50 -08:00
Martin Michelsen 159f80cce3 make episode an enum class 2023-03-04 11:41:37 -08:00
Martin Michelsen a35d835f31 add BattleParamEntry debug functions 2023-03-03 23:17:08 -08:00
Martin Michelsen 3418afcc66 fix episode 1 enemy indexes 2023-03-03 22:57:44 -08:00
Martin Michelsen d5ececfa87 add in-game debug messages 2023-03-03 22:57:28 -08:00
Martin Michelsen aea43781ea print item description when modifying inventories/grounds 2023-03-03 19:35:19 -08:00
Martin Michelsen 707b021c88 fix enemy_id usage in 6xC8 2023-03-03 19:34:53 -08:00
Martin Michelsen 5e07075977 fix patch metadata cache write on startup 2023-03-03 18:25:38 -08:00
Martin Michelsen 85072e9db9 implement DC NTE change ship/block 2023-03-03 18:12:29 -08:00
Martin Michelsen 2fcc77772f minor readme updates 2023-03-03 09:47:19 -08:00
Martin Michelsen 8b4785eb36 update B9 notes 2023-03-02 23:01:45 -08:00
Martin Michelsen ef0f33351a update readme for windows build 2023-03-02 22:31:03 -08:00
Martin Michelsen c5f05de082 set up windows build 2023-03-02 22:17:07 -08:00
Martin Michelsen 2c5f0ea904 fix client object memory leak 2023-03-02 22:17:07 -08:00
Martin Michelsen f45516d359 set up map loading at quest load time 2023-03-02 22:17:07 -08:00
Martin Michelsen be6cff7b89 make MapDefinition easier to read 2023-03-02 17:28:46 -08:00
Martin Michelsen 6fde0f186f update ep3 section in readme 2023-03-02 17:20:24 -08:00
Martin Michelsen c3aca29d9c fix meseta overdraft disconnect bug 2023-03-02 17:06:15 -08:00
Martin Michelsen 94bbd5685e support size disparities in ReplaySession 2023-03-02 16:58:30 -08:00
Martin Michelsen 4a4f06e9ac add format notes from DC NTE disassembly 2023-03-02 16:58:02 -08:00
Martin Michelsen 34afd42391 add .bind files to gitignore in ep3 maps directories 2023-03-02 16:57:37 -08:00
Martin Michelsen 6e80ccca54 document deck restrictions in Ep3 quest format 2023-03-01 00:27:53 -08:00
Martin Michelsen a485c25eb8 enforce ep3 map list size limit at startup time 2023-02-28 22:56:36 -08:00
Martin Michelsen fe5a15a1ab fix description of ep3 map tile 50 2023-02-28 22:56:36 -08:00
Martin Michelsen 203a2aaeb4 fix bug in ep3 map display 2023-02-28 22:56:08 -08:00
Martin Michelsen 78968f86dd document all Ep3 lobby banner positions 2023-02-27 22:38:00 -08:00
Martin Michelsen f1a64e6dbf add ALLOW_FILES flag to parse_data_string calls where needed 2023-02-27 22:37:46 -08:00
Martin Michelsen 215f5deff6 update some format notes 2023-02-27 21:31:46 -08:00
Martin Michelsen 2b959386d7 add show-slots shell command 2023-02-26 16:53:15 -08:00
Martin Michelsen b3ab759717 update chat commands in readme 2023-02-24 09:37:29 -08:00
Martin Michelsen 1595555b53 update ep3 meseta command notes 2023-02-24 09:37:17 -08:00
Martin Michelsen fdee74195b update proxy name option 2023-02-24 09:36:49 -08:00
Martin Michelsen bac429af94 shorten subcommand handler names 2023-02-23 15:56:50 -08:00
Martin Michelsen 8f0a33eb77 fix spectator count when multiple spectator teams exist 2023-02-22 18:03:19 -08:00
Martin Michelsen c7009569b7 fix name mask option 2023-02-22 18:03:19 -08:00
Discordian 0250e3c9e5 Shrink character support 2023-02-22 08:39:48 -08:00
Martin Michelsen fdf7af20bc add some subcommand notes 2023-02-21 20:24:56 -08:00
Martin Michelsen 4ed641e6f4 refine meet user extension structure 2023-02-21 20:24:42 -08:00
Martin Michelsen 9ff23b2aee more info on 0E command 2023-02-21 18:17:57 -08:00
Martin Michelsen 34812d5037 fix choice search config format 2023-02-21 18:17:57 -08:00
Martin Michelsen 79b0e82c50 send card defs timestamp in 6xB4x46 2023-02-21 18:17:57 -08:00
Martin Michelsen 43395492b2 add more subcommand documentation 2023-02-21 18:17:57 -08:00
Martin Michelsen 97172717da add $song on proxy server 2023-02-21 18:17:57 -08:00
Martin Michelsen 078fd4ac08 update comment in ep3 player config 2023-02-21 18:17:57 -08:00
Martin Michelsen fc6a26ee38 document player references in ep3 player data 2023-02-21 18:17:57 -08:00
Martin Michelsen 32c08032c5 use ptext in ep3 player data format 2023-02-21 18:17:57 -08:00
Discordian 138d2609a2 Add emote support in lobbies 2023-02-21 15:57:52 -08:00
Martin Michelsen 37438c94c7 document choice search in 61 command 2023-02-18 22:45:10 -08:00
Martin Michelsen ca551039ce rename v2/v3 crypt base class 2023-02-18 12:28:59 -08:00
Martin Michelsen bfdb6c0695 auto-decrypt episode 3 player config on proxy server 2023-02-17 23:53:35 -08:00
Martin Michelsen 1394dd681e hide patches from menu if they should only run in lobby/game 2023-02-17 22:07:09 -08:00
Martin Michelsen ba4a017ffb add patch to get all cards in Ep3 2023-02-17 21:50:13 -08:00
Martin Michelsen d5773b93da factor out Ep3 USA check in patches 2023-02-17 21:48:10 -08:00
Martin Michelsen bebb69649c update some command notes 2023-02-17 21:47:47 -08:00
Martin Michelsen 4946978ed7 add blank name option 2023-02-17 21:47:31 -08:00
Martin Michelsen 1eba82c739 make checksum style consistent 2023-02-11 20:05:47 -08:00
Martin Michelsen ef11592439 fix default value for new proxy option 2023-02-11 20:05:34 -08:00
Martin Michelsen 6955b7ea0c update quest format compatibility table 2023-02-10 12:53:56 -08:00
Martin Michelsen 95c1b4b6e8 add support for decoding download QST files 2023-02-10 11:03:03 -08:00
Martin Michelsen 3bb061951d add name color proxy option 2023-02-10 10:48:02 -08:00
Martin Michelsen 649246cda2 apply proxy rewrites to 98 as well as 61 2023-02-09 22:07:49 -08:00
Martin Michelsen ca439c7a0f fix incorrect version check 2023-02-06 22:58:16 -08:00
Martin Michelsen e9899a33a2 fix item usage tracking on PC 2023-02-06 22:26:25 -08:00
Martin Michelsen 6ced274108 update $exit note in readme 2023-02-05 14:48:54 -08:00
Martin Michelsen 6ffeda93a7 make $li output consistent on proxy server 2023-02-04 19:52:38 -08:00
Martin Michelsen c45246c1b5 implement spectator team tracking properly on proxy server 2023-02-04 19:51:15 -08:00
Martin Michelsen 8582e18861 add $exit on game server 2023-02-04 19:51:00 -08:00
Martin Michelsen ed770a8b74 fix chat shell command for pc and bb 2023-02-03 20:54:13 -08:00
Martin Michelsen 3cf309a008 create update-license shell command 2023-02-03 20:43:53 -08:00
Martin Michelsen d1a830040f fix interaction mode for join game errors 2023-02-03 20:16:11 -08:00
Martin Michelsen 64d7ec5cde fix item tracking in battle/challenge modes 2023-02-02 20:02:15 -08:00
Martin Michelsen 77f919980a don't disconnect players when creating a game of too low level 2023-02-02 19:49:18 -08:00
Martin Michelsen c5f4f2907e update some ep3 map format notes 2023-02-02 13:36:57 -08:00
Martin Michelsen 0ffa03d2b6 fix session hang on empty download quest menu 2023-02-01 10:22:06 -08:00
Martin Michelsen 1fdbcd6c4e add incomplete vms decoder 2023-02-01 10:22:06 -08:00
Martin Michelsen ec453d1fa8 block auction commands in non-Ep3 proxy sessions 2023-01-28 09:19:30 -08:00
Martin Michelsen a631fd50b4 update modification tile notes in ep3 map format 2023-01-28 09:19:06 -08:00
Martin Michelsen 8affe23c0d fix note in readme 2023-01-26 22:43:49 -08:00
Martin Michelsen 8cf11b3c48 fix send_function_call for JP Ep3 and v1.04 2023-01-26 19:29:09 -08:00
Martin Michelsen c39e60af8b document unused fields in 6x68 command 2023-01-26 19:29:09 -08:00
Martin Michelsen 194ed550e1 send tournament confirmation at login even if client is unregistered 2023-01-24 21:57:23 -08:00
Martin Michelsen ef0b72e95b document 6xBE field as unused 2023-01-24 21:54:12 -08:00
Martin Michelsen f3481fbd9f make chat filter also apply to info board on proxy server 2023-01-22 22:54:56 -08:00
Martin Michelsen 39d394cfae add $sc and $ss commands 2023-01-22 22:54:29 -08:00
Martin Michelsen 1b0f6cccf6 add option to disable chat commands on proxy server 2023-01-22 21:31:21 -08:00
Martin Michelsen 37c8491dc3 fix test-compression paths for github actions env 2023-01-22 15:32:46 -08:00
Martin Michelsen e364ce2d9c add bytes/sec in compression action log output 2023-01-22 15:23:56 -08:00
Martin Michelsen 15bbaa0837 update test for new $li format 2023-01-22 15:11:29 -08:00
Martin Michelsen edf234c0ff fix typo in error message 2023-01-22 12:14:15 -08:00
Martin Michelsen 4b63475662 clean up $li output 2023-01-21 21:36:39 -08:00
Martin Michelsen 4da71e127d restore deleted item functionality 2023-01-21 21:36:39 -08:00
Martin Michelsen 9d688c2092 fix compression test path 2023-01-21 09:25:25 -08:00
Martin Michelsen d669f7ce6c improve PRS efficiency further 2023-01-21 09:20:06 -08:00
Martin Michelsen b02c82bb0d make PRS and BC0 compression deterministic across environments 2023-01-19 19:21:52 -08:00
Martin Michelsen a4f52b9b22 support .bin/.bind files in ep3 maps directories 2023-01-19 19:12:37 -08:00
Martin Michelsen 9b136d9444 make $item more powerful 2023-01-19 19:12:12 -08:00
Martin Michelsen 7a5e759d9a optimize BC0 compressor 2023-01-17 22:58:38 -08:00
Martin Michelsen f923f51c22 fix ep3 game test for new PRS compression 2023-01-17 22:58:38 -08:00
Martin Michelsen 133ca0b3cc make PRS compression faster & more efficient 2023-01-17 22:02:24 -08:00
Martin Michelsen a937e50681 clean up some CLI option handling 2023-01-17 21:06:44 -08:00
Martin Michelsen b5b7345e5f list non-server behaviors in readme 2023-01-13 08:27:26 -08:00
Martin Michelsen 61751d681e explicitly initialize all TCPConnection fields in IPStackSimulator 2023-01-08 13:55:48 -08:00
Martin Michelsen 9ac01875fb fix potential uninitialized memory access 2023-01-08 13:47:56 -08:00
Martin Michelsen d076838747 fix implicit ptext length conversion 2023-01-08 09:01:14 -08:00
Martin Michelsen 8c5160e36f add some ep3 error debug messages 2023-01-08 09:00:56 -08:00
Martin Michelsen e77228fa97 clear client tournament state when starting proxy session 2023-01-07 09:07:04 -08:00
Martin Michelsen 517a735ab2 add more info to $li on proxy server 2023-01-07 09:06:45 -08:00
Martin Michelsen 353614e65c fix B1 command automask for running tests in 2023 2023-01-01 00:15:17 -08:00
Martin Michelsen d337517317 fix proxy option description formatting 2023-01-01 00:10:09 -08:00
Martin Michelsen 3c7b652f3a fix typo in static game data 2022-12-31 09:34:11 -08:00
Martin Michelsen cb11677214 fix proxy player data handling bug 2022-12-31 00:06:32 -08:00
Martin Michelsen 1dbdd3f191 add infinite ep3 meseta and ability to save media updates 2022-12-30 23:05:50 -08:00
Martin Michelsen 007e439281 remove TODO about battle tables 2022-12-30 23:05:20 -08:00
Martin Michelsen 350afbb436 update misc command notes 2022-12-30 14:29:13 -08:00
Martin Michelsen 08386c4019 more tournament command details 2022-12-30 14:11:04 -08:00
Martin Michelsen f57f903207 fix ep3 command debug log in terminal 2022-12-30 12:57:54 -08:00
Martin Michelsen 6727a25df0 skip implemented subcommand check for server-origin commands 2022-12-30 12:57:42 -08:00
Martin Michelsen a57b6ce57b ep3 debugging helpers 2022-12-30 00:33:20 -08:00
Martin Michelsen b52700c08e document ItemPT format 2022-12-29 19:54:29 -08:00
Martin Michelsen 68abac4fd4 support big-endian GSL archives 2022-12-29 15:02:29 -08:00
Martin Michelsen 52db9008a8 implement ss shell command on game server 2022-12-28 00:30:00 -08:00
Martin Michelsen eb2463a820 change tournament match title for final match 2022-12-26 23:58:04 -08:00
Martin Michelsen dfad80eb9a enable most shell commands to affect a specific session 2022-12-26 21:33:38 -08:00
Martin Michelsen de7239e3fb add color to info board text on proxy server 2022-12-26 18:57:28 -08:00
Martin Michelsen d6256183b5 describe text escapes in CommandFormats.hh 2022-12-26 16:45:24 -08:00
Martin Michelsen dbfb088630 sort proxy destinations by name 2022-12-26 10:22:16 -08:00
Martin Michelsen 3bb33a4de7 don't send spectator commands during loading 2022-12-25 21:21:39 -08:00
Martin Michelsen 5a25c3e865 describe tournament 2v2 option in shell help text 2022-12-25 19:50:58 -08:00
Martin Michelsen 007359e220 block time updates on proxy server 2022-12-25 15:46:10 -08:00
Martin Michelsen 5094db1306 show player & game count at main menu 2022-12-25 15:46:10 -08:00
Martin Michelsen be5d85fa04 add 6xB4x3B command when joining spectator team during battle 2022-12-25 15:42:57 -08:00
Martin Michelsen 2ff3f8b4fb show progress during slow prs and bc0 compression 2022-12-22 23:46:18 -08:00
Martin Michelsen 090379e520 make data output behavior more reasonable 2022-12-22 22:49:42 -08:00
Martin Michelsen f3dfa0989f don't bother with lobby id free list 2022-12-22 22:27:23 -08:00
Martin Michelsen c8b89a7cad make ep3 data index hot-reloadable 2022-12-22 22:23:22 -08:00
Martin Michelsen 1042b8df46 remove unneeded TODO 2022-12-22 22:20:42 -08:00
Martin Michelsen afacf72034 rename game server handlers for better searchability 2022-12-22 22:19:47 -08:00
Martin Michelsen 53938cf6a6 fix typo in command format notes 2022-12-22 21:27:31 -08:00
Martin Michelsen f2751a4e49 remove custom login options from proxy options menu 2022-12-22 21:27:31 -08:00
Martin Michelsen 7c98f42722 implement ep3 online quests 2022-12-19 23:56:43 -08:00
Martin Michelsen 5175c50945 document part of 6xB2 command 2022-12-19 23:56:43 -08:00
Martin Michelsen 13c438273b update some command format notes 2022-12-18 12:24:19 -08:00
Martin Michelsen 99c8d9957a fix card id in card text parser 2022-12-17 16:09:28 -08:00
Martin Michelsen a28ef86c60 fix some mistakes in readme 2022-12-17 16:08:55 -08:00
Martin Michelsen aa19fd347e add some TODOs 2022-12-17 10:31:55 -08:00
Martin Michelsen e5a9b1f330 fix negative remaining_turns in ep3 server 2022-12-17 01:16:48 -08:00
Martin Michelsen 2eb4770bdd fix handling of stray ep3 lobby counter state commands 2022-12-17 01:16:48 -08:00
Martin Michelsen a6ac56943c fix invalid command proxy message 2022-12-17 01:16:48 -08:00
Martin Michelsen d288fca087 fix proxy block events option 2022-12-17 01:15:35 -08:00
Martin Michelsen 889913400a fix some format notes 2022-12-16 21:13:42 -08:00
Martin Michelsen 5e2a42d852 rename scene_data2 to environment_number 2022-12-16 21:07:33 -08:00
Martin Michelsen abd2fb9e92 add tournament-state.json to gitignore 2022-12-16 21:07:32 -08:00
Martin Michelsen 5625999a90 add exit command in proxy sessions 2022-12-16 19:51:02 -08:00
Martin Michelsen 08dfbbcb5c factor out client and proxy options 2022-12-15 23:34:07 -08:00
Martin Michelsen 224e0df87e handle stray server data commands 2022-12-15 12:54:29 -08:00
Martin Michelsen 1bb0545b21 fix battle table edge case 2022-12-15 00:05:44 -08:00
Martin Michelsen 27cdf7e078 fix incorrect behavior when attempting to start non-pending tournament match 2022-12-14 23:35:08 -08:00
Martin Michelsen c01d1f623c use log levels for suppressing ip stack simulator output 2022-12-14 23:34:45 -08:00
Martin Michelsen 7612621fe9 unmask ep3 commands on proxy server 2022-12-14 20:37:48 -08:00
Martin Michelsen fa95a2f6d8 implement battle tables 2022-12-14 20:37:34 -08:00
Martin Michelsen 0b17b7174f skip wait phase if there's only one client in tournament match 2022-12-14 17:58:25 -08:00
Martin Michelsen cf2f1ef529 add option to disable save_files globally 2022-12-13 23:53:06 -08:00
Martin Michelsen ae49ca0189 add DISABLE_INTERFERENCE behavior flag 2022-12-13 23:39:32 -08:00
Martin Michelsen 79374d3dd1 make tournament entry details cleaner 2022-12-13 23:39:32 -08:00
Martin Michelsen 846401469e clean up some format notes 2022-12-13 23:38:36 -08:00
Martin Michelsen 6f11410107 fix tournament player positions on b team 2022-12-13 22:25:48 -08:00
Martin Michelsen 025556ecd3 restrict tournament trigger to a specific battle table 2022-12-13 22:10:08 -08:00
Martin Michelsen 5bcd16b6f2 make tournaments work with multiple human players 2022-12-13 21:40:09 -08:00
Martin Michelsen d52b882679 fix team count in tournament status command 2022-12-12 22:03:45 -08:00
Martin Michelsen 0d7f69eb66 implement spectator count view in primary game 2022-12-12 21:57:37 -08:00
Martin Michelsen 391a70f68d send tournament bracket updates when any match is complete 2022-12-12 21:54:53 -08:00
Martin Michelsen e858b2101d implement hack to make tournament specatators work 2022-12-12 00:42:39 -08:00
Martin Michelsen ed2568fc7a more ep3 comamnd details 2022-12-11 23:02:14 -08:00
Martin Michelsen 9a2ed4c5ec fix most assist cards 2022-12-11 22:46:13 -08:00
Martin Michelsen 398a93b56f implement spectator teams 2022-12-11 13:57:57 -08:00
Martin Michelsen cceaf5efde implement ep3 extended game/tournament info commands 2022-12-11 11:04:11 -08:00
Martin Michelsen 14639c63e3 name interference functions appropriately 2022-12-10 21:48:09 -08:00
Martin Michelsen 2ee7ca8600 fix quest barrier and implement v3/bb file chunk acknowledge commands 2022-12-10 10:02:19 -08:00
Martin Michelsen e800fd3fff fix prs_decompress_size 2022-12-10 09:19:43 -08:00
Martin Michelsen fb4aa0df22 persist tournament state across server restarts 2022-12-10 00:13:49 -08:00
Martin Michelsen b0a32600be add note about COM EX values 2022-12-09 18:17:08 -08:00
Martin Michelsen 12caf95f5d add offline decks to default tournament set 2022-12-09 00:33:22 -08:00
Martin Michelsen c3192bb398 fix tournament registration bug after disconnect 2022-12-09 00:33:10 -08:00
Martin Michelsen 8323c5e0af add ep3 ex value command for tournament matches 2022-12-08 21:44:12 -08:00
Martin Michelsen bdff48c343 fix some tournament state bugs 2022-12-08 18:38:46 -08:00
Martin Michelsen 5f04cbaecb fix results screen for final tournament match 2022-12-08 17:32:39 -08:00
Martin Michelsen 93f42a9398 automatically delete tournaments when complete 2022-12-08 17:32:39 -08:00
Martin Michelsen 2eacaa993e add note about tournament state 2022-12-08 10:13:49 -08:00
Martin Michelsen 9bb168b693 use bare array instead of parray in tournament index 2022-12-08 01:06:00 -08:00
Martin Michelsen 9a1ba56982 implement episode 3 tournaments 2022-12-08 01:01:58 -08:00
Martin Michelsen 8c2ea48b80 fix use-after-free when client disconnects intentionally 2022-12-05 21:04:43 -08:00
Martin Michelsen d4115450b2 make binary and disassembly filenames match 2022-12-03 21:33:08 -08:00
Martin Michelsen fd8f968994 document some ep3 tournament command fields 2022-12-03 18:38:17 -08:00
Martin Michelsen 7634e61400 temporarily disable BB test again 2022-12-03 12:32:08 -08:00
Martin Michelsen 1a7981dff5 remove context_token logic 2022-12-03 12:20:45 -08:00
Martin Michelsen c3c6f60664 document more ep3 commands 2022-12-03 12:14:58 -08:00
Martin Michelsen 421f27d63c document 6xB4x4B command 2022-12-03 11:06:31 -08:00
Martin Michelsen c314cb7cec fix E3 command format 2022-12-03 11:06:31 -08:00
Martin Michelsen 9f4b53178a add jsd0 2022-12-03 11:06:31 -08:00
Martin Michelsen 85fbd1b389 rename some unknown fields 2022-12-03 11:06:31 -08:00
Martin Michelsen 4f57ea30a1 enable BB test 2022-12-02 10:15:05 -08:00
Martin Michelsen 1ea44ac55c add heuristic-based trivial encryption basis finder 2022-12-01 21:41:15 -08:00
Martin Michelsen d44be66958 document some of ep3 extra player data format 2022-12-01 21:40:45 -08:00
Martin Michelsen 1a5d2537ad document --decrypt-trivial-data option 2022-12-01 19:21:32 -08:00
Martin Michelsen f68308a242 fix ep3 test 2022-11-30 23:53:25 -08:00
Martin Michelsen f622c9c91e update some documentation 2022-11-30 23:40:12 -08:00
Martin Michelsen 0828029051 optimize images 2022-11-30 23:25:45 -08:00
Martin Michelsen 2e3089cb10 make replay commands more usable 2022-11-30 23:23:17 -08:00
Martin Michelsen f8da4ac7be initial spectator + recording implementation 2022-11-30 22:29:51 -08:00
Martin Michelsen b82be91edd move ep3 behavior flags into DataIndex 2022-11-29 21:26:11 -08:00
Martin Michelsen 0870d66806 support ep3 private chat 2022-11-29 20:41:17 -08:00
Martin Michelsen 8efc9f1b3e support uncompressed ep3 card definition lists 2022-11-29 20:41:17 -08:00
Martin Michelsen 95b4d34593 fix ep3 defense conditions not applying properly 2022-11-28 20:33:16 -08:00
Martin Michelsen 2819798791 temporarily disable bb test 2022-11-28 00:37:16 -08:00
Martin Michelsen dc319e3a5d explicitly define equality operators to satisfy older gcc versions 2022-11-28 00:27:25 -08:00
Martin Michelsen 53efff5c4a add card battle debug info 2022-11-28 00:13:22 -08:00
Martin Michelsen 37153fae79 update readme 2022-11-28 00:13:22 -08:00
Martin Michelsen 81dcc14934 update tests for new client flags 2022-11-28 00:13:22 -08:00
Martin Michelsen 41a858935b implement card auctions 2022-11-27 23:52:18 -08:00
Martin Michelsen 9f2f0ccc14 implement episode 3 battles 2022-11-27 21:19:31 -08:00
Martin Michelsen 8481ba23c5 re-record ep3 test 2022-11-27 21:19:31 -08:00
Martin Michelsen 3e8fa44be9 fix port config in test config.json 2022-11-27 21:19:31 -08:00
Martin Michelsen 9dfaad9ae8 fix typo in ep3 patch enabler comment 2022-11-25 20:54:59 -08:00
Martin Michelsen ad3d9869ed fix patches menu item ids 2022-11-05 11:07:10 -07:00
Martin Michelsen 85bdb1a7a2 add note about card auctions 2022-11-05 11:06:57 -07:00
Martin Michelsen 759442ee62 add patch to get VIP card on Ep3 2022-11-05 10:39:22 -07:00
Martin Michelsen 51c13b8462 fix proxy chat commands in ep3 spectator teams 2022-11-05 10:39:22 -07:00
Martin Michelsen 17496ab9fe add some extra notes on commands 2022-11-05 10:39:22 -07:00
Martin Michelsen 690d4bdb14 refine 6xB4x03 command definition 2022-11-04 17:35:45 -07:00
Martin Michelsen fd0ba1bbf6 fix some ep3 card format details 2022-11-04 17:35:36 -07:00
Martin Michelsen e321fd5bca fix some proxy server uninitialized memory bugs 2022-11-04 17:35:36 -07:00
Martin Michelsen 7be3aad58b use phosg and resource_file CMake packages 2022-11-04 10:07:20 -07:00
Martin Michelsen b4410594b0 fix invalid write in ep3 editors patch 2022-11-04 01:05:26 -07:00
Martin Michelsen 94e6ba2a91 add comment to ep3 editors patch 2022-11-04 00:11:00 -07:00
Martin Michelsen 5998fee2a7 document 6xB5x42 command 2022-11-04 00:01:38 -07:00
Martin Michelsen cb1e405a66 fix comment 2022-11-03 22:18:02 -07:00
Martin Michelsen dab83f27d3 fix notes on 6xB5x3F command 2022-11-03 22:14:00 -07:00
Martin Michelsen 92c51830bb make ep3 editors patch idempotent 2022-11-03 22:07:57 -07:00
Martin Michelsen 846100cf16 support reloading functions and programs 2022-11-03 22:07:15 -07:00
Martin Michelsen b0edffdef1 document ep3 auction commands 2022-11-03 22:07:01 -07:00
Martin Michelsen debca5aad4 add PC notes to Ep3 debug menus patch 2022-11-03 16:24:16 -07:00
Martin Michelsen 1421e633be add Episode 3 USA debug menus patch 2022-11-03 15:34:03 -07:00
Martin Michelsen a0a802f42f enable $patch on proxy server 2022-11-03 15:28:27 -07:00
Martin Michelsen 247904f019 fix bounds on ep3 patch handler code copy 2022-11-03 00:40:51 -07:00
Martin Michelsen 10ab632c59 add $patch command 2022-11-03 00:40:29 -07:00
Martin Michelsen 51ccecf1bd add object graph parser 2022-11-03 00:40:04 -07:00
Martin Michelsen dedea228b1 update readme section about patches and dol files 2022-11-01 09:37:12 -07:00
Martin Michelsen 3e74bde880 fix tests for Ep3 USA patch changes 2022-10-31 16:59:16 -07:00
Martin Michelsen 0a1eb5f0d7 add Ep3 USA patch function 2022-10-31 16:47:14 -07:00
Martin Michelsen ed81599cc9 fix percentage display on weapon text generation 2022-10-29 19:28:00 -07:00
Martin Michelsen 2ce9e58177 add a bit more of dc nte 2022-10-29 19:27:44 -07:00
Martin Michelsen 52625aed9c add proxy option to block lobby events 2022-10-29 16:05:59 -07:00
Martin Michelsen 9140b04ca6 fix some format comments 2022-10-24 19:29:03 -07:00
Martin Michelsen c9e5d1f677 implement $next on proxy server 2022-10-15 22:24:00 -07:00
Martin Michelsen 0e53ea08ba fix crash checks on proxy server 2022-10-15 22:24:00 -07:00
Martin Michelsen 378fd0521e clarify DE command 2022-10-15 11:50:42 -07:00
Martin Michelsen 4edcbc5d4d rewrite prs functions for clarity; implement staged compression 2022-10-11 11:16:52 -07:00
Martin Michelsen 14837447a3 update some ep3 notes 2022-10-11 11:16:52 -07:00
Martin Michelsen 23a0424acf clarify some comments in bc0 compression 2022-10-10 12:34:58 -07:00
Martin Michelsen 4f63d3672e write bc0 compressor 2022-10-10 12:22:39 -07:00
Martin Michelsen 0033cb2eda shorten unknown tech names in item descriptions 2022-10-09 23:33:11 -07:00
Martin Michelsen 239ffd1323 add explanation of player_tag field 2022-10-09 23:32:05 -07:00
Martin Michelsen f18953c31e make signedness explicit in count checks 2022-10-09 12:50:34 -07:00
Martin Michelsen f088454c25 add all GC 1&2 subcommand formats 2022-10-09 01:35:22 -07:00
Martin Michelsen 48905bfa10 use ep3 battle command masking for forwarded commands 2022-10-06 22:10:02 -07:00
Martin Michelsen 830a151db7 add ep3 game subcommand outlines 2022-10-05 23:34:17 -07:00
Martin Michelsen 5b3a94f018 add ep3 data inspection option 2022-10-05 15:03:22 -07:00
Martin Michelsen 1cb14b48c9 fix typo 2022-10-05 13:07:32 -07:00
Martin Michelsen 3d036404f7 document the CARD lobby battle table commands 2022-10-05 11:33:46 -07:00
Martin Michelsen 4eb46b293e fix some ep3 documentation 2022-10-05 11:12:50 -07:00
Martin Michelsen 026befe6ac don't use parray for Entry struct 2022-10-05 00:35:06 -07:00
Martin Michelsen d9413b3559 add explanation of game command header 2022-10-05 00:30:57 -07:00
Martin Michelsen e14a4f83db don't fail on ghost lobby player bug on proxy server 2022-10-05 00:19:56 -07:00
Martin Michelsen ba928306ba make ip stack sim log messages cleaner 2022-10-05 00:19:56 -07:00
Martin Michelsen d5154f0a5d close proxy session early if client intentionally disconnects 2022-10-05 00:19:56 -07:00
Martin Michelsen 7ffa043941 more ep3 subcommand research 2022-10-05 00:19:56 -07:00
Martin Michelsen 513fab03c8 fix signed/unsigned comparison in bc0 decompression 2022-10-04 18:31:10 -07:00
Martin Michelsen e2525ffd36 document Ep3 media update command 2022-10-04 18:20:56 -07:00
Martin Michelsen 9e161d99cf fix infinite hp on proxy server 2022-10-04 18:20:14 -07:00
Martin Michelsen 6a0df79fad document Ep3 E1 command 2022-10-04 18:20:03 -07:00
Martin Michelsen ce87348bf5 add skip card proxy option 2022-10-04 18:19:40 -07:00
Martin Michelsen 50e1b79b1e reverse-engineer subcommands sent during game join 2022-10-03 23:21:55 -07:00
Martin Michelsen a16c207f4d allow specifying input and output filenames 2022-10-03 21:44:39 -07:00
Martin Michelsen f6987d6627 fix resume game subcommand 2022-10-03 21:44:39 -07:00
Martin Michelsen 1c6ba33be3 don't send blank message box if not needed 2022-10-03 21:44:39 -07:00
Martin Michelsen 63958b7c5d update ep3 support notes in readme 2022-10-03 15:51:11 -07:00
Martin Michelsen 7ed0866c2b add Ep3 sound chat subcommand 2022-10-03 11:23:11 -07:00
Martin Michelsen 333fc803ce more ep3 notes in CommandFormats 2022-10-03 11:20:40 -07:00
Martin Michelsen 32176caff8 support .mnm extension for Ep3 quests; fix Ep3 DLQs not working 2022-10-03 00:07:48 -07:00
Martin Michelsen 73278fe9ab add ability to decrypt Ep3 GCI files 2022-10-02 23:01:46 -07:00
Martin Michelsen 5ec90db9eb add some more Ep3 notes 2022-10-02 21:40:58 -07:00
Martin Michelsen 6afc029152 implement Ep3 card trade window 2022-10-02 19:00:13 -07:00
Martin Michelsen 44e28fd906 add some Ep3 research 2022-10-02 18:59:44 -07:00
Martin Michelsen 0969a6eb1d handle odd data sizes gracefully in --decrypt-data 2022-10-02 15:41:49 -07:00
Martin Michelsen 8d206133a3 also block B7 for non-Ep3 clients 2022-10-02 12:16:16 -07:00
Martin Michelsen e4b5fbf2ba clean up duplicated functions in PSOEncryption 2022-10-02 12:16:02 -07:00
Martin Michelsen 867f86da5e fix B8 forwarding condition on proxy server 2022-10-02 01:28:29 -07:00
Martin Michelsen e273629cd1 fix client_id field width in some subcommands 2022-10-02 01:28:17 -07:00
Martin Michelsen bc071155b0 fix field name in 6x5F command 2022-10-01 18:40:44 -07:00
Martin Michelsen 295bb9c4a4 don't send Ep3 card defs unnecessarily 2022-10-01 18:40:44 -07:00
Martin Michelsen c9d62e26ef add comments on mag color index 2022-10-01 09:24:13 -07:00
Martin Michelsen c8cb3e61f7 add set-next-item shell command 2022-10-01 00:56:39 -07:00
Martin Michelsen 0b85f46ce2 block B8 command via proxy ifclient is not episode 3 2022-10-01 00:56:39 -07:00
Martin Michelsen a01472666c block 97 command via proxy if client has already saved 2022-10-01 00:56:39 -07:00
Martin Michelsen 613789057f update note on 06E8 command 2022-10-01 00:56:39 -07:00
Martin Michelsen dbf44e60ff prevent $item in lobbies 2022-10-01 00:56:39 -07:00
Martin Michelsen a8f888b829 fix $event condition on BB 2022-10-01 00:56:39 -07:00
Martin Michelsen 125c8f910c add get_player_card 2022-10-01 00:56:39 -07:00
Martin Michelsen 27bccc5571 don't show gc# in unlicensed sessions 2022-10-01 00:53:31 -07:00
Martin Michelsen 1a477b28a0 ensure save is enabled before sending clients to proxy server 2022-09-30 11:41:29 -07:00
Martin Michelsen fbc0eaeaa1 add SL flag in $li command output 2022-09-30 00:15:26 -07:00
Martin Michelsen 96caa94d1e expand proxy options, catch invalid commands from server 2022-09-29 23:47:44 -07:00
Martin Michelsen 95220bfbdc make subobject init explicit 2022-09-29 19:54:16 -07:00
Martin Michelsen cd01848eb9 update version notes in CommandFormats 2022-09-29 16:08:25 -07:00
Martin Michelsen 34cde304dc explicitly specify cache timeout as int64 2022-09-29 16:07:43 -07:00
Martin Michelsen 0951132c01 add proxy options menu 2022-09-29 12:07:53 -07:00
Martin Michelsen 7d950e01ab rewrite some readme sections for clarity 2022-09-28 19:29:33 -07:00
Martin Michelsen e73fb2fbba update example config for dc/gc shared ports 2022-09-26 15:52:34 -07:00
Martin Michelsen 8f2bf60d62 add UDP off versions of v2 login command 2022-09-26 15:30:56 -07:00
Martin Michelsen bdc60ac601 revert replay timeout to 3 seconds 2022-09-23 19:13:02 -07:00
Martin Michelsen 6e6b161847 add BB test again 2022-09-23 19:12:35 -07:00
Martin Michelsen d4d7797741 add some debug info during replays 2022-09-23 19:08:38 -07:00
Martin Michelsen 110db06191 shorten init message 2022-09-23 19:08:23 -07:00
Martin Michelsen a9cf98a24f implement some parts of DC NTE (but not all of it) 2022-09-23 18:37:45 -07:00
Martin Michelsen 9524d05279 update some command notes 2022-09-22 22:52:14 -07:00
Martin Michelsen c43fa7a40d don't send extra lobbies to v1 clients 2022-09-22 22:51:53 -07:00
Martin Michelsen 5d314f4e96 clean up meet user extension structure 2022-09-22 22:51:13 -07:00
Martin Michelsen 29fc74470d rename client and lobby flags 2022-09-22 22:50:14 -07:00
Martin Michelsen 7bcb040e8d add line numbers to most replay errors 2022-09-22 22:47:02 -07:00
Martin Michelsen afba535e00 rewrite some readme sections 2022-09-22 20:39:26 -07:00
Martin Michelsen 152a90a37b disable BB test since it fails only in GitHub Actions apparently 2022-09-22 17:33:07 -07:00
Martin Michelsen e998cb4a92 use PPC32Assembler shortcut with include_directories 2022-09-22 17:22:27 -07:00
Martin Michelsen 79dde31d7f increase log replay timeout 2022-09-22 17:22:10 -07:00
Martin Michelsen a1c86189e4 fix disconnect when sending mail to offline user 2022-09-22 16:55:58 -07:00
Martin Michelsen 8afc952294 simplify decryption seed finder 2022-09-21 00:10:47 -07:00
Martin Michelsen 30426acbbe add compress/decompress options 2022-09-20 23:30:27 -07:00
Martin Michelsen 38117390f7 add TODO to delete duplicate parallel_range function 2022-09-17 12:14:56 -07:00
Martin Michelsen fb08c45cb7 fix ep3 menu song 2022-09-16 13:48:44 -07:00
Martin Michelsen 58aef33edc add persist command 2022-09-16 13:45:58 -07:00
Martin Michelsen e7a821bcba add history to readme 2022-09-15 23:44:04 -07:00
Martin Michelsen dcf89865f5 reduce log output when populating patch index 2022-09-15 22:14:53 -07:00
Martin Michelsen 5b93ac046f fix explicit endianness in some command formats 2022-09-15 22:14:30 -07:00
Martin Michelsen 481b9b3040 fix some edge cases in gci decryption 2022-09-14 23:40:59 -07:00
Martin Michelsen 34d32418e3 print found GCI file seed on success 2022-09-13 23:25:41 -07:00
Martin Michelsen b9902f6189 explicitly link with pthread 2022-09-13 10:06:58 -07:00
Martin Michelsen 1b949c67da add missing include on linux 2022-09-13 10:02:51 -07:00
Martin Michelsen 1a3dd26cb3 add GCI decryption function 2022-09-13 01:27:54 -07:00
Martin Michelsen 42d12e2a18 add Flycast memory patch script 2022-09-12 17:56:25 -07:00
Martin Michelsen 19b093cfc5 only return clients to newserv from proxy if not in a game 2022-09-06 11:12:32 -07:00
Martin Michelsen 425338877d fix dressing room overwriting level/exp 2022-09-04 00:21:33 -07:00
Martin Michelsen 764a930213 also store chunk crcs in patch metadata cache 2022-09-03 23:24:35 -07:00
Martin Michelsen f166dae1c6 add debug names for loaded enemies 2022-09-03 22:53:50 -07:00
Martin Michelsen 176e0fb6d6 cache file checksums in patch trees 2022-09-03 22:53:33 -07:00
Martin Michelsen 60bb758bc4 implement dressing room on BB 2022-09-03 22:09:32 -07:00
Martin Michelsen 3e5a961b68 implement play time on BB 2022-09-03 22:09:32 -07:00
azarashi 0180296c49 Fix default patch server messages 2022-09-03 21:07:12 -07:00
Martin Michelsen 8937333a2b support early BB login command in multi-key detector crypt 2022-09-03 21:03:55 -07:00
Martin Michelsen 861d4e432a reduce bb file cache timeout 2022-09-03 12:34:49 -07:00
Martin Michelsen c46db6eccd add some missing includes, delete accidentally-added notes 2022-09-03 12:30:41 -07:00
Martin Michelsen 9a35f5ca63 reorganize BB file loading abstractions 2022-09-03 12:26:12 -07:00
Martin Michelsen 89285fef98 remove accidentally-included function prototype 2022-09-03 01:17:57 -07:00
Martin Michelsen b6d6474356 handle disable_udp correctly for games 2022-09-03 01:14:51 -07:00
Martin Michelsen 010f753a08 clean up some player structs 2022-09-02 18:26:47 -07:00
Martin Michelsen 3a7c3c0fe9 implement BB encryption in --cat-client 2022-09-02 17:33:44 -07:00
Martin Michelsen 01e4518c8e clean up handler tables 2022-09-01 23:35:41 -07:00
Martin Michelsen 47c2269fca delete some outdated comments 2022-09-01 21:09:46 -07:00
Martin Michelsen 507af79203 add notes and check about pc_console_detect port configs 2022-09-01 21:06:03 -07:00
Martin Michelsen 74fdf3cdeb fix bb proxy reconnect port 2022-09-01 21:05:47 -07:00
Martin Michelsen e0b0ff989a add TODO about bb proxy connection behavior 2022-09-01 21:05:36 -07:00
Martin Michelsen e8f79628ca use explicit offset widths for print_data calls 2022-09-01 17:58:01 -07:00
Martin Michelsen 6eb77a7193 add SH4 to architecture enum 2022-08-28 18:01:51 -07:00
Martin Michelsen 1ed06283a2 fix subobject initialization 2022-08-27 23:00:50 -07:00
Martin Michelsen 0908ba5599 auto-mask meet user reconnect command during replay 2022-08-27 22:56:08 -07:00
Martin Michelsen 8ef18eab13 hide all non-BB redirects on proxy server 2022-08-27 22:50:43 -07:00
Martin Michelsen d2bcc5d261 fix LoginExtended format 2022-08-27 19:20:08 -07:00
Martin Michelsen f59347c5c2 fix port names for proxy change ship/block 2022-08-27 19:20:08 -07:00
Martin Michelsen bca76322bf fix dc guild card format 2022-08-27 19:20:08 -07:00
Martin Michelsen dc278a7843 implement meet user on dcv1 2022-08-27 18:58:47 -07:00
Martin Michelsen 34b70a8a03 don't send event change command to GCTE clients 2022-08-27 18:58:10 -07:00
Martin Michelsen 7380b34d9d support unregistered users on bb proxy 2022-08-27 13:48:58 -07:00
Martin Michelsen 5d3d1e1900 add support for PSO DC v1/v2 2022-08-27 10:49:53 -07:00
Martin Michelsen 4abd91cb8f fix typo in help text 2022-08-26 00:26:28 -07:00
Martin Michelsen 56494f7e9d document some DC formats 2022-08-26 00:26:28 -07:00
Martin Michelsen 5ede882715 add ability to handle V2 and V3 clients on the same port 2022-08-26 00:26:28 -07:00
Martin Michelsen b612d50c17 show dns response in ip stack simulator debug 2022-08-25 19:25:38 -07:00
Martin Michelsen eaf1ad036c update compatibility table in readme 2022-08-25 19:25:17 -07:00
Martin Michelsen c5375c11aa fix download quests 2022-08-24 01:02:11 -07:00
Martin Michelsen 77cea58fc5 clean up big-endian encryption 2022-08-24 01:02:11 -07:00
Martin Michelsen e808a7b6a3 use D5 on versions that support it 2022-08-24 01:02:11 -07:00
Martin Michelsen 4066f80407 add logo 2022-08-13 17:48:11 -07:00
Martin Michelsen 7cce105a09 add notes from Ep3 trial edition disassembly 2022-08-13 01:15:44 -07:00
Martin Michelsen 202427e331 implement GC Ep1&2 trial edition 2022-08-13 00:35:27 -07:00
Martin Michelsen 2a7fdceba9 update some format notes 2022-08-12 14:29:32 -07:00
Martin Michelsen 6af3a8e8cd support Episode 3 trial edition 2022-08-12 14:27:28 -07:00
Martin Michelsen 1fdf258e7f disassemble encrypted send_function_calls on proxy server 2022-08-11 23:57:34 -07:00
Martin Michelsen 3e14bc306f remove debugging output for send_function_call disassembly 2022-08-11 23:36:45 -07:00
Martin Michelsen c592542f07 log when client channels connect successfully 2022-08-11 23:36:30 -07:00
Martin Michelsen d2b9023cfc prevent non-logged-in users from doing anything except log in 2022-08-11 21:28:46 -07:00
Martin Michelsen 716825ffaf fix some typos in help text 2022-08-11 21:25:33 -07:00
Martin Michelsen 907883d176 fix incorrect ep3 map command size 2022-08-11 09:45:44 -07:00
Martin Michelsen a0d994962f fix formatting error in readme 2022-08-11 09:25:32 -07:00
Martin Michelsen a6442c6208 generalize send_function_call a bit 2022-08-11 00:23:49 -07:00
Martin Michelsen 8bff95052c fix primary_identifier for meseta items with nonzero intermediate values 2022-08-10 13:02:28 -07:00
Martin Michelsen 8c82fccb5b fix $what for invalid items 2022-08-10 00:35:33 -07:00
Martin Michelsen c1ea579758 update readme 2022-08-10 00:35:20 -07:00
Martin Michelsen 25c68ef43c fix char range error in some envs 2022-08-09 16:59:35 -07:00
Martin Michelsen d006359f87 add patch tests 2022-08-08 23:48:22 -07:00
Martin Michelsen 39c7b37a84 add intentional fallthrough label 2022-08-08 23:22:55 -07:00
Martin Michelsen 50643df49e add PatchFileIndex 2022-08-08 23:20:54 -07:00
Martin Michelsen c62f1e9fa0 implement patch serving 2022-08-08 23:18:05 -07:00
Martin Michelsen 69d2c6d95c use enable_if_t instead of requires 2022-08-05 12:39:48 -07:00
Martin Michelsen b4780a80a8 fix some item codes and names 2022-08-05 01:30:59 -07:00
Martin Michelsen e958753a09 add leader tag in proxy $li results 2022-08-05 01:30:56 -07:00
Martin Michelsen aa8cf5fd1b update map files 2022-08-03 17:30:39 -07:00
Martin Michelsen 7a1eb677dc rewrite map loader 2022-08-03 17:30:39 -07:00
Martin Michelsen 9b837c5b6c implement BB medical center 2022-08-03 17:30:33 -07:00
Martin Michelsen 176641aebe implement some more BB item commands 2022-08-02 23:25:01 -07:00
Martin Michelsen 80bac6c89e update tests for new info menu / patch server message 2022-08-02 21:33:30 -07:00
Martin Michelsen c43c023b4b rewrite some information menu items 2022-08-02 21:18:56 -07:00
Martin Michelsen 293cc86092 move patch server message to config file 2022-08-02 20:53:41 -07:00
Martin Michelsen 09f0d1f3de save BB player data perioducally during sessions 2022-08-02 12:47:55 -07:00
Martin Michelsen 8f75823f7d clean up $edit implementation 2022-08-02 12:47:43 -07:00
Martin Michelsen 42c1d251eb clean up map parsing 2022-08-02 12:12:07 -07:00
Martin Michelsen ed36471a4e fix BB license check bug; clean up license commands 2022-08-02 12:12:07 -07:00
Martin Michelsen 1164f99957 fix sub_version flags for GC Ep1&2 EU 2022-08-02 12:12:07 -07:00
Martin Michelsen 8c7cee8fd5 update $item docs 2022-08-02 12:02:20 -07:00
Martin Michelsen 442f33733d implement $item command on non-bb and on proxy 2022-07-30 23:03:55 -07:00
Martin Michelsen 286997188e skip guild card file download if checksums match 2022-07-30 13:08:22 -07:00
Martin Michelsen f4517ab92e implement bb blocked senders 2022-07-30 12:56:05 -07:00
Martin Michelsen 7c28ee05cc fix bb guild card save; implement comments 2022-07-30 12:19:46 -07:00
Martin Michelsen 8ac15c9aa3 update readme 2022-07-30 00:39:26 -07:00
Martin Michelsen 431cd480e8 implement bb pre-lobby event 2022-07-30 00:39:26 -07:00
Martin Michelsen 2cb49030f0 implement bb meet user 2022-07-30 00:39:26 -07:00
Martin Michelsen cf59858e1e implement bb simple mail 2022-07-30 00:39:26 -07:00
Martin Michelsen b901e8846d implement some bb guild card commands 2022-07-30 00:25:40 -07:00
Martin Michelsen 174c53d751 update readme about pc compatibility 2022-07-29 11:56:56 -07:00
Martin Michelsen 89cb07a376 fix meet user on pc 2022-07-29 11:53:12 -07:00
Martin Michelsen 4b666a079b implement simple mail on pc 2022-07-29 11:53:04 -07:00
Martin Michelsen 0ebf2ba8ef fix card search results on pc 2022-07-29 11:52:43 -07:00
Martin Michelsen 2fe51519d4 fix some formatting in CommandFormats.hh 2022-07-28 15:37:23 -07:00
Martin Michelsen 7f7137ed81 add support for uncompressed quests 2022-07-28 00:16:57 -07:00
Martin Michelsen ecf02943d4 more ep3 formats research 2022-07-27 01:40:48 -07:00
Martin Michelsen ca2c17360d fix fault when sending data on closed channel 2022-07-27 00:57:15 -07:00
Martin Michelsen ea62275f89 fix login commands in tests 2022-07-27 00:09:14 -07:00
Martin Michelsen 415aa88bd3 fix ep3 login smoke test 2022-07-26 22:46:51 -07:00
Martin Michelsen e6b05196fd use the right flags field for equip tracking 2022-07-26 20:58:48 -07:00
Martin Michelsen 02e98008d3 track equip state on non-BB versions 2022-07-26 20:54:56 -07:00
Martin Michelsen ce2cf1b56b fix quest menu bug 2022-07-26 20:00:37 -07:00
Martin Michelsen 22c36b4874 add some notes about v1/v2 2022-07-26 19:59:26 -07:00
Martin Michelsen ec205062ad add findings from psox disassembly 2022-07-26 00:33:47 -07:00
Martin Michelsen d61c65cf16 add ep3 smoke test 2022-07-26 00:33:47 -07:00
Martin Michelsen 7461d36cb8 update typical patch session notes 2022-07-25 20:36:26 -07:00
Martin Michelsen 7983f71159 document patch 15 command 2022-07-25 01:32:46 -07:00
Martin Michelsen 4c20097de7 fix meet user 2022-07-25 01:32:37 -07:00
Martin Michelsen df80933f40 implement trade window 2022-07-25 00:41:16 -07:00
Martin Michelsen 52a853092c add notes from GC subcommand handlers 2022-07-25 00:37:51 -07:00
Martin Michelsen 515a0b70be update note about S->C D7 2022-07-25 00:37:31 -07:00
Martin Michelsen a2e53b2b33 incompletely document challenge data 2022-07-25 00:37:14 -07:00
Martin Michelsen 8d16ff7e7c fix a couple of typos 2022-07-25 00:36:24 -07:00
Martin Michelsen 8f64c2f3ba fix sub_version codes 2022-07-21 15:24:38 -07:00
Martin Michelsen 309a347312 fix flags for JP Plus subversion 2022-07-21 14:26:40 -07:00
Martin Michelsen 0d57bee368 be explicit about size rounding 2022-07-21 01:07:01 -07:00
Martin Michelsen c3ccd74e80 add untested support for JP Plus/Ep3 send_function_call 2022-07-21 01:01:36 -07:00
Martin Michelsen e55cf3bc7c add --byteswap-data for --decrypt, etc 2022-07-21 00:58:48 -07:00
Martin Michelsen 4163f2affa add --cat-client behavior 2022-07-20 23:05:47 -07:00
Martin Michelsen 5f836711c7 allow event and ep3 menu song to be specified in config.json 2022-07-13 23:36:56 -07:00
Martin Michelsen 37b7119ea5 more format doc updates 2022-07-13 23:36:31 -07:00
Martin Michelsen f43a7c9277 fix extra char in li output on proxy server 2022-07-13 23:36:16 -07:00
Martin Michelsen 2590a2f24b allow proxy handlers to override command/flag 2022-07-13 17:40:37 -07:00
Martin Michelsen ff7031544a more format documentation updates 2022-07-13 17:20:17 -07:00
Martin Michelsen 34ab156451 fix patch menu presence condition 2022-07-13 10:54:53 -07:00
Martin Michelsen 0a115427a1 add $rand command 2022-07-11 11:04:31 -07:00
Martin Michelsen abe64af17b make tests replayable on non-macos machines 2022-07-08 00:40:43 -07:00
Martin Michelsen 39942dc4bd disable FunctionCodeIndex during replays 2022-07-08 00:40:18 -07:00
Martin Michelsen 41d03670d6 fix more paths in ctest config 2022-07-08 00:30:45 -07:00
Martin Michelsen b031f2e8ad fix working directory for GH actions tests 2022-07-08 00:24:22 -07:00
Martin Michelsen 5dba862117 enable --output-on-failure for GH actions test runs 2022-07-08 00:19:47 -07:00
Martin Michelsen 9cf306b73c fix config.json path in test command 2022-07-08 00:14:14 -07:00
Martin Michelsen a8fb7a2eda fix gcc overflow warning 2022-07-08 00:00:47 -07:00
Martin Michelsen 0327e242fc fix unregistered user behavior on pc 2022-07-07 23:56:34 -07:00
Martin Michelsen 10cb76aefd add tests directory 2022-07-07 23:52:29 -07:00
Martin Michelsen 949a651be1 fix size check on 19 unmasker 2022-07-07 23:50:43 -07:00
Martin Michelsen e5227080b8 make replays useful on BB 2022-07-07 23:48:29 -07:00
Martin Michelsen 58f0501010 make output shorter on proxy server 2022-07-07 23:45:33 -07:00
Martin Michelsen b0319d34a0 make send/receive message shorter for non-BB clients 2022-07-07 23:45:11 -07:00
Martin Michelsen 070db173dd more previously-undocumented client behaviors 2022-07-07 17:29:13 -07:00
Martin Michelsen 2394a330ff update readme 2022-07-02 23:31:25 -07:00
Martin Michelsen d5308449e3 make AllowUnregisteredUsers work on BB also 2022-07-01 22:17:37 -07:00
Martin Michelsen f823c2b907 add cmake tests 2022-07-01 22:17:18 -07:00
Martin Michelsen a7e3d4853a add session replay functions 2022-07-01 11:02:47 -07:00
Martin Michelsen 38b0539124 add more files to gitignore 2022-06-30 19:54:52 -07:00
Martin Michelsen d543db187f add some more ep3 undocumented command info 2022-06-28 14:59:37 -07:00
Martin Michelsen 3b1f4f4324 update language field in 9E and forward it on the proxy server 2022-06-27 17:41:27 -07:00
3814 changed files with 315469 additions and 24206 deletions
+28
View File
@@ -0,0 +1,28 @@
Standard: c++20
BasedOnStyle: LLVM
IndentWidth: 2
ColumnLimit: 0
AccessModifierOffset: -2
NamespaceIndentation: None
BreakBeforeBraces: Custom
PointerAlignment: Left
IndentCaseLabels: true
PackConstructorInitializers: CurrentLine
BraceWrapping:
AfterEnum: false
AfterStruct: false
AfterClass: false
SplitEmptyFunction: false
AfterControlStatement: false
AfterNamespace: false
AfterFunction: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
AlignTrailingComments: false
AlignAfterOpenBracket: DontAlign
AlignOperands: DontAlign
AlignEscapedNewlines: Left
+32 -32
View File
@@ -2,9 +2,9 @@ name: CMake
on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]
env:
BUILD_TYPE: Release
@@ -16,42 +16,42 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
with_resource_file: ['true', 'false']
with_resource_file: ["true", "false"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install libraries (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get install -y libevent-dev
- name: Install libraries (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get install -y libevent-dev
- name: Install libraries (macOS)
if: ${{ matrix.os == 'macos-latest' }}
run: brew install libevent
- name: Install libraries (macOS)
if: ${{ matrix.os == 'macos-latest' }}
run: brew install libevent
- name: Install phosg
run: |
git clone https://github.com/fuzziqersoftware/phosg.git
cd phosg
cmake .
make
sudo make install
- name: Install phosg
run: |
git clone https://github.com/fuzziqersoftware/phosg.git
cd phosg
cmake .
make
sudo make install
- name: Install resource_file
if: ${{ matrix.with_resource_file == 'true' }}
run: |
git clone https://github.com/fuzziqersoftware/resource_dasm.git
cd resource_dasm
cmake .
make
sudo make install
- name: Install resource_file
if: ${{ matrix.with_resource_file == 'true' }}
run: |
git clone https://github.com/fuzziqersoftware/resource_dasm.git
cd resource_dasm
cmake .
make
sudo make install
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure
+27 -6
View File
@@ -5,17 +5,38 @@
newserv
# CMake files
cmake_install.cmake
CMakeCache.txt
CMakeFiles
Makefile
CTestTestFile.cmake
Testing
cmake_install.cmake
CTestTestfile.cmake
install_manifest.txt
Makefile
Testing
# Files modified by the user and/or server that don't have defaults
system/config.json
system/ep3/battle-records/*.mzrd
system/ep3/tournament-state.json
system/licenses.nsi
system/players/player_*
system/players/account_*
system/players/bank_*
system/licenses/*.json
system/players/*.psochar
system/players/*.psosys
system/players/*.psocard
system/players/*.nsc
system/players/*.nsa
system/teams/*.json
system/patch-pc/.metadata-cache.json
system/patch-bb/.metadata-cache.json
# Files fuzziqersoftware uses that don't make sense to be committed to the main
# repository
files
make_release.py
old-khyller
old-newserv
release
release.zip
system/patch-bb/data
system/patch-bb/psobb.pat
system/dol
+116 -57
View File
@@ -14,10 +14,11 @@ else()
add_compile_options(-Wall -Wextra -Werror -Wno-address-of-packed-member)
endif()
include_directories("/usr/local/include")
link_directories("/usr/local/lib")
set(CMAKE_BUILD_TYPE Debug)
set(LOCAL_INCLUDE_DIR "/usr/local/include")
set(LOCAL_LIB_DIR "/usr/local/lib")
list(APPEND CMAKE_PREFIX_PATH ${LOCAL_LIB_DIR})
include_directories(${LOCAL_INCLUDE_DIR})
link_directories(${LOCAL_LIB_DIR})
@@ -31,71 +32,129 @@ set (LIBEVENT_LIBRARIES
${LIBEVENT_LIBRARY}
${LIBEVENT_CORE})
find_path (RESOURCE_FILE_INCLUDE_DIR NAMES resource_file/ResourceFile.hh)
find_library (RESOURCE_FILE_LIBRARY NAMES resource_file)
if(RESOURCE_FILE_INCLUDE_DIR AND RESOURCE_FILE_LIBRARY)
set(RESOURCE_FILE_FOUND 1)
else()
set(RESOURCE_FILE_FOUND 0)
endif()
find_package(phosg REQUIRED)
find_package(Iconv REQUIRED)
find_package(resource_file QUIET)
# Executable definition
add_executable(newserv
src/Channel.cc
src/ChatCommands.cc
src/Client.cc
src/Compression.cc
src/DNSServer.cc
src/Episode3.cc
src/FileContentsCache.cc
src/FunctionCompiler.cc
src/IPFrameInfo.cc
src/IPStackSimulator.cc
src/Items.cc
src/LevelTable.cc
src/License.cc
src/Lobby.cc
src/Loggers.cc
src/Main.cc
src/Map.cc
src/Menu.cc
src/NetworkAddresses.cc
src/Player.cc
src/ProxyCommands.cc
src/ProxyServer.cc
src/PSOEncryption.cc
src/PSOProtocol.cc
src/Quest.cc
src/RareItemSet.cc
src/ReceiveCommands.cc
src/ReceiveSubcommands.cc
src/SendCommands.cc
src/Server.cc
src/ServerShell.cc
src/ServerState.cc
src/Shell.cc
src/StaticGameData.cc
src/Text.cc
src/Version.cc
set(SOURCES
src/AFSArchive.cc
src/BattleParamsIndex.cc
src/BMLArchive.cc
src/CatSession.cc
src/Channel.cc
src/ChatCommands.cc
src/ChoiceSearch.cc
src/Client.cc
src/CommonItemSet.cc
src/Compression.cc
src/DCSerialNumbers.cc
src/DNSServer.cc
src/EnemyType.cc
src/Episode3/AssistServer.cc
src/Episode3/BattleRecord.cc
src/Episode3/Card.cc
src/Episode3/CardSpecial.cc
src/Episode3/DataIndexes.cc
src/Episode3/DeckState.cc
src/Episode3/MapState.cc
src/Episode3/PlayerState.cc
src/Episode3/PlayerStateSubordinates.cc
src/Episode3/RulerServer.cc
src/Episode3/Server.cc
src/Episode3/Tournament.cc
src/FileContentsCache.cc
src/FunctionCompiler.cc
src/GSLArchive.cc
src/GVMEncoder.cc
src/IPFrameInfo.cc
src/IPStackSimulator.cc
src/ItemCreator.cc
src/ItemData.cc
src/ItemNameIndex.cc
src/ItemParameterTable.cc
src/Items.cc
src/LevelTable.cc
src/License.cc
src/Lobby.cc
src/Loggers.cc
src/Main.cc
src/Map.cc
src/Menu.cc
src/NetworkAddresses.cc
src/PatchFileIndex.cc
src/PlayerFilesManager.cc
src/PlayerSubordinates.cc
src/ProxyCommands.cc
src/ProxyServer.cc
src/PSOEncryption.cc
src/PSOGCObjectGraph.cc
src/PSOProtocol.cc
src/Quest.cc
src/QuestAvailabilityExpression.cc
src/QuestScript.cc
src/RareItemSet.cc
src/ReceiveCommands.cc
src/ReceiveSubcommands.cc
src/ReplaySession.cc
src/SaveFileFormats.cc
src/SendCommands.cc
src/Server.cc
src/ServerShell.cc
src/ServerState.cc
src/Shell.cc
src/StaticGameData.cc
src/TeamIndex.cc
src/Text.cc
src/TextArchive.cc
src/UnicodeTextSet.cc
src/Version.cc
src/WordSelectTable.cc
)
target_include_directories(newserv PUBLIC ${LIBEVENT_INCLUDE_DIR})
target_link_libraries(newserv phosg ${LIBEVENT_LIBRARIES})
if(RESOURCE_FILE_FOUND)
target_compile_definitions(newserv PUBLIC HAVE_RESOURCE_FILE)
target_include_directories(newserv PUBLIC ${RESOURCE_FILE_INCLUDE_DIR})
target_link_libraries(newserv ${RESOURCE_FILE_LIBRARY})
message(STATUS "libresource_file found; enabling patch support")
if(resource_file_FOUND)
set(SOURCES ${SOURCES} src/ARCodeTranslator.cc)
endif()
add_executable(newserv ${SOURCES})
target_include_directories(newserv PUBLIC ${LIBEVENT_INCLUDE_DIR} ${Iconv_INCLUDE_DIRS})
target_link_libraries(newserv phosg ${LIBEVENT_LIBRARIES} ${Iconv_LIBRARIES} pthread)
if(resource_file_FOUND)
target_compile_definitions(newserv PUBLIC HAVE_RESOURCE_FILE)
target_link_libraries(newserv resource_file)
message(STATUS "libresource_file found; enabling patch support")
else()
message(WARNING "libresource_file not available; disabling patch support")
message(WARNING "libresource_file not found; disabling patch support")
endif()
# Test configuration
enable_testing()
file(GLOB LogTestCases ${CMAKE_SOURCE_DIR}/tests/*.test.txt)
foreach(LogTestCase IN ITEMS ${LogTestCases})
add_test(
NAME ${LogTestCase}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMAND ${CMAKE_BINARY_DIR}/newserv --replay-log=${LogTestCase} --config=${CMAKE_SOURCE_DIR}/tests/config.json)
endforeach()
file(GLOB ScriptTestCases ${CMAKE_SOURCE_DIR}/tests/*.test.sh)
foreach(ScriptTestCase IN ITEMS ${ScriptTestCases})
add_test(
NAME ${ScriptTestCase}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMAND ${ScriptTestCase} ${CMAKE_BINARY_DIR}/newserv)
endforeach()
# Installation configuration
install(TARGETS newserv DESTINATION bin)
+1 -1
View File
@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2018 Martin Michelsen
Copyright (c) 2023 Martin Michelsen
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
+370 -77
View File
@@ -1,111 +1,352 @@
# newserv
# newserv <img align="right" src="s-newserv.png" />
newserv is a game server and proxy for Phantasy Star Online (PSO).
newserv is a game server, proxy, and reverse-engineering tool for Phantasy Star Online (PSO).
This project includes code that was reverse-engineered by the community in ages long past, and has been included in many projects since then. It also includes some game data from Phantasy Star Online itself; this data was originally created by Sega.
This project includes code that was reverse-engineered by the community in ages long past, and has been included in many projects since then. It also includes some game data from Phantasy Star Online itself, which was originally created by Sega.
This project is a rewrite of a rewrite of a game server that I wrote many years ago. So far, it works well with PSO GC Episodes 1 & 2, and lobbies (but not games) are implemented on Episode 3. Some basic functionality works on PSO PC and PSO BB, but there are probably still some cases that lead to errors (which will disconnect the client). The proxy works well with PSO GC and PSO BB.
Feel free to submit GitHub issues if you find bugs or have feature requests. I'd like to make the server as stable and complete as possible, but I can't promise that I'll respond to issues in a timely manner, because this is a personal project undertaken primarily for the fun of reverse-engineering. If you want to contribute to newserv yourself, pull requests are welcome as well.
Feel free to submit GitHub issues if you find bugs or have feature requests. I'd like to make the server as stable and complete as possible, but I can't promise that I'll respond to issues in a timely manner.
See TODO.md for a list of known issues and future work I've curated, or go to the GitHub issue tracker for issues and requests submitted by the community.
## Future
**Table of contents**
* [Compatibility](#compatibility)
* Setup
* [Configuration](#configuration)
* [Installing quests](#installing-quests)
* [Item tables and drop modes](#item-tables-and-drop-modes)
* [Cross-version play](#cross-version-play)
* [Episode 3 features](#episode-3-features)
* [Client patch directories for PC and BB](#client-patch-directories)
* [Memory patches and DOL files for GC](#memory-patches-and-dol-files)
* [Using newserv as a proxy](#using-newserv-as-a-proxy)
* [Chat commands](#chat-commands)
* How to connect
* Connecting local clients
* [PSO DC](#pso-dc)
* [PSO DC on Flycast](#pso-dc-on-flycast)
* [PSO PC](#pso-pc)
* [PSO GC on a real GameCube](#pso-gc-on-a-real-gamecube)
* [PSO GC on Dolphin](#pso-gc-on-dolphin)
* [PSO BB](#pso-bb)
* [Connecting external clients](#connecting-external-clients)
* [Non-server features](#non-server-features)
This project is primarily for my own nostalgia; I offer no guarantees on how or when this project will advance.
## Compatibility
Current known issues / missing features:
- Test all the communication features (info board, simple mail, card search, etc.)
- The trade window isn't implemented yet.
- PSO PC and PSOBB are not well-tested and likely will disconnect when clients try to use unimplemented features. Only GC is known to be stable and mostly complete.
- Patches currently are platform-specific but not version-specific. This makes them quite a bit harder to use properly.
- Find a way to silence audio in RunDOL.s. Some old DOLs don't reset audio systems at load time and it's annoying to hear the crash buzz when the GC hasn't actually crashed.
- Implement private lobbies, and add a way to make games persistent.
newserv supports several versions of PSO, including various development prototypes. Specifically:
| Version | Lobbies | Games | Proxy |
|----------------|--------------|--------------|--------------|
| DC NTE | Yes | Yes | No |
| DC 11/2000 | Yes | Yes | No |
| DC 12/2000 | Yes | Yes | Yes |
| DC 01/2001 | Yes | Yes | Yes |
| DC V1 | Yes | Yes | Yes |
| DC 08/2001 | Yes | Yes | Yes |
| DC V2 | Yes | Yes | Yes |
| PC NTE | Yes (3) | Yes | No |
| PC | Yes | Yes | Yes |
| GC Ep1&2 NTE | Yes | Yes | Yes |
| GC Ep1&2 | Yes | Yes | Yes |
| GC Ep1&2 Plus | Yes | Yes | Yes |
| GC Ep3 NTE | Yes | Partial (1) | Yes |
| GC Ep3 | Yes | Yes | Yes |
| Xbox Ep1&2 | Yes | Yes | Yes |
| BB (vanilla) | Yes | Yes (2) | Yes |
| BB (Tethealla) | Yes | Yes (2) | Yes |
## Usage
*Notes:*
1. *Players can create games, edit decks, trade cards, and participate in auctions, but CARD battles don't work on Episode 3 Trial Edition on newserv.*
2. *Some BB-specific features are not well-tested (for example, some quests that use rare commands may not work properly). Please submit a GitHub issue if you find something that doesn't work.*
3. *This is the only version of PSO that doesn't have any way to identify the player's account - there is no serial number or username. For this reason, AllowUnregisteredUsers must be enabled in config.json to support PC NTE, and PC NTE players receive a random Guild Card number every time they connect. To prevent abuse, PC NTE support can be disabled in config.json.*
Currently this code should build on macOS and Ubuntu. It will likely work on other Linux flavors too. It should work on Windows as well, but I haven't tested it - the build process could be very manual.
## Setup
There is a probably-not-too-old macOS release on the newserv GitHub repository (look in the right sidebar).
### Configuration
If you're running Linux or want to build newserv yourself, here's what you do:
1. Make sure you have CMake and libevent installed. (`brew install cmake libevent` on macOS, `sudo apt-get install cmake libevent-dev` on most Linuxes)
2. Build and install phosg (https://github.com/fuzziqersoftware/phosg).
3. Optionally, install resource_dasm (https://github.com/fuzziqersoftware/resource_dasm). This will enable newserv to load DOL files on PSO GC clients. PSO GC clients can play PSO normally on newserv without this.
4. Run `cmake . && make` on the newserv directory.
Currently newserv works on macOS, Windows, and Ubuntu Linux. It will likely work on other Linux flavors too.
There is a fairly recent macOS ARM64 release on the newserv GitHub repository. You may need to install libevent manually even if you use this release (run `brew install libevent`).
There is a fairly recent Windows release on the newserv GitHub repository also. It's built with Cygwin, and all the necessary DLL files should be included. That said, I've only tested it on my own machine and there is no CI for Windows builds like there is for macOS and Linux, so if it doesn't work for you, please open a GitHub issue to let me know.
If you're not using a release from the GitHub repository, do this to build newserv:
1. If you're on Windows, install Cygwin. While doing so, install the `cmake`, `gcc-core`, `gcc-g++`, `git`, `libevent2.1_7`, `make`, `libiconv-devel`, and `zlib` packages. Do the rest of these steps inside a Cygwin shell (not a Windows cmd shell or PowerShell).
2. Make sure you have CMake, libevent, and libiconv installed. (On macOS, `brew install cmake libevent libiconv`; on most Linuxes, `sudo apt-get install cmake libevent-dev`; on Windows, you already did this in step 1.)
3. Build and install phosg (https://github.com/fuzziqersoftware/phosg).
4. Optionally, install resource_dasm (https://github.com/fuzziqersoftware/resource_dasm). This will enable newserv to send memory patches and load DOL files on PSO GC clients. PSO GC clients can play PSO normally on newserv without this.
5. Run `cmake . && make` in the newserv directory.
After building newserv or downloading a release, do this to set it up and use it:
1. In the system/ directory, make a copy of config.example.json named config.json, and edit it appropriately.
2. Run `./newserv` in the newserv directory. This will start the game server and run the interactive shell. You may need `sudo` if newserv's built-in DNS server is enabled.
3. Use the interactive shell to add a license. Run `help` in the shell to see how to do this.
2. If you plan to play PSO Blue Burst on newserv, set up the patch directory. See the "Client patch directories" section below.
3. Run `./newserv` in the newserv directory. This will start the game server and run the interactive shell. You may need `sudo` if newserv's built-in DNS server is enabled.
4. If you set AllowUnregisteredUsers to false in config.json, use the interactive shell to add your license. Run `help` in the shell to see how to do this.
5. Set your client's network settings appropriately and start an online game. See the "Connecting local clients" or "Connecting remote clients" section to see how to get your game client to connect.
To use newserv in other ways (e.g. for translating data), see the end of this document.
### Installing quests
newserv automatically finds quests in the system/quests/ directory. To install your own quests, or to use quests you've saved using the proxy's set-save-files option, just put them in that directory and name them appropriately.
newserv automatically finds quests in the subdirectories of the system/quests/ directory. To install your own quests, or to use quests you've saved using the proxy's Save Files option, just put them in one of the subdirectories there and name them appropriately. The subdirectories and their behaviors (e.g. in which game modes they should appear and for which PSO versions) is defined in the QuestCategories field in config.json.
Standard quest file names should be like `q###-CATEGORY-VERSION.EXT`; battle quests should be named like `b###-VERSION.EXT`, and challenge quests should be named like `c###-VERSION.EXT`. The fields in each filename are:
- `###`: quest number (this doesn't really matter; it should just be unique for the version)
- `CATEGORY`: ret = Retrieval, ext = Extermination, evt = Events, shp = Shops, vr = VR, twr = Tower, gov = Government (BB only), dl = Download (these don't appear during online play), 1p = Solo (BB only)
- `VERSION`: d1 = Dreamcast v1, dc = Dreamcast v2, pc = PC, gc = GameCube Episodes 1 & 2, gc3 = Episode 3, bb = Blue Burst
- `EXT`: file extension (bin, dat, bin.gci, dat.gci, bin.dlq, dat.dlq, or qst)
Within the category directories, quest files should be named like `q###-VERSION-LANGUAGE.EXT` (although the `q` is ignored, and can be any letter). The fields in each filename are:
- `###`: quest number (this doesn't really matter; it should just be unique across the PSO version)
- `VERSION`: dn = Dreamcast NTE, dp = Dreamcast 11/2000 prototype, d1 = Dreamcast v1, dc = Dreamcast v2, pcn = PC NTE, pc = PC, gcn = GameCube NTE, gc = GameCube Episodes 1 & 2, gc3 = Episode 3 (see below), xb = Xbox, bb = Blue Burst
- `LANGUAGE`: j = Japanese, e = English, g = German, f = French, s = Spanish
- `EXT`: file extension (see table below)
There are multiple PSO quest formats out there; newserv supports most of them. Specifically, newserv can use quests in any of the following formats:
- bin/dat format: These quests consist of two files with the same base name, a .bin file and a .dat file.
- Unencrypted GCI format: These quests also consist of a .bin and .dat file, but an encoding is applied on top of them. The filenames should end in .bin.gci and .dat.gci. (Note that there also exists an encrypted GCI format, which newserv does not support.)
- Encrypted DLQ format: These quests also consist of a .bin and .dat file, but download quest encryption is applied on top of them. The filenames should end in .bin.dlq and .dat.dlq.
- QST format: These quests consist of only a .qst file, which contains both the .bin and .dat files within it.
For .dat files, the `LANGUAGE` token may be omitted. If it's present, then that .dat file will only be used for that language of the quest; if omitted, then that .dat file will be used for all languages of the quest.
Some quests (mostly battle and challenge mode quests) have additional JSON metadata files that describe how the server should handle them. This includes flags that can be used to hide the quest unless a preceding quest has been cleared, or to hide the quest unless purchased as a team reward. These metadata files are generally named similarly to their .bin and .dat counterparts, except the `VERSION` token may also be omitted if the metadata applies to all languages of the quest on all PSO versions. See system/quests/battle/b88001.json for documentation on the exact format of the JSON file.
Some quests may also include a .pvr file, which contains an image used in the quest. These files are named similarly to their .bin and .dat counterparts.
For example, the GameCube version of Lost HEAT SWORD is in two files named `q058-gc-e.bin` and `q058-gc.dat`. newserv knows these files are quests because they're in the system/quests/ directory, it knows they're for PSO GC because the filenames contain `-gc`, it knows this is the English version of the quest because the .bin filename ends with `-e` (even though the .dat filename does not), and it puts them in the Retrieval category because the files are within the retrieval/ directory within system/quests/.
The GameCube and Xbox quest formats are very similar, but newserv treats them as different. If you want to use the same quest file for GameCube and Xbox clients, you can make one a symbolic link to the other.
There are multiple PSO quest formats out there; newserv supports all of them. It can also decode any known format to standard .bin/.dat format. Specifically:
| Format | Extension | Supported | Decode action |
|------------------|-----------------------|------------|------------------|
| Compressed | .bin and .dat | Yes | None (1) |
| Compressed Ep3 | .bin or .mnm | Yes (4) | None (1) |
| Uncompressed | .bind and .datd | Yes | compress-prs (2) |
| Uncompressed Ep3 | .bind or .mnmd | Yes (4) | compress-prs (2) |
| Source | .bin.txt and .dat | Yes | None (5) |
| VMS (DCv1) | .bin.vms and .dat.vms | Yes | decode-vms |
| VMS (DCv2) | .bin.vms and .dat.vms | Decode (3) | decode-vms (3) |
| GCI (decrypted) | .bin.gci and .dat.gci | Yes | decode-gci |
| GCI (with key) | .bin.gci and .dat.gci | Yes | decode-gci |
| GCI (no key) | .bin.gci and .dat.gci | Decode (3) | decode-gci (3) |
| GCI (Ep3 NTE) | .bin.gci or .mnm.gci | Decode (3) | decode-gci (3) |
| GCI (Ep3) | .bin.gci or .mnm.gci | Yes | decode-gci |
| DLQ | .bin.dlq and .dat.dlq | Yes | decode-dlq |
| DLQ (Ep3) | .bin.dlq or .mnm.dlq | Yes | decode-dlq |
| QST (online) | .qst | Yes | decode-qst |
| QST (download) | .qst | Yes | decode-qst |
*Notes:*
1. *This is the default format. You can convert these to uncompressed format by running `newserv decompress-prs FILENAME.bin FILENAME.bind` (and similarly for .dat -> .datd)*
2. *Similar to (1), to compress an uncompressed quest file: `newserv compress-prs FILENAME.bind FILENAME.bin` (and likewise for .datd -> .dat)*
3. *Use the decode action to convert these quests to .bin/.dat format before putting them into the server's quests directory. If you know the encryption seed (serial number), pass it in as a hex string with the `--seed=` option. If you don't know the encryption seed, newserv will find it for you, which will likely take a long time.*
4. *Episode 3 quests don't go in the system/quests directory. See the Episode 3 section below.*
5. *Quest source can be assembled into a .bin or .bind file with `newserv assemble-quest-script FILENAME.txt`. See system/quests/retrieval/q058-gc-e.bin.txt for an annotated example; this is the English GameCube version of Lost HEAT SWORD.*
Episode 3 download quests consist only of a .bin file - there is no corresponding .dat file. Episode 3 download quest files may be named with the .mnm extension instead of .bin, since the format is the same as the standard map files (in system/ep3/). These files can be encoded in any of the formats described above, except .qst.
When newserv indexes the quests during startup, it will warn (but not fail) if any quests are corrupt or in unrecognized formats.
If you've changed the contents of the quests directory, you can re-index the quests without restarting the server by running `reload quests` in the interactive shell.
Quest contents are cached in memory, but if you've changed the contents of the quests directory, you can re-index the quests without restarting the server by running `reload quests` in the interactive shell. The new quests will be available immediately, but any games with quests already in progress will continue using the old versions of the quests until those quests end.
All quests, including those originally in GCI or DLQ format, are treated as online quests unless their filenames specify the dl category. newserv allows players to download all quests, even those in non-download categories.
### Item tables and drop modes
### Patches and DOL files
newserv supports server-side item generation on all game versions, except for the earliest DC prototypes (NTE and 11/2000). By default, the game behaves as it did on the original servers - on all versions except BB, item drops are controlled by the leader client in each game, and on BB, item drops are controlled by the server.
There are five different available behaviors for item drops:
* `DISABLED` (or `NONE`): No items will drop from boxes or enemies.
* `CLIENT`: The game leader generates items, all items are visible to all players, and any player may pick up any item. This is the default mode for all game versions, except this mode cannot be used on BB.
* `SERVER_SHARED`: The server generates items, all items are visible to all players, and any player may pick up any item. This is the default mode for BB.
* `SERVER_PRIVATE`: The server generates items, but each player may get a different item from any box or enemy. If a player isn't in the same area as an enemy at the time it's defeated, they won't get any item from it. Items dropped by players are visible to everyone.
* `SERVER_DUPLICATE`: The server generates items, and each player will get the same item from any box or enemy, but there is one copy of each item for each player (and each player only sees their own copy of the item). If a player isn't in the same area as an enemy at the time it's defeated, they won't get any item from it. Items dropped by players are not duplicated and are visible to everyone.
In the `SERVER_PRIVATE` and `SERVER_DUPLICATE` modes, there is no incentive to pick up items before another player, since other players cannot pick up the items you see dropped from boxes and enemies. However, if you pick up an item and drop it later, it can then be seen and picked up by any player.
The drop mode can be changed at any time during a game with the `$dropmode` chat command. If the mode is changed after some items have already been dropped, the existing items retain their visibility (that is, they still can't be picked up by other players since they were dropped before the mode was changed). You can configure which drop modes are used by default, and which modes players are allowed to choose, in config.json. See the comments above the AllowedDropModes and DefaultDropMode keys.
In the server drop modes, the item tables used to generate common items are in the `system/item-tables/ItemPT-*` files. (The V2 files are used for V1 as well.) The rare item tables are in the `rare-table-*.json` files. Unlike the original formats, it's possible to make each enemy drop multiple different rare items at different rates, though the default tables never do this.
### Cross-version play
All versions of PSO can see and interact with each other in the lobby. newserv also allows some versions to play in-game with each other:
* DC V1 players can join DC V2 games if the difficulty level isn't set to Ultimate and the creator chose to allow V1 players.
* DC V2 players can join DC V1 games.
* If AllowDCPCGames is enabled in config.json, PC and DC players can join each other's games. DC V1 players cannot join PC games with the Ultimate difficulty level.
* If AllowGCXBGames is enabled in config.json, GC and Xbox players can join each other's games.
In V1/V2 cross-version play, when any of the server drop modes are used, the server uses the drop table corresponding to the version the game was created with. (For example, if a DC V1 player created the game, rare-table-v1.json will be used, even after V2 players join.)
### Episode 3 features
newserv supports many features unique to Episode 3:
* CARD battles. Not every combination of abilities has been tested yet, so if you find a feature or card ability that doesn't work like it's supposed to, please make a GitHub issue and describe the situation (the attacking card(s), defending card(s), and ability or condition that didn't work).
* Spectator teams.
* Tournaments. (But they work differently than Sega's tournaments did - see below)
* Downloading quests.
* Trading cards.
* Participating in card auctions. (The auction contents must be configured in config.json.)
* Decorations in lobbies. Currently only images are supported; the game also supports loading custom 3D models in lobbies, but newserv does not implement this (yet).
#### Battle records
After playing a battle, you can save the record of the battle with the `$saverec` command. You can then replay the battle later by using the `$playrec` command in a lobby - this will create a spectator team and play the recording of the battle as if it were happening in realtime. Note that there is a bug in older versions of Dolphin that seems to be frequently triggered when playing battle records, which causes the emulator to crash with the message `QObject::~QObject: Timers cannot be stopped from another thread`. To avoid this, use the latest version of Dolphin.
#### Tournaments
Tournaments work differently than they did on Sega's servers. Tournaments can be created with the `create-tournament` shell command, which enables players to register for them. (Use `help` to see all the arguments - there are many!) The `start-tournament` shell command starts the tournament (and prevents further registrations), but this doesn't schedule any matches. Instead, players who are ready to play their next match can all stand at the 4-player battle table near the lobby warp in the same CARD lobby, and the tournament match will start automatically.
These tournament semantics mean that there can be multiple matches in the same tournament in play simultaneously, and not all matches in a round must be complete before the next round can begin - only the matches preceding each individual match must be complete for that match to be playable.
The Meseta rewards for winning tournament matches can be configured in config.json.
#### Episode 3 files
Episode 3 state and game data is stored in the system/ep3 directory. The files in there are:
* card-definitions.mnr: Compressed card definition list, sent to Episode 3 clients at connect time. Card stats and abilities can be changed by editing this file.
* card-definitions.mnrd: Decompressed version of the above. If present, newserv will use this instead of the compressed version, since this is easier to edit.
* card-text.mnr: Compressed card text archive. Generally only used for debugging.
* card-text.mnrd: Decompressed card text archive; same format as TextCardE.bin. Generally only used for debugging.
* com-decks.json: COM decks used in tournaments. The default decks in this file come from logs from Sega's servers, so the file doesn't include every COM deck Sega ever made - the rest are probably lost to time.
* maps/: Online free battle and quest maps (.mnm/.bin/.mnmd/.bind files). newserv comes with all the original online and offline maps, including Story Mode quests. If you don't want the offline maps and quests to be playable online, delete the .bind files system/ep3/maps.
* maps-download/: Download maps and quests (.mnm/.bin/.mnmd/.bind files). There are two subcategories by default (download maps and Trial Edition download maps), but you can add more by editing QuestCategories in config.json. Categories that have flag 0x40 (Ep3 download) set are indexed from this directory; all others are indexed from system/quests/. Files in maps-download/ subdirectories have the same format as those in the maps/ directory, but should be named like `e###-gc3-LANGUAGE.EXT` (similar to how non-Episode 3 quests are named in the system/quests/ directory). If you want a map to be available for online play and for downloading, the file must exist in both maps/ and in a maps-download/ subdirectory (a symbolic link is acceptable).
* tournament-state.json: State of all active tournaments. This file is automatically written when any tournament changes state for any reason (e.g. a tournament is created/started/deleted or a match is resolved).
There is no public editor for Episode 3 maps and quests, but the format is described fairly thoroughly in src/Episode3/DataIndexes.hh (see the MapDefinition structure). You'll need to use `newserv decompress-prs ...` to decompress .bin or .mnm files before editing them, but you don't need to compress the files again to use them - just put the .bind or .mnmd file in the maps directory and newserv will make it available.
Like quests, Episode 3 card definitions, maps, and quests are cached in memory. If you've changed any of these files, you can run `reload ep3` in the interactive shell to make the changes take effect without restarting the server.
### Client patch directories
If you're not playing PSO Blue Burst on newserv, you can skip these steps.
newserv implements a patch server for PSO PC and PSO BB game data. Any file or directory you put in the system/patch-bb or system/patch-pc directories will be synced to clients when they connect to the patch server.
To make server startup faster, newserv caches the modification times, sizes, and checksums of the files in the patch directories. If the patch server appears to be misbehaving, try deleting the .metadata-cache.json file in the relevant patch directory to force newserv to recompute all the checksums. Also, in the case when checksums are cached, newserv may not actually load the data for a patch file until it's needed by a client. Therefore, modifying any part of the patch tree while newserv is running can cause clients to see an inconsistent view of it.
For BB clients, newserv reads some files out of the patch data to implement game logic, so it's important that certain game files are synchronized between the server and the client. newserv contains defaults for these files in the system/blueburst/map directory, but if these don't match the client's copies of the files, odd behavior will occur in games.
Specifically, the patch-bb directory should contain at least the data.gsl file and all map_*.dat files from the version of PSOBB that you want to play on newserv. You can copy these files out of the client's data directory from a clean installation, and put them in system/patch-bb/data.
Patch directory contents are cached in memory. If you've changed any of these files, you can run `reload patches` in the interactive shell to make the changes take effect without restarting the server.
### Memory patches and DOL files
Everything in this section requires resource_dasm to be installed, so newserv can use the PowerPC assembler and disassembler from its libresource_file library. If resource_dasm is not installed, newserv will still build and run, but these features will not be available.
You can put patches in the system/ppc directory with filenames like PatchName.patch.s and they will appear in the Patches menu for PSO GC clients that support patching. Patches are written in PowerPC assembly and are compiled when newserv is started. See system/ppc/WriteMemory.s for a commented example of such a function.
In addition, these features are only supported for the following game versions:
* PSO GameCube Episodes 1&2 JP, USA, and EU (not Plus)
* PSO GameCube Episodes 1&2 Plus JP v1.04 (not v1.05)
* PSO GameCube Episode 3 Trial Edition
* PSO GameCube Episode 3 JP
* PSO GameCube Episode 3 USA (experimental; must be manually enabled in config.json)
You can also put DOL files in the system/dol directory, and they will appear in the Programs menu. Selecting a DOL file there will load the file into their GameCube's memory and run it, just like the old homebrew loaders (PSUL and PSOload) did. For this to work, ReadMemoryWord.s, WriteMemory.s, and RunDOL.s must be present in the system/ppc directory. This has been tested on Dolphin but not on a real GameCube, so results may vary.
You can put memory patches in the system/ppc directory with filenames like PatchName.patch.s and they will appear in the Patches menu for PSO GC clients that support patching. Memory patches are written in PowerPC assembly and are compiled when newserv is started. The PowerPC assembly system's features are documented in the comments in system/ppc/WriteMemory.s - this file is not a memory patch itself, but it describes how memory patches may be written and the restrictions that apply to them.
newserv comes with a set of patches for Episodes 1&2 based on AR codes originally made by Ralf at GC-Forever. Many of them were originally posted in [this thread](https://www.gc-forever.com/forums/viewtopic.php?f=38&t=2050).
You can also put DOL files in the system/dol directory, and they will appear in the Programs menu. Selecting a DOL file there will load the file into the GameCube's memory and run it, just like the old homebrew loaders (PSUL and PSOload) did. For this to work, ReadMemoryWord.s, WriteMemory.s, and RunDOL.s must be present in the system/ppc directory. This has been tested on Dolphin but not on a real GameCube, so results may vary.
Like other kinds of data, functions and DOL files are cached in memory. If you've changed any of these files, you can run `reload functions` or `reload dol-files` in the interactive shell to make the changes take effect without restarting the server.
I mainly built the DOL loading functionality for documentation purposes. By now, there are many better ways to load homebrew code on an unmodified GameCube, but to my knowledge there isn't another open-source implementation of this method in existence.
### Using newserv as a proxy
If you want to play online on remote servers rather than running your own server, newserv also includes a PSO proxy. Currently this works with PSO GC and may work with PC and DC; it also works with some BB clients in specific situations.
To use the proxy for PSO DC, PC, or GC, add an entry to the corresponding ProxyDestinations dictionary in config.json, then run newserv and connect to it as normal (see below). You'll see a "Proxy server" option in the main menu, and you can pick which remote server to connect to.
To use the proxy for PSO BB, set the ProxyDestination-BB entry in config.json. If this option is set, it essentially disables the game server for all PSO BB clients - all clients will be proxied to the specified destination instead. Unfortunately, because PSO BB uses a different set of handlers for the data server phase and character selection, there's no in-game way to present the player with a list of options, like there is on PSO PC and PSO GC.
When you're on PSO DC, PC, or GC and are connected to a remote server through newserv's proxy, choosing the Change Ship or Change Block action from the lobby counter will send you back to newserv's main menu instead of the remote server's ship or block select menu. You can go back to the server you were just on by choosing it from the proxy server menu again.
There are many options available when starting a proxy session. All options are off by default unless otherwise noted. The options are:
* **Chat commands**: enables chat commands in the proxy session (on by default).
* **Chat filter**: enables escape sequences in chat messages and info board (on by default).
* **Player notifications**: shows a message when any player joins or leaves the game or lobby you're in.
* **Block pings**: blocks automatic pings sent by the client, and responds to ping commands from the server automatically. This works around a bug in Sylverant's login server.
* **Infinite HP**: automatically heals you whenever you get hit. An attack that kills you in one hit will still kill you, however.
* **Infinite TP**: automatically restores your TP whenever you use any technique.
* **Switch assist**: attempts to unlock doors that require two players in a one-player game.
* **Infinite Meseta** (Episode 3 only): gives you 1,000,000 Meseta, regardless of the value sent by the remote server.
* **Block events**: disables holiday events sent by the remote server.
* **Block patches**: prevents any B2 (patch) commands from reaching the client.
* **Save files**: saves copies of several kinds of files when they're sent by the remote server. The files are written to the current directory (which is usually the directory containing the system/ directory). These kinds of files can be saved:
* Online quests and download quests (saved as .bin/.dat files)
* GBA games (saved as .gba files)
* Patches (saved as .bin files, and disassembled into PowerPC assembly if newserv is built with patch support)
* Player data from BB sessions (saved as .bin files, which are not the same format as .nsc files)
* Episode 3 online quests and maps (saved as .mnmd files)
* Episode 3 download quests (saved as .mnm files)
* Episode 3 card definitions (saved as .mnr files)
* Episode 3 media updates (saved as .gvm, .bml, or .bin files)
The remote server will probably try to assign you a Guild Card number that doesn't match the one you have on newserv. On PSO DC, PC and GC, the proxy server rewrites the commands in transit to make it look like the remote server assigned you the same Guild Card number as you have on newserv, but if the remote server has some external integrations (e.g. forum or Discord bots), they will use the Guild Card number that the remote server believes it has assigned to you. The number assigned by the remote server is shown to you when you first connect to the remote server, and you can retrieve it in lobbies or during games with the `$li` command.
Some chat commands (see below) have the same basic function on the proxy server but have different effects or conditions. In addition, there are some server shell commands that affect clients on the proxy (run `help` in the shell to see what they are). If there's only one proxy session open, the shell's proxy commands will affect that session. Otherwise, you'll have to specify which session to affect with the `on` prefix - to send a chat message in LinkedSession:17205AE4, for example, you would run `on 17205AE4 chat ...`.
### Chat commands
The server's shell supports a variety of administration commands. If the interactive shell is enabled, you can enter these commands at any time, even if the prompt isn't visible. Run `help` in the server's shell to see all of the commands and how to use them.
newserv also supports a variety of commands players can use via the chat interface. Any chat message that begins with `$` is treated as a chat command. (If you actually want to send a chat message starting with `$`, type `$$` instead.)
newserv supports a variety of commands players can use by chatting in-game. Any chat message that begins with `$` is treated as a chat command. (If you actually want to send a chat message starting with `$`, type `$$` instead.) On the DC 11/2000 prototype, `@` is used instead of `$` for all chat commands, since `$` does not appear on the English virtual keyboard.
Some commands only work on the game server and not on the proxy server. The chat commands are:
* Information commands
* `$li`: Shows basic information about the lobby or game you're in. If you're on the proxy server, shows information about your connection (remote Guild Card number, client ID, etc.) instead.
* `$li`: Shows basic information about the lobby or game you're in. If you're on the proxy server, shows information about your connection instead (remote Guild Card number, client ID, etc.).
* `$ping`: Shows round-trip ping time from the server to you. On the proxy server, shows the ping time from you to the proxy and from the proxy to the server.
* `$matcount` (game server only): Shows how many of each type of material you've used.
* `$what` (game server only): Shows the type, name, and stats of the nearest item on the ground.
* `$where` (game server only): Shows your current floor number and coordinates. Mainly useful for debugging.
* Debugging commands
* `$debug` (game server only): Enable or disable debug. You need the DEBUG permission in your user license to use this command. When debug is enabled, you'll see in-game messages from the server when you take certain actions. You'll also be placed into the highest available slot in lobbies and games instead of the lowest, which is useful for finding commands for which newserv doesn't handle client IDs properly. This setting also disables certain safeguards and allows you to do some things that might crash your client.
* `$quest <number>`: Load a quest by quest number. Can be used to load battle or challenge quests with only one player present.
* `$qcall <function-id>`: Call a quest function on your client.
* `$qcheck <flag-num>`: Show the value of a quest flag.
* `$qset <flag-num>` or `$qclear <flag-num>`: Set or clear a global quest flag for everyone in the game.
* `$qsync <reg-num> <value>`: Set a quest register's value on your client. `<reg-num>` should be either rXX (e.g. r60) or fXX (e.g. f60); if the latter, `<value>` is parsed as a floating-point value instead of as an integer.
* `$gc` (game server only): Send your own Guild Card to yourself.
* `$persist` (game server only): Enable or disable persistence for the current game. When persistence is on, the game will not be deleted when the last player leaves. The state of enemies and objects on the map will be reset when the last player leaves.
* `$sc <data>`: Send a command to yourself.
* `$ss <data>` (proxy server only): Send a command to the remote server.
* Personal state commands
* `$arrow <color-id>`: Changes your lobby arrow color.
* `$secid <section-id>`: Sets your override section ID. After running this command, any games you create will use your override section ID for rare drops instead of your character's actual section ID. To revert to your actual section id, run `$secid` with no name after it.
* `$secid <section-id>`: Sets your override section ID. After running this command, any games you create will use your override section ID for rare drops instead of your character's actual section ID. To revert to your actual section id, run `$secid` with no name after it. On the proxy server, this will not work if the remote server controls item drops (e.g. on BB, or on Schtserv with server drops enabled). If the server does not allow cheat mode anywhere (that is, "CheatModeBehavior" is "Off" in config.json), this command does nothing.
* `$rand <seed>`: Sets your override random seed (specified as a 32-bit hex value). This will make any games you create use the given seed for rare enemies. This also makes item drops deterministic in Blue Burst games hosted by newserv. On the proxy server, this command can cause desyncs with other players in the same game, since they will not see the overridden random seed. To remove the override, run `$rand` with no arguments. If the server does not allow cheat mode anywhere (that is, "CheatModeBehavior" is "Off" in config.json), this command does nothing.
* `$ln [name-or-type]`: Sets the lobby number. Visible only to you. This command exists because some non-lobby maps can be loaded as lobbies with invalid lobby numbers. See the "GC lobby types" and "Ep3 lobby types" entries in the information menu for acceptable values here. Note that non-lobby maps do not have a lobby counter, so there's no way to exit the lobby without using either `$ln` again or `$exit`. On the game server, `$ln` reloads the lobby immediately; on the proxy server, it doesn't take effect until you load another lobby yourself (which means you'll like have to use `$exit` to escape). Run this command with no argument to return to the default lobby.
* `$exit`: If you're in a lobby, sends you to the main menu (which ends your proxy session, if you're in one). If you're in a game or spectator team, sends you to the lobby (but does not end your proxy session if you're in one). Does nothing if you're in a non-Episode 3 game and no quest is in progress.
* `$patch <name>`: Run a patch on your client. `<name>` must exactly match the name of a patch on the server.
* Character data commands
* `$savechar <slot>`: Saves your current character data on the server in the specified slot (each serial number has 4 slots, numbered 1-4). These slots are separate from BB character slots; using this command does not affect BB characters.
* `$loadchar <slot>` (v1 and v2 only): Loads your character data from the specified slot. The changes will be undone if you join a game - to save your changes, disconnect from the lobby.
* `$bbchar <username> <password> <slot>`: Use this command when playing on a non-BB version of PSO. If the username and password are correct, this command converts your current character to BB format and saves it on the server in the given slot (1-4). Any character already in that slot is overwritten. (This command is similar to `$savechar`, except it overwrites a BB character slot, and can transfer characters across accounts.) Note that the character's chat data, quick menu config, and bank contents are not copied, since there is no way for the server to request those types of data.
* `$edit <stat> <value>`: Modifies your character data. If you are on V3 (GameCube/Xbox), or if the server does not allow cheat mode anywhere (that is, "CheatModeBehavior" is "Off" in config.json), this command does nothing. If you are on V1 or V2 (DC or PC, not BB), your changes will be undone if you join a game - to save your changes, disconnect from the lobby.
* Blue Burst player commands (game server only)
* `$bbchar <username> <password> <1-4>`: Use this command when playing on a non-BB version of PSO. If the username and password are correct, this command converts your current character to BB format and saves it on the server in the given slot.
* `$edit <stat> <value>`: Modifies your character data.
* `$item <data>`: Sets the next item to be dropped from an enemy or box.
* `$bank [number]`: Switches your current bank, so you can access your other character's banks (if `number` is 1-4) or your shared account bank (if `number` is 0). If `number` is not given, switches back to your current character's bank.
* `$save`: Saves your character, system, and Guild Card data immediately. (By default, your character is saved every 60 seconds while online, and your account and Guild Card data are saved whenever they change.)
* Game state commands (game server only)
* `$maxlevel <level>`: Sets the maximum level for players to join the current game.
* `$maxlevel <level>`: Sets the maximum level for players to join the current game. (This only applies when joining; if a player joins and then levels up past this level during the game, they are not kicked out, but won't be able to rejoin if they leave.)
* `$minlevel <level>`: Sets the minimum level for players to join the current game.
* `$password <password>`: Sets the game's join password. To unlock the game, run `$password` with nothing after it.
* `$dropmode [mode]`: Changes the way item drops behave in the current game. `mode` can be `none`, `client`, `shared`, `private`, or `duplicate`. If `mode` is not given, tells you the current drop mode without changing it. See the "Item tables and drop modes" section for more information.
* Episode 3 commands (game server only)
* `$spec`: Toggles the allow spectators flag for Episode 3 games. If any players are spectating when this flag is disabled, they will be sent back to the lobby.
* `$inftime`: Toggles infinite-time mode. Must be used before starting a battle. If infinite-time mode is enabled, the overall and per-phase time limits will be disabled regardless of the values chosen during battle setup. After completing a battle, infinite-time mode is reset to the server's default value (which can be set in Episode3BehaviorFlags in config.json).
* `$defrange <min>-<max>`: Sets the DEF dice range for the next battle. If this is used, the dice range set during battle rules setup will apply only to ATK dice; DEF dice will use this range instead. Assist cards and other dice effects will still apply. Dice exchange also still applies if it is enabled.
* `$stat <what>`: Shows a statistic about your player or team in the current battle. `<what>` can be `duration`, `fcs-destroyed`, `cards-destroyed`, `damage-given`, `damage-taken`, `opp-cards-destroyed`, `own-cards-destroyed`, `move-distance`, `cards-set`, `fcs-set`, `attack-actions-set`, `techs-set`, `assists-set`, `defenses-self`, `defenses-ally`, `cards-drawn`, `max-attack-damage`, `max-combo`, `attacks-given`, `attacks-taken`, `sc-damage`, `damage-defended`, or `rank`.
* `$surrender`: Causes your team to immediately lose the current battle.
* `$saverec <name>`: Saves the recording of the last battle.
* `$playrec <name>`: Plays a battle recording. This command creates a spectator team and replays the specified battle log within it. There is a bug in Dolphin that makes use of this command unstable in emulation (see the "Battle records" section above).
* Cheat mode commands
* `$cheat`: Enables or disables cheat mode for the current game. All other cheat mode commands do nothing if cheat mode is disabled. This command does nothing on the proxy server, since cheat mode is always enabled there.
* `$cheat`: Enables or disables cheat mode for the current game. All other cheat mode commands do nothing if cheat mode is disabled. By default, cheat mode is off in new games but can be enabled; there is an option in config.json that allows you to disable cheat mode entirely, or set it to on by default in new games.
* `$infhp` / `$inftp`: Enables or disables infinite HP or TP mode. Applies to only you. In infinite HP mode, one-hit KO attacks will still kill you.
* `$warp <area-id>`: Warps yourself to the given area.
* `$next` (game server only): Warps yourself to the next area.
* `$warpme <floor-id>`: Warps yourself to the given floor.
* `$warpall <floor-id>`: Warps everyone in the game to the given floor. You must be the leader to use this command, unless you're on the proxy server.
* `$next`: Warps yourself to the next floor.
* `$swa`: Enables or disables switch assist. When enabled, the server will attempt to automatically unlock two-player doors in solo games if you step on both switches sequentially.
* `$item <desc>` (or `$i <desc>`): Create an item. `desc` may be a description of the item (e.g. "Hell Saber +5 0/10/25/0/10") or a string of hex data specifying the item code. Item codes are 16 hex bytes; at least 2 bytes must be specified, and all unspecified bytes are zeroes. If you are on the proxy server, you must not be using Blue Burst for this command to work. On the game server, this command works for all versions.
* `$unset <index>`: In an Episode 3 battle, removes one of your set cards from the field. `<index>` is the index of the set card as it appears on your screen - 1 is the card next to your SC's icon, 2 is the card to the right of 1, etc. This does not cause a Hunters-side SC to lose HP, as they normally do when their items are destroyed.
* Configuration commands
* `$event <event>`: Sets the current holiday event in the current lobby. Holiday events are documented in the "Using $event" item in the information menu. If you're on the proxy server, only you will see the new event; other players will not.
* `$event <event>`: Sets the current holiday event in the current lobby. Holiday events are documented in the "Using $event" item in the information menu. If you're on the proxy server, this applies to all lobbies and games you join, but only you will see the new event - other players will not.
* `$allevent <event>` (game server only): Sets the current holiday event in all lobbies.
* `$song <song-id>` (game server only, Episode 3 only): Plays a specific song in the current lobby.
* `$song <song-id>` (Episode 3 only): Plays a specific song in the current lobby.
* Administration commands (game server only)
* `$ann <message>`: Sends an announcement message. The message text is sent to all players in all games and lobbies.
@@ -114,36 +355,88 @@ Some commands only work on the game server and not on the proxy server. The chat
* `$kick <identifier>`: Disconnects a player. The identifier may be the player's name or Guild Card number.
* `$ban <identifier>`: Bans a player. The identifier may be the player's name or Guild Card number.
### Using newserv as a proxy
If you want to play online on remote servers rather than running your own server, newserv also includes a PSO proxy. Currently this works with PSO GC and may work with PC; it also works with some BB clients in specific situations.
To use the proxy, add an entry to the ProxyDestinations dictionary in config.json, then run newserv and connect to it as normal (see below). You'll see a "Proxy server" option in the main menu, and you can pick which remote server to connect to.
A few things to be aware of when using the proxy server:
- On PC and GC, using the Change Ship or Change Block actions from the lobby counter will bring you back to newserv's main menu, not the remote server's ship select. You can go back to the server you were just on by choosing it from newserv's proxy server menu again.
- The remote server will probably try to assign you a Guild Card number that doesn't match the one you have on newserv. The proxy server rewrites the commands on the fly to make it look like the remote server assigned you the same Guild Card number as you have on newserv, but if the remote server has some external integrations (e.g. forum or Discord bots), they will use the Guild Card number that the remote server believes it has assigned to you. The number assigned by the remote server is shown to you when you first connect to the remote server, and you can retrieve it in lobbies or during games with the $li command.
- There are shell commands that affect clients on the proxy (run 'help' in the shell to see what they are). All proxy commands in the shell only work when there's exactly one client connected through the proxy, since there isn't (yet) a way to say via the shell which session you want to affect.
### Connecting local clients
If you're running PSO on a real GameCube, you can make it connect to newserv by setting its default gateway and DNS server addresses to newserv's address. newserv's DNS server must be running on port 53 and accessible.
#### PSO DC
If you have PSO Plus or Episode III, it won't want to connect to a server on the same local network as the GameCube itself, as determined by the GameCube's IP address and subnet mask. In the old days, one way to get around this was to create a fake network adapter on the server (or use an existing real one) that has an IP address on a different subnet, tell the GameCube that the server is the default gateway, and have the server reply to the DNS request with its non-local IP address. To do this with newserv, just set LocalAddress in the config file to a different interface. For example, if the GameCube is on the 192.168.0.x network and your other adapter has address 10.0.1.6, set newserv's LocalAddress to 10.0.1.6 and set PSO's DNS server and default gateway addresses to the server's 192.168.0.x address. This may not work on modern systems or on non-Windows machines - I haven't tested it in many years.
Some versions of PSO DC will connect to a private server if you just set their DNS server address (in the network configuration) to newserv's address, and enable newserv's DNS server. This will not work for other versions; for those, you'll need a cheat code. Creating such a code is beyond the scope of this document.
If you're emulating PSO using a version of Dolphin with tapserver support (currently only the macOS version), you can make it connect to a newserv instance running on the same machine via the tapserver interface. This works for all PSO versions, including Plus and Episode III, without the trickery described above. To do this:
- Set Dolphin's BBA type to tapserver (Config -> GameCube -> SP1).
- Enable newserv's IP stack simulator according to the comments in config.json, and start newserv. You do not need to install or run tapserver.
- In PSO, you have to configure the network settings manually (DHCP doesn't work), but the actual values don't matter as long as they're valid IP addresses. Example values:
- IP address: `10.0.1.5`
- Subnet mask: `255.255.255.0`
- Default gateway: `10.0.1.1`
- DNS server address 1: `10.0.1.1`
- Leave everything else blank
- Start an online game.
If you're emulating PSO DC or have a disc image, you can patch the appropriate files within the disc image to make it connect to any address you want. Creating such a patch is also beyond the scope of this document.
#### PSO DC on Flycast
If you're emulating PSO DC, all versions will connect to newserv by setting the following options in Flycast's `emu.cfg` file under `[network]`:
- DNS = Your newserv's server address (newserv's DNS server must be running on port 53)
- EmulateBBA = yes
- Enable = yes
It is also necessary to save any DNS information to the flash memory of the Dreamcast to use the BBA - the easiest way to do this is to use the website option in USv2 and then choose the save to flash option.
Once set up, the EU and US versions will work without any extra set up (other than the HL Check Disable code for USv2), while the JP versions require HL Check Disable codes to be running.
If the server is running on the same machine as Flycast, this might not work, even if you point Flycast's DNS queries at your local IP address (instead of 127.0.0.1). In this case, you can modify the loaded executable in memory to make it connect anywhere you want. There is a script included with newserv that can do this on macOS; a similar technique could be done manually using scanmem on Linux or Cheat Engine on Windows. To use the script, do this:
1. Build and install memwatch (https://github.com/fuzziqersoftware/memwatch).
2. Start Flycast and run PSO. (You must start PSO before running the script; it won't work if you run the script before loading the game.)
3. Run `sudo patch_flycast_memory.py <original-destination>`. Replace `<original-destination>` with the hostname that PSO wants to connect to (you can find this out by using Wireshark and looking for DNS queries). The script may take up to a minute; you can continue using Flycast while it runs, but don't start an online game until the script is done.
4. Run newserv and start an online game in PSO.
If you use this method, you'll have to run the script every time you start PSO in Flycast, but you won't have to run it again if you start another online game without restarting emulation.
#### PSO PC
The version of PSO PC I have has the server addresses starting at offset 0x29CB34 in pso.exe. Using a hex editor, change those to "localhost" (without quotes) if you just want to connect to a locally-running newserv instance. Alternatively, you can add an entry to the Windows hosts file (C:\Windows\System32\drivers\etc\hosts) to redirect the connection to 127.0.0.1 (localhost) or any other IP address.
#### PSO GC on a real GameCube
You can make PSO connect to newserv by setting its default gateway and DNS server addresses to newserv's address. newserv's DNS server must be running on port 53 and must be accessible to the GameCube.
If you have PSO Plus or Episode III, it won't want to connect to a server on the same local network as the GameCube itself, as determined by the GameCube's IP address and subnet mask. In the old days, one way to get around this was to create a fake network adapter on the server (or use an existing real one) that has an IP address on a different subnet, tell the GameCube that the server is the default gateway (as above), and have the server reply to the DNS request with its non-local IP address. To do this with newserv, just set LocalAddress in the config file to a different interface. For example, if the GameCube is on the 192.168.0.x network and your other adapter has address 10.0.1.6, set newserv's LocalAddress to 10.0.1.6 and set PSO's DNS server and default gateway addresses to the server's 192.168.0.x address. This may not work on modern systems or on non-Windows machines - I haven't tested it in many years.
#### PSO GC on Dolphin
If you're using the HLE BBA type, set the BBA's DNS server address to newserv's IP address and it should work. (If newserv is on the same machine as Dolphin, try your local IP address or 127.0.0.1.) In PSO, use the example values below in PSO's network configuration.
If you're using the TAP BBA type, you'll have to set PSO's network settings appropriately for your tap interface. Set the DNS server address in PSO's network settings to newserv's IP address.
If you're using a version of Dolphin with tapserver support, you can make it connect to a newserv instance running on the same machine via the tapserver interface. You do not need to install or run tapserver. To do this:
1. Set Dolphin's BBA type to tapserver (Config -> GameCube -> SP1).
2. Enable newserv's IP stack simulator according to the comments in config.json and start newserv.
3. In PSO's network settings, enable DHCP ("Automatically obtain an IP address"), set DNS server address to "Automatic", and leave DHCP Hostname as "Not set". Leave the proxy server settings blank.
4. Start an online game.
#### PSO BB
The PSO BB client has been modified and distributed in many different forms. newserv supports most, but not all, of the common distributions. Unlike other versions, it's important that the client and server have the same map files, so make sure to set up the patch directory based on the client you'll be using with newserv. (See the "Client patch directories" section for instructions on setting this up.)
The original Japanese and US versions of PSO BB should work, but you'll have to modify your hosts file or edit psobb.exe to point to your newserv instance. The original versions are packed, so this is a more involved process than simply opening the executable in a hex editor and finding/replacing some strings.
Alternatively, you can use the Tethealla client (https://archive.org/details/psobb-tethealla-client); you can find the connection addresses starting at 0x56D724 in psobb.exe. Overwrite these addresses with your server's hostname or IP address, and you should be able to connect.
### Connecting external clients
If you want to accept connections from outside your local network, you'll need to set ExternalAddress to your public IP address in the configuration file, and you'll likely need to open some ports in your router's NAT configuration - specifically, all the TCP ports listed in PortConfiguration in config.json.
For GC clients, you'll have to use newserv's built-in DNS server or set up your own DNS server as well. If you want external clients to be able to use your DNS server, you'll have to forward UDP port 53 to your newserv instance. Remote players can then connect to your server by entering your DNS server's IP address in their client's network configuration.
### Non-server features
newserv has many CLI options, which can be used to access functionality other than the game and proxy server. Run `newserv help` to see these options and how to use them. The non-server things newserv can do are:
* Compress or decompress data in PRS, PR2, or BC0 format (`compress-prs`, `compress-pr2`, `compress-bc0`, `decompress-prs`, `decompress-pr2`, `decompress-bc0`)
* Compute the decompressed size of compressed PRS data without decompressing it (`prs-size`)
* Encrypt or decrypt data using any PSO version's network encryption scheme (`encrypt-data`, `decrypt-data`)
* Encrypt or decrypt data using Episode 3's trivial scheme (`encrypt-trivial-data`, `decrypt-trivial-data`)
* Encrypt or decrypt data using the Challenge Mode text algorithm (`encrypt-challenge-data`, `decrypt-challenge-data`)
* Encrypt or decrypt PSO GC save data (.gci files) (`encrypt-gci-save`, `decrypt-gci-save`)
* Convert a PSO GC or Episode 3 snapshot file to a BMP image (`decode-gci-snapshot`)
* Find the likely round1 or round2 seed for a corrupt save file (`salvage-gci`)
* Run a brute-force search for a decryption seed (`find-decryption-seed`)
* Convert quests in .gci, .vms, .dlq, or .qst format to .bin/.dat format (`decode-gci`, `decode-vms`, `decode-dlq`, `decode-qst`)
* Convert quests in .bin/.dat to .qst format (`encode-qst`)
* Convert text archives (e.g. TextEnglish.pr2) to JSON and vice versa (`decode-text-archive`, `encode-text-archive`)
* Compile or disassemble quest scripts (`assemble-quest-script`, `disassemble-quest-script`)
* Format Episode 3 game data in a human-readable manner (`show-ep3-maps`, `show-ep3-cards`)
* Convert item data to a human-readable description, or vice versa (`describe-item`, `encode-item`)
* Connect to another PSO server and pretend to be a client (`cat-client`)
* Replay a session log for testing (`replay-log`)
* Extract the contents of a .gsl or .bml archive (`extract-gsl`, `extract-bml`)
+29
View File
@@ -0,0 +1,29 @@
## General
- Encapsulate BB server-side random state and make replays deterministic
- Write a simple status API
- Implement per-game logging
- Make reloading happen on separate threads so compression doesn't block active clients
- Implement decrypt/encrypt actions for VMS files
- Make UI strings localizable (e.g. entries in menus, welcome message, etc.)
- Figure out what causes the corruption message on PC proxy sessions and fix it
- Add an idle connection timeout for proxy sessions
- Look into JP heart symbol bug on Linux
## Episode 3
- Enforce tournament deck restrictions (e.g. rank checks, No Assist option) when populating COMs at tournament start time
- Add support for recording battles on the proxy server (both in primary and spectator teams)
- Make `reload licenses` not vulnerable to online players' licenses overwriting licenses on disk somehow
- Implement ranks (based on total Meseta earned)
## PSO XBOX
- Fix receiving Guild Cards from non-Xbox players
- Research the F94D quest opcode
## PSOBB
- Test all quest item subcommands
- Check if Commander Blade effect works and implement it if not
- Figure out why Pouilly Slime EXP doesn't work
+16
View File
@@ -0,0 +1,16 @@
struct AITalkBin {
be_uint32_t num_scs;
be_uint32_t sc_offsets[num_scs];
struct SCDialogueEntry {
be_uint32_t num_entries;
be_uint32_t unknown_a1;
be_uint32_t size; // in bytes
struct WhenEntry {
be_uint32_t when;
be_uint32_t percent_chance; // 0-100
be_uint32_t count;
be_uint32_t string_ids[count];
} __attribute__((packed));
} __attribute__((packed));
} __attribute__((packed));
+266
View File
@@ -0,0 +1,266 @@
(Ep1&2 USA) Unlock all songs in BGM test
(Note: sadly, there are no secret/unused ones)
04368960 38600001
04368964 4E800020
(Ep1&2 USA v1.01) Play lobby (and event) music on Pioneer 2 also
0417E0F0 60000000
(Ep3 USA) Play lobby (and event) music in Morgue also
040B7028 60000000
(Ep3 USA) Skip white logo screens during startup
0409D774 38000007
(Episodes 1&2 USA v1.01) Skip white logo screens during startup
0413F190 38000007
(Ep3 USA) Skip agreement prompts before online game
041B50C8 38000003
(Episodes 1&2 USA v1.01) Skip agreement prompt before online game
04327D80 38000003
(Ep3 USA) Disable rate limit for pressing A during loading screens
042F9B30 38000000
(Ep3 USA) Auto-press A as fast as possible during loading screens
042F9AC0 60000000
(Ep3 USA) Replace loading screen A button sounds with random sounds
042F9B18 4804BB19
042F9B1C 5463063E
042F9B20 60631400
042F9B24 64630005
042F9B28 38800000
(Ep3 USA) Change color of loading screens
(Replace AA, RR, GG, BB appropriately)
042FA704 3CC0AARR
042FA708 60C6GGBB
(Ep3 USA) Use 16:9 aspect ratio
04383DC8 4BC87F99
0400BD60 C042DED0
0400BD64 EC5D00B2
0400BD68 4E800020
(Ep3 USA) Disable darkening effect during battle details mode
042F951C 4E800020
(Ep3 USA) Unlock all COM decks
042CA908 38600001
(Ep3 USA) Enable all lobby counter options in non-CARD lobbies
04096A8C 480000C0
04096B4C 38800007
04096BFC 4BFFFF2C
(Ep3 USA) Change HUD color mask
0438CA8C 3C00RRGG
0438CA90 6000BBAA
(Ep3 USA) Disable lobby event music (but keep the visuals)
040B705C 38000000
(Ep3 USA) Enable Pinz's Shop Super Card Capsule Machine as a fourth option
043101C0 38800004
04310238 2C1D0004
04487E8C 000000C8
(Ep3 USA) Change color of pulsing orange text (e.g. card ability names)
0457EE18 RRRRRRRR // Phase 1 (long) red component as 32-bit float (0.0-255.0)
0457EE20 GGGGGGGG // Phase 1 (long) green component as 32-bit float (0.0-255.0)
0457EE10 BBBBBBBB // Phase 1 (long) blue component as 32-bit float (0.0-255.0)
0457EE1C RRRRRRRR // Phase 2 (short) red component as 32-bit float (0.0-255.0)
0457EE24 GGGGGGGG // Phase 2 (short) green component as 32-bit float (0.0-255.0)
0457EE14 BBBBBBBB // Phase 2 (short) blue component as 32-bit float (0.0-255.0)
(Ep3 USA) Change color of pulsing orange text to be random every frame
04155D78 7CA802A6
04155D7C 7C661B78
04155D80 481EF8B1
04155D84 7C671B78
04155D88 481EF8A9
04155D8C 50677822
04155D90 64E7FF00
04155D94 90E60024
04155D98 7CA803A6
04155D9C 4E800020
(Ep3 USA) Enable color and symbol codes in info board text
(Use codes like e.g. $CG to change text colors, as described in CommandFormats.hh)
040F2E80 4BF0D41D
040F0274 4BF10025
040EFC58 4BF10641
04000298 38810008
0400029C 38C3FFFF
040002A0 8CA60001
040002A4 28050024
040002A8 4082000C
040002AC 38000009
040002B0 98060000
040002B4 28050000
040002B8 4082FFE8
040002BC 7C633050
040002C0 4E800020
(Ep3 USA) Unlock all offline free battle maps
042CAA00 38600001
(This unlocks ALL maps, including a bunch of maps with garbage names that crash if you try to play them)
(Ep3 USA) Talk to auction counter offline to get all cards
042F5D18 4BD160E8
0400BE00 9421FFE0
0400BE04 7C0802A6
0400BE08 90010024
0400BE0C 93E10010
0400BE10 93C10014
0400BE14 93A10018
0400BE18 9381001C
0400BE1C 3C60802A
0400BE20 60631BAC
0400BE24 7C6903A6
0400BE28 38600000
0400BE2C 4E800421
0400BE30 7C7F1B78
0400BE34 3C60802A
0400BE38 606315BC
0400BE3C 7C6903A6
0400BE40 7FE3FB78
0400BE44 4E800421
0400BE48 3F80802A
0400BE4C 639C17AC
0400BE50 3BC00001
0400BE54 3BA00063
0400BE58 7FE3FB78
0400BE5C 7FC4F378
0400BE60 7F8903A6
0400BE64 4E800421
0400BE68 3BBDFFFF
0400BE6C 281D0000
0400BE70 4082FFE8
0400BE74 3BDE0001
0400BE78 281E02F0
0400BE7C 4081FFD8
0400BE80 3C60802A
0400BE84 6063160C
0400BE88 7C6903A6
0400BE8C 7FE3FB78
0400BE90 4E800421
0400BE94 83E10010
0400BE98 83C10014
0400BE9C 83A10018
0400BEA0 8381001C
0400BEA4 80010024
0400BEA8 38210020
0400BEAC 7C0803A6
0400BEB0 482E9FC0
(Episodes 1&2 USA v1.01) Press L for enemy debug; enable various other debug messages
040FD9D8 38600001 # Various enemy debug messages
00153E53 00000001 # Poison fog debug 1
00153E4B 00000001 # Poison fog debug 2
040FDA18 60000000 # TObjRoomId
025CB6AA 00000000
4A588EA0 00000040
025CB6AA 00000001
TODO: Figure out more debug message conditionals (vars/functions) and add them here
(Episode 3 USA) Able to find VIP cards offline (but they're still rare)
042C0B20 4800000C
(Ep3 USA) Hold L when starting battle to enter debug menu
042C5460 4BD3AF78
040003D8 3C60804A
040003DC 60630518
040003E0 3C800002
040003E4 480C9F35
040003E8 2C030000
040003EC 4082000C
040003F0 8801001A
040003F4 48000008
040003F8 3800001A
040003FC 482C5068
(Ep3 USA) Dressing room always accessible
041A16FC 38600001
(Ep3 USA) Full dressing room v1
Can't change your class, but you start with your existing appearance
Go online with this code on after using the dressing room to fully save changes
0418EB5C 60000000
042A0184 389D0370
042A0188 387E2120
(Ep3 USA) Full dressing room v2
Can change your class, but you start with the default appearance
Go online with this code on after using the dressing room to fully save changes
04186ECC 4BFFFFD8
042A0184 389D0370
042A0188 387E2120
(Ep3 USA) Replace Options menu with debug menu
04149E70 38600019
(Ep3 USA) Jukebox is free
0430D1DC 48000024
(Ep3 USA) Use own character in battle (online only)
041FFAB0 4800001C
042A54D8 4BD5B0F9
04200A34 4BDFFB9D
041FFA9C 4BE00B35
040005D0 38600000
040005D4 3CA08049
040005D8 80A54160
040005DC 2805000F
040005E0 41820008
040005E4 481E8E24
040005E8 80ADA448
040005EC 7C042800
040005F0 41820008
040005F4 481E8E14
040005F8 38600001
040005FC 4E800020
(Ep3 USA) Disable chat smut filter
0412F8B8 7D0802A6
0412F8BC 7C661B78
0412F8C0 7C872378
0412F8C4 48217285
0412F8C8 38A30001
0412F8CC 7CE33B78
0412F8D0 7CC43378
0412F8D4 7D0803A6
0412F8D8 4BEDEBF4
(Ep3 USA) Metal tiles don't appear in Simulator map
04296904 4E800020
(Ep3 USA) Enable Boooo and Laughter soundchat sounds
Note: Without a TextEnglish.pr2/pr3 patch, the menu items for these sounds will be blank (but they will still work)
0430B734 38800029
0430B770 2C1F0029
0430B59C 2C030029
0430B5A8 5460083C
0430B5B4 7C63022E
0442B690 80258026
0442B694 8227852D
0442B698 80308031
0442B69C 8A3F8532
0442B6A0 8A408533
0442B6A4 8A418A28
0442B6A8 8A388A29
0442B6AC 8A39852E
0442B6B0 802F853D
0442B6B4 85348535
0442B6B8 853B8536
0442B6BC 8537852B
0442B6C0 853A853C
0442B6C4 853E8044
0442B6C8 80458046
0442B6CC 80478048
0442B6D0 8049804A
0442B6D4 804B804C
0442B6D8 804D804E
0442B6DC 804F802A
0442B6E0 802C0000
File diff suppressed because one or more lines are too long
+5
View File
@@ -0,0 +1,5 @@
DC NTE: pso02.dricas.ne.jp
Nov 2000 proto: test1.st-pso.games.sega.net
Dec 2000 proto: sg107634.csrd.sega.co.jp OR master.pso.dream-key.com
Jan 2001 proto: master.pso.dream-key.com
Aug 2001 proto (v2): game01.st-pso.games.sega.net
+45
View File
@@ -0,0 +1,45 @@
Ep3 card text corrections (from THG Discord):
- AP Absorption: Does not block Tech attacks, instead they deal 2 extra damage.
- Assault: Adds 5 AP minus the number of FCs on your field, not in your deck.
- Assist Return: If this replaces an Assist card that was not in its owner's own Assist slot, that card gets re-played in to that slot.
- Barble: His "Unfilial" ability does 3 damage, not 1.
- Berdysh: Equip requirements are Hunter and Humanoid, not either one.
- Black King Bar: "Machine Influence" doesn't need the opponent to be an attacker.
- Blade Dance: "Insanity" doesn't exist. Has "Steady Damage".
- Combo/Explosion: Adds +(# of Combo cards played in phase squared) AP, but the effect only applies once per attacker.
- EGM: "Timed EXP Sacrifice" gives 9 EXP, not 6.
- Fix: Sets all FC attacks to 2 damage, not FC attackers to 2 AP.
- Flatland: Allows summoning in any space on the board, not summoning for free.
- Ghost Blast: Damage added is 1/3 death count, not 1x.
- Gibbles +: Curse' sets MV to 1 for 6 turns, not permanently.
- Govulmer: His "AP Silence" reduces AP by 3, not to 0.
- Guil Shark: +2 damage per Guil for the "Group" ability, not +1.
- Gulgus: His "Copy" ability gives full AP and TP, not 1/2.
- Holy Ray: Doesn't have the "Enemy Bonus" ability.
- Kaladbolg: "Attack AC Unable" was a lie.
- Lock on 3: Also has the ability "DEF Cost 4 Disable".
- Mighty Knuckle: Adds 1.5x points spent as damage, not those points +1.
- Migium: Gains TP from it's "Combo" ability, not AP.
- Orland: "Sword AP Count" looks at your team, not the whole field.
- Pofuilly Slime: His "Copy" ability gives 1/2 AP and TP, not full.
- Rainbow Baton: Correctly reads as Tech OK.
- Red Slicer: "Native Influence" doesn't need the opponent to be an attacker.
- Rufina: She doubles the AP of action cards used, not her own.
- Unit Blow: Adds +3 AP per Unit Blow played in the entire Combat Phase, but the effect only applies once per attacker.
List of changes Sega made to Ep3 cards online (from THG Discord):
- Rebalanced Vanilla Cards (E rank is gone, so some cards nerfed b/c they arent locked to 1x)
- Meteor Cudgel: [Cost]5 ---> [Cost]4
- Frozen Shooter: Frozen Target now only freezes self for 2 Turns, on a 20% chance.
- Snow Queen: Frozen Target now only freezes self for 2 Turns, on a 25% chance.
- Hand Break: Hand Disruptor added (old card description is now accurate)
- Rush: [Cost]6 [AP]+0 ---> [Cost]4 [AP]+1
- Explosion: [Cost]5 ---> [Cost]4
- Resta: Range changed to Antis range (hits all ally SCs and FCs)
- Dice Half: [Cost]5 ---> [Cost]4
- Resistance: [Cost]5 ---> [Cost]4
- Independant: [Cost]4 ---> [Cost]3
- Dreamaga: [Cost]1 ---> [Cost]2
- Dengeki: [Cost]1 ---> [Cost]2
- EGM: [Cost]1 ---> [Cost]2
- Beat: [AP]+5 ---> [AP]+4
+127
View File
@@ -0,0 +1,127 @@
0457EE18 437F0000 CG_color_r_phase1
0457EE20 00000000 CG_color_g_phase1
0457EE10 00000000 CG_color_b_phase1
0457EE1C 00000000 CG_color_r_phase2
0457EE24 437F0000 CG_color_g_phase2
0457EE14 00000000 CG_color_b_phase2
437F0000 == 255.0f
(Ep3 USA) Change color of pulsing orange text (e.g. card ability names)
0457EE18 RRRRRRRR // Phase 1 (long) red component as 32-bit float (0.0-255.0)
0457EE20 GGGGGGGG // Phase 1 (long) green component as 32-bit float (0.0-255.0)
0457EE10 BBBBBBBB // Phase 1 (long) blue component as 32-bit float (0.0-255.0)
0457EE1C RRRRRRRR // Phase 2 (short) red component as 32-bit float (0.0-255.0)
0457EE24 GGGGGGGG // Phase 2 (short) green component as 32-bit float (0.0-255.0)
0457EE14 BBBBBBBB // Phase 2 (short) blue component as 32-bit float (0.0-255.0)
(Ep3 USA) Change color of pulsing orange text to be random every frame
04155D78 7CA802A6
04155D7C 7C661B78
04155D80 481EF8B1
04155D84 7C671B78
04155D88 481EF8A9
04155D8C 50677822
04155D90 64E7FF00
04155D94 90E60024
04155D98 7CA803A6
04155D9C 4E800020
color codes in info board
patch 800F2E80 48253CC9 bl strlen
./m68kdasm --assemble-ppc32 --ppc32 --start-address=800F2E80
bl [8000029C]
040F2E80 4BF0D41D bl -0x000F2BE4 /* 8000029C */
patch/preserve 800f0274 38810008 addi param_2,r1,0x8
./m68kdasm --assemble-ppc32 --ppc32 --start-address=800F0274
bl [80000298]
040F0274 4BF10025 bl -0x000EFFDC /* 80000298 */
patch/preserve 800efc58 38810008 addi r4,r1,0x8
./m68kdasm --assemble-ppc32 --ppc32 --start-address=800EFC58
bl [80000298]
040EFC58 4BF10641 bl -0x000EF9C0 /* 80000298 */
./m68kdasm --assemble-ppc32 --ppc32 --start-address=80000298
entry_from_send_61_and_send_98:
addi r4, r1, 8
entry_from_send_D8:
subi r6, r3, 1
again:
lbzu r5, [r6 + 1]
cmplwi r5, 0x24
bne skip_char
li r0, 0x09
stb [r6], r0
skip_char:
cmplwi r5, 0
bne again
sub r3, r6, r3
blr
04000298 38810008 addi r4, r1, 0x0008
0400029C 38C3FFFF subi r6, r3, 0x0001
040002A0 8CA60001 lbzu r5, [r6 + 0x0001]
040002A4 28050024 cmplwi r5, 36
040002A8 4082000C bne +0x0000000C /* 800002B4 */
040002AC 38000009 li r0, 0x0009
040002B0 98060000 stb [r6], r0
040002B4 28050000 cmplwi r5, 0
040002B8 4082FFE8 bne -0x00000018 /* 800002A0 */
040002BC 7C633050 subf r3, r3, r6
040002C0 4E800020 blr
Ep1&2 v1.01 version of the above code
send_D9
./m68kdasm --assemble-ppc32 --ppc32 --start-address=801DA398
bl [800002D4]
041DA398 4BE25F3D bl -0x001DA0C4 /* 800002D4 */
send_61
./m68kdasm --assemble-ppc32 --ppc32 --start-address=801DC2AC
bl [800002D0]
041DC2AC 4BE24025 bl -0x001DBFDC /* 800002D0 */
send_98
./m68kdasm --assemble-ppc32 --ppc32 --start-address=801DC144
bl [800002D0]
041DC144 4BE2418D bl -0x001DBE74 /* 800002D0 */
./m68kdasm --assemble-ppc32 --ppc32 --start-address=800002D0
entry_from_send_61_and_send_98:
addi r4, r1, 8
entry_from_send_D8:
subi r6, r3, 1
again:
lbzu r5, [r6 + 1]
cmplwi r5, 0x24
bne skip_char
li r0, 0x09
stb [r6], r0
skip_char:
cmplwi r5, 0
bne again
sub r3, r6, r3
blr
040002D0 38810008 addi r4, r1, 0x0008
040002D4 38C3FFFF subi r6, r3, 0x0001
040002D8 8CA60001 lbzu r5, [r6 + 0x0001]
040002DC 28050024 cmplwi r5, 36
040002E0 4082000C bne +0x0000000C /* 800002EC */
040002E4 38000009 li r0, 0x0009
040002E8 98060000 stb [r6], r0
040002EC 28050000 cmplwi r5, 0
040002F0 4082FFE8 bne -0x00000018 /* 800002D8 */
040002F4 7C633050 subf r3, r3, r6
040002F8 4E800020 blr
+163
View File
@@ -0,0 +1,163 @@
import collections
import os
import subprocess
import sys
from dataclasses import dataclass
version_tokens = ("JP12", "JP13", "JP14", "JP15", "US10", "US11", "US12", "EU")
version_to_specific_version = {
"JP12": "3OJ2",
"JP13": "3OJ3",
"JP14": "3OJ4",
"JP15": "3OJ5",
"US10": "3OE0",
"US11": "3OE1",
"US12": "3OE2",
"EU": "3OP0",
}
@dataclass
class WriteRegion:
address: int
data: list[int]
def disassemble_opcode(opcode: int, start_address: int) -> str:
try:
result = subprocess.check_output(
[
"m68kdasm",
f"--start-address={hex(start_address)}",
"--ppc32",
"--parse-data",
],
input=f"{opcode:08X}".encode("ascii"),
)
return result.decode("ascii").strip().split(None, 2)[2]
except Exception:
return ""
def write_patches_for_code(
out_dir: str,
name: str,
version_to_lines: dict[str, dict[int, int]],
long_name: str | None,
desc: str | None,
) -> None:
for v, lines in version_to_lines.items():
write_regions: list[WriteRegion] = []
for addr, value in sorted(lines.items()):
if write_regions and (
write_regions[-1].address + len(write_regions[-1].data) * 4 == addr
):
write_regions[-1].data.append(value)
else:
write_regions.append(WriteRegion(address=addr, data=[value]))
if write_regions:
filename = os.path.join(
out_dir,
f'{name.replace(" ", "")}.{version_to_specific_version[v]}.patch.s',
)
with open(filename, "wt") as f:
if long_name is not None:
f.write(f'.meta name="{long_name}"\n')
if desc is not None:
f.write(f'.meta description="{desc}"\n')
f.write("\n")
f.write("entry_ptr:\n")
f.write("reloc0:\n")
f.write(" .offsetof start\n")
f.write("start:\n")
f.write(" .include WriteCodeBlocks\n")
for region in write_regions:
f.write(
f" # region @ {region.address:08X} ({len(region.data) * 4} bytes)\n"
)
f.write(f" .data 0x{region.address:08X} # address\n")
f.write(f" .data 0x{(len(region.data) * 4):08X} # size\n")
for z, value in enumerate(region.data):
addr = region.address + (z * 4)
disassembly = disassemble_opcode(value, addr)
f.write(
f" .data 0x{value:08X} # {addr:08X} => {disassembly}\n"
)
f.write(" # end sentinel\n")
f.write(" .data 0x00000000 # address\n")
f.write(" .data 0x00000000 # size\n")
print(f"... {filename}")
else:
print(f"*** {filename} (no data to write)")
def main():
if len(sys.argv) != 3:
raise RuntimeError(
"Usage: python3 generate-patches.py <source-filename> <out-dir>"
)
src_file = sys.argv[1]
out_dir = sys.argv[2]
with open(src_file, "rt") as f:
lines = f.read().splitlines()
reading_code = False
reading_patch = False
code_name = ""
version_name = ""
name_to_version_to_lines = collections.defaultdict(
lambda: collections.defaultdict(dict)
) # {name:{version: {addr: value}}}
name_to_long_name = {}
name_to_description = {}
for line in lines:
if not line:
reading_code = False
reading_patch = False
elif reading_code:
for z, v in enumerate(version_tokens):
addr_str = line[18 * z : 18 * z + 8]
value_str = line[18 * z + 9 : 18 * z + 17]
if addr_str != " " and value_str != " ":
addr = int(addr_str, 16)
if addr in name_to_version_to_lines[code_name][v]:
raise ValueError(f"duplicate write to address {addr:08X}")
name_to_version_to_lines[code_name][v][addr] = int(value_str, 16)
elif line.startswith("*** name="):
name_to_long_name[code_name] = line[9:]
elif line.startswith("*** desc="):
name_to_description[code_name] = line[9:]
elif line.startswith("======== PsoV3-"):
reading_patch = True
version_name = line[15:].split(".")[0]
elif reading_patch:
addr_str, data_str = line.split()
addr = int(addr_str, 16)
data = bytes.fromhex(data_str)
for z in range(0, len(data), 4):
name_to_version_to_lines[code_name][version_name][addr + z] = (
(data[z] << 24)
| (data[z + 1] << 16)
| (data[z + 2] << 8)
| (data[z + 3] << 0)
)
elif line.startswith("JP12------------"):
reading_code = True
else:
code_name = line
for name, version_to_lines in name_to_version_to_lines.items():
write_patches_for_code(
out_dir,
name,
version_to_lines,
name_to_long_name.get(name),
name_to_description.get(name),
)
if __name__ == "__main__":
main()
File diff suppressed because it is too large Load Diff
+933
View File
@@ -0,0 +1,933 @@
GameCube patch ports
NOTES
check_controller_button + pad1 + fixup addr
PsoV3-JP12 => 801A688C 80508A88 80508AD0
PsoV3-JP13 => 801A6C70 8050C548 8050C590
PsoV3-JP14 => 801A6DDC 8050EB88 8050EBD0
PsoV3-JP15 => 801A6D3C 8050E928 8050E970
PsoV3-US10 => 801A6C68 80509368 805093B0
PsoV3-US11 => 801A6C68 80509848 80509890
PsoV3-US12 => 801A6DA0 8050E228 8050E270
PsoV3-EU => 801A725C 8050F248 8050F290
CODES
Common Bank Patch
CommonBank
*** name=Common bank
*** desc=Hold L and open\nthe bank to use a\ncommon bank stored\nin temp character\n3's data
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000BAB4 281B0002 8000BAB4 281B0002 8000BAB4 281B0002 8000BAB4 281B0002 8000BAB4 281B0002 8000BAB4 281B0002 8000BAB4 281B0002 8000BAB4 281B0002 cmplwi r27, 2
8000BAB8 40820018 8000BAB8 40820018 8000BAB8 40820018 8000BAB8 40820018 8000BAB8 40820018 8000BAB8 40820018 8000BAB8 40820018 8000BAB8 40820018 bne +0x00000018 /* 8000BAD0 */
8000BABC 3C008000 8000BABC 3C008000 8000BABC 3C008000 8000BABC 3C008000 8000BABC 3C008000 8000BABC 3C008000 8000BABC 3C008000 8000BABC 3C008000 lis r0, 0x8000
8000BAC0 6000BAD8 8000BAC0 6000BAD8 8000BAC0 6000BAD8 8000BAC0 6000BAD8 8000BAC0 6000BAD8 8000BAC0 6000BAD8 8000BAC0 6000BAD8 8000BAC0 6000BAD8 ori r0, r0, 0xBAD8
8000BAC4 90030004 8000BAC4 90030004 8000BAC4 90030004 8000BAC4 90030004 8000BAC4 90030004 8000BAC4 90030004 8000BAC4 90030004 8000BAC4 90030004 stw [r3 + 0x0004], r0
8000BAC8 38000000 8000BAC8 38000000 8000BAC8 38000000 8000BAC8 38000000 8000BAC8 38000000 8000BAC8 38000000 8000BAC8 38000000 8000BAC8 38000000 li r0, 0x0000
8000BACC 90030008 8000BACC 90030008 8000BACC 90030008 8000BACC 90030008 8000BACC 90030008 8000BACC 90030008 8000BACC 90030008 8000BACC 90030008 stw [r3 + 0x0008], r0
8000BAD0 807F0040 8000BAD0 807F0040 8000BAD0 807F0040 8000BAD0 807F0040 8000BAD0 807F0040 8000BAD0 807F0040 8000BAD0 807F0040 8000BAD0 807F0040 lwz r3, [r31 + 0x0040]
8000BAD4 4E800020 8000BAD4 4E800020 8000BAD4 4E800020 8000BAD4 4E800020 8000BAD4 4E800020 8000BAD4 4E800020 8000BAD4 4E800020 8000BAD4 4E800020 blr
8000BAD8 434F4D4D 8000BAD8 434F4D4D 8000BAD8 434F4D4D 8000BAD8 434F4D4D 8000BAD8 434F4D4D 8000BAD8 434F4D4D 8000BAD8 434F4D4D 8000BAD8 434F4D4D bdzl cr3, +0x00004D4C /* 80010824 */
8000BADC 4F4E2042 8000BADC 4F4E2042 8000BADC 4F4E2042 8000BADC 4F4E2042 8000BADC 4F4E2042 8000BADC 4F4E2042 8000BADC 4F4E2042 8000BADC 4F4E2042 crnor crb26, crb14, crb4
8000BAE0 414E4B00 8000BAE0 414E4B00 8000BAE0 414E4B00 8000BAE0 414E4B00 8000BAE0 414E4B00 8000BAE0 414E4B00 8000BAE0 414E4B00 8000BAE0 414E4B00 bc 10, 14, +0x00004B00 /* 800105E0 */
8000BAE4 800D8EB0 8000BAE4 800D8EB0 8000BAE4 800D8EB0 8000BAE4 800D8EB0 8000BAE4 800D8EB8 8000BAE4 800D8EB8 8000BAE4 800D8EB8 8000BAE4 800D8EB8 lwz r0, [r13 - 0x7148]
8000BAE8 28000001 8000BAE8 28000001 8000BAE8 28000001 8000BAE8 28000001 8000BAE8 28000001 8000BAE8 28000001 8000BAE8 28000001 8000BAE8 28000001 cmplwi r0, 1
8000BAEC 40820040 8000BAEC 40820040 8000BAEC 40820040 8000BAEC 40820040 8000BAEC 40820040 8000BAEC 40820040 8000BAEC 40820040 8000BAEC 40820040 bne +0x00000040 /* 8000BB2C */
8000BAF0 3C808051 8000BAF0 3C808051 8000BAF0 3C808051 8000BAF0 3C808051 8000BAF0 3C808051 8000BAF0 3C808051 8000BAF0 3C808051 8000BAF0 3C808051 lis r4, 0x8051
8000BAF4 A0848AD0 8000BAF4 A084C590 8000BAF4 A084EBD0 8000BAF4 A084E970 8000BAF4 A08493B0 8000BAF4 A0849890 8000BAF4 A084E270 8000BAF4 A084F290 lhz r4, [r4 - 0x6C50]
8000BAF8 70800002 8000BAF8 70800002 8000BAF8 70800002 8000BAF8 70800002 8000BAF8 70800002 8000BAF8 70800002 8000BAF8 70800002 8000BAF8 70800002 andi. r0, r4, 0x0002
8000BAFC 41820028 8000BAFC 41820028 8000BAFC 41820028 8000BAFC 41820028 8000BAFC 41820028 8000BAFC 41820028 8000BAFC 41820028 8000BAFC 41820028 beq +0x00000028 /* 8000BB24 */
8000BB00 800DB93C 8000BB00 800DB944 8000BB00 800DB964 8000BB00 800DB964 8000BB00 800DB954 8000BB00 800DB954 8000BB00 800DB974 8000BB00 800DB9B4 lwz r0, [r13 - 0x46AC]
8000BB04 28000006 8000BB04 28000006 8000BB04 28000006 8000BB04 28000006 8000BB04 28000006 8000BB04 28000006 8000BB04 28000006 8000BB04 28000006 cmplwi r0, 6
8000BB08 4182001C 8000BB08 4182001C 8000BB08 4182001C 8000BB08 4182001C 8000BB08 4182001C 8000BB08 4182001C 8000BB08 4182001C 8000BB08 4182001C beq +0x0000001C /* 8000BB24 */
8000BB0C 806DB920 8000BB0C 806DB928 8000BB0C 806DB948 8000BB0C 806DB948 8000BB0C 806DB938 8000BB0C 806DB938 8000BB0C 806DB958 8000BB0C 806DB998 lwz r3, [r13 - 0x46C8]
8000BB10 28030000 8000BB10 28030000 8000BB10 28030000 8000BB10 28030000 8000BB10 28030000 8000BB10 28030000 8000BB10 28030000 8000BB10 28030000 cmplwi r3, 0
8000BB14 41820010 8000BB14 41820010 8000BB14 41820010 8000BB14 41820010 8000BB14 41820010 8000BB14 41820010 8000BB14 41820010 8000BB14 41820010 beq +0x00000010 /* 8000BB24 */
8000BB18 38000000 8000BB18 38000000 8000BB18 38000000 8000BB18 38000000 8000BB18 38000000 8000BB18 38000000 8000BB18 38000000 8000BB18 38000000 li r0, 0x0000
8000BB1C 6000F1B0 8000BB1C 6000F1B0 8000BB1C 6000F1B0 8000BB1C 6000F1B0 8000BB1C 6000F1B0 8000BB1C 6000F1B0 8000BB1C 6000F1B0 8000BB1C 6000F1B0 ori r0, r0, 0xF1B0
8000BB20 7C630214 8000BB20 7C630214 8000BB20 7C630214 8000BB20 7C630214 8000BB20 7C630214 8000BB20 7C630214 8000BB20 7C630214 8000BB20 7C630214 add r3, r3, r0
8000BB24 3C808001 8000BB24 3C808001 8000BB24 3C808001 8000BB24 3C808001 8000BB24 3C808001 8000BB24 3C808001 8000BB24 3C808001 8000BB24 3C808001 lis r4, 0x8001
8000BB28 9064C32C 8000BB28 9064C32C 8000BB28 9064C32C 8000BB28 9064C32C 8000BB28 9064C32C 8000BB28 9064C32C 8000BB28 9064C32C 8000BB28 9064C32C stw [r4 - 0x3CD4], r3
8000BB2C 28030000 8000BB2C 28030000 8000BB2C 28030000 8000BB2C 28030000 8000BB2C 28030000 8000BB2C 28030000 8000BB2C 28030000 8000BB2C 28030000 cmplwi r3, 0
8000BB30 48203FB8 8000BB30 48204894 8000BB30 48205674 8000BB30 482053D0 8000BB30 482047B4 8000BB30 482047B4 8000BB30 48205704 8000BB30 48205100 b +0x002047B4 /* 802102E4 */
8000BB34 800D8EB0 8000BB34 800D8EB0 8000BB34 800D8EB0 8000BB34 800D8EB0 8000BB34 800D8EB8 8000BB34 800D8EB8 8000BB34 800D8EB8 8000BB34 800D8EB8 lwz r0, [r13 - 0x7148]
8000BB38 28000001 8000BB38 28000001 8000BB38 28000001 8000BB38 28000001 8000BB38 28000001 8000BB38 28000001 8000BB38 28000001 8000BB38 28000001 cmplwi r0, 1
8000BB3C 4082000C 8000BB3C 4082000C 8000BB3C 4082000C 8000BB3C 4082000C 8000BB3C 4082000C 8000BB3C 4082000C 8000BB3C 4082000C 8000BB3C 4082000C bne +0x0000000C /* 8000BB48 */
8000BB40 3C608001 8000BB40 3C608001 8000BB40 3C608001 8000BB40 3C608001 8000BB40 3C608001 8000BB40 3C608001 8000BB40 3C608001 8000BB40 3C608001 lis r3, 0x8001
8000BB44 8063C32C 8000BB44 8063C32C 8000BB44 8063C32C 8000BB44 8063C32C 8000BB44 8063C32C 8000BB44 8063C32C 8000BB44 8063C32C 8000BB44 8063C32C lwz r3, [r3 - 0x3CD4]
8000BB48 7C681B79 8000BB48 7C681B79 8000BB48 7C681B79 8000BB48 7C681B79 8000BB48 7C681B79 8000BB48 7C681B79 8000BB48 7C681B79 8000BB48 7C681B79 mr. r8, r3
8000BB4C 48203EB0 8000BB4C 48204804 8000BB4C 482055E4 8000BB4C 48205340 8000BB4C 48204724 8000BB4C 48204724 8000BB4C 48205674 8000BB4C 48205070 b +0x00204724 /* 80210270 */
8020F9F8 4BDFC13C 8021034C 4BDFB7E8 8021112C 4BDFAA08 80210E88 4BDFACAC 8021026C 4BDFB8C8 8021026C 4BDFB8C8 802111BC 4BDFA978 80210BB8 4BDFAF7C b -0x00204738 /* 8000BB34 */
8020FAE4 4BDFC000 802103C0 4BDFB724 802111A0 4BDFA944 80210EFC 4BDFABE8 802102E0 4BDFB804 802102E0 4BDFB804 80211230 4BDFA8B4 80210C2C 4BDFAEB8 b -0x002047FC /* 8000BAE4 */
8030AA54 4BD01061 8030BAA4 4BD00011 8030CEF0 4BCFEBC5 8030CCA4 4BCFEE11 8030B414 4BD006A1 8030B458 4BD0065D 8030CE60 4BCFEC55 8030C228 4BCFF88D bl -0x002FF960 /* 8000BAB4 */
8030AAAC 4BD01009 8030BAFC 4BCFFFB9 8030CF48 4BCFEB6D 8030CCFC 4BCFEDB9 8030B46C 4BD00649 8030B4B0 4BD00605 8030CEB8 4BCFEBFD 8030C280 4BCFF835 bl -0x002FF9B8 /* 8000BAB4 */
8046CECC FFFFFFFF 8046FCEC FFFFFFFF 80471E4C FFFFFFFF 80471C14 FFFFFFFF 8046DC5C FFFFFFFF 8046E0DC FFFFFFFF 80471ACC FFFFFFFF 80471804 FFFFFFFF fnmadd. f31, f31, f31, f31
Item Loss Prevention
ItemLossPrevention
*** name=No item loss
*** desc=Don't lose items if\nyou don't log off\nnormally
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
801D33E4 4800004C 801D38EC 4800004C 801D3CC4 4800004C 801D39B8 4800004C 801D381C 4800004C 801D381C 4800004C 801D3A1C 4800004C 801D3ED8 4800004C b +0x0000004C /* 801D3868 */
8020010C 60000000 801FF710 60000000 801FF0FC 60000000 801FF0FC 60000000 801FFA44 60000000 801FF9E0 60000000 nop
802016CC 60000000 80200C9C 60000000 80200658 60000000 80200658 60000000 80200FD0 60000000 80200F3C 60000000 nop
801FD944 38000000 80202860 38000000 802021C4 38000000 802021C4 38000000 80202B94 38000000 80202AA8 38000000 li r0, 0x0000
802C2060 4800004C 802C2F98 4800004C 802C42E4 4800004C 802C3E78 4800004C 802C2A40 4800004C 802C2A84 4800004C 802C402C 4800004C 802C37C0 4800004C b +0x0000004C /* 802C2A8C */
802D0AA0 48000020 802D1A58 48000020 802D2C10 48000020 802D2938 48000020 802D1480 48000020 802D14C4 48000020 802D2AEC 48000020 802D2280 48000020 b +0x00000020 /* 802D14A0 */
"Palette Patch" Part 1
Palette
*** name=Palette
*** desc=Press Z to cycle\nthrough 4 customize\nconfigs instead of of\njust one
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000CD00 3C808000 8000CD00 3C808000 8000CD00 3C808000 8000CD00 3C808000 8000CD00 3C808000 8000CD00 3C808000 8000CD00 3C808000 8000CD00 3C808000 lis r4, 0x8000
8000CD04 6084CF3E 8000CD04 6084CF3E 8000CD04 6084CF3E 8000CD04 6084CF3E 8000CD04 6084CF3E 8000CD04 6084CF3E 8000CD04 6084CF3E 8000CD04 6084CF3E ori r4, r4, 0xCF3E
8000CD08 3BE00000 8000CD08 3BE00000 8000CD08 3BE00000 8000CD08 3BE00000 8000CD08 3BE00000 8000CD08 3BE00000 8000CD08 3BE00000 8000CD08 3BE00000 li r31, 0x0000
8000CD0C A0C4003A 8000CD0C A0C4003A 8000CD0C A0C4003A 8000CD0C A0C4003A 8000CD0C A0C4003A 8000CD0C A0C4003A 8000CD0C A0C4003A 8000CD0C A0C4003A lhz r6, [r4 + 0x003A]
8000CD10 2C060000 8000CD10 2C060000 8000CD10 2C060000 8000CD10 2C060000 8000CD10 2C060000 8000CD10 2C060000 8000CD10 2C060000 8000CD10 2C060000 cmpwi r6, 0
8000CD14 41820074 8000CD14 41820074 8000CD14 41820074 8000CD14 41820074 8000CD14 41820074 8000CD14 41820074 8000CD14 41820074 8000CD14 41820074 beq +0x00000074 /* 8000CD88 */
8000CD18 B3E4003A 8000CD18 B3E4003A 8000CD18 B3E4003A 8000CD18 B3E4003A 8000CD18 B3E4003A 8000CD18 B3E4003A 8000CD18 B3E4003A 8000CD18 B3E4003A sth [r4 + 0x003A], r31
8000CD1C 3C608051 8000CD1C 3C608051 8000CD1C 3C608051 8000CD1C 3C608051 8000CD1C 3C608051 8000CD1C 3C608051 8000CD1C 3C608051 8000CD1C 3C608051 lis r3, 0x8051 NEEDS FIXUP
8000CD20 A003E274 8000CD20 A003E274 8000CD20 A003E274 8000CD20 A003E274 8000CD20 A003E274 8000CD20 A003E274 8000CD20 A003E274 8000CD20 A003E274 lhz r0, [r3 - 0x1D8C]
8000CD24 A0A3E270 8000CD24 A0A3E270 8000CD24 A0A3E270 8000CD24 A0A3E270 8000CD24 A0A3E270 8000CD24 A0A3E270 8000CD24 A0A3E270 8000CD24 A0A3E270 lhz r5, [r3 - 0x1D90]
8000CD28 7CA53038 8000CD28 7CA53038 8000CD28 7CA53038 8000CD28 7CA53038 8000CD28 7CA53038 8000CD28 7CA53038 8000CD28 7CA53038 8000CD28 7CA53038 and r5, r5, r6
8000CD2C 70003C00 8000CD2C 70003C00 8000CD2C 70003C00 8000CD2C 70003C00 8000CD2C 70003C00 8000CD2C 70003C00 8000CD2C 70003C00 8000CD2C 70003C00 andi. r0, r0, 0x3C00
8000CD30 41820058 8000CD30 41820058 8000CD30 41820058 8000CD30 41820058 8000CD30 41820058 8000CD30 41820058 8000CD30 41820058 8000CD30 41820058 beq +0x00000058 /* 8000CD88 */
8000CD34 5403056B 8000CD34 5403056B 8000CD34 5403056B 8000CD34 5403056B 8000CD34 5403056B 8000CD34 5403056B 8000CD34 5403056B 8000CD34 5403056B rlwinm. r3, r0, 0, 21, 21
8000CD38 41820008 8000CD38 41820008 8000CD38 41820008 8000CD38 41820008 8000CD38 41820008 8000CD38 41820008 8000CD38 41820008 8000CD38 41820008 beq +0x00000008 /* 8000CD40 */
8000CD3C 3BC0002A 8000CD3C 3BC0002A 8000CD3C 3BC0002A 8000CD3C 3BC0002A 8000CD3C 3BC0002A 8000CD3C 3BC0002A 8000CD3C 3BC0002A 8000CD3C 3BC0002A li r30, 0x002A
8000CD40 540304A5 8000CD40 540304A5 8000CD40 540304A5 8000CD40 540304A5 8000CD40 540304A5 8000CD40 540304A5 8000CD40 540304A5 8000CD40 540304A5 rlwinm. r3, r0, 0, 18, 18
8000CD44 41820008 8000CD44 41820008 8000CD44 41820008 8000CD44 41820008 8000CD44 41820008 8000CD44 41820008 8000CD44 41820008 8000CD44 41820008 beq +0x00000008 /* 8000CD4C */
8000CD48 3BC0001C 8000CD48 3BC0001C 8000CD48 3BC0001C 8000CD48 3BC0001C 8000CD48 3BC0001C 8000CD48 3BC0001C 8000CD48 3BC0001C 8000CD48 3BC0001C li r30, 0x001C
8000CD4C 54030529 8000CD4C 54030529 8000CD4C 54030529 8000CD4C 54030529 8000CD4C 54030529 8000CD4C 54030529 8000CD4C 54030529 8000CD4C 54030529 rlwinm. r3, r0, 0, 20, 20
8000CD50 41820008 8000CD50 41820008 8000CD50 41820008 8000CD50 41820008 8000CD50 41820008 8000CD50 41820008 8000CD50 41820008 8000CD50 41820008 beq +0x00000008 /* 8000CD58 */
8000CD54 3BC0000E 8000CD54 3BC0000E 8000CD54 3BC0000E 8000CD54 3BC0000E 8000CD54 3BC0000E 8000CD54 3BC0000E 8000CD54 3BC0000E 8000CD54 3BC0000E li r30, 0x000E
8000CD58 7C84F214 8000CD58 7C84F214 8000CD58 7C84F214 8000CD58 7C84F214 8000CD58 7C84F214 8000CD58 7C84F214 8000CD58 7C84F214 8000CD58 7C84F214 add r4, r4, r30
8000CD5C 38000007 8000CD5C 38000007 8000CD5C 38000007 8000CD5C 38000007 8000CD5C 38000007 8000CD5C 38000007 8000CD5C 38000007 8000CD5C 38000007 li r0, 0x0007
8000CD60 7C0903A6 8000CD60 7C0903A6 8000CD60 7C0903A6 8000CD60 7C0903A6 8000CD60 7C0903A6 8000CD60 7C0903A6 8000CD60 7C0903A6 8000CD60 7C0903A6 mtctr r0
8000CD64 387C0504 8000CD64 387C0504 8000CD64 387C0504 8000CD64 387C0504 8000CD64 387C0504 8000CD64 387C0504 8000CD64 387C0504 8000CD64 387C0504 addi r3, r28, 0x0504
8000CD68 2C050003 8000CD68 2C050003 8000CD68 2C050003 8000CD68 2C050003 8000CD68 2C050003 8000CD68 2C050003 8000CD68 2C050003 8000CD68 2C050003 cmpwi r5, 3
8000CD6C 4082000C 8000CD6C 4082000C 8000CD6C 4082000C 8000CD6C 4082000C 8000CD6C 4082000C 8000CD6C 4082000C 8000CD6C 4082000C 8000CD6C 4082000C bne +0x0000000C /* 8000CD78 */
8000CD70 A0030004 8000CD70 A0030004 8000CD70 A0030004 8000CD70 A0030004 8000CD70 A0030004 8000CD70 A0030004 8000CD70 A0030004 8000CD70 A0030004 lhz r0, [r3 + 0x0004]
8000CD74 B0040002 8000CD74 B0040002 8000CD74 B0040002 8000CD74 B0040002 8000CD74 B0040002 8000CD74 B0040002 8000CD74 B0040002 8000CD74 B0040002 sth [r4 + 0x0002], r0
8000CD78 A4040002 8000CD78 A4040002 8000CD78 A4040002 8000CD78 A4040002 8000CD78 A4040002 8000CD78 A4040002 8000CD78 A4040002 8000CD78 A4040002 lhzu r0, [r4 + 0x0002]
8000CD7C B4030004 8000CD7C B4030004 8000CD7C B4030004 8000CD7C B4030004 8000CD7C B4030004 8000CD7C B4030004 8000CD7C B4030004 8000CD7C B4030004 sthu [r3 + 0x0004], r0
8000CD80 4200FFE8 8000CD80 4200FFE8 8000CD80 4200FFE8 8000CD80 4200FFE8 8000CD80 4200FFE8 8000CD80 4200FFE8 8000CD80 4200FFE8 8000CD80 4200FFE8 bdnz -0x00000018 /* 8000CD68 */
8000CD84 3BC00000 8000CD84 3BC00000 8000CD84 3BC00000 8000CD84 3BC00000 8000CD84 3BC00000 8000CD84 3BC00000 8000CD84 3BC00000 8000CD84 3BC00000 li r30, 0x0000
8000CD88 481CAABC 8000CD88 481CAFC4 8000CD88 481CB180 8000CD88 481CB090 8000CD88 481CAEF4 8000CD88 481CAEF4 8000CD88 481CB0F4 8000CD88 481CB5B0 b +0x001CAEF4 /* 801D7C7C */
801D7840 4BE354C0 801D7D48 4BE34FB8 801D7F04 4BE34DFC 801D7E14 4BE34EEC 801D7C78 4BE35088 801D7C78 4BE35088 801D7E78 4BE34E88 801D8334 4BE349CC b -0x001CAF78 /* 8000CD00 */
"Palette Patch" Part 2
Palette
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000CD8C 38600003 8000CD8C 38600003 8000CD8C 38600003 8000CD8C 38600003 8000CD8C 38600003 8000CD8C 38600003 8000CD8C 38600003 8000CD8C 38600003 li r3, 0x0003
8000CD90 3C808001 8000CD90 3C808001 8000CD90 3C808001 8000CD90 3C808001 8000CD90 3C808001 8000CD90 3C808001 8000CD90 3C808001 8000CD90 3C808001 lis r4, 0x8001
8000CD94 B064CF78 8000CD94 B064CF78 8000CD94 B064CF78 8000CD94 B064CF78 8000CD94 B064CF78 8000CD94 B064CF78 8000CD94 B064CF78 8000CD94 B064CF78 sth [r4 - 0x3088], r3
8000CD98 7FC3F378 8000CD98 7FC3F378 8000CD98 7FC3F378 8000CD98 7FC3F378 8000CD98 7FC3F378 8000CD98 7FC3F378 8000CD98 7FC3F378 8000CD98 7FC3F378 mr r3, r30
8000CD9C 48269718 8000CD9C 4826A454 8000CD9C 4826B4C0 8000CD9C 4826B274 8000CD9C 48269FAC 8000CD9C 48269FF0 8000CD9C 4826B428 8000CD9C 4826AC70 b +0x00269FAC /* 80276D48 */
8000CDA0 3D808044 8000CDA0 3D808045 8000CDA0 3D808045 8000CDA0 3D808045 8000CDA0 3D808044 8000CDA0 3D808044 8000CDA0 3D808045 8000CDA0 3D808045 lis r12, 0x8044
8000CDA4 618CD840 8000CDA4 618C0660 8000CDA4 618C27C0 8000CDA4 618C2588 8000CDA4 618CE5D0 8000CDA4 618CEA50 8000CDA4 618C2440 8000CDA4 618C2148 ori r12, r12, 0xE5D0
8000CDA8 80030000 8000CDA8 80030000 8000CDA8 80030000 8000CDA8 80030000 8000CDA8 80030000 8000CDA8 80030000 8000CDA8 80030000 8000CDA8 80030000 lwz r0, [r3]
8000CDAC 7C006000 8000CDAC 7C006000 8000CDAC 7C006000 8000CDAC 7C006000 8000CDAC 7C006000 8000CDAC 7C006000 8000CDAC 7C006000 8000CDAC 7C006000 cmp r0, r12
8000CDB0 A0030004 8000CDB0 A0030004 8000CDB0 A0030004 8000CDB0 A0030004 8000CDB0 A0030004 8000CDB0 A0030004 8000CDB0 A0030004 8000CDB0 A0030004 lhz r0, [r3 + 0x0004]
8000CDB4 40820018 8000CDB4 40820018 8000CDB4 40820018 8000CDB4 40820018 8000CDB4 40820018 8000CDB4 40820018 8000CDB4 40820018 8000CDB4 40820018 bne +0x00000018 /* 8000CDCC */
8000CDB8 2C000000 8000CDB8 2C000000 8000CDB8 2C000000 8000CDB8 2C000000 8000CDB8 2C000000 8000CDB8 2C000000 8000CDB8 2C000000 8000CDB8 2C000000 cmpwi r0, 0
8000CDBC 40820010 8000CDBC 40820010 8000CDBC 40820010 8000CDBC 40820010 8000CDBC 40820010 8000CDBC 40820010 8000CDBC 40820010 8000CDBC 40820010 bne +0x00000010 /* 8000CDCC */
8000CDC0 38600001 8000CDC0 38600001 8000CDC0 38600001 8000CDC0 38600001 8000CDC0 38600001 8000CDC0 38600001 8000CDC0 38600001 8000CDC0 38600001 li r3, 0x0001
8000CDC4 3D808001 8000CDC4 3D808001 8000CDC4 3D808001 8000CDC4 3D808001 8000CDC4 3D808001 8000CDC4 3D808001 8000CDC4 3D808001 8000CDC4 3D808001 lis r12, 0x8001
8000CDC8 B06CCF78 8000CDC8 B06CCF78 8000CDC8 B06CCF78 8000CDC8 B06CCF78 8000CDC8 B06CCF78 8000CDC8 B06CCF78 8000CDC8 B06CCF78 8000CDC8 B06CCF78 sth [r12 - 0x3088], r3
8000CDCC 4823EF48 8000CDCC 4823F994 8000CDCC 482408D4 8000CDCC 48240688 8000CDCC 4823F7D0 8000CDCC 4823F7D0 8000CDCC 4824094C 8000CDCC 48240194 b +0x0023F7D0 /* 8024C59C */
8000CDD0 3C608000 8000CDD0 3C608000 8000CDD0 3C608000 8000CDD0 3C608000 8000CDD0 3C608000 8000CDD0 3C608000 8000CDD0 3C608000 8000CDD0 3C608000 lis r3, 0x8000
8000CDD4 6063CF3E 8000CDD4 6063CF3E 8000CDD4 6063CF3E 8000CDD4 6063CF3E 8000CDD4 6063CF3E 8000CDD4 6063CF3E 8000CDD4 6063CF3E 8000CDD4 6063CF3E ori r3, r3, 0xCF3E
8000CDD8 3800001C 8000CDD8 3800001C 8000CDD8 3800001C 8000CDD8 3800001C 8000CDD8 3800001C 8000CDD8 3800001C 8000CDD8 3800001C 8000CDD8 3800001C li r0, 0x001C
8000CDDC 7C0903A6 8000CDDC 7C0903A6 8000CDDC 7C0903A6 8000CDDC 7C0903A6 8000CDDC 7C0903A6 8000CDDC 7C0903A6 8000CDDC 7C0903A6 8000CDDC 7C0903A6 mtctr r0
8000CDE0 38000000 8000CDE0 38000000 8000CDE0 38000000 8000CDE0 38000000 8000CDE0 38000000 8000CDE0 38000000 8000CDE0 38000000 8000CDE0 38000000 li r0, 0x0000
8000CDE4 B4030002 8000CDE4 B4030002 8000CDE4 B4030002 8000CDE4 B4030002 8000CDE4 B4030002 8000CDE4 B4030002 8000CDE4 B4030002 8000CDE4 B4030002 sthu [r3 + 0x0002], r0
8000CDE8 4200FFFC 8000CDE8 4200FFFC 8000CDE8 4200FFFC 8000CDE8 4200FFFC 8000CDE8 4200FFFC 8000CDE8 4200FFFC 8000CDE8 4200FFFC 8000CDE8 4200FFFC bdnz -0x00000004 /* 8000CDE4 */
8000CDEC 48328F74 8000CDEC 48329FF0 8000CDEC 4832B50C 8000CDEC 4832B2C0 8000CDEC 48329974 8000CDEC 483299B8 8000CDEC 4832B494 8000CDEC 4832A8D8 b +0x00329974 /* 80336760 */
80246BA8 A01F004A 80247568 A01F004A 802484A8 A01F004A 8024825C A01F004A 802473F4 A01F004A 802473F4 A01F004A 80248520 A01F004A 80247D68 A01F004A lhz r0, [r31 + 0x004A]
80246BAC 54030637 8024756C 54030637 802484AC 54030637 80248260 54030637 802473F8 54030637 802473F8 54030637 80248524 54030637 80247D6C 54030637 rlwinm. r3, r0, 0, 24, 27
8024BD10 4BDC1090 8024C75C 4BDC0644 8024D69C 4BDBF704 8024D450 4BDBF950 8024C598 4BDC0808 8024C598 4BDC0808 8024D714 4BDBF68C 8024CF5C 4BDBFE44 b -0x0023F7F8 /* 8000CDA0 */
802764B0 4BD968DC 802771EC 4BD95BA0 80278258 4BD94B34 8027800C 4BD94D80 80276D44 4BD96048 80276D88 4BD96004 802781C0 4BD94BCC 80277A08 4BD95384 b -0x00269FB8 /* 8000CD8C */
80276510 A01F004A 8027724C A01F004A 802782B8 A01F004A 8027806C A01F004A 80276DA4 A01F004A 80276DE8 A01F004A 80278220 A01F004A 80277A68 A01F004A lhz r0, [r31 + 0x004A]
80276514 54030637 80277250 54030637 802782BC 54030637 80278070 54030637 80276DA8 54030637 80276DEC 54030637 80278224 54030637 80277A6C 54030637 rlwinm. r3, r0, 0, 24, 27
80335D5C 4BCD7074 80336DD8 4BCD5FF8 803382F4 4BCD4ADC 803380A8 4BCD4D28 8033675C 4BCD6674 803367A0 4BCD6630 8033827C 4BCD4B54 803376C0 4BCD5710 b -0x0032998C /* 8000CDD0 */
"Palette Patch" Part 3 (this part adds PBs to the customize list)
Palette
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000CA40 28030000 8000CA40 28030000 8000CA40 28030000 8000CA40 28030000 8000CA40 28030000 8000CA40 28030000 8000CA40 28030000 8000CA40 28030000 cmplwi r3, 0
8000CA44 40820008 8000CA44 40820008 8000CA44 40820008 8000CA44 40820008 8000CA44 40820008 8000CA44 40820008 8000CA44 40820008 8000CA44 40820008 bne +0x00000008 /* 8000CA4C */
8000CA48 3BE00000 8000CA48 3BE00000 8000CA48 3BE00000 8000CA48 3BE00000 8000CA48 3BE00000 8000CA48 3BE00000 8000CA48 3BE00000 8000CA48 3BE00000 li r31, 0x0000
8000CA4C 7C00F800 8000CA4C 7C00F800 8000CA4C 7C00F800 8000CA4C 7C00F800 8000CA4C 7C00F800 8000CA4C 7C00F800 8000CA4C 7C00F800 8000CA4C 7C00F800 cmp r0, r31
8000CA50 481CB3AC 8000CA50 481CB8B4 8000CA50 481CBA70 8000CA50 481CB980 8000CA50 481CB7E4 8000CA50 481CB7E4 8000CA50 481CB9E4 8000CA50 481CBEA0 b +0x001CB7E4 /* 801D8234 */
8000CA54 38000003 8000CA54 38000003 8000CA54 38000003 8000CA54 38000003 8000CA54 38000003 8000CA54 38000003 8000CA54 38000003 8000CA54 38000003 li r0, 0x0003
8000CA58 7C0903A6 8000CA58 7C0903A6 8000CA58 7C0903A6 8000CA58 7C0903A6 8000CA58 7C0903A6 8000CA58 7C0903A6 8000CA58 7C0903A6 8000CA58 7C0903A6 mtctr r0
8000CA5C 63C40500 8000CA5C 63C40500 8000CA5C 63C40500 8000CA5C 63C40500 8000CA5C 63C40500 8000CA5C 63C40500 8000CA5C 63C40500 8000CA5C 63C40500 ori r4, r30, 0x0500
8000CA60 38BF0538 8000CA60 38BF0538 8000CA60 38BF0538 8000CA60 38BF0538 8000CA60 38BF0538 8000CA60 38BF0538 8000CA60 38BF0538 8000CA60 38BF0538 addi r5, r31, 0x0538
8000CA64 A4050004 8000CA64 A4050004 8000CA64 A4050004 8000CA64 A4050004 8000CA64 A4050004 8000CA64 A4050004 8000CA64 A4050004 8000CA64 A4050004 lhzu r0, [r5 + 0x0004]
8000CA68 7C040000 8000CA68 7C040000 8000CA68 7C040000 8000CA68 7C040000 8000CA68 7C040000 8000CA68 7C040000 8000CA68 7C040000 8000CA68 7C040000 cmp r4, r0
8000CA6C 4182000C 8000CA6C 4182000C 8000CA6C 4182000C 8000CA6C 4182000C 8000CA6C 4182000C 8000CA6C 4182000C 8000CA6C 4182000C 8000CA6C 4182000C beq +0x0000000C /* 8000CA78 */
8000CA70 4200FFF4 8000CA70 4200FFF4 8000CA70 4200FFF4 8000CA70 4200FFF4 8000CA70 4200FFF4 8000CA70 4200FFF4 8000CA70 4200FFF4 8000CA70 4200FFF4 bdnz -0x0000000C /* 8000CA64 */
8000CA74 38600000 8000CA74 38600000 8000CA74 38600000 8000CA74 38600000 8000CA74 38600000 8000CA74 38600000 8000CA74 38600000 8000CA74 38600000 li r3, 0x0000
8000CA78 2C030000 8000CA78 2C030000 8000CA78 2C030000 8000CA78 2C030000 8000CA78 2C030000 8000CA78 2C030000 8000CA78 2C030000 8000CA78 2C030000 cmpwi r3, 0
8000CA7C 481BF1A4 8000CA7C 481BF690 8000CA7C 481C0B84 8000CA7C 481BF75C 8000CA7C 481BF5C0 8000CA7C 481BF5C0 8000CA7C 481BF7C0 8000CA7C 481BFC7C b +0x001BF5C0 /* 801CC03C */
801CBC1C 4BE40E38 801CC108 4BE4094C 801CD5FC 4BE3F458 801CC1D4 4BE40880 801CC038 4BE40A1C 801CC038 4BE40A1C 801CC238 4BE4081C 801CC6F4 4BE40360 b -0x001BF5E4 /* 8000CA54 */
801D7DF8 4BE34C48 801D8300 4BE34740 801D84BC 4BE34584 801D83CC 4BE34674 801D8230 4BE34810 801D8230 4BE34810 801D8430 4BE34610 801D88EC 4BE34154 b -0x001CB7F0 /* 8000CA40 */
80275E64 3803BAA0 80276BA0 3803BAA0 80277C0C 3803BAA0 802779C0 3803BAA0 802766F8 3803BAA0 8027673C 3803BAA0 80277B74 3803BAA0 802773BC 3803BAA0 subi r0, r3, 0x4560
8044ADAC 0004000D 8044DBCC 0004000D 8044FC34 0004000D 8044F9FC 0004000D 8044BB3C 0004000D 8044BFBC 0004000D 8044F8B4 0004000D 8044F6B4 0004000D .invalid
8044ADB0 0004000E 8044DBD0 0004000E 8044FC38 0004000E 8044FA00 0004000E 8044BB40 0004000E 8044BFC0 0004000E 8044F8B8 0004000E 8044F6B8 0004000E .invalid
8044ADB4 00000000 8044DBD4 00000000 8044FC3C 00000000 8044FA04 00000000 8044BB44 00000000 8044BFC4 00000000 8044F8BC 00000000 8044F6BC 00000000 .invalid
8044ADB8 0004000F 8044DBD8 0004000F 8044FC40 0004000F 8044FA08 0004000F 8044BB48 0004000F 8044BFC8 0004000F 8044F8C0 0004000F 8044F6C0 0004000F .invalid
8044ADBC 00040010 8044DBDC 00040010 8044FC44 00040010 8044FA0C 00040010 8044BB4C 00040010 8044BFCC 00040010 8044F8C4 00040010 8044F6C4 00040010 .invalid
8044ADC0 00000000 8044DBE0 00000000 8044FC48 00000000 8044FA10 00000000 8044BB50 00000000 8044BFD0 00000000 8044F8C8 00000000 8044F6C8 00000000 .invalid
8044ADDC 00080000 8044DBFC 00080000 8044FC64 00080000 8044FA2C 00080000 8044BB6C 00080000 8044BFEC 00080000 8044F8E4 00080000 8044F6E4 00080000 .invalid
8044ADC4 00050000 8044DBE4 00050000 8044FC4C 00050000 8044FA14 00050000 8044BB54 00050000 8044BFD4 00050000 8044F8CC 00050000 8044F6CC 00050000 .invalid
8044ADC8 00050001 8044DBE8 00050001 8044FC50 00050001 8044FA18 00050001 8044BB58 00050001 8044BFD8 00050001 8044F8D0 00050001 8044F6D0 00050001 .invalid
8044ADCC 00050002 8044DBEC 00050002 8044FC54 00050002 8044FA1C 00050002 8044BB5C 00050002 8044BFDC 00050002 8044F8D4 00050002 8044F6D4 00050002 .invalid
8044ADD0 00050003 8044DBF0 00050003 8044FC58 00050003 8044FA20 00050003 8044BB60 00050003 8044BFE0 00050003 8044F8D8 00050003 8044F6D8 00050003 .invalid
8044ADD4 00050004 8044DBF4 00050004 8044FC5C 00050004 8044FA24 00050004 8044BB64 00050004 8044BFE4 00050004 8044F8DC 00050004 8044F6DC 00050004 .invalid
8044ADD8 00050005 8044DBF8 00050005 8044FC60 00050005 8044FA28 00050005 8044BB68 00050005 8044BFE8 00050005 8044F8E0 00050005 8044F6E0 00050005 .invalid
"Palette Patch" Part 4 (this disables PBs from overtaking the back palette)
Palette
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
801B55F8 38600000 801B5A4C 38600000 801B7BB8 38600000 801B5B18 38600000 801B59E4 38600000 801B59E4 38600000 801B5B7C 38600000 801B6038 38600000 li r3, 0x0000
"Palette Patch" Part 5 (saves palettes to temp slot 3)
Palette
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000B958 906DB93C 8000B958 906DB944 8000B958 906DB964 8000B958 906DB964 8000B958 906DB954 8000B958 906DB954 8000B958 906DB974 8000B958 906DB9B4 stw [r13 - 0x46AC], r3
8000B95C 1C63003C 8000B95C 1C63003C 8000B95C 1C63003C 8000B95C 1C63003C 8000B95C 1C63003C 8000B95C 1C63003C 8000B95C 1C63003C 8000B95C 1C63003C mulli r3, r3, 60
8000B960 808DB920 8000B960 808DB928 8000B960 808DB948 8000B960 808DB948 8000B960 808DB938 8000B960 808DB938 8000B960 808DB958 8000B960 808DB998 lwz r4, [r13 - 0x46C8]
8000B964 3C840001 8000B964 3C840001 8000B964 3C840001 8000B964 3C840001 8000B964 3C840001 8000B964 3C840001 8000B964 3C840001 8000B964 3C840001 addis r4, r4, 0x0001
8000B968 38840B80 8000B968 38840B80 8000B968 38840B80 8000B968 38840B80 8000B968 38840B80 8000B968 38840B80 8000B968 38840B80 8000B968 38840B80 addi r4, r4, 0x0B80
8000B96C 7C841A14 8000B96C 7C841A14 8000B96C 7C841A14 8000B96C 7C841A14 8000B96C 7C841A14 8000B96C 7C841A14 8000B96C 7C841A14 8000B96C 7C841A14 add r4, r4, r3
8000B970 3C608000 8000B970 3C608000 8000B970 3C608000 8000B970 3C608000 8000B970 3C608000 8000B970 3C608000 8000B970 3C608000 8000B970 3C608000 lis r3, 0x8000
8000B974 6063CF40 8000B974 6063CF40 8000B974 6063CF40 8000B974 6063CF40 8000B974 6063CF40 8000B974 6063CF40 8000B974 6063CF40 8000B974 6063CF40 ori r3, r3, 0xCF40
8000B978 38A0003C 8000B978 38A0003C 8000B978 38A0003C 8000B978 38A0003C 8000B978 38A0003C 8000B978 38A0003C 8000B978 38A0003C 8000B978 38A0003C li r5, 0x003C
8000B97C 48002AA1 8000B97C 48002AA1 8000B97C 48002AA1 8000B97C 48002AA1 8000B97C 48002AA1 8000B97C 48002AA1 8000B97C 48002AA1 8000B97C 48002AA1 bl +0x00002AA0 /* 8000E41C */
8000B980 481F02F8 8000B980 481F0A04 8000B980 481F18EC 8000B980 481F0F70 8000B980 481F095C 8000B980 481F095C 8000B980 481F11DC 8000B980 481F10D8 b +0x001F095C /* 801FC2DC */
8000B984 806DB93C 8000B984 806DB944 8000B984 806DB964 8000B984 806DB964 8000B984 806DB954 8000B984 806DB954 8000B984 806DB974 8000B984 806DB9B4 lwz r3, [r13 - 0x46AC]
8000B988 1C63003C 8000B988 1C63003C 8000B988 1C63003C 8000B988 1C63003C 8000B988 1C63003C 8000B988 1C63003C 8000B988 1C63003C 8000B988 1C63003C mulli r3, r3, 60
8000B98C 808DB920 8000B98C 808DB928 8000B98C 808DB948 8000B98C 808DB948 8000B98C 808DB938 8000B98C 808DB938 8000B98C 808DB958 8000B98C 808DB998 lwz r4, [r13 - 0x46C8]
8000B990 3C840001 8000B990 3C840001 8000B990 3C840001 8000B990 3C840001 8000B990 3C840001 8000B990 3C840001 8000B990 3C840001 8000B990 3C840001 addis r4, r4, 0x0001
8000B994 38840B80 8000B994 38840B80 8000B994 38840B80 8000B994 38840B80 8000B994 38840B80 8000B994 38840B80 8000B994 38840B80 8000B994 38840B80 addi r4, r4, 0x0B80
8000B998 7C641A14 8000B998 7C641A14 8000B998 7C641A14 8000B998 7C641A14 8000B998 7C641A14 8000B998 7C641A14 8000B998 7C641A14 8000B998 7C641A14 add r3, r4, r3
8000B99C 3C808000 8000B99C 3C808000 8000B99C 3C808000 8000B99C 3C808000 8000B99C 3C808000 8000B99C 3C808000 8000B99C 3C808000 8000B99C 3C808000 lis r4, 0x8000
8000B9A0 6084CF40 8000B9A0 6084CF40 8000B9A0 6084CF40 8000B9A0 6084CF40 8000B9A0 6084CF40 8000B9A0 6084CF40 8000B9A0 6084CF40 8000B9A0 6084CF40 ori r4, r4, 0xCF40
8000B9A4 38A0003C 8000B9A4 38A0003C 8000B9A4 38A0003C 8000B9A4 38A0003C 8000B9A4 38A0003C 8000B9A4 38A0003C 8000B9A4 38A0003C 8000B9A4 38A0003C li r5, 0x003C
8000B9A8 48002A75 8000B9A8 48002A75 8000B9A8 48002A75 8000B9A8 48002A75 8000B9A8 48002A75 8000B9A8 48002A75 8000B9A8 48002A75 8000B9A8 48002A75 bl +0x00002A74 /* 8000E41C */
8000B9AC 806DB920 8000B9AC 806DB928 8000B9AC 806DB948 8000B9AC 806DB948 8000B9AC 806DB938 8000B9AC 806DB938 8000B9AC 806DB958 8000B9AC 806DB998 lwz r3, [r13 - 0x46C8]
8000B9B0 481F3970 8000B9B0 481F41E4 8000B9B0 481F51E0 8000B9B0 481F47B0 8000B9B0 481F416C 8000B9B0 481F416C 8000B9B0 481F4AE4 8000B9B0 481F4A50 b +0x001F416C /* 801FFB1C */
8000B9B4 806DB93C 8000B9B4 806DB944 8000B9B4 806DB964 8000B9B4 806DB964 8000B9B4 806DB954 8000B9B4 806DB954 8000B9B4 806DB974 8000B9B4 806DB9B4 lwz r3, [r13 - 0x46AC]
8000B9B8 1C63003C 8000B9B8 1C63003C 8000B9B8 1C63003C 8000B9B8 1C63003C 8000B9B8 1C63003C 8000B9B8 1C63003C 8000B9B8 1C63003C 8000B9B8 1C63003C mulli r3, r3, 60
8000B9BC 808DB920 8000B9BC 808DB928 8000B9BC 808DB948 8000B9BC 808DB948 8000B9BC 808DB938 8000B9BC 808DB938 8000B9BC 808DB958 8000B9BC 808DB998 lwz r4, [r13 - 0x46C8]
8000B9C0 3C840001 8000B9C0 3C840001 8000B9C0 3C840001 8000B9C0 3C840001 8000B9C0 3C840001 8000B9C0 3C840001 8000B9C0 3C840001 8000B9C0 3C840001 addis r4, r4, 0x0001
8000B9C4 38840B80 8000B9C4 38840B80 8000B9C4 38840B80 8000B9C4 38840B80 8000B9C4 38840B80 8000B9C4 38840B80 8000B9C4 38840B80 8000B9C4 38840B80 addi r4, r4, 0x0B80
8000B9C8 7C641A14 8000B9C8 7C641A14 8000B9C8 7C641A14 8000B9C8 7C641A14 8000B9C8 7C641A14 8000B9C8 7C641A14 8000B9C8 7C641A14 8000B9C8 7C641A14 add r3, r4, r3
8000B9CC 38800000 8000B9CC 38800000 8000B9CC 38800000 8000B9CC 38800000 8000B9CC 38800000 8000B9CC 38800000 8000B9CC 38800000 8000B9CC 38800000 li r4, 0x0000
8000B9D0 38A0003C 8000B9D0 38A0003C 8000B9D0 38A0003C 8000B9D0 38A0003C 8000B9D0 38A0003C 8000B9D0 38A0003C 8000B9D0 38A0003C 8000B9D0 38A0003C li r5, 0x003C
8000B9D4 48002961 8000B9D4 48002961 8000B9D4 48002961 8000B9D4 48002961 8000B9D4 48002961 8000B9D4 48002961 8000B9D4 48002961 8000B9D4 48002961 bl +0x00002960 /* 8000E334 */
8000B9D8 48003F71 8000B9D8 48003F75 8000B9D8 48003F75 8000B9D8 48003F25 8000B9D8 48003F71 8000B9D8 48003F71 8000B9D8 48003F25 8000B9D8 48003F99 bl +0x00003F70 /* 8000F948 */
8000B9DC 481F2E5C 8000B9DC 481F36D0 8000B9DC 481F4668 8000B9DC 481F3C6C 8000B9DC 481F3658 8000B9DC 481F3658 8000B9DC 481F3FA0 8000B9DC 481F3F3C b +0x001F3658 /* 801FF034 */
801FBC74 4BE0FCE4 801FC380 4BE0F5D8 801FD268 4BE0E6F0 801FC8EC 4BE0F06C 801FC2D8 4BE0F680 801FC2D8 4BE0F680 801FCB58 4BE0EE00 801FCA54 4BE0EF04 b -0x001F0980 /* 8000B958 */
801FE834 4BE0D180 801FF0A8 4BE0C90C 80200040 4BE0B974 801FF644 4BE0C370 801FF030 4BE0C984 801FF030 4BE0C984 801FF978 4BE0C03C 801FF914 4BE0C0A0 b -0x001F367C /* 8000B9B4 */
801FF31C 4BE0C668 801FFB90 4BE0BDF4 80200B8C 4BE0ADF8 8020015C 4BE0B828 801FFB18 4BE0BE6C 801FFB18 4BE0BE6C 80200490 4BE0B4F4 802003FC 4BE0B588 b -0x001F4194 /* 8000B984 */
8046CECC FFFFFFFF 8046FCEC FFFFFFFF 80471E4C FFFFFFFF 80471C14 FFFFFFFF 8046DC5C FFFFFFFF 8046E0DC FFFFFFFF 80471ACC FFFFFFFF 80471804 FFFFFFFF fnmadd. f31, f31, f31, f31
Decoction Patch (makes the Decoction item wipe non-HP/TP materials)
Decoction
*** name=Decoction
*** desc=Make the Decoction\nitem reset your\nmaterial usage
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80350740 880300EE 80351B44 880300EE 803530A0 880300EE 80352E54 880300EE 803515F4 880300EE 80351638 880300EE 80353220 880300EE 80352614 880300EE lbz r0, [r3 + 0x00EE]
80350744 2800000B 80351B48 2800000B 803530A4 2800000B 80352E58 2800000B 803515F8 2800000B 8035163C 2800000B 80353224 2800000B 80352618 2800000B cmplwi r0, 11
80350748 40820144 80351B4C 40820144 803530A8 40820144 80352E5C 40820144 803515FC 40820144 80351640 40820144 80353228 40820144 8035261C 40820144 bne +0x00000144 /* 80351740 */
8035074C 83E300F0 80351B50 83E300F0 803530AC 83E300F0 80352E60 83E300F0 80351600 83E300F0 80351644 83E300F0 8035322C 83E300F0 80352620 83E300F0 lwz r31, [r3 + 0x00F0]
80350750 38000000 80351B54 38000000 803530B0 38000000 80352E64 38000000 80351604 38000000 80351648 38000000 80353230 38000000 80352624 38000000 li r0, 0x0000
80350754 60000000 80351B58 60000000 803530B4 60000000 80352E68 60000000 80351608 60000000 8035164C 60000000 80353234 60000000 80352628 60000000 nop
80350758 38800374 80351B5C 38800374 803530B8 38800374 80352E6C 38800374 8035160C 38800374 80351650 38800374 80353238 38800374 8035262C 38800374 li r4, 0x0374
8035075C 38A00D38 80351B60 38A00D38 803530BC 38A00D38 80352E70 38A00D38 80351610 38A00D38 80351654 38A00D38 8035323C 38A00D38 80352630 38A00D38 li r5, 0x0D38
80350760 48000059 80351B64 48000059 803530C0 48000059 80352E74 48000059 80351614 48000059 80351658 48000059 80353240 48000059 80352634 48000059 bl +0x00000058 /* 8035166C */
80350764 38A00D3A 80351B68 38A00D3A 803530C4 38A00D3A 80352E78 38A00D3A 80351618 38A00D3A 8035165C 38A00D3A 80353244 38A00D3A 80352638 38A00D3A li r5, 0x0D3A
80350768 48000051 80351B6C 48000051 803530C8 48000051 80352E7C 48000051 8035161C 48000051 80351660 48000051 80353248 48000051 8035263C 48000051 bl +0x00000050 /* 8035166C */
8035076C 38A00D3C 80351B70 38A00D3C 803530CC 38A00D3C 80352E80 38A00D3C 80351620 38A00D3C 80351664 38A00D3C 8035324C 38A00D3C 80352640 38A00D3C li r5, 0x0D3C
80350770 48000049 80351B74 48000049 803530D0 48000049 80352E84 48000049 80351624 48000049 80351668 48000049 80353250 48000049 80352644 48000049 bl +0x00000048 /* 8035166C */
80350774 38A00D40 80351B78 38A00D40 803530D4 38A00D40 80352E88 38A00D40 80351628 38A00D40 8035166C 38A00D40 80353254 38A00D40 80352648 38A00D40 li r5, 0x0D40
80350778 48000041 80351B7C 48000041 803530D8 48000041 80352E8C 48000041 8035162C 48000041 80351670 48000041 80353258 48000041 8035264C 48000041 bl +0x00000040 /* 8035166C */
8035077C 38A00D44 80351B80 38A00D44 803530DC 38A00D44 80352E90 38A00D44 80351630 38A00D44 80351674 38A00D44 8035325C 38A00D44 80352650 38A00D44 li r5, 0x0D44
80350780 48000039 80351B84 48000039 803530E0 48000039 80352E94 48000039 80351634 48000039 80351678 48000039 80353260 48000039 80352654 48000039 bl +0x00000038 /* 8035166C */
80350784 7FE3FB78 80351B88 7FE3FB78 803530E4 7FE3FB78 80352E98 7FE3FB78 80351638 7FE3FB78 8035167C 7FE3FB78 80353264 7FE3FB78 80352658 7FE3FB78 mr r3, r31
80350788 4BE656A1 80351B8C 4BE646F1 803530E8 4BE654CD 80352E9C 4BE634AD 8035163C 4BE64BD9 80351680 4BE64B95 80353268 4BE63145 8035265C 4BE6420D bl -0x0019B428 /* 801B6214 */
8035078C A01F032C 80351B90 A01F032C 803530EC A01F032C 80352EA0 A01F032C 80351640 A01F032C 80351684 A01F032C 8035326C A01F032C 80352660 A01F032C lhz r0, [r31 + 0x032C]
80350790 A07F02B8 80351B94 A07F02B8 803530F0 A07F02B8 80352EA4 A07F02B8 80351644 A07F02B8 80351688 A07F02B8 80353270 A07F02B8 80352664 A07F02B8 lhz r3, [r31 + 0x02B8]
80350794 7C001840 80351B98 7C001840 803530F4 7C001840 80352EA8 7C001840 80351648 7C001840 8035168C 7C001840 80353274 7C001840 80352668 7C001840 cmpl r0, r3
80350798 40810008 80351B9C 40810008 803530F8 40810008 80352EAC 40810008 8035164C 40810008 80351690 40810008 80353278 40810008 8035266C 40810008 ble +0x00000008 /* 80351654 */
8035079C B07F032C 80351BA0 B07F032C 803530FC B07F032C 80352EB0 B07F032C 80351650 B07F032C 80351694 B07F032C 8035327C B07F032C 80352670 B07F032C sth [r31 + 0x032C], r3
803507A0 A01F032E 80351BA4 A01F032E 80353100 A01F032E 80352EB4 A01F032E 80351654 A01F032E 80351698 A01F032E 80353280 A01F032E 80352674 A01F032E lhz r0, [r31 + 0x032E]
803507A4 A07F02BA 80351BA8 A07F02BA 80353104 A07F02BA 80352EB8 A07F02BA 80351658 A07F02BA 8035169C A07F02BA 80353284 A07F02BA 80352678 A07F02BA lhz r3, [r31 + 0x02BA]
803507A8 7C001840 80351BAC 7C001840 80353108 7C001840 80352EBC 7C001840 8035165C 7C001840 803516A0 7C001840 80353288 7C001840 8035267C 7C001840 cmpl r0, r3
803507AC 40810008 80351BB0 40810008 8035310C 40810008 80352EC0 40810008 80351660 40810008 803516A4 40810008 8035328C 40810008 80352680 40810008 ble +0x00000008 /* 80351668 */
803507B0 B07F032E 80351BB4 B07F032E 80353110 B07F032E 80352EC4 B07F032E 80351664 B07F032E 803516A8 B07F032E 80353290 B07F032E 80352684 B07F032E sth [r31 + 0x032E], r3
803507B4 480000D8 80351BB8 480000D8 80353114 480000D8 80352EC8 480000D8 80351668 480000D8 803516AC 480000D8 80353294 480000D8 80352688 480000D8 b +0x000000D8 /* 80351740 */
803507B8 7CDF20AE 80351BBC 7CDF20AE 80353118 7CDF20AE 80352ECC 7CDF20AE 8035166C 7CDF20AE 803516B0 7CDF20AE 80353298 7CDF20AE 8035268C 7CDF20AE lbzx r6, [r31 + r4]
803507BC 7CFF2A2E 80351BC0 7CFF2A2E 8035311C 7CFF2A2E 80352ED0 7CFF2A2E 80351670 7CFF2A2E 803516B4 7CFF2A2E 8035329C 7CFF2A2E 80352690 7CFF2A2E lhzx r7, [r31 + r5]
803507C0 54C6083C 80351BC4 54C6083C 80353120 54C6083C 80352ED4 54C6083C 80351674 54C6083C 803516B8 54C6083C 803532A0 54C6083C 80352694 54C6083C rlwinm r6, r6, 1, 0, 30
803507C4 7CE63850 80351BC8 7CE63850 80353124 7CE63850 80352ED8 7CE63850 80351678 7CE63850 803516BC 7CE63850 803532A4 7CE63850 80352698 7CE63850 subf r7, r6, r7
803507C8 7CFF2B2E 80351BCC 7CFF2B2E 80353128 7CFF2B2E 80352EDC 7CFF2B2E 8035167C 7CFF2B2E 803516C0 7CFF2B2E 803532A8 7CFF2B2E 8035269C 7CFF2B2E sthx [r31 + r5], r7
803507CC 7C1F21AE 80351BD0 7C1F21AE 8035312C 7C1F21AE 80352EE0 7C1F21AE 80351680 7C1F21AE 803516C4 7C1F21AE 803532AC 7C1F21AE 803526A0 7C1F21AE stbx [r31 + r4], r0
803507D0 38840001 80351BD4 38840001 80353130 38840001 80352EE4 38840001 80351684 38840001 803516C8 38840001 803532B0 38840001 803526A4 38840001 addi r4, r4, 0x0001
803507D4 4E800020 80351BD8 4E800020 80353134 4E800020 80352EE8 4E800020 80351688 4E800020 803516CC 4E800020 803532B4 4E800020 803526A8 4E800020 blr
"Movement Patch" Part 1 (allows players to move when near objects)
Movement
*** name=Movement
*** desc=Allow backsteps and\nmovement when\nenemies are\nnearby
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
801CF69C 48000014 801CFBB0 48000014 801D1CEC 48000014 801CFC7C 48000014 801CFAE0 48000014 801CFAE0 48000014 801CFCE0 48000014 801D019C 48000014 b +0x00000014 /* 801CFAF4 */
"Movement Patch" Part 2 (restores backstep functionality on certain movements)
Movement
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
801CE7AC 4800000C 801CECC0 4800000C 801D0D10 4800000C 801CED8C 4800000C 801CEBF0 4800000C 801CEBF0 4800000C 801CEDF0 4800000C 801CF2AC 4800000C b +0x0000000C /* 801CEBFC */
Olga Flow Barta Bug Fix (makes barta work on ice weakness Olga Flow instead of damaging player)
BugFixes
*** name=Bug fixes
*** desc=Fix many minor\ngameplay, sound,\nand graphical bugs
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000D980 807C0000 8000D980 807C0000 8000D980 807C0000 8000D980 807C0000 8000D980 807C0000 8000D980 807C0000 8000D980 807C0000 8000D980 807C0000 lwz r3, [r28]
8000D984 2C030013 8000D984 2C030013 8000D984 2C030013 8000D984 2C030013 8000D984 2C030013 8000D984 2C030013 8000D984 2C030013 8000D984 2C030013 cmpwi r3, 19
8000D988 40820008 8000D988 40820008 8000D988 40820008 8000D988 40820008 8000D988 40820008 8000D988 40820008 8000D988 40820008 8000D988 40820008 bne +0x00000008 /* 8000D990 */
8000D98C 38600002 8000D98C 38600002 8000D98C 38600002 8000D98C 38600002 8000D98C 38600002 8000D98C 38600002 8000D98C 38600002 8000D98C 38600002 li r3, 0x0002
8000D990 482ADB24 8000D990 482AEA54 8000D990 482AFB9C 8000D990 482AF934 8000D990 482AE568 8000D990 482AE5AC 8000D990 482AFAE8 8000D990 482AF27C b +0x002AE568 /* 802BBEF8 */
802BB4B0 4BD524D0 802BC3E0 4BD515A0 802BD528 4BD50458 802BD2C0 4BD506C0 802BBEF4 4BD51A8C 802BBF38 4BD51A48 802BD474 4BD5050C 802BCC08 4BD50D78 b -0x002AE574 /* 8000D980 */
Morfos Frozen Player Bug Fix (stops Morfos Laser multi-hitting when player is frozen)
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000D9A0 C042FC78 8000D9A0 C042FC80 8000D9A0 C042FC80 8000D9A0 C042FC80 8000D9A0 C042FC88 8000D9A0 C042FC88 8000D9A0 C042FC88 8000D9A0 C042FC88 lfs f2, [r2 - 0x0378]
8000D9A4 807E0030 8000D9A4 807E0030 8000D9A4 807E0030 8000D9A4 807E0030 8000D9A4 807E0030 8000D9A4 807E0030 8000D9A4 807E0030 8000D9A4 807E0030 lwz r3, [r30 + 0x0030]
8000D9A8 70630020 8000D9A8 70630020 8000D9A8 70630020 8000D9A8 70630020 8000D9A8 70630020 8000D9A8 70630020 8000D9A8 70630020 8000D9A8 70630020 andi. r3, r3, 0x0020
8000D9AC 41820008 8000D9AC 41820008 8000D9AC 41820008 8000D9AC 41820008 8000D9AC 41820008 8000D9AC 41820008 8000D9AC 41820008 8000D9AC 41820008 beq +0x00000008 /* 8000D9B4 */
8000D9B0 C042FC90 8000D9B0 C042FC98 8000D9B0 C042FC98 8000D9B0 C042FC98 8000D9B0 C042FCA0 8000D9B0 C042FCA0 8000D9B0 C042FCA0 8000D9B0 C042FCA0 lfs f2, [r2 - 0x0360]
8000D9B4 483276B0 8000D9B4 4832871C 8000D9B4 48329C38 8000D9B4 483299EC 8000D9B4 483280A0 8000D9B4 483280E4 8000D9B4 48329BC0 8000D9B4 48329004 b +0x003280A0 /* 80335A54 */
80335060 4BCD8940 803360CC 4BCD78D4 803375E8 4BCD63B8 8033739C 4BCD6604 80335A50 4BCD7F50 80335A94 4BCD7F0C 80337570 4BCD6430 803369B4 4BCD6FEC b -0x003280B0 /* 8000D9A0 */
Tiny Grass Assassins Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
800BC750 48000010 800BCA58 48000010 800BCBD0 48000010 800BCB80 48000010 800BC9E8 48000010 800BC9E8 48000010 800BCB90 48000010 800BCB58 48000010 b +0x00000010 /* 800BC9F8 */
Bulclaw HP Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80091528 4800024D 80091814 4800024D 8009198C 4800024D 8009193C 4800024D 800917B4 4800024D 800917B4 4800024D 8009194C 4800024D 80091914 4800024D bl +0x0000024C /* 80091A00 */
8009152C B3C3032C 80091818 B3C3032C 80091990 B3C3032C 80091940 B3C3032C 800917B8 B3C3032C 800917B8 B3C3032C 80091950 B3C3032C 80091918 B3C3032C sth [r3 + 0x032C], r30
Control Tower: Delbiter Death SFX Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80301600 48000020 803025CC 48000020 80303A1C 48000020 803037D0 48000020 80301F58 48000020 80301F9C 48000020 8030398C 48000020 80302D64 48000020 b +0x00000020 /* 80301F78 */
80301604 3863A830 803025D0 3863A830 80303A20 3863A830 803037D4 3863A830 80301F5C 3863A830 80301FA0 3863A830 80303990 3863A830 80302D68 3863A830 subi r3, r3, 0x57D0
80301608 800DB98C 803025D4 800DB994 80303A24 800DB9B4 803037D8 800DB9B4 80301F60 800DB9A4 80301FA4 800DB9A4 80303994 800DB9C4 80302D6C 800DBA04 lwz r0, [r13 - 0x465C]
8030160C 2C000023 803025D8 2C000023 80303A28 2C000023 803037DC 2C000023 80301F64 2C000023 80301FA8 2C000023 80303998 2C000023 80302D70 2C000023 cmpwi r0, 35
80301610 40820008 803025DC 40820008 80303A2C 40820008 803037E0 40820008 80301F68 40820008 80301FAC 40820008 8030399C 40820008 80302D74 40820008 bne +0x00000008 /* 80301F70 */
80301614 3863FB28 803025E0 3863FB28 80303A30 3863FB28 803037E4 3863FB28 80301F6C 3863FB28 80301FB0 3863FB28 803039A0 3863FB28 80302D78 3863FB28 subi r3, r3, 0x04D8
80301618 4800008C 803025E4 4800008C 80303A34 4800008C 803037E8 4800008C 80301F70 4800008C 80301FB4 4800008C 803039A4 4800008C 80302D7C 4800008C b +0x0000008C /* 80301FFC */
803016A0 4BFFFF64 8030266C 4BFFFF64 80303ABC 4BFFFF64 80303870 4BFFFF64 80301FF8 4BFFFF64 8030203C 4BFFFF64 80303A2C 4BFFFF64 80302E04 4BFFFF64 b -0x0000009C /* 80301F5C */
Weapon Attributes Patch (allows attributes to work on minibosses and Olga Flow)
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000C8C0 7000000F 8000C8C0 7000000F 8000C8C0 7000000F 8000C8C0 7000000F 8000C8C0 7000000F 8000C8C0 7000000F 8000C8C0 7000000F 8000C8C0 7000000F andi. r0, r0, 0x000F
8000C8C4 7000004F 8000C8C4 7000004F 8000C8C4 7000004F 8000C8C4 7000004F 8000C8C4 7000004F 8000C8C4 7000004F 8000C8C4 7000004F 8000C8C4 7000004F andi. r0, r0, 0x004F
8000C8C8 2C000004 8000C8C8 2C000004 8000C8C8 2C000004 8000C8C8 2C000004 8000C8C8 2C000004 8000C8C8 2C000004 8000C8C8 2C000004 8000C8C8 2C000004 cmpwi r0, 4
8000C8CC 4E800020 8000C8CC 4E800020 8000C8CC 4E800020 8000C8CC 4E800020 8000C8CC 4E800020 8000C8CC 4E800020 8000C8CC 4E800020 8000C8CC 4E800020 blr
800142DC 4BFF85E5 8001430C 4BFF85B5 800146A4 4BFF821D 800142BC 4BFF8605 800142F4 4BFF85CD 800142F4 4BFF85CD 800142BC 4BFF8605 80014334 4BFF858D bl -0x00007A34 /* 8000C8C0 */
80015D04 4BFF6BC1 80015D34 4BFF6B91 80016174 4BFF6751 80015CE4 4BFF6BE1 80015D1C 4BFF6BA9 80015D1C 4BFF6BA9 80015CE4 4BFF6BE1 80015D5C 4BFF6B69 bl -0x00009458 /* 8000C8C4 */
Ruins Laser Fence SFX Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80166324 3C604005 801666D8 3C604005 80166848 3C604005 8016679C 3C604005 801666E0 3C604005 801666E0 3C604005 80166800 3C604005 80166CC4 3C604005 lis r3, 0x4005
80166328 4800009C 801666DC 4800009C 8016684C 4800009C 801667A0 4800009C 801666E4 4800009C 801666E4 4800009C 80166804 4800009C 80166CC8 4800009C b +0x0000009C /* 80166780 */
801663C0 4800001C 80166774 4800001C 801668E4 4800001C 80166838 4800001C 8016677C 4800001C 8016677C 4800001C 8016689C 4800001C 80166D60 4800001C b +0x0000001C /* 80166798 */
SFX Cancellation Distance Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
805CB608 46AFC800 805D5C08 46AFC800 805DD0A8 46AFC800 805DCE48 46AFC800 805CBF10 46AFC800 805D2F30 46AFC800 805DC750 46AFC800 805D8990 46AFC800 .invalid sc
805CB8A8 43480000 805D5EA8 43480000 805DD348 43480000 805DD0E8 43480000 805CC1B0 43480000 805D31D0 43480000 805DC9F0 43480000 805D8C30 43480000 bc 26, 8, +0x00000000 /* 805CC1B0 */
Foie SFX Pitch Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8022E2A8 3880FF00 8022EC44 3880FF00 8022FB30 3880FF00 8022F8E4 3880FF00 8022EB64 3880FF00 8022EB64 3880FF00 8022FC18 3880FF00 8022F4B0 3880FF00 li r4, 0xFFFFFF00
8022E2D8 3880FE80 8022EC74 3880FE80 8022FB60 3880FE80 8022F914 3880FE80 8022EB94 3880FE80 8022EB94 3880FE80 8022FC48 3880FE80 8022F4E0 3880FE80 li r4, 0xFFFFFE80
8022E308 3880FDB0 8022ECA4 3880FDB0 8022FB90 3880FDB0 8022F944 3880FDB0 8022EBC4 3880FDB0 8022EBC4 3880FDB0 8022FC78 3880FDB0 8022F510 3880FDB0 li r4, 0xFFFFFDB0
Gifoie SFX Pitch Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
802300B8 3880FF00 80230A54 3880FF00 80231940 3880FF00 802316F4 3880FF00 80230974 3880FF00 80230974 3880FF00 80231A28 3880FF00 802312C0 3880FF00 li r4, 0xFFFFFF00
802300E8 3880FE80 80230A84 3880FE80 80231970 3880FE80 80231724 3880FE80 802309A4 3880FE80 802309A4 3880FE80 80231A58 3880FE80 802312F0 3880FE80 li r4, 0xFFFFFE80
80230118 3880FDB0 80230AB4 3880FDB0 802319A0 3880FDB0 80231754 3880FDB0 802309D4 3880FDB0 802309D4 3880FDB0 80231A88 3880FDB0 80231320 3880FDB0 li r4, 0xFFFFFDB0
Rafoie SFX Pitch Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
802365AC 3880FF00 80236F68 3880FF00 80237E54 3880FF00 80237C08 3880FF00 80236E88 3880FF00 80236E88 3880FF00 80237F3C 3880FF00 802377D4 3880FF00 li r4, 0xFFFFFF00
802365DC 3880FE80 80236F98 3880FE80 80237E84 3880FE80 80237C38 3880FE80 80236EB8 3880FE80 80236EB8 3880FE80 80237F6C 3880FE80 80237804 3880FE80 li r4, 0xFFFFFE80
8023660C 3880FDB0 80236FC8 3880FDB0 80237EB4 3880FDB0 80237C68 3880FDB0 80236EE8 3880FDB0 80236EE8 3880FDB0 80237F9C 3880FDB0 80237834 3880FDB0 li r4, 0xFFFFFDB0
80236FC0 3880FF00 8023797C 3880FF00 80238868 3880FF00 8023861C 3880FF00 8023789C 3880FF00 8023789C 3880FF00 80238950 3880FF00 802381E8 3880FF00 li r4, 0xFFFFFF00
80236FF0 3880FE80 802379AC 3880FE80 80238898 3880FE80 8023864C 3880FE80 802378CC 3880FE80 802378CC 3880FE80 80238980 3880FE80 80238218 3880FE80 li r4, 0xFFFFFE80
80237020 3880FDB0 802379DC 3880FDB0 802388C8 3880FDB0 8023867C 3880FDB0 802378FC 3880FDB0 802378FC 3880FDB0 802389B0 3880FDB0 80238248 3880FDB0 li r4, 0xFFFFFDB0
Barta SFX Pitch Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80229B54 3880FF00 8022A4F0 3880FF00 8022B3E0 3880FF00 8022B190 3880FF00 8022A410 3880FF00 8022A410 3880FF00 8022B4C4 3880FF00 8022AD5C 3880FF00 li r4, 0xFFFFFF00
80229B84 3880FE80 8022A520 3880FE80 8022B410 3880FE80 8022B1C0 3880FE80 8022A440 3880FE80 8022A440 3880FE80 8022B4F4 3880FE80 8022AD8C 3880FE80 li r4, 0xFFFFFE80
80229BB4 3880FDB0 8022A550 3880FDB0 8022B440 3880FDB0 8022B1F0 3880FDB0 8022A470 3880FDB0 8022A470 3880FDB0 8022B524 3880FDB0 8022ADBC 3880FDB0 li r4, 0xFFFFFDB0
Gibarta SFX Pitch Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8022EAB4 3880FF00 8022F450 3880FF00 80230340 3880FF00 802300F0 3880FF00 8022F370 3880FF00 8022F370 3880FF00 80230424 3880FF00 8022FCBC 3880FF00 li r4, 0xFFFFFF00
8022EAE4 3880FE80 8022F480 3880FE80 80230370 3880FE80 80230120 3880FE80 8022F3A0 3880FE80 8022F3A0 3880FE80 80230454 3880FE80 8022FCEC 3880FE80 li r4, 0xFFFFFE80
8022EB14 3880FDB0 8022F4B0 3880FDB0 802303A0 3880FDB0 80230150 3880FDB0 8022F3D0 3880FDB0 8022F3D0 3880FDB0 80230484 3880FDB0 8022FD1C 3880FDB0 li r4, 0xFFFFFDB0
Rabarta SFX Pitch Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80235DD4 3880FF00 80236790 3880FF00 8023767C 3880FF00 80237430 3880FF00 802366B0 3880FF00 802366B0 3880FF00 80237764 3880FF00 80236FFC 3880FF00 li r4, 0xFFFFFF00
80235E10 3880FE80 802367CC 3880FE80 802376B8 3880FE80 8023746C 3880FE80 802366EC 3880FE80 802366EC 3880FE80 802377A0 3880FE80 80237038 3880FE80 li r4, 0xFFFFFE80
80235E4C 3880FDB0 80236808 3880FDB0 802376F4 3880FDB0 802374A8 3880FDB0 80236728 3880FDB0 80236728 3880FDB0 802377DC 3880FDB0 80237074 3880FDB0 li r4, 0xFFFFFDB0
Zonde SFX Pitch Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8023B2C8 3880FF00 8023BC84 3880FF00 8023CB70 3880FF00 8023C924 3880FF00 8023BBA4 3880FF00 8023BBA4 3880FF00 8023CC58 3880FF00 8023C4F0 3880FF00 li r4, 0xFFFFFF00
8023B2F8 3880FE80 8023BCB4 3880FE80 8023CBA0 3880FE80 8023C954 3880FE80 8023BBD4 3880FE80 8023BBD4 3880FE80 8023CC88 3880FE80 8023C520 3880FE80 li r4, 0xFFFFFE80
8023B328 3880FDB0 8023BCE4 3880FDB0 8023CBD0 3880FDB0 8023C984 3880FDB0 8023BC04 3880FDB0 8023BC04 3880FDB0 8023CCB8 3880FDB0 8023C550 3880FDB0 li r4, 0xFFFFFDB0
Gizonde SFX Pitch Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80230E08 3880FF00 802317C4 3880FF00 802326B0 3880FF00 80232464 3880FF00 802316E4 3880FF00 802316E4 3880FF00 80232798 3880FF00 80232030 3880FF00 li r4, 0xFFFFFF00
80230E38 3880FE80 802317F4 3880FE80 802326E0 3880FE80 80232494 3880FE80 80231714 3880FE80 80231714 3880FE80 802327C8 3880FE80 80232060 3880FE80 li r4, 0xFFFFFE80
80230E68 3880FDB0 80231824 3880FDB0 80232710 3880FDB0 802324C4 3880FDB0 80231744 3880FDB0 80231744 3880FDB0 802327F8 3880FDB0 80232090 3880FDB0 li r4, 0xFFFFFDB0
Razonde SFX Pitch Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80237998 3880FF00 80238354 3880FF00 80239240 3880FF00 80238FF4 3880FF00 80238274 3880FF00 80238274 3880FF00 80239328 3880FF00 80238BC0 3880FF00 li r4, 0xFFFFFF00
802379C8 3880FE80 80238384 3880FE80 80239270 3880FE80 80239024 3880FE80 802382A4 3880FE80 802382A4 3880FE80 80239358 3880FE80 80238BF0 3880FE80 li r4, 0xFFFFFE80
802379F8 3880FDB0 802383B4 3880FDB0 802392A0 3880FDB0 80239054 3880FDB0 802382D4 3880FDB0 802382D4 3880FDB0 80239388 3880FDB0 80238C20 3880FDB0 li r4, 0xFFFFFDB0
Grants SFX Pitch Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
802316FC 3880FF00 802320B8 3880FF00 80232FA4 3880FF00 80232D58 3880FF00 80231FD8 3880FF00 80231FD8 3880FF00 8023308C 3880FF00 80232924 3880FF00 li r4, 0xFFFFFF00
80231734 3880FE80 802320F0 3880FE80 80232FDC 3880FE80 80232D90 3880FE80 80232010 3880FE80 80232010 3880FE80 802330C4 3880FE80 8023295C 3880FE80 li r4, 0xFFFFFE80
8023176C 3880FDB0 80232128 3880FDB0 80233014 3880FDB0 80232DC8 3880FDB0 80232048 3880FDB0 80232048 3880FDB0 802330FC 3880FDB0 80232994 3880FDB0 li r4, 0xFFFFFDB0
Megid SFX Pitch Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
802337A8 3880FF00 80234164 3880FF00 80235050 3880FF00 80234E04 3880FF00 80234084 3880FF00 80234084 3880FF00 80235138 3880FF00 802349D0 3880FF00 li r4, 0xFFFFFF00
802337D8 3880FE80 80234194 3880FE80 80235080 3880FE80 80234E34 3880FE80 802340B4 3880FE80 802340B4 3880FE80 80235168 3880FE80 80234A00 3880FE80 li r4, 0xFFFFFE80
80233808 3880FDB0 802341C4 3880FDB0 802350B0 3880FDB0 80234E64 3880FDB0 802340E4 3880FDB0 802340E4 3880FDB0 80235198 3880FDB0 80234A30 3880FDB0 li r4, 0xFFFFFDB0
Anti SFX Pitch Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80229354 2C000001 80229CF0 2C000001 8022ABDC 2C000001 8022A990 2C000001 80229C10 2C000001 80229C10 2C000001 8022ACC4 2C000001 8022A55C 2C000001 cmpwi r0, 1
Shield DFP/EVP Bug Fix (allows shields to reach true max DFP/EVP values)
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
801185B0 88040016 801187CC 88040016 8011885C 88040016 80118764 88040016 80118854 88040016 80118854 88040016 80118774 88040016 8011894C 88040016 lbz r0, [r4 + 0x0016]
801185BC 88040017 801187D8 88040017 80118868 88040017 80118770 88040017 80118860 88040017 80118860 88040017 80118780 88040017 80118958 88040017 lbz r0, [r4 + 0x0017]
VR Spaceship Item Drop Bug Fix (allows items to drop from enemies above a certain Y position)
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
805C996C 435C0000 805D3F6C 435C0000 805DB40C 435C0000 805DB1AC 435C0000 805CA274 435C0000 805D1294 435C0000 805DAAB4 435C0000 805D6CF4 435C0000 bc 26, 28, +0x00000000 /* 805CA274 */
Invalid Items Bug Fix (something to do with making invalid items correctly display as ???? I think)
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8011CA90 7C030378 8011CCD4 7C030378 8011CD0C 7C030378 8011CC6C 7C030378 8011CD34 7C030378 8011CD34 7C030378 8011CC7C 7C030378 8011CE54 7C030378 mr r3, r0
8011CA94 3863FFFF 8011CCD8 3863FFFF 8011CD10 3863FFFF 8011CC70 3863FFFF 8011CD38 3863FFFF 8011CD38 3863FFFF 8011CC80 3863FFFF 8011CE58 3863FFFF subi r3, r3, 0x0001
8011CA98 4BFFFFE8 8011CCDC 4BFFFFE8 8011CD14 4BFFFFE8 8011CC74 4BFFFFE8 8011CD3C 4BFFFFE8 8011CD3C 4BFFFFE8 8011CC84 4BFFFFE8 8011CE5C 4BFFFFE8 b -0x00000018 /* 8011CD24 */
8011CB4C 7C030378 8011CD90 7C030378 8011CDC8 7C030378 8011CD28 7C030378 8011CDF0 7C030378 8011CDF0 7C030378 8011CD38 7C030378 8011CF10 7C030378 mr r3, r0
8011CB50 3863FFFF 8011CD94 3863FFFF 8011CDCC 3863FFFF 8011CD2C 3863FFFF 8011CDF4 3863FFFF 8011CDF4 3863FFFF 8011CD3C 3863FFFF 8011CF14 3863FFFF subi r3, r3, 0x0001
8011CB54 4BFFFFE8 8011CD98 4BFFFFE8 8011CDD0 4BFFFFE8 8011CD30 4BFFFFE8 8011CDF8 4BFFFFE8 8011CDF8 4BFFFFE8 8011CD40 4BFFFFE8 8011CF18 4BFFFFE8 b -0x00000018 /* 8011CDE0 */
8011CB9C 7C040378 8011CDE0 7C040378 8011CE18 7C040378 8011CD78 7C040378 8011CE40 7C040378 8011CE40 7C040378 8011CD88 7C040378 8011CF60 7C040378 mr r4, r0
8011CBA0 3884FFFF 8011CDE4 3884FFFF 8011CE1C 3884FFFF 8011CD7C 3884FFFF 8011CE44 3884FFFF 8011CE44 3884FFFF 8011CD8C 3884FFFF 8011CF64 3884FFFF subi r4, r4, 0x0001
8011CBA4 4BFFFFE8 8011CDE8 4BFFFFE8 8011CE20 4BFFFFE8 8011CD80 4BFFFFE8 8011CE48 4BFFFFE8 8011CE48 4BFFFFE8 8011CD90 4BFFFFE8 8011CF68 4BFFFFE8 b -0x00000018 /* 8011CE30 */
Item Removal Maxed Stats Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000B088 7FA3EB78 8000B088 7FA3EB78 8000B088 7FA3EB78 8000B088 7FA3EB78 8000B088 7FA3EB78 8000B088 7FA3EB78 8000B088 7FA3EB78 8000B088 7FA3EB78 mr r3, r29
8000B08C 38800000 8000B08C 38800000 8000B08C 38800000 8000B08C 38800000 8000B08C 38800000 8000B08C 38800000 8000B08C 38800000 8000B08C 38800000 li r4, 0x0000
8000B090 481AE725 8000B090 481AEB91 8000B090 481B1C09 8000B090 481AEC5D 8000B090 481AEB11 8000B090 481AEB11 8000B090 481AECC1 8000B090 481AF17D bl +0x001AEB10 /* 801B9BA0 */
8000B094 7FA3EB78 8000B094 7FA3EB78 8000B094 7FA3EB78 8000B094 7FA3EB78 8000B094 7FA3EB78 8000B094 7FA3EB78 8000B094 7FA3EB78 8000B094 7FA3EB78 mr r3, r29
8000B098 481AE9F4 8000B098 481AEE60 8000B098 481B1ED8 8000B098 481AEF2C 8000B098 481AEDE0 8000B098 481AEDE0 8000B098 481AEF90 8000B098 481AF44C b +0x001AEDE0 /* 801B9E78 */
8000B09C 881F0000 8000B09C 881F0000 8000B09C 881F0000 8000B09C 881F0000 8000B09C 881F0000 8000B09C 881F0000 8000B09C 881F0000 8000B09C 881F0000 lbz r0, [r31]
8000B0A0 28090001 8000B0A0 28090001 8000B0A0 28090001 8000B0A0 28090001 8000B0A0 28090001 8000B0A0 28090001 8000B0A0 28090001 8000B0A0 28090001 cmplwi r9, 1
8000B0A4 4082000C 8000B0A4 4082000C 8000B0A4 4082000C 8000B0A4 4082000C 8000B0A4 4082000C 8000B0A4 4082000C 8000B0A4 4082000C 8000B0A4 4082000C bne +0x0000000C /* 8000B0B0 */
8000B0A8 881F0001 8000B0A8 881F0001 8000B0A8 881F0001 8000B0A8 881F0001 8000B0A8 881F0001 8000B0A8 881F0001 8000B0A8 881F0001 8000B0A8 881F0001 lbz r0, [r31 + 0x0001]
8000B0AC 3BFF0002 8000B0AC 3BFF0002 8000B0AC 3BFF0002 8000B0AC 3BFF0002 8000B0AC 3BFF0002 8000B0AC 3BFF0002 8000B0AC 3BFF0002 8000B0AC 3BFF0002 addi r31, r31, 0x0002
8000B0B0 481008C4 8000B0B0 48100AC4 8000B0B0 48100B58 8000B0B0 48100A44 8000B0B0 48100B68 8000B0B0 48100B68 8000B0B0 48100A54 8000B0B0 48100C44 b +0x00100B68 /* 8010BC18 */
8000B0B4 39200000 8000B0B4 39200000 8000B0B4 39200000 8000B0B4 39200000 8000B0B4 39200000 8000B0B4 39200000 8000B0B4 39200000 8000B0B4 39200000 li r9, 0x0000
8000B0B8 48100855 8000B0B8 48100A55 8000B0B8 48100AE9 8000B0B8 481009D5 8000B0B8 48100AF9 8000B0B8 48100AF9 8000B0B8 481009E5 8000B0B8 48100BD5 bl +0x00100AF8 /* 8010BBB0 */
8000B0BC 7F43D378 8000B0BC 7F43D378 8000B0BC 7F43D378 8000B0BC 7F43D378 8000B0BC 7F43D378 8000B0BC 7F43D378 8000B0BC 7F43D378 8000B0BC 7F43D378 mr r3, r26
8000B0C0 7F64DB78 8000B0C0 7F64DB78 8000B0C0 7F64DB78 8000B0C0 7F64DB78 8000B0C0 7F64DB78 8000B0C0 7F64DB78 8000B0C0 7F64DB78 8000B0C0 7F64DB78 mr r4, r27
8000B0C4 7F85E378 8000B0C4 7F85E378 8000B0C4 7F85E378 8000B0C4 7F85E378 8000B0C4 7F85E378 8000B0C4 7F85E378 8000B0C4 7F85E378 8000B0C4 7F85E378 mr r5, r28
8000B0C8 7FA6EB78 8000B0C8 7FA6EB78 8000B0C8 7FA6EB78 8000B0C8 7FA6EB78 8000B0C8 7FA6EB78 8000B0C8 7FA6EB78 8000B0C8 7FA6EB78 8000B0C8 7FA6EB78 mr r6, r29
8000B0CC 7FC7F378 8000B0CC 7FC7F378 8000B0CC 7FC7F378 8000B0CC 7FC7F378 8000B0CC 7FC7F378 8000B0CC 7FC7F378 8000B0CC 7FC7F378 8000B0CC 7FC7F378 mr r7, r30
8000B0D0 7FE8FB78 8000B0D0 7FE8FB78 8000B0D0 7FE8FB78 8000B0D0 7FE8FB78 8000B0D0 7FE8FB78 8000B0D0 7FE8FB78 8000B0D0 7FE8FB78 8000B0D0 7FE8FB78 mr r8, r31
8000B0D4 39200001 8000B0D4 39200001 8000B0D4 39200001 8000B0D4 39200001 8000B0D4 39200001 8000B0D4 39200001 8000B0D4 39200001 8000B0D4 39200001 li r9, 0x0001
8000B0D8 48100835 8000B0D8 48100A35 8000B0D8 48100AC9 8000B0D8 481009B5 8000B0D8 48100AD9 8000B0D8 48100AD9 8000B0D8 481009C5 8000B0D8 48100BB5 bl +0x00100AD8 /* 8010BBB0 */
8000B0DC 48102CC0 8000B0DC 48102EC0 8000B0DC 4810300C 8000B0DC 48102E4C 8000B0DC 48102F64 8000B0DC 48102F64 8000B0DC 48102E5C 8000B0DC 48103040 b +0x00102F64 /* 8010E040 */
8000C3F8 28040000 8000C3F8 28040000 8000C3F8 28040000 8000C3F8 28040000 8000C3F8 28040000 8000C3F8 28040000 8000C3F8 28040000 8000C3F8 28040000 cmplwi r4, 0
8000C3FC 4D820020 8000C3FC 4D820020 8000C3FC 4D820020 8000C3FC 4D820020 8000C3FC 4D820020 8000C3FC 4D820020 8000C3FC 4D820020 8000C3FC 4D820020 beqlr
8000C400 9421FFF0 8000C400 9421FFF0 8000C400 9421FFF0 8000C400 9421FFF0 8000C400 9421FFF0 8000C400 9421FFF0 8000C400 9421FFF0 8000C400 9421FFF0 stwu [r1 - 0x0010], r1
8000C404 481AD3B4 8000C404 481AD820 8000C404 481B0898 8000C404 481AD8EC 8000C404 481AD7A0 8000C404 481AD7A0 8000C404 481AD950 8000C404 481ADE0C b +0x001AD7A0 /* 801B9BA4 */
8000C408 9421FFE0 8000C408 9421FFE0 8000C408 9421FFE0 8000C408 9421FFE0 8000C408 9421FFE0 8000C408 9421FFE0 8000C408 9421FFE0 8000C408 9421FFE0 stwu [r1 - 0x0020], r1
8000C40C 7C0802A6 8000C40C 7C0802A6 8000C40C 7C0802A6 8000C40C 7C0802A6 8000C40C 7C0802A6 8000C40C 7C0802A6 8000C40C 7C0802A6 8000C40C 7C0802A6 mflr r0
8000C410 90010024 8000C410 90010024 8000C410 90010024 8000C410 90010024 8000C410 90010024 8000C410 90010024 8000C410 90010024 8000C410 90010024 stw [r1 + 0x0024], r0
8000C414 BF410008 8000C414 BF410008 8000C414 BF410008 8000C414 BF410008 8000C414 BF410008 8000C414 BF410008 8000C414 BF410008 8000C414 BF410008 stmw [r1 + 0x0008], r26
8000C418 7C7F1B78 8000C418 7C7F1B78 8000C418 7C7F1B78 8000C418 7C7F1B78 8000C418 7C7F1B78 8000C418 7C7F1B78 8000C418 7C7F1B78 8000C418 7C7F1B78 mr r31, r3
8000C41C 4BFFFFDD 8000C41C 4BFFFFDD 8000C41C 4BFFFFDD 8000C41C 4BFFFFDD 8000C41C 4BFFFFDD 8000C41C 4BFFFFDD 8000C41C 4BFFFFDD 8000C41C 4BFFFFDD bl -0x00000024 /* 8000C3F8 */
8000C420 3BC00000 8000C420 3BC00000 8000C420 3BC00000 8000C420 3BC00000 8000C420 3BC00000 8000C420 3BC00000 8000C420 3BC00000 8000C420 3BC00000 li r30, 0x0000
8000C424 3BBF0D04 8000C424 3BBF0D04 8000C424 3BBF0D04 8000C424 3BBF0D04 8000C424 3BBF0D04 8000C424 3BBF0D04 8000C424 3BBF0D04 8000C424 3BBF0D04 addi r29, r31, 0x0D04
8000C428 837F032C 8000C428 837F032C 8000C428 837F032C 8000C428 837F032C 8000C428 837F032C 8000C428 837F032C 8000C428 837F032C 8000C428 837F032C lwz r27, [r31 + 0x032C]
8000C42C 839D0000 8000C42C 839D0000 8000C42C 839D0000 8000C42C 839D0000 8000C42C 839D0000 8000C42C 839D0000 8000C42C 839D0000 8000C42C 839D0000 lwz r28, [r29]
8000C430 7F83E379 8000C430 7F83E379 8000C430 7F83E379 8000C430 7F83E379 8000C430 7F83E379 8000C430 7F83E379 8000C430 7F83E379 8000C430 7F83E379 mr. r3, r28
8000C434 41820018 8000C434 41820018 8000C434 41820018 8000C434 41820018 8000C434 41820018 8000C434 41820018 8000C434 41820018 8000C434 41820018 beq +0x00000018 /* 8000C44C */
8000C438 38800001 8000C438 38800001 8000C438 38800001 8000C438 38800001 8000C438 38800001 8000C438 38800001 8000C438 38800001 8000C438 38800001 li r4, 0x0001
8000C43C 480FEADD 8000C43C 480FECDD 8000C43C 480FEDC9 8000C43C 480FEC5D 8000C43C 480FED81 8000C43C 480FED81 8000C43C 480FEC6D 8000C43C 480FEE5D bl +0x000FED80 /* 8010B1BC */
8000C440 7F83E378 8000C440 7F83E378 8000C440 7F83E378 8000C440 7F83E378 8000C440 7F83E378 8000C440 7F83E378 8000C440 7F83E378 8000C440 7F83E378 mr r3, r28
8000C444 38800001 8000C444 38800001 8000C444 38800001 8000C444 38800001 8000C444 38800001 8000C444 38800001 8000C444 38800001 8000C444 38800001 li r4, 0x0001
8000C448 480FEC4D 8000C448 480FEE4D 8000C448 480FEF49 8000C448 480FEDCD 8000C448 480FEEF1 8000C448 480FEEF1 8000C448 480FEDDD 8000C448 480FEFCD bl +0x000FEEF0 /* 8010B338 */
8000C44C 3BBD0004 8000C44C 3BBD0004 8000C44C 3BBD0004 8000C44C 3BBD0004 8000C44C 3BBD0004 8000C44C 3BBD0004 8000C44C 3BBD0004 8000C44C 3BBD0004 addi r29, r29, 0x0004
8000C450 3BDE0001 8000C450 3BDE0001 8000C450 3BDE0001 8000C450 3BDE0001 8000C450 3BDE0001 8000C450 3BDE0001 8000C450 3BDE0001 8000C450 3BDE0001 addi r30, r30, 0x0001
8000C454 2C1E000D 8000C454 2C1E000D 8000C454 2C1E000D 8000C454 2C1E000D 8000C454 2C1E000D 8000C454 2C1E000D 8000C454 2C1E000D 8000C454 2C1E000D cmpwi r30, 13
8000C458 4180FFD4 8000C458 4180FFD4 8000C458 4180FFD4 8000C458 4180FFD4 8000C458 4180FFD4 8000C458 4180FFD4 8000C458 4180FFD4 8000C458 4180FFD4 blt -0x0000002C /* 8000C42C */
8000C45C 937F032C 8000C45C 937F032C 8000C45C 937F032C 8000C45C 937F032C 8000C45C 937F032C 8000C45C 937F032C 8000C45C 937F032C 8000C45C 937F032C stw [r31 + 0x032C], r27
8000C460 BB410008 8000C460 BB410008 8000C460 BB410008 8000C460 BB410008 8000C460 BB410008 8000C460 BB410008 8000C460 BB410008 8000C460 BB410008 lmw r26, [r1 + 0x0008]
8000C464 80010024 8000C464 80010024 8000C464 80010024 8000C464 80010024 8000C464 80010024 8000C464 80010024 8000C464 80010024 8000C464 80010024 lwz r0, [r1 + 0x0024]
8000C468 7C0803A6 8000C468 7C0803A6 8000C468 7C0803A6 8000C468 7C0803A6 8000C468 7C0803A6 8000C468 7C0803A6 8000C468 7C0803A6 8000C468 7C0803A6 mtlr r0
8000C46C 38210020 8000C46C 38210020 8000C46C 38210020 8000C46C 38210020 8000C46C 38210020 8000C46C 38210020 8000C46C 38210020 8000C46C 38210020 addi r1, r1, 0x0020
8000C470 4E800020 8000C470 4E800020 8000C470 4E800020 8000C470 4E800020 8000C470 4E800020 8000C470 4E800020 8000C470 4E800020 8000C470 4E800020 blr
8010B970 4BEFF72C 8010BB70 4BEFF52C 8010BC04 4BEFF498 8010BAF0 4BEFF5AC 8010BC14 4BEFF488 8010BC14 4BEFF488 8010BB00 4BEFF59C 8010BCF0 4BEFF3AC b -0x00100B78 /* 8000B09C */
8010DD98 4BEFD31C 8010DF98 4BEFD11C 8010E0E4 4BEFCFD0 8010DF24 4BEFD190 8010E03C 4BEFD078 8010E03C 4BEFD078 8010DF34 4BEFD180 8010E118 4BEFCF9C b -0x00102F88 /* 8000B0B4 */
801B97B4 4BE52C54 801B9C20 4BE527E8 801BCC98 4BE4F770 801B9CEC 4BE5271C 801B9BA0 4BE52868 801B9BA0 4BE52868 801B9D50 4BE526B8 801BA20C 4BE521FC b -0x001AD798 /* 8000C408 */
801B9A88 4BE51600 801B9EF4 4BE51194 801BCF6C 4BE4E11C 801B9FC0 4BE510C8 801B9E74 4BE51214 801B9E74 4BE51214 801BA024 4BE51064 801BA4E0 4BE50BA8 b -0x001AEDEC /* 8000B088 */
Unit Present Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000C640 54800673 8000C640 54800673 8000C640 54800673 8000C640 54800673 8000C640 54800673 8000C640 54800673 8000C640 54800673 8000C640 54800673 rlwinm. r0, r4, 0, 25, 25
8000C644 41820008 8000C644 41820008 8000C644 41820008 8000C644 41820008 8000C644 41820008 8000C644 41820008 8000C644 41820008 8000C644 41820008 beq +0x00000008 /* 8000C64C */
8000C648 38800000 8000C648 38800000 8000C648 38800000 8000C648 38800000 8000C648 38800000 8000C648 38800000 8000C648 38800000 8000C648 38800000 li r4, 0x0000
8000C64C 38040009 8000C64C 38040009 8000C64C 38040009 8000C64C 38040009 8000C64C 38040009 8000C64C 38040009 8000C64C 38040009 8000C64C 38040009 addi r0, r4, 0x0009
8000C650 4810C694 8000C650 4810C8B0 8000C650 4810C98C 8000C650 4810C848 8000C650 4810C938 8000C650 4810C938 8000C650 4810C858 8000C650 4810CA30 b +0x0010C938 /* 80118F88 */
80118CE0 4BEF3960 80118EFC 4BEF3744 80118FD8 4BEF3668 80118E94 4BEF37AC 80118F84 4BEF36BC 80118F84 4BEF36BC 80118EA4 4BEF379C 8011907C 4BEF35C4 b -0x0010C944 /* 8000C640 */
Bank Item Stacking Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000C6D0 38000001 8000C6D0 38000001 8000C6D0 38000001 8000C6D0 38000001 8000C6D0 38000001 8000C6D0 38000001 8000C6D0 38000001 8000C6D0 38000001 li r0, 0x0001
8000C6D4 901D0054 8000C6D4 901D0054 8000C6D4 901D0054 8000C6D4 901D0054 8000C6D4 901D0054 8000C6D4 901D0054 8000C6D4 901D0054 8000C6D4 901D0054 stw [r29 + 0x0054], r0
8000C6D8 807D0024 8000C6D8 807D0024 8000C6D8 807D0024 8000C6D8 807D0024 8000C6D8 807D0024 8000C6D8 807D0024 8000C6D8 807D0024 8000C6D8 807D0024 lwz r3, [r29 + 0x0024]
8000C6DC 482109C0 8000C6DC 48211324 8000C6DC 48212210 8000C6DC 48211FC4 8000C6DC 48211244 8000C6DC 48211244 8000C6DC 482122F8 8000C6DC 48211B90 b +0x00211244 /* 8021D920 */
8000C6E0 38000001 8000C6E0 38000001 8000C6E0 38000001 8000C6E0 38000001 8000C6E0 38000001 8000C6E0 38000001 8000C6E0 38000001 8000C6E0 38000001 li r0, 0x0001
8000C6E4 901F0378 8000C6E4 901F0378 8000C6E4 901F0378 8000C6E4 901F0378 8000C6E4 901F0378 8000C6E4 901F0378 8000C6E4 901F0378 8000C6E4 901F0378 stw [r31 + 0x0378], r0
8000C6E8 807F0024 8000C6E8 807F0024 8000C6E8 807F0024 8000C6E8 807F0024 8000C6E8 807F0024 8000C6E8 807F0024 8000C6E8 807F0024 8000C6E8 807F0024 lwz r3, [r31 + 0x0024]
8000C6EC 48165AA0 8000C6EC 482147D4 8000C6EC 482156C0 8000C6EC 48215474 8000C6EC 482146F4 8000C6EC 482146F4 8000C6EC 482157A8 8000C6EC 48215040 b +0x002146F4 /* 80220DE0 */
8021D098 4BDEF638 8021D9FC 4BDEECD4 8021E8E8 4BDEDDE8 8021E69C 4BDEE034 8021D91C 4BDEEDB4 8021D91C 4BDEEDB4 8021E9D0 4BDEDD00 8021E268 4BDEE468 b -0x0021124C /* 8000C6D0 */
80172188 4BE9A558 80220EBC 4BDEB824 80221DA8 4BDEA938 80221B5C 4BDEAB84 80220DDC 4BDEB904 80220DDC 4BDEB904 80221E90 4BDEA850 80221728 4BDEAFB8 b -0x002146FC /* 8000C6E0 */
Dropped Mag Colour Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80114378 38000012 8011458C 38000012 80114634 38000012 80114524 38000012 8011461C 38000012 8011461C 38000012 80114534 38000012 8011470C 38000012 li r0, 0x0012
Meseta Drop System Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80107478 4800000C 80107654 4800000C 80107708 4800000C 801075D4 4800000C 8010771C 4800000C 8010771C 4800000C 801075E4 4800000C 801077D4 4800000C b +0x0000000C /* 80107728 */
8010748C 7C030378 80107668 7C030378 8010771C 7C030378 801075E8 7C030378 80107730 7C030378 80107730 7C030378 801075F8 7C030378 801077E8 7C030378 mr r3, r0
Present Colour Bug Fix (TODO: which versions need this?)
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80101C14 60000000 60000000 60000000 60000000 80101EB8 60000000 80101EB8 60000000 60000000 60000000 nop
Offline Quests Drop Table Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80104B48 4182000C 80104D24 4182000C 80104DE0 4182000C 80104CA4 4182000C 80104DEC 4182000C 80104DEC 4182000C 80104CB4 4182000C 80104EA4 4182000C beq +0x0000000C /* 80104DF8 */
Mag Revival Priority Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000C8A0 1C00000A 8000C8A0 1C00000A 8000C8A0 1C00000A 8000C8A0 1C00000A 8000C8A0 1C00000A 8000C8A0 1C00000A 8000C8A0 1C00000A 8000C8A0 1C00000A mulli r0, r0, 10
8000C8A4 57E407BD 8000C8A4 57E407BD 8000C8A4 57E407BD 8000C8A4 57E407BD 8000C8A4 57E407BD 8000C8A4 57E407BD 8000C8A4 57E407BD 8000C8A4 57E407BD rlwinm. r4, r31, 0, 30, 30
8000C8A8 41820008 8000C8A8 41820008 8000C8A8 41820008 8000C8A8 41820008 8000C8A8 41820008 8000C8A8 41820008 8000C8A8 41820008 8000C8A8 41820008 beq +0x00000008 /* 8000C8B0 */
8000C8AC 7FA00734 8000C8AC 7FA00734 8000C8AC 7FA00734 8000C8AC 7FA00734 8000C8AC 7FA00734 8000C8AC 7FA00734 8000C8AC 7FA00734 8000C8AC 7FA00734 extsh r0, r29
8000C8B0 48105DB8 8000C8B0 48105FB8 8000C8B0 48106190 8000C8B0 48105F44 8000C8B0 4810605C 8000C8B0 4810605C 8000C8B0 48105F54 8000C8B0 48106138 b +0x0010605C /* 8011290C */
80112664 4BEFA23C 80112864 4BEFA03C 80112A3C 4BEF9E64 801127F0 4BEFA0B0 80112908 4BEF9F98 80112908 4BEF9F98 80112800 4BEFA0A0 801129E4 4BEF9EBC b -0x00106068 /* 8000C8A0 */
Mag Revival Challenge & Quest Mode Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
801CA1F4 48000010 801CA6E0 48000010 801CB5EC 48000010 801CA7AC 48000010 801CA610 48000010 801CA610 48000010 801CA810 48000010 801CACCC 48000010 b +0x00000010 /* 801CA620 */
Chat Bubble Window TAB Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80250264 60000000 80250CB0 60000000 80251CA4 60000000 802519A4 60000000 80250AEC 60000000 80250AEC 60000000 80251C68 60000000 802514B0 60000000 nop
Chat Log Window LF/Tab Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80267DDC 60000000 80268A88 60000000 80269AE4 60000000 80269898 60000000 80268788 60000000 80268788 60000000 80269B5C 60000000 802693A4 60000000 nop
Dark/Hell Special GFX Bug Fix (makes Dark/Hell display graphic on success like in PSO BB)
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000E1E0 7FC802A6 8000E1E0 7FC802A6 8000E1E0 7FC802A6 8000E1E0 7FC802A6 8000E1E0 7FC802A6 8000E1E0 7FC802A6 8000E1E0 7FC802A6 8000E1E0 7FC802A6 mflr r30
8000E1E4 38A00000 8000E1E4 38A00000 8000E1E4 38A00000 8000E1E4 38A00000 8000E1E4 38A00000 8000E1E4 38A00000 8000E1E4 38A00000 8000E1E4 38A00000 li r5, 0x0000
8000E1E8 38C0001E 8000E1E8 38C0001E 8000E1E8 38C0001E 8000E1E8 38C0001E 8000E1E8 38C0001E 8000E1E8 38C0001E 8000E1E8 38C0001E 8000E1E8 38C0001E li r6, 0x001E
8000E1EC 38E00040 8000E1EC 38E00040 8000E1EC 38E00040 8000E1EC 38E00040 8000E1EC 38E00040 8000E1EC 38E00040 8000E1EC 38E00040 8000E1EC 38E00040 li r7, 0x0040
8000E1F0 480782B1 8000E1F0 4807859D 8000E1F0 48078715 8000E1F0 480786C5 8000E1F0 4807853D 8000E1F0 4807853D 8000E1F0 480786D5 8000E1F0 4807869D bl +0x0007853C /* 8008672C */
8000E1F4 7FC803A6 8000E1F4 7FC803A6 8000E1F4 7FC803A6 8000E1F4 7FC803A6 8000E1F4 7FC803A6 8000E1F4 7FC803A6 8000E1F4 7FC803A6 8000E1F4 7FC803A6 mtlr r30
8000E1F8 4E800020 8000E1F8 4E800020 8000E1F8 4E800020 8000E1F8 4E800020 8000E1F8 4E800020 8000E1F8 4E800020 8000E1F8 4E800020 8000E1F8 4E800020 blr
80355960 388001E8 80356D64 388001E8 803582C0 388001E8 80358074 388001E8 80356814 388001E8 80356858 388001E8 80358440 388001E8 80357834 388001E8 li r4, 0x01E8
80355984 4BCB885D 80356D88 4BCB7459 803582E4 4BCB5EFD 80358098 4BCB6149 80356838 4BCB79A9 8035687C 4BCB7965 80358464 4BCB5D7D 80357858 4BCB6989 bl -0x00348658 /* 8000E1E0 */
803559F4 388001E8 80356DF8 388001E8 80358354 388001E8 80358108 388001E8 803568A8 388001E8 803568EC 388001E8 803584D4 388001E8 803578C8 388001E8 li r4, 0x01E8
80355A04 4BCB87DD 80356E08 4BCB73D9 80358364 4BCB5E7D 80358118 4BCB60C9 803568B8 4BCB7929 803568FC 4BCB78E5 803584E4 4BCB5CFD 803578D8 4BCB6909 bl -0x003486D8 /* 8000E1E0 */
Gol Dragon Camera Bug Fix (makes the camera after Gol Dragon display "normally")
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
802FB99C 2C030001 802FC968 2C030001 802FDE60 2C030001 802FDB6C 2C030001 802FC2F4 2C030001 802FC338 2C030001 802FDD28 2C030001 802FD100 2C030001 cmpwi r3, 1
Box/Fence Fadeout Bug Fix (stops boxes and other environmental objects fading in and out as you approach)
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80189A54 60000000 80189E2C 60000000 80189F90 60000000 80189EF0 60000000 80189E20 60000000 80189E20 60000000 80189F54 60000000 8018A418 60000000 nop
801933DC 60000000 801937B0 60000000 80193914 60000000 80193874 60000000 801937A8 60000000 801937A8 60000000 801938D8 60000000 80193D9C 60000000 nop
TP Bar Colour Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8026DA74 3884AAFA 8026E738 3884AAFA 8026F794 3884AAFA 8026F548 3884AAFA 8026E2D4 3884AAFA 8026E2D4 3884AAFA 8026F6FC 3884AAFA 8026EF44 3884AAFA subi r4, r4, 0x5506
8026DB88 3863AAFA 8026E84C 3863AAFA 8026F8A8 3863AAFA 8026F65C 3863AAFA 8026E3E8 3863AAFA 8026E3E8 3863AAFA 8026F810 3863AAFA 8026F058 3863AAFA subi r3, r3, 0x5506
8026DC10 3883AAFA 8026E8D4 3883AAFA 8026F930 3883AAFA 8026F6E4 3883AAFA 8026E470 3883AAFA 8026E470 3883AAFA 8026F898 3883AAFA 8026F0E0 3883AAFA subi r4, r3, 0x5506
804CBB40 FF0074EE 804CF290 FF0074EE 804D17E0 FF0074EE 804D1580 FF0074EE 804CC310 FF0074EE 804CC7F0 FF0074EE 804D0E58 FF0074EE 804D1248 FF0074EE fsel f24, f0, f14, f19
Devil's and Demon's Special Damage Display Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8001306C 4BFFFCC0 8001309C 4BFFFCC0 80013364 4BFFFCC0 8001304C 4BFFFCC0 80013084 4BFFFCC0 80013084 4BFFFCC0 8001304C 4BFFFCC0 800130C4 4BFFFCC0 b -0x00000340 /* 80012D44 */
Christmas Trees Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000B5C8 80630098 8000B5C8 80630098 8000B5C8 80630098 8000B5C8 80630098 8000B5C8 80630098 8000B5C8 80630098 8000B5C8 80630098 8000B5C8 80630098 lwz r3, [r3 + 0x0098]
8000B5CC 483D46F5 8000B5CC 483D70D1 8000B5CC 483D8F71 8000B5CC 483D8D21 8000B5CC 483D5999 8000B5CC 483D59F1 8000B5CC 483D90F1 8000B5CC 483D7BE1 bl +0x003D5998 /* 803E0F64 */
8000B5D0 807F042C 8000B5D0 807F042C 8000B5D0 807F042C 8000B5D0 807F042C 8000B5D0 807F042C 8000B5D0 807F042C 8000B5D0 807F042C 8000B5D0 807F042C lwz r3, [r31 + 0x042C]
8000B5D4 809F0430 8000B5D4 809F0430 8000B5D4 809F0430 8000B5D4 809F0430 8000B5D4 809F0430 8000B5D4 809F0430 8000B5D4 809F0430 8000B5D4 809F0430 lwz r4, [r31 + 0x0430]
8000B5D8 481788C0 8000B5D8 48178C88 8000B5D8 48178DEC 8000B5D8 48178D4C 8000B5D8 48178C7C 8000B5D8 48178C7C 8000B5D8 48178DB0 8000B5D8 48179274 b +0x00178C7C /* 80184254 */
80183E94 4BE87734 8018425C 4BE8736C 801843C0 4BE87208 80184320 4BE872A8 80184250 4BE87378 80184250 4BE87378 80184384 4BE87244 80184848 4BE86D80 b -0x00178C88 /* 8000B5C8 */
80183ED4 60000000 8018429C 60000000 80184400 60000000 80184360 60000000 80184290 60000000 80184290 60000000 801843C4 60000000 80184888 60000000 nop
Rain Drops Colour Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
804B3738 70808080 804B6E58 70808080 804B92F8 70808080 804B90B8 70808080 804B3EF0 70808080 804B43D0 70808080 804B8990 70808080 804B8E10 70808080 andi. r0, r4, 0x8080
804B373C 60707070 804B6E5C 60707070 804B92FC 60707070 804B90BC 60707070 804B3EF4 60707070 804B43D4 60707070 804B8994 60707070 804B8E14 60707070 ori r16, r3, 0x7070
Reverser Target Lock Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
801C5EA4 389F02FC 801C6360 389F02FC 801C6604 389F02FC 801C642C 389F02FC 801C62C0 389F02FC 801C62C0 389F02FC 801C6490 389F02FC 801C694C 389F02FC addi r4, r31, 0x02FC
Deband/Shifta/Resta Target Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8022CF84 41810630 8022D920 41810630 8022E85C 41810630 8022E5C0 41810630 8022D840 41810630 8022D840 41810630 8022E8F4 41810630 8022E18C 41810630 bgt +0x00000630 /* 8022DE70 */
8022D278 4181033C 4181033C 4181033C 4181033C 8022DB34 4181033C 8022DB34 4181033C 4181033C 4181033C bgt +0x0000033C /* 8022DE70 */
8022D36C 41810248 41810248 41810248 41810248 8022DC28 41810248 8022DC28 41810248 41810248 41810248 bgt +0x00000248 /* 8022DE70 */
Tech Auto Targetting Bug Fix
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8022C850 60000000 8022D1EC 60000000 8022E128 60000000 8022DE8C 60000000 8022D10C 60000000 8022D10C 60000000 8022E1C0 60000000 8022DA58 60000000 nop
804C6EE4 0000001E 804CA61C 0000001E 804CCB6C 0000001E 804CC90C 0000001E 804C76B4 0000001E 804C7B94 0000001E 804CC1E4 0000001E 804CC5D4 0000001E .invalid
804C6F3C 00000028 804CA674 00000028 804CCBC4 00000028 804CC964 00000028 804C770C 00000028 804C7BEC 00000028 804CC23C 00000028 804CC62C 00000028 .invalid
804C6F68 00000032 804CA6A0 00000032 804CCBF0 00000032 804CC990 00000032 804C7738 00000032 804C7C18 00000032 804CC268 00000032 804CC658 00000032 .invalid
804C6F94 0000003C 804CA6CC 0000003C 804CCC1C 0000003C 804CC9BC 0000003C 804C7764 0000003C 804C7C44 0000003C 804CC294 0000003C 804CC684 0000003C .invalid
804C6FA4 0018003C 804CA6DC 0018003C 804CCC2C 0018003C 804CC9CC 0018003C 804C7774 0018003C 804C7C54 0018003C 804CC2A4 0018003C 804CC694 0018003C .invalid
804C71FC 00000028 804CA934 00000028 804CCE84 00000028 804CCC24 00000028 804C79CC 00000028 804C7EAC 00000028 804CC4FC 00000028 804CC8EC 00000028 .invalid
Enable Trap Animations
BugFixes
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000BBD0 809F0370 8000BBD0 809F0370 8000BBD0 809F0370 8000BBD0 809F0370 8000BBD0 809F0370 8000BBD0 809F0370 8000BBD0 809F0370 8000BBD0 809F0370 lwz r4, [r31 + 0x0370]
8000BBD4 3884FC00 8000BBD4 3884FC00 8000BBD4 3884FC00 8000BBD4 3884FC00 8000BBD4 3884FC00 8000BBD4 3884FC00 8000BBD4 3884FC00 8000BBD4 3884FC00 subi r4, r4, 0x0400
8000BBD8 909F0370 8000BBD8 909F0370 8000BBD8 909F0370 8000BBD8 909F0370 8000BBD8 909F0370 8000BBD8 909F0370 8000BBD8 909F0370 8000BBD8 909F0370 stw [r31 + 0x0370], r4
8000BBDC 807F0014 8000BBDC 807F0014 8000BBDC 807F0014 8000BBDC 807F0014 8000BBDC 807F0014 8000BBDC 807F0014 8000BBDC 807F0014 8000BBDC 807F0014 lwz r3, [r31 + 0x0014]
8000BBE0 28030000 8000BBE0 28030000 8000BBE0 28030000 8000BBE0 28030000 8000BBE0 28030000 8000BBE0 28030000 8000BBE0 28030000 8000BBE0 28030000 cmplwi r3, 0
8000BBE4 41820008 8000BBE4 41820008 8000BBE4 41820008 8000BBE4 41820008 8000BBE4 41820008 8000BBE4 41820008 8000BBE4 41820008 8000BBE4 41820008 beq +0x00000008 /* 8000BBEC */
8000BBE8 90830060 8000BBE8 90830060 8000BBE8 90830060 8000BBE8 90830060 8000BBE8 90830060 8000BBE8 90830060 8000BBE8 90830060 8000BBE8 90830060 stw [r3 + 0x0060], r4
8000BBEC 4816506C 8000BBEC 48165420 8000BBEC 48165678 8000BBEC 481654E4 8000BBEC 48165428 8000BBEC 48165428 8000BBEC 48165548 8000BBEC 48165A0C b +0x00165428 /* 80171014 */
80170C54 4BE9AF7C 80171008 4BE9ABC8 80171260 4BE9A970 801710CC 4BE9AB04 80171010 4BE9ABC0 80171010 4BE9ABC0 80171130 4BE9AAA0 801715F4 4BE9A5DC b -0x00165440 /* 8000BBD0 */
80170C74 60800420 80171028 60800420 80171280 60800420 801710EC 60800420 80171030 60800420 80171030 60800420 80171150 60800420 80171614 60800420 ori r0, r4, 0x0420
Extended Word Select
ChatFeatures
*** name=Chat
*** desc=Enable extended\nWord Select and\nstop the Log Window\nfrom scrolling by\nholding L+R
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8034445C 38600000 803457AC 38600000 80346CCC 38600000 80346A80 38600000 8034525C 38600000 803452A0 38600000 80346E4C 38600000 8034627C 38600000 li r3, 0x0000
Chat Log Window: Lock Scrolling with L+R
ChatFeatures
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000D6A0 3C608051 8000D6A0 3C608051 8000D6A0 3C608051 8000D6A0 3C608051 8000D6A0 3C608051 8000D6A0 3C608051 8000D6A0 3C608051 8000D6A0 3C608051 lis r3, 0x8051
8000D6A4 A0638AD0 8000D6A4 A063C590 8000D6A4 A063EBD0 8000D6A4 A063E970 8000D6A4 A06393B0 8000D6A4 A0639890 8000D6A4 A063E270 8000D6A4 A063F290 lhz r3, [r3 - 0x6C50]
8000D6A8 70600003 8000D6A8 70600003 8000D6A8 70600003 8000D6A8 70600003 8000D6A8 70600003 8000D6A8 70600003 8000D6A8 70600003 8000D6A8 70600003 andi. r0, r3, 0x0003
8000D6AC 28000003 8000D6AC 28000003 8000D6AC 28000003 8000D6AC 28000003 8000D6AC 28000003 8000D6AC 28000003 8000D6AC 28000003 8000D6AC 28000003 cmplwi r0, 3
8000D6B0 41820008 8000D6B0 41820008 8000D6B0 41820008 8000D6B0 41820008 8000D6B0 41820008 8000D6B0 41820008 8000D6B0 41820008 8000D6B0 41820008 beq +0x00000008 /* 8000D6B8 */
8000D6B4 D03C0084 8000D6B4 D03C0084 8000D6B4 D03C0084 8000D6B4 D03C0084 8000D6B4 D03C0084 8000D6B4 D03C0084 8000D6B4 D03C0084 8000D6B4 D03C0084 stfs [r28 + 0x0084], f1
8000D6B8 4825A814 8000D6B8 4825B4C0 8000D6B8 4825C51C 8000D6B8 4825C2D0 8000D6B8 4825B1C0 8000D6B8 4825B1C0 8000D6B8 4825C594 8000D6B8 4825BDDC b +0x0025B1C0 /* 80268878 */
80267EC8 4BDA57D8 80268B74 4BDA4B2C 80269BD0 4BDA3AD0 80269984 4BDA3D1C 80268874 4BDA4E2C 80268874 4BDA4E2C 80269C48 4BDA3A58 80269490 4BDA4210 b -0x0025B1D4 /* 8000D6A0 */
Improved Draw Distance of most objects
DrawDistance
*** name=DrawDistance
*** desc=Extend the draw\ndistance of many\nobjects
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000DFA0 C3C2C1F8 8000DFA0 C3C2C1F8 8000DFA0 C3C2C1F8 8000DFA0 C3C2C1F8 8000DFA0 C3C2C200 8000DFA0 C3C2C200 8000DFA0 C3C2C200 8000DFA0 C3C2C200 lfs f30, [r2 - 0x3E00]
8000DFA4 EFDE0072 8000DFA4 EFDE0072 8000DFA4 EFDE0072 8000DFA4 EFDE0072 8000DFA4 EFDE0072 8000DFA4 EFDE0072 8000DFA4 EFDE0072 8000DFA4 EFDE0072 fmuls f30, f30, f1
8000DFA8 4E800020 8000DFA8 4E800020 8000DFA8 4E800020 8000DFA8 4E800020 8000DFA8 4E800020 8000DFA8 4E800020 8000DFA8 4E800020 8000DFA8 4E800020 blr
8000DFAC C042C1F8 8000DFAC C042C1F8 8000DFAC C042C1F8 8000DFAC C042C1F8 8000DFAC C042C200 8000DFAC C042C200 8000DFAC C042C200 8000DFAC C042C200 lfs f2, [r2 - 0x3E00]
8000DFB0 C01E001C 8000DFB0 C01E001C 8000DFB0 C01E001C 8000DFB0 C01E001C 8000DFB0 C01E001C 8000DFB0 C01E001C 8000DFB0 C01E001C 8000DFB0 C01E001C lfs f0, [r30 + 0x001C]
8000DFB4 EC0000B2 8000DFB4 EC0000B2 8000DFB4 EC0000B2 8000DFB4 EC0000B2 8000DFB4 EC0000B2 8000DFB4 EC0000B2 8000DFB4 EC0000B2 8000DFB4 EC0000B2 fmuls f0, f0, f2
8000DFB8 4E800020 8000DFB8 4E800020 8000DFB8 4E800020 8000DFB8 4E800020 8000DFB8 4E800020 8000DFB8 4E800020 8000DFB8 4E800020 8000DFB8 4E800020 blr
8000DFBC C382C1F8 8000DFBC C382C1F8 8000DFBC C382C1F8 8000DFBC C382C1F8 8000DFBC C382C200 8000DFBC C382C200 8000DFBC C382C200 8000DFBC C382C200 lfs f28, [r2 - 0x3E00]
8000DFC0 EF9C00B2 8000DFC0 EF9C00B2 8000DFC0 EF9C00B2 8000DFC0 EF9C00B2 8000DFC0 EF9C00B2 8000DFC0 EF9C00B2 8000DFC0 EF9C00B2 8000DFC0 EF9C00B2 fmuls f28, f28, f2
8000DFC4 4E800020 8000DFC4 4E800020 8000DFC4 4E800020 8000DFC4 4E800020 8000DFC4 4E800020 8000DFC4 4E800020 8000DFC4 4E800020 8000DFC4 4E800020 blr
8000DFC8 C002C1F8 8000DFC8 C002C1F8 8000DFC8 C002C1F8 8000DFC8 C002C1F8 8000DFC8 C002C200 8000DFC8 C002C200 8000DFC8 C002C200 8000DFC8 C002C200 lfs f0, [r2 - 0x3E00]
8000DFCC C023000C 8000DFCC C023000C 8000DFCC C023000C 8000DFCC C023000C 8000DFCC C023000C 8000DFCC C023000C 8000DFCC C023000C 8000DFCC C023000C lfs f1, [r3 + 0x000C]
8000DFD0 EC000072 8000DFD0 EC000072 8000DFD0 EC000072 8000DFD0 EC000072 8000DFD0 EC000072 8000DFD0 EC000072 8000DFD0 EC000072 8000DFD0 EC000072 fmuls f0, f0, f1
8000DFD4 D003000C 8000DFD4 D003000C 8000DFD4 D003000C 8000DFD4 D003000C 8000DFD4 D003000C 8000DFD4 D003000C 8000DFD4 D003000C 8000DFD4 D003000C stfs [r3 + 0x000C], f0
8000DFD8 3C60804C 8000DFD8 3C60804C 8000DFD8 3C60804D 8000DFD8 3C60804D 8000DFD8 3C60804C 8000DFD8 3C60804C 8000DFD8 3C60804D 8000DFD8 3C60804D lis r3, 0x804C
8000DFDC 4E800020 8000DFDC 4E800020 8000DFDC 4E800020 8000DFDC 4E800020 8000DFDC 4E800020 8000DFDC 4E800020 8000DFDC 4E800020 8000DFDC 4E800020 blr
801008E8 4BF0D6B9 80100AD0 4BF0D4D1 80100B74 4BF0D42D 80100A50 4BF0D551 80100B8C 4BF0D415 80100B8C 4BF0D415 80100A60 4BF0D541 80100C50 4BF0D351 bl -0x000F2BEC /* 8000DFA0 */
80156D00 4BEB72AD 801570B4 4BEB6EF9 80157218 4BEB6D95 80157178 4BEB6E35 801570BC 4BEB6EF1 801570BC 4BEB6EF1 801571DC 4BEB6DD1 801576A0 4BEB690D bl -0x00149110 /* 8000DFAC */
801A1C64 4BE6C359 801A203C 4BE6BF81 801A21A0 4BE6BE1D 801A2100 4BE6BEBD 801A2040 4BE6BF7D 801A2040 4BE6BF7D 801A2164 4BE6BE59 801A2628 4BE6B995 bl -0x00194084 /* 8000DFBC */
801A1E64 4BE6C13D 801A223C 4BE6BD65 801A23A0 4BE6BC01 801A2300 4BE6BCA1 801A2240 4BE6BD61 801A2240 4BE6BD61 801A2364 4BE6BC3D 801A2828 4BE6B779 bl -0x001942A0 /* 8000DFA0 */
80205044 4BE08F85 802058B8 4BE08711 80206640 4BE07989 802063F4 4BE07BD5 80205840 4BE08789 80205840 4BE08789 80206728 4BE078A1 80206124 4BE07EA5 bl -0x001F7878 /* 8000DFC8 */
802057E8 4BE087E1 8020605C 4BE07F6D 80206DE4 4BE071E5 80206B98 4BE07431 80205FE4 4BE07FE5 80205FE4 4BE07FE5 80206ECC 4BE070FD 802068C8 4BE07701 bl -0x001F801C /* 8000DFC8 */
805C83A8 47AFC800 805D29A8 47AFC800 805D9E48 47AFC800 805D9BE8 47AFC800 805C8CB0 47AFC800 805CFCD0 47AFC800 805D94F0 47AFC800 805D5730 47AFC800 .invalid sc
805C9254 47742400 805D3854 47742400 805DACF4 47742400 805DAA94 47742400 805C9B5C 47742400 805D0B7C 47742400 805DA39C 47742400 805D65DC 47742400 .invalid sc
805C987C 491C4000 805D3E7C 491C4000 805DB31C 491C4000 805DB0BC 491C4000 805CA184 491C4000 805D11A4 491C4000 805DA9C4 491C4000 805D6C04 491C4000 b +0x011C4000 /* 8178E184 */
805CA708 47AFC800 805D4D08 47AFC800 805DC1A8 47AFC800 805DBF48 47AFC800 805CB010 47AFC800 805D2030 47AFC800 805DB850 47AFC800 805D7A90 47AFC800 .invalid sc
805CAC98 44AF0000 805D5298 44AF0000 805DC738 44AF0000 805DC4D8 44AF0000 805CB5A0 44AF0000 805D25C0 44AF0000 805DBDE0 44AF0000 805D8020 44AF0000 .invalid sc
Show Enemy HP Bars
EnemyHPBars
*** name=Enemy HP bars
*** desc=Show HP bars in\nenemy info windows
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
802612C4 4BFE1541 80261E9C 4BFE1349 80262EE4 4BFE0665 80262C98 4BFE1241 80261B9C 4BFE1545 80261B9C 4BFE1545 80262F5C 4BFE12B1 802627A4 4BFE12B1 bl -0x0001EABC /* 802430E0 */
804CAF00 42300000 804CE650 42300000 804D0BA0 42300000 804D0940 42300000 804CB6D0 42300000 804CBBB0 42300000 804D0218 42300000 804D0608 42300000 bdnz cr4, +0x00000000 /* 804CB6D0 */
804CAF1C FF00FF15 804CE66C FF00FF15 804D0BBC FF00FF15 804D095C FF00FF15 804CB6EC FF00FF15 804CBBCC FF00FF15 804D0234 FF00FF15 804D0624 FF00FF15 .invalid FC, 0
805CBFBC 42A00000 805D65BC 42A00000 805DDA5C 42A00000 805DD7FC 42A00000 805CC8C4 42A00000 805D38E4 42A00000 805DD104 42A00000 805D9344 42A00000 b +0x00000000 /* 805CC8C4 */
804CAE40 42640000 804CE590 42640000 804D0AE0 42640000 804D0880 42640000 804CB610 42640000 804CBAF0 42640000 804D0158 42640000 804D0548 42640000 bc 19, 4, +0x00000000 /* 804CB610 */
804CAE4C 42640000 804CE59C 42640000 804D0AEC 42640000 804D088C 42640000 804CB61C 42640000 804CBAFC 42640000 804D0164 42640000 804D0554 42640000 bc 19, 4, +0x00000000 /* 804CB61C */
804CAE58 42640000 804CE5A8 42640000 804D0AF8 42640000 804D0898 42640000 804CB628 42640000 804CBB08 42640000 804D0170 42640000 804D0560 42640000 bc 19, 4, +0x00000000 /* 804CB628 */
804CAE64 42640000 804CE5B4 42640000 804D0B04 42640000 804D08A4 42640000 804CB634 42640000 804CBB14 42640000 804D017C 42640000 804D056C 42640000 bc 19, 4, +0x00000000 /* 804CB634 */
PSO DC Reticle Colours
DCReticleColors
*** name=DC targets
*** desc=Change the target\nreticle colors to\nthose used on the\nDreamcast
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
802AB3FC 3C8000FF 802AC2A4 3C8000FF 802AD3D0 3C8000FF 802AD184 3C8000FF 802ABDB8 3C8000FF 802ABDFC 3C8000FF 802AD338 3C8000FF 802ACACC 3C8000FF lis r4, 0x00FF
802AB410 388000FF 802AC2B8 388000FF 802AD3E4 388000FF 802AD198 388000FF 802ABDCC 388000FF 802ABE10 388000FF 802AD34C 388000FF 802ACAE0 388000FF li r4, 0x00FF
802AB424 3884FF00 802AC2CC 3884FF00 802AD3F8 3884FF00 802AD1AC 3884FF00 802ABDE0 3884FF00 802ABE24 3884FF00 802AD360 3884FF00 802ACAF4 3884FF00 subi r4, r4, 0x0100
804A1F18 3F800000 804A5638 3F800000 804A7AD8 3F800000 804A7898 3F800000 804A26C8 3F800000 804A2BA8 3F800000 804A7168 3F800000 804A75E8 3F800000 lis r28, 0x0000
804A1F1C 00000000 804A563C 00000000 804A7ADC 00000000 804A789C 00000000 804A26CC 00000000 804A2BAC 00000000 804A716C 00000000 804A75EC 00000000 .invalid
804A1F28 3F800000 804A5648 3F800000 804A7AE8 3F800000 804A78A8 3F800000 804A26D8 3F800000 804A2BB8 3F800000 804A7178 3F800000 804A75F8 3F800000 lis r28, 0x0000
804A1F2C 00000000 804A564C 00000000 804A7AEC 00000000 804A78AC 00000000 804A26DC 00000000 804A2BBC 00000000 804A717C 00000000 804A75FC 00000000 .invalid
804A1F38 3F800000 804A5658 3F800000 804A7AF8 3F800000 804A78B8 3F800000 804A26E8 3F800000 804A2BC8 3F800000 804A7188 3F800000 804A7608 3F800000 lis r28, 0x0000
804A1F3C 3F800000 804A565C 3F800000 804A7AFC 3F800000 804A78BC 3F800000 804A26EC 3F800000 804A2BCC 3F800000 804A718C 3F800000 804A760C 3F800000 lis r28, 0x0000
804A1F40 00000000 804A5660 00000000 804A7B00 00000000 804A78C0 00000000 804A26F0 00000000 804A2BD0 00000000 804A7190 00000000 804A7610 00000000 .invalid
804A1F48 00000000 804A5668 00000000 804A7B08 00000000 804A78C8 00000000 804A26F8 00000000 804A2BD8 00000000 804A7198 00000000 804A7618 00000000 .invalid
804A1F50 3F800000 804A5670 3F800000 804A7B10 3F800000 804A78D0 3F800000 804A2700 3F800000 804A2BE0 3F800000 804A71A0 3F800000 804A7620 3F800000 lis r28, 0x0000
804A1F58 3ECCCCCD 804A5678 3ECCCCCD 804A7B18 3ECCCCCD 804A78D8 3ECCCCCD 804A2708 3ECCCCCD 804A2BE8 3ECCCCCD 804A71A8 3ECCCCCD 804A7628 3ECCCCCD subis r22, r12, 0x3333
804A1F5C 3DCCCCCD 804A567C 3DCCCCCD 804A7B1C 3DCCCCCD 804A78DC 3DCCCCCD 804A270C 3DCCCCCD 804A2BEC 3DCCCCCD 804A71AC 3DCCCCCD 804A762C 3DCCCCCD subis r14, r12, 0x3333
804A1F60 3DCCCCCD 804A5680 3DCCCCCD 804A7B20 3DCCCCCD 804A78E0 3DCCCCCD 804A2710 3DCCCCCD 804A2BF0 3DCCCCCD 804A71B0 3DCCCCCD 804A7630 3DCCCCCD subis r14, r12, 0x3333
PSOX / BB Reticle Colours
PSOXReticleColors
*** name=Xbox/BB targets
*** desc=Change the target\nreticle colors to\nthose used on the\nXbox and Blue Burst
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
802AB424 388000FF 802AC2CC 388000FF 802AD3F8 388000FF 802AD1AC 388000FF 802ABDE0 388000FF 802ABE24 388000FF 802AD360 388000FF 802ACAF4 388000FF li r4, 0x00FF
804A1F38 00000000 804A5658 00000000 804A7AF8 00000000 804A78B8 00000000 804A26E8 00000000 804A2BC8 00000000 804A7188 00000000 804A7608 00000000 .invalid
804A1F3C 00000000 804A565C 00000000 804A7AFC 00000000 804A78BC 00000000 804A26EC 00000000 804A2BCC 00000000 804A718C 00000000 804A760C 00000000 .invalid
804A1F40 3F800000 804A5660 3F800000 804A7B00 3F800000 804A78C0 3F800000 804A26F0 3F800000 804A2BD0 3F800000 804A7190 3F800000 804A7610 3F800000 lis r28, 0x0000
Show Rare Items on Area & Radar Map
RareDropNotifications
*** name=Rare alerts
*** desc=Show rare items on\nthe map and play a\nsound when a rare\nitem drops
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000C660 881F00EF 8000C660 881F00EF 8000C660 881F00EF 8000C660 881F00EF 8000C660 881F00EF 8000C660 881F00EF 8000C660 881F00EF 8000C660 881F00EF lbz r0, [r31 + 0x00EF]
8000C664 28000004 8000C664 28000004 8000C664 28000004 8000C664 28000004 8000C664 28000004 8000C664 28000004 8000C664 28000004 8000C664 28000004 cmplwi r0, 4
8000C668 40820018 8000C668 40820018 8000C668 40820018 8000C668 40820018 8000C668 40820018 8000C668 40820018 8000C668 40820018 8000C668 40820018 bne +0x00000018 /* 8000C680 */
8000C66C 387F0038 8000C66C 387F0038 8000C66C 387F0038 8000C66C 387F0038 8000C66C 387F0038 8000C66C 387F0038 8000C66C 387F0038 8000C66C 387F0038 addi r3, r31, 0x0038
8000C670 3C80FFFF 8000C670 3C80FFFF 8000C670 3C80FFFF 8000C670 3C80FFFF 8000C670 3C80FFFF 8000C670 3C80FFFF 8000C670 3C80FFFF 8000C670 3C80FFFF lis r4, 0xFFFF
8000C674 38A00001 8000C674 38A00001 8000C674 38A00001 8000C674 38A00001 8000C674 38A00001 8000C674 38A00001 8000C674 38A00001 8000C674 38A00001 li r5, 0x0001
8000C678 38C00000 8000C678 38C00000 8000C678 38C00000 8000C678 38C00000 8000C678 38C00000 8000C678 38C00000 8000C678 38C00000 8000C678 38C00000 li r6, 0x0000
8000C67C 481ECE15 8000C67C 481ED4B1 8000C67C 481ED709 8000C67C 481ED4BD 8000C67C 481ED381 8000C67C 481ED381 8000C67C 481ED511 8000C67C 481EDA8D bl +0x001ED380 /* 801F99FC */
8000C680 7FE3FB78 8000C680 7FE3FB78 8000C680 7FE3FB78 8000C680 7FE3FB78 8000C680 7FE3FB78 8000C680 7FE3FB78 8000C680 7FE3FB78 8000C680 7FE3FB78 mr r3, r31
8000C684 480F5F9C 8000C684 480F6178 8000C684 480F6788 8000C684 480F60F8 8000C684 480F6240 8000C684 480F6240 8000C684 480F6108 8000C684 480F62F8 b +0x000F6240 /* 801028C4 */
8010261C 4BF0A044 801027F8 4BF09E68 80102E08 4BF09858 80102778 4BF09EE8 801028C0 4BF09DA0 801028C0 4BF09DA0 80102788 4BF09ED8 80102978 4BF09CE8 b -0x000F6260 /* 8000C660 */
Rare Item Drops: Play SFX
RareDropNotifications
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000C690 28030000 8000C690 28030000 8000C690 28030000 8000C690 28030000 8000C690 28030000 8000C690 28030000 8000C690 28030000 8000C690 28030000 cmplwi r3, 0
8000C694 41820020 8000C694 41820020 8000C694 41820020 8000C694 41820020 8000C694 41820020 8000C694 41820020 8000C694 41820020 8000C694 41820020 beq +0x00000020 /* 8000C6B4 */
8000C698 880300EF 8000C698 880300EF 8000C698 880300EF 8000C698 880300EF 8000C698 880300EF 8000C698 880300EF 8000C698 880300EF 8000C698 880300EF lbz r0, [r3 + 0x00EF]
8000C69C 28000004 8000C69C 28000004 8000C69C 28000004 8000C69C 28000004 8000C69C 28000004 8000C69C 28000004 8000C69C 28000004 8000C69C 28000004 cmplwi r0, 4
8000C6A0 40820014 8000C6A0 40820014 8000C6A0 40820014 8000C6A0 40820014 8000C6A0 40820014 8000C6A0 40820014 8000C6A0 40820014 8000C6A0 40820014 bne +0x00000014 /* 8000C6B4 */
8000C6A4 3C600005 8000C6A4 3C600005 8000C6A4 3C600005 8000C6A4 3C600005 8000C6A4 3C600005 8000C6A4 3C600005 8000C6A4 3C600005 8000C6A4 3C600005 lis r3, 0x0005
8000C6A8 60632813 8000C6A8 60632813 8000C6A8 60632813 8000C6A8 60632813 8000C6A8 60632813 8000C6A8 60632813 8000C6A8 60632813 8000C6A8 60632813 ori r3, r3, 0x2813
8000C6AC 38800000 8000C6AC 38800000 8000C6AC 38800000 8000C6AC 38800000 8000C6AC 38800000 8000C6AC 38800000 8000C6AC 38800000 8000C6AC 38800000 li r4, 0x0000
8000C6B0 48026FFD 8000C6B0 4802702D 8000C6B0 48027049 8000C6B0 48026FDD 8000C6B0 4802721D 8000C6B0 4802721D 8000C6B0 480271E5 8000C6B0 4802725D bl +0x0002721C /* 800338CC */
8000C6B4 80010024 8000C6B4 80010024 8000C6B4 80010024 8000C6B4 80010024 8000C6B4 80010024 8000C6B4 80010024 8000C6B4 80010024 8000C6B4 80010024 lwz r0, [r1 + 0x0024]
8000C6B8 4810E64C 8000C6B8 4810E868 8000C6B8 4810EA38 8000C6B8 4810E800 8000C6B8 4810E8F0 8000C6B8 4810E8F0 8000C6B8 4810E810 8000C6B8 4810E9E8 b +0x0010E8F0 /* 8011AFA8 */
8011AD00 4BEF1990 8011AF1C 4BEF1774 8011B0EC 4BEF15A4 8011AEB4 4BEF17DC 8011AFA4 4BEF16EC 8011AFA4 4BEF16EC 8011AEC4 4BEF17CC 8011B09C 4BEF15F4 b -0x0010E914 /* 8000C690 */
Play SFX for Hungry Mag
HungryMagSound
*** name=MAG alert
*** desc=Play a sound when\nyour MAG is hungry
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000BF30 9421FFF0 8000BF30 9421FFF0 8000BF30 9421FFF0 8000BF30 9421FFF0 8000BF30 9421FFF0 8000BF30 9421FFF0 8000BF30 9421FFF0 8000BF30 9421FFF0 stwu [r1 - 0x0010], r1
8000BF34 7C0802A6 8000BF34 7C0802A6 8000BF34 7C0802A6 8000BF34 7C0802A6 8000BF34 7C0802A6 8000BF34 7C0802A6 8000BF34 7C0802A6 8000BF34 7C0802A6 mflr r0
8000BF38 90010014 8000BF38 90010014 8000BF38 90010014 8000BF38 90010014 8000BF38 90010014 8000BF38 90010014 8000BF38 90010014 8000BF38 90010014 stw [r1 + 0x0014], r0
8000BF3C 3C600002 8000BF3C 3C600002 8000BF3C 3C600002 8000BF3C 3C600002 8000BF3C 3C600002 8000BF3C 3C600002 8000BF3C 3C600002 8000BF3C 3C600002 lis r3, 0x0002
8000BF40 60632825 8000BF40 60632825 8000BF40 60632825 8000BF40 60632825 8000BF40 60632825 8000BF40 60632825 8000BF40 60632825 8000BF40 60632825 ori r3, r3, 0x2825
8000BF44 38800000 8000BF44 38800000 8000BF44 38800000 8000BF44 38800000 8000BF44 38800000 8000BF44 38800000 8000BF44 38800000 8000BF44 38800000 li r4, 0x0000
8000BF48 48027765 8000BF48 48027795 8000BF48 480277B1 8000BF48 48027745 8000BF48 48027985 8000BF48 48027985 8000BF48 4802794D 8000BF48 480279C5 bl +0x00027984 /* 800338CC */
8000BF4C 80010014 8000BF4C 80010014 8000BF4C 80010014 8000BF4C 80010014 8000BF4C 80010014 8000BF4C 80010014 8000BF4C 80010014 8000BF4C 80010014 lwz r0, [r1 + 0x0014]
8000BF50 7C0803A6 8000BF50 7C0803A6 8000BF50 7C0803A6 8000BF50 7C0803A6 8000BF50 7C0803A6 8000BF50 7C0803A6 8000BF50 7C0803A6 8000BF50 7C0803A6 mtlr r0
8000BF54 38210010 8000BF54 38210010 8000BF54 38210010 8000BF54 38210010 8000BF54 38210010 8000BF54 38210010 8000BF54 38210010 8000BF54 38210010 addi r1, r1, 0x0010
8000BF58 4E800020 8000BF58 4E800020 8000BF58 4E800020 8000BF58 4E800020 8000BF58 4E800020 8000BF58 4E800020 8000BF58 4E800020 8000BF58 4E800020 blr
80110D94 4BEFB19C 80110F94 4BEFAF9C 80111080 4BEFAEB0 80110F20 4BEFB010 80111038 4BEFAEF8 80111038 4BEFAEF8 80110F30 4BEFB000 80111114 4BEFAE1C b -0x00105108 /* 8000BF30 */
Invisible Mag
InvisibleMag
*** name=Invisible MAG
*** desc=Make MAGs invisible
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80114F04 480000D4 80115118 480000D4 8011521C 480000D4 801150B0 480000D4 801151A8 480000D4 801151A8 480000D4 801150C0 480000D4 80115298 480000D4 b +0x000000D4 /* 8011527C */
16:9 Aspect Ratio
169AspectRatioV1
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
80000088 C04210F0 80000088 C0421120 80000088 C0421130 80000088 C0421130 80000088 C0421108 80000088 C0421108 80000088 C0421138 80000088 C0421128 lfs f2, [r2 + 0x1108]
8000008C EFBD00B2 8000008C EFBD00B2 8000008C EFBD00B2 8000008C EFBD00B2 8000008C EFBD00B2 8000008C EFBD00B2 8000008C EFBD00B2 8000008C EFBD00B2 fmuls f29, f29, f2
80000090 FC40E890 80000090 FC40E890 80000090 FC40E890 80000090 FC40E890 80000090 FC40E890 80000090 FC40E890 80000090 FC40E890 80000090 FC40E890 fmr f2, f29
80000094 483D1D98 80000094 483D47A0 80000094 483D6640 80000094 483D63F0 80000094 483D3068 80000094 483D30C0 80000094 483D67C0 80000094 483D52B0 b +0x003D3068 /* 803D30FC */
803D1E28 4BC2E260 803D4830 4BC2B858 803D66D0 4BC299B8 803D6480 4BC29C08 803D30F8 4BC2CF90 803D3150 4BC2CF38 803D6850 4BC29838 803D5340 4BC2AD48 b -0x003D3070 /* 80000088 */
16:9 Aspect Ratio V2
169AspectRatioV2
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000BE4C C01C0040 8000BE4C C01C0040 8000BE4C C01C0040 8000BE4C C01C0040 8000BE4C C01C0040 8000BE4C C01C0040 8000BE4C C01C0040 8000BE4C C01C0040 lfs f0, [r28 + 0x0040]
8000BE50 C062F7C0 8000BE50 C062F7C8 8000BE50 C062F7C8 8000BE50 C062F7C8 8000BE50 C062F7D0 8000BE50 C062F7D0 8000BE50 C062F7D0 8000BE50 C062F7D0 lfs f3, [r2 - 0x0830]
8000BE54 EC4100FA 8000BE54 EC4100FA 8000BE54 EC4100FA 8000BE54 EC4100FA 8000BE54 EC4100FA 8000BE54 EC4100FA 8000BE54 EC4100FA 8000BE54 EC4100FA fmadds f2, f1, f0, f3
8000BE58 C062E3EC 8000BE58 C062E3F4 8000BE58 C062E3F4 8000BE58 C062E3F4 8000BE58 C062E3FC 8000BE58 C062E3FC 8000BE58 C062E3FC 8000BE58 C062E3FC lfs f3, [r2 - 0x1C04]
8000BE5C 48253B0C 8000BE5C 482546E4 8000BE5C 48255768 8000BE5C 482554E0 8000BE5C 482543E4 8000BE5C 482543E4 8000BE5C 482557A4 8000BE5C 48254FEC b +0x002543E4 /* 80260240 */
8000BE60 C0030010 8000BE60 C0030010 8000BE60 C0030010 8000BE60 C0030010 8000BE60 C0030010 8000BE60 C0030010 8000BE60 C0030010 8000BE60 C0030010 lfs f0, [r3 + 0x0010]
8000BE64 C0240000 8000BE64 C0240000 8000BE64 C0240000 8000BE64 C0240000 8000BE64 C0240000 8000BE64 C0240000 8000BE64 C0240000 8000BE64 C0240000 lfs f1, [r4]
8000BE68 EC210028 8000BE68 EC210028 8000BE68 EC210028 8000BE68 EC210028 8000BE68 EC210028 8000BE68 EC210028 8000BE68 EC210028 8000BE68 EC210028 fsubs f1, f1, f0
8000BE6C C082F7C0 8000BE6C C082F7C8 8000BE6C C082F7C8 8000BE6C C082F7C8 8000BE6C C082F7D0 8000BE6C C082F7D0 8000BE6C C082F7D0 8000BE6C C082F7D0 lfs f4, [r2 - 0x0830]
8000BE70 EC84007A 8000BE70 EC84007A 8000BE70 EC84007A 8000BE70 EC84007A 8000BE70 EC84007A 8000BE70 EC84007A 8000BE70 EC84007A 8000BE70 EC84007A fmadds f4, f4, f0, f1
8000BE74 C0030038 8000BE74 C0030038 8000BE74 C0030038 8000BE74 C0030038 8000BE74 C0030038 8000BE74 C0030038 8000BE74 C0030038 8000BE74 C0030038 lfs f0, [r3 + 0x0038]
8000BE78 48250454 8000BE78 48250FFC 8000BE78 48251FCC 8000BE78 48251CF0 8000BE78 48250D2C 8000BE78 48250D2C 8000BE78 48251FB4 8000BE78 482517FC b +0x00250D2C /* 8025CBA4 */
8000BE7C C01E0008 8000BE7C C01E0008 8000BE7C C01E0008 8000BE7C C01E0008 8000BE7C C01E0008 8000BE7C C01E0008 8000BE7C C01E0008 8000BE7C C01E0008 lfs f0, [r30 + 0x0008]
8000BE80 C082F7C0 8000BE80 C082F7C8 8000BE80 C082F7C8 8000BE80 C082F7C8 8000BE80 C082F7D0 8000BE80 C082F7D0 8000BE80 C082F7D0 8000BE80 C082F7D0 lfs f4, [r2 - 0x0830]
8000BE84 EC040032 8000BE84 EC040032 8000BE84 EC040032 8000BE84 EC040032 8000BE84 EC040032 8000BE84 EC040032 8000BE84 EC040032 8000BE84 EC040032 fmuls f0, f4, f0
8000BE88 ECA400F2 8000BE88 ECA400F2 8000BE88 ECA400F2 8000BE88 ECA400F2 8000BE88 ECA400F2 8000BE88 ECA400F2 8000BE88 ECA400F2 8000BE88 ECA400F2 fmuls f5, f4, f3
8000BE8C 48235FE0 8000BE8C 482369C0 8000BE8C 48237920 8000BE8C 482376B4 8000BE8C 482368BC 8000BE8C 482368BC 8000BE8C 482379E8 8000BE8C 48237230 b +0x002368BC /* 80242748 */
8000BE90 C082F7C0 8000BE90 C082F7C8 8000BE90 C082F7C8 8000BE90 C082F7C8 8000BE90 C082F7D0 8000BE90 C082F7D0 8000BE90 C082F7D0 8000BE90 C082F7D0 lfs f4, [r2 - 0x0830]
8000BE94 EC04083A 8000BE94 EC04083A 8000BE94 EC04083A 8000BE94 EC04083A 8000BE94 EC04083A 8000BE94 EC04083A 8000BE94 EC04083A 8000BE94 EC04083A fmadds f0, f4, f1, f0
8000BE98 EC8400F2 8000BE98 EC8400F2 8000BE98 EC8400F2 8000BE98 EC8400F2 8000BE98 EC8400F2 8000BE98 EC8400F2 8000BE98 EC8400F2 8000BE98 EC8400F2 fmuls f4, f4, f3
8000BE9C 48236030 8000BE9C 48236A10 8000BE9C 48237970 8000BE9C 48237704 8000BE9C 4823690C 8000BE9C 4823690C 8000BE9C 48237A38 8000BE9C 48237280 b +0x0023690C /* 802427A8 */
8000BEA0 C0060000 8000BEA0 C0060000 8000BEA0 C0060000 8000BEA0 C0060000 8000BEA0 C0060000 8000BEA0 C0060000 8000BEA0 C0060000 8000BEA0 C0060000 lfs f0, [r6]
8000BEA4 C042F7C0 8000BEA4 C042F7C8 8000BEA4 C042F7C8 8000BEA4 C042F7C8 8000BEA4 C042F7D0 8000BEA4 C042F7D0 8000BEA4 C042F7D0 8000BEA4 C042F7D0 lfs f2, [r2 - 0x0830]
8000BEA8 EC020032 8000BEA8 EC020032 8000BEA8 EC020032 8000BEA8 EC020032 8000BEA8 EC020032 8000BEA8 EC020032 8000BEA8 EC020032 8000BEA8 EC020032 fmuls f0, f2, f0
8000BEAC 482411F8 8000BEAC 48241C44 8000BEAC 48242B84 8000BEAC 48242938 8000BEAC 48241A80 8000BEAC 48241A80 8000BEAC 48242BFC 8000BEAC 48242444 b +0x00241A80 /* 8024D92C */
8000BEB0 C04210F0 8000BEB0 C0421120 8000BEB0 C0421130 8000BEB0 C0421130 8000BEB0 C0421108 8000BEB0 C0421108 8000BEB0 C0421138 8000BEB0 C0421128 lfs f2, [r2 + 0x1108]
8000BEB4 EFBD00B2 8000BEB4 EFBD00B2 8000BEB4 EFBD00B2 8000BEB4 EFBD00B2 8000BEB4 EFBD00B2 8000BEB4 EFBD00B2 8000BEB4 EFBD00B2 8000BEB4 EFBD00B2 fmuls f29, f29, f2
8000BEB8 FC40E890 8000BEB8 FC40E890 8000BEB8 FC40E890 8000BEB8 FC40E890 8000BEB8 FC40E890 8000BEB8 FC40E890 8000BEB8 FC40E890 8000BEB8 FC40E890 fmr f2, f29
8000BEBC 483C5F70 8000BEBC 483C8978 8000BEBC 483CA818 8000BEBC 483CA5C8 8000BEBC 483C7240 8000BEBC 483C7298 8000BEBC 483CA998 8000BEBC 483C9488 b +0x003C7240 /* 803D30FC */
80241E68 4BDCA014 80242848 4BDC9634 802437A8 4BDC86D4 8024353C 4BDC8940 80242744 4BDC9738 80242744 4BDC9738 80243870 4BDC860C 802430B8 4BDC8DC4 b -0x002368C8 /* 8000BE7C */
80241E74 EC25007A 80242854 EC25007A 802437B4 EC25007A 80243548 EC25007A 80242750 EC25007A 80242750 EC25007A 8024387C EC25007A 802430C4 EC25007A fmadds f1, f5, f0, f1
80241EC8 4BDC9FC8 802428A8 4BDC95E8 80243808 4BDC8688 8024359C 4BDC88F4 802427A4 4BDC96EC 802427A4 4BDC96EC 802438D0 4BDC85C0 80243118 4BDC8D78 b -0x00236914 /* 8000BE90 */
80241ED0 EC04007A 802428B0 EC04007A 80243810 EC04007A 802435A4 EC04007A 802427AC EC04007A 802427AC EC04007A 802438D8 EC04007A 80243120 EC04007A fmadds f0, f4, f0, f1
8024D0A0 4BDBEE00 8024DAEC 4BDBE3B4 8024EA2C 4BDBD474 8024E7E0 4BDBD6C0 8024D928 4BDBE578 8024D928 4BDBE578 8024EAA4 4BDBD3FC 8024E2EC 4BDBDBB4 b -0x00241A88 /* 8000BEA0 */
8025C2C8 4BDAFB98 8025CE70 4BDAEFF0 8025DE40 4BDAE020 8025DB64 4BDAE2FC 8025CBA0 4BDAF2C0 8025CBA0 4BDAF2C0 8025DE28 4BDAE038 8025D670 4BDAE7F0 b -0x00250D40 /* 8000BE60 */
8025C324 60000000 8025CECC 60000000 8025DE9C 60000000 8025DBC0 60000000 8025CBFC 60000000 8025CBFC 60000000 8025DE84 60000000 8025D6CC 60000000 nop
8025F964 4BDAC4E8 8026053C 4BDAB910 802615C0 4BDAA88C 80261338 4BDAAB14 8026023C 4BDABC10 8026023C 4BDABC10 802615FC 4BDAA850 80260E44 4BDAB008 b -0x002543F0 /* 8000BE4C */
8025F974 EC421828 8026054C EC421828 802615D0 EC421828 80261348 EC421828 8026024C EC421828 8026024C EC421828 8026160C EC421828 80260E54 EC421828 fsubs f2, f2, f3
803D1E28 4BC3A088 803D4830 4BC37680 803D66D0 4BC357E0 803D6480 4BC35A30 803D30F8 4BC38DB8 803D3150 4BC38D60 803D6850 4BC35660 803D5340 4BC36B70 b -0x003C7248 /* 8000BEB0 */
8044B3E0 432A0000 8044E200 432A0000 80450268 432A0000 80450030 432A0000 8044C170 432A0000 8044C5F0 432A0000 8044FEE8 432A0000 8044FCE8 432A0000 bc 25, 10, +0x00000000 /* 8044C170 */
8044B3F0 43FB8000 8044E210 43FB8000 80450278 43FB8000 80450040 43FB8000 8044C180 43FB8000 8044C600 43FB8000 8044FEF8 43FB8000 8044FCF8 43FB8000 bc 31, 27, -0x00008000 /* 80444180 */
8044B488 43540000 8044E2A8 43540000 80450310 43540000 804500D8 43540000 8044C218 43540000 8044C698 43540000 8044FF90 43540000 8044FD90 43540000 bc 26, 20, +0x00000000 /* 8044C218 */
8044B490 43860000 8044E2B0 43860000 80450318 43860000 804500E0 43860000 8044C220 43860000 8044C6A0 43860000 8044FF98 43860000 8044FD98 43860000 bc 28, 6, +0x00000000 /* 8044C220 */
8044B858 42B00000 8044E678 42B00000 804506E0 42B00000 804504A8 42B00000 8044C5E8 42B00000 8044CA68 42B00000 80450360 42B00000 80450160 42B00000 b cr4, +0x00000000 /* 8044C5E8 */
8044B968 430A0000 8044E788 430A0000 804507F0 430A0000 804505B8 430A0000 8044C6F8 430A0000 8044CB78 430A0000 80450470 430A0000 80450270 430A0000 bc 24, 10, +0x00000000 /* 8044C6F8 */
8044B970 43160000 8044E790 43160000 804507F8 43160000 804505C0 43160000 8044C700 43160000 8044CB80 43160000 80450478 43160000 80450278 43160000 bc 24, 22, +0x00000000 /* 8044C700 */
804CBCA8 44420000 804CF3F8 44420000 804D1948 44420000 804D16E8 44420000 804CC478 44420000 804CC958 44420000 804D0FC0 44420000 804D13B0 44420000 .invalid sc
804EA678 42780000 804EDDF8 42780000 804F0410 42780000 804F01B0 42780000 804EAEB0 42780000 804EB390 42780000 804EFAC0 42780000 804F0998 42780000 bc 19, 24, +0x00000000 /* 804EAEB0 */
804EA680 42B00000 804EDE00 42B00000 804F0418 42B00000 804F01B8 42B00000 804EAEB8 42B00000 804EB398 42B00000 804EFAC8 42B00000 804F09A0 42B00000 b cr4, +0x00000000 /* 804EAEB8 */
805CBB58 00000000 805D6158 00000000 805DD5F8 00000000 805DD398 00000000 805CC460 00000000 805D3480 00000000 805DCCA0 00000000 805D8EE0 00000000 .invalid
805CC360 44214000 805D6968 44214000 805DDE08 44214000 805DDBA8 44214000 805CCC70 44214000 805D3C90 44214000 805DD4B0 44214000 805D96F0 44214000 .invalid sc
805CC36C 43A48000 805D6974 43A48000 805DDE14 43A48000 805DDBB4 43A48000 805CCC7C 43A48000 805D3C9C 43A48000 805DD4BC 43A48000 805D96FC 43A48000 b cr1, -0x00008000 /* 805C4C7C */
805CC390 44214000 805D6998 44214000 805DDE38 44214000 805DDBD8 44214000 805CCCA0 44214000 805D3CC0 44214000 805DD4E0 44214000 805D9720 44214000 .invalid sc
805CC768 42280000 805D6D70 42280000 805DE210 42280000 805DDFB0 42280000 805CD078 42280000 805D4098 42280000 805DD8B8 42280000 805D9AF8 42280000 bdnz cr2, +0x00000000 /* 805CD078 */
805CCFAC 3F800000 805D75B4 3F800000 805DEA54 3F800000 805DE7F4 3F800000 805CD8BC 3F800000 805D48DC 3F800000 805DE0FC 3F800000 805DA33C 3F800000 lis r28, 0x0000
805CCFC0 41980000 805D75C8 41980000 805DEA68 41980000 805DE808 41980000 805CD8D0 41980000 805D48F0 41980000 805DE110 41980000 805DA350 41980000 blt cr6, +0x00000000 /* 805CD8D0 */
805CCFE0 43180000 805D75E8 43180000 805DEA88 43180000 805DE828 43180000 805CD8F0 43180000 805D4910 43180000 805DE130 43180000 805DA370 43180000 bdnz cr6, +0x00000000 /* 805CD8F0 */
Water & Light Effects Aspect Ratio Fix (for use with a 16:9 code)
169AmbientEffectsFix
JP12------------- JP13------------- JP14------------- JP15------------- US10------------- US11------------- US12------------- EU--------------- DISASSEMBLY (US10)
8000BDF0 C36210F0 8000BDF0 C3621120 8000BDF0 C3621130 8000BDF0 C3621130 8000BDF0 C3621108 8000BDF0 C3621108 8000BDF0 C3621138 8000BDF0 C3621128 lfs f27, [r2 + 0x1108]
8000BDF4 EC4206F2 8000BDF4 EC4206F2 8000BDF4 EC4206F2 8000BDF4 EC4206F2 8000BDF4 EC4206F2 8000BDF4 EC4206F2 8000BDF4 EC4206F2 8000BDF4 EC4206F2 fmuls f2, f2, f27
8000BDF8 FF601090 8000BDF8 FF601090 8000BDF8 FF601090 8000BDF8 FF601090 8000BDF8 FF601090 8000BDF8 FF601090 8000BDF8 FF601090 8000BDF8 FF601090 fmr f27, f2
8000BDFC 48366614 8000BDFC 48368D80 8000BDFC 4836AC1C 8000BDFC 4836A9D0 8000BDFC 48367658 8000BDFC 4836769C 8000BDFC 4836AD9C 8000BDFC 483698C4 b +0x00367658 /* 80373454 */
8037240C 4BC999E4 80374B78 4BC97278 80376A14 4BC953DC 803767C8 4BC95628 80373450 4BC989A0 80373494 4BC9895C 80376B94 4BC9525C 803756BC 4BC96734 b -0x00367660 /* 8000BDF0 */
+2785
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

+3
View File
@@ -0,0 +1,3 @@
.\data\help2-0-ja.png
.\data\help0-4-ja.png
.\data\help0-5-ja.png
+6
View File
@@ -0,0 +1,6 @@
.\data\help2-0-ja.png
.\data\help0-0-ja.png
.\data\help0-1-ja.png
.\data\help0-2-ja.png
.\data\help0-3-ja.png
.\data\help0-7-ja.png
+1
View File
@@ -0,0 +1 @@
.\data\help1-1-ja.png
+1
View File
@@ -0,0 +1 @@
.\data\help1-0-ja.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,829 @@
.version BB_V4
.quest_num 65535
.episode Episode1
.max_players 0
.name "title dummy"
.short_desc "intro dummy"
.long_desc "detail dummy"
start@0x0000:
ret
label0001@0x0001:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "Greetings."
message ...
arg_pushs "We\'ve got an emergency\nsituation happening on\nRagol."
add_msg ...
arg_pushs "We need skilled hunters\nsuch as yourself to help\nus out."
add_msg ...
mesend
ret
label0002@0x0002:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0003@0x0003:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0004@0x0004:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0005@0x0005:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0006@0x0006:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0007@0x0007:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0008@0x0008:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0009@0x0009:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0014@0x0014:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EA
arg_pushs "A meteor impact formed\nan enormous Crater on\nRagol\'s surface."
message ...
arg_pushs "We believe that it may\nhold some clues as to\nwhat\'s going on, now."
add_msg ...
arg_pushs "Please, help us in\nwhatever way you can."
add_msg ...
mesend
ret
label0015@0x0015:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EA
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0016@0x0016:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EA
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0017@0x0017:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EA
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0018@0x0018:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EA
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0019@0x0019:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EA
arg_pushs "NO_TEXT"
message ...
mesend
ret
label001E@0x001E:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "I\'ve been thinking for a\nwhile, now, and I find\nit strange."
message ...
arg_pushs "We had already detected\nthe meteor beforehand,\nright?"
add_msg ...
arg_pushs "So, then, how come..."
add_msg ...
mesend
ret
label001F@0x001F:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0020@0x0020:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0021@0x0021:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0022@0x0022:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0023@0x0023:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0024@0x0024:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0025@0x0025:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0026@0x0026:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0032@0x0032:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EC
arg_pushs "There\'s been a meteor\nstrike!"
message ...
arg_pushs "A meteor!"
add_msg ...
arg_pushs "It looks like we were\nokay this time, but\nwhat if more come?"
add_msg ...
arg_pushs "We need to leave this\nplanet now!"
add_msg ...
arg_pushs "Err... Sorry, I guess\nI\'m overreacting."
add_msg ...
mesend
ret
label0033@0x0033:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EC
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0034@0x0034:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EC
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0035@0x0035:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EC
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0036@0x0036:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EC
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0037@0x0037:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EC
arg_pushs "NO_TEXT"
message ...
mesend
ret
label003C@0x003C:
// Could not determine data type; disassembling as code
arg_pushl 0x000003F4
arg_pushs "There\'s been a lot of\nmovement from people in\nuniform recently."
message ...
arg_pushs "There\'s talk of a simple\ninvestigation of the\nCrater, but..."
add_msg ...
arg_pushs "They seem a bit too tense\nfor such a \"simple\"\ninvestigation."
add_msg ...
mesend
ret
label0046@0x0046:
// Could not determine data type; disassembling as code
arg_pushl 0x000003F5
arg_pushs "Have you heard?"
message ...
arg_pushs "That shockwave was caused\nby a meteor that almost\nhit Pioneer 2!"
add_msg ...
arg_pushs "Evidently, it impacted\non the surface of\nRagol."
add_msg ...
arg_pushs "The whole situation\nseems weird."
add_msg ...
mesend
ret
label0050@0x0050:
// Could not determine data type; disassembling as code
arg_pushl 0x000003F6
arg_pushs "The people coming through\nhere seem to be getting\nmore and more nervous."
message ...
arg_pushs "Things on Pioneer 2 seem\nokay, but what\'s going on\ndown on Ragol?"
add_msg ...
mesend
ret
label005A@0x005A:
// Could not determine data type; disassembling as code
arg_pushl 0x000003F7
arg_pushs "That shaking we felt was\nbecause of the meteor!"
message ...
arg_pushs "It gave me quite a\nshock, but I\'m glad\neveryone\'s okay!"
add_msg ...
mesend
ret
label0064@0x0064:
// Could not determine data type; disassembling as code
arg_pushl 0x000003F8
arg_pushs "You!\nYou!\nYou!"
message ...
arg_pushs "This is no time to\ngoof off!"
add_msg ...
arg_pushs "That shaking had my\neyes popping out of\nmy head!"
add_msg ...
arg_pushs "Aw, I\'m just teasing you.\nStill, this situation is\njust incredible!"
add_msg ...
mesend
ret
label006E@0x006E:
// Could not determine data type; disassembling as code
arg_pushl 0x000003FA
arg_pushs "If you\'re hurt, head to\nthe Medical Center for\nsome aid!"
message ...
arg_pushs "Sometimes, courage is\nknowing when it\'s\nbetter to retreat."
add_msg ...
arg_pushs "Do your best, but\ndon\'t overdo it!"
add_msg ...
mesend
ret
label0078@0x0078:
// Could not determine data type; disassembling as code
arg_pushl 0x000003FB
arg_pushs "This teleporter will take\nyou down to the surface\nof Ragol."
message ...
arg_pushs "The investigation of the\nmeteor impact is not\nyet complete."
add_msg ...
arg_pushs "Please be prepared for\nany and all possible\ncontingencies."
add_msg ...
mesend
ret
label0082@0x0082:
// Could not determine data type; disassembling as code
arg_pushl 0x000003FC
arg_pushs "The military must be\ndispatched to deal with\nthis crisis."
message ...
arg_pushs "We must give our all,\nfor the sake of the\npeople."
add_msg ...
arg_pushs "That is a soldier\'s\nultimate duty."
add_msg ...
mesend
ret
label008C@0x008C:
// Could not determine data type; disassembling as code
arg_pushl 0x000003FD
arg_pushs "It\'s shopping day!\nAnd yet again, I end\nup here..."
message ...
arg_pushs "..."
add_msg ...
arg_pushs "...hey, were you\njust listening in\non me?"
add_msg ...
mesend
ret
label0096@0x0096:
// Could not determine data type; disassembling as code
arg_pushl 0x000003FF
arg_pushs "This teleporter leads to\na battle training\nsimulator."
message ...
arg_pushs "The goal is to defeat as\nmany opponents as\npossible in a set time."
add_msg ...
arg_pushs "The simulator has been\ndesigned by the\ngovernment itself."
add_msg ...
mesend
ret
label00A0@0x00A0:
// Could not determine data type; disassembling as code
arg_pushl 0x00000400
arg_pushs "I wonder which one of\nus is stronger, between\nyou and I."
message ...
arg_pushs "I mean, I don\'t bear you\nany ill will, I\'m just\ncurious."
add_msg ...
arg_pushs "The simulator can make\nfor a good test of your\ntrue abilities."
add_msg ...
arg_pushs "In a real contest,\nthough, it all comes\ndown to luck."
add_msg ...
arg_pushs "The stronger opponent\ndoesn\'t always\nnecessarily succeed."
add_msg ...
mesend
ret
label00AA@0x00AA:
// Could not determine data type; disassembling as code
arg_pushl 0x00000401
arg_pushs "Experience and items here\ncan\'t be used elsewhere."
message ...
arg_pushs "My dad said that you\ncan\'t save them, and you\ncan\'t take them with you."
add_msg ...
arg_pushs "But I\'m just a kid. I\nreally don\'t know what\nhe\'s talking about."
add_msg ...
mesend
ret
label00B4@0x00B4:
// Could not determine data type; disassembling as code
arg_pushl 0x00000402
arg_pushs "Make sure that you don\'t\nget caught in your own\nTraps!"
message ...
arg_pushs "That\'s why my grandpa\nsaid. But I\'m just a kid,\nso I don\'t get it."
add_msg ...
mesend
ret
label00BE@0x00BE:
// Could not determine data type; disassembling as code
arg_pushl 0x00000404
arg_pushs "This teleporter won\'t \ntake you to Ragol."
message ...
arg_pushs "It\'ll bring you to a\ngovernment-designed\ntraining simulator."
add_msg ...
arg_pushs "I heard that it ranks\nhunters."
add_msg ...
arg_pushs "What a great simulator!"
add_msg ...
mesend
ret
label00C8@0x00C8:
// Could not determine data type; disassembling as code
arg_pushl 0x00000405
arg_pushs "Each stage has its own\nset of rules. Read them\nbefore starting a game."
message ...
arg_pushs "When a stage has been\ncleared, a title is given\nto allow you to progress."
add_msg ...
arg_pushs "You can play the same\nstages even after you\nhave cleared them."
add_msg ...
arg_pushs "I\'ve heard you\'ll receive\nwonderful rewards after\nclearing all the stages."
add_msg ...
arg_pushs "Good luck!"
add_msg ...
mesend
ret
label00D2@0x00D2:
// Could not determine data type; disassembling as code
arg_pushl 0x00000406
arg_pushs "Experience and items only\napply to the stage they\nwere earned on."
message ...
arg_pushs "That\'s what my dad told\nme, but I\'m just a kid.\nI don\'t understand."
add_msg ...
mesend
ret
label00DC@0x00DC:
// Could not determine data type; disassembling as code
arg_pushl 0x00000407
arg_pushs "Press TAB to see the\ntitle that you received."
message ...
arg_pushs "My grandpa told me that\nbefore, but I didn\'t pay\nattention then."
add_msg ...
mesend
ret
label00E6@0x00E6:
// Could not determine data type; disassembling as code
arg_pushl 0x00000408
arg_pushs "The emphasis of this\nsimulation is to help\nothers!"
message ...
arg_pushs "The simulation will end\nwhen any player in your\ngroup is dead."
add_msg ...
arg_pushs "Pay attention to each\nother\'s condition and\nhelp each other."
add_msg ...
arg_pushs "For example, when you\nhave a Force, give health\nitems to him or her."
add_msg ...
arg_pushs "Good luck!"
add_msg ...
mesend
ret
label00E7@0x00E7:
// Could not determine data type; disassembling as code
arg_pushl 0x00000408
arg_pushs "The emphasis of this\nsimulation is to help\nothers!"
message ...
arg_pushs "The simulation will end\nwhen all players in the\ngroup are dead."
add_msg ...
arg_pushs "Pay attention to each\nother\'s condition and\nhelp each other."
add_msg ...
arg_pushs "For example, when you\nhave a Force, give health\nitems to him or her."
add_msg ...
arg_pushs "Good luck!"
add_msg ...
mesend
ret
label0320@0x0320:
// Could not determine data type; disassembling as code
arg_pushl 0x00000000
bb_p2_menu ...
ret
label032A@0x032A:
// Could not determine data type; disassembling as code
arg_pushl 0x00000002
bb_p2_menu ...
ret
label0334@0x0334:
// Could not determine data type; disassembling as code
arg_pushl 0x00000003
bb_p2_menu ...
ret
label033E@0x033E:
// Could not determine data type; disassembling as code
gget 0x000B, r200
gget 0x000C, r201
gget 0x000D, r202
gget 0x000E, r203
gget 0x000F, r204
gget 0x0010, r205
gget 0x0011, r206
gget 0x0012, r207
gget 0x0013, r208
gget 0x0014, r209
gget 0x0015, r210
gget 0x0016, r211
gget 0x0017, r212
gget 0x0018, r213
gget 0x0019, r214
gget 0x001A, r215
gget 0x001E, r216
gget 0x001F, r217
gget 0x0020, r218
gget 0x0021, r219
gget 0x0022, r220
gget 0x0028, r221
gget 0x0029, r222
gget 0x002A, r223
gget 0x002B, r224
gget 0x002C, r225
gget 0x002D, r226
gget 0x002E, r227
gget 0x002F, r228
gget 0x0030, r229
jmpi_eq r208, 0x00000001, label033F /* 22F7 */
arg_pushl 0x00000006
bb_p2_menu ...
gset 0x0013
ret
label033F@0x033F:
arg_pushl 0x00000006
bb_p2_menu ...
ret
label0348@0x0348:
// Could not determine data type; disassembling as code
arg_pushl 0x00000005
bb_p2_menu ...
ret
label0352@0x0352:
// Could not determine data type; disassembling as code
arg_pushl 0x00000004
bb_p2_menu ...
ret
label035C@0x035C:
// Could not determine data type; disassembling as code
arg_pushl 0x00000001
bb_p2_menu ...
ret
label0366@0x0366:
// Could not determine data type; disassembling as code
gget 0x000B, r200
gget 0x000C, r201
gget 0x000D, r202
gget 0x000E, r203
gget 0x000F, r204
gget 0x0010, r205
gget 0x0011, r206
gget 0x0012, r207
gget 0x0013, r208
gget 0x0014, r209
gget 0x0015, r210
gget 0x0016, r211
gget 0x0017, r212
gget 0x0018, r213
gget 0x0019, r214
gget 0x001A, r215
gget 0x001E, r216
gget 0x001F, r217
gget 0x0020, r218
gget 0x0021, r219
gget 0x0022, r220
gget 0x0028, r221
gget 0x0029, r222
gget 0x002A, r223
gget 0x002B, r224
gget 0x002C, r225
gget 0x002D, r226
gget 0x002E, r227
gget 0x002F, r228
gget 0x0030, r229
gget 0x03FA, r230
jmpi_eq r230, 0x00000001, label0367 /* 24F6 */
arg_pushl 0x00000419
arg_pushs "How do you do?\nI\'m the new receptionist\nclerk, here!"
message ...
arg_pushs "My name is <color 5>Momoka<color 0>."
add_msg ...
arg_pushs "If you need help or would\nlike to see what we\'re\noffering, come see me."
add_msg ...
mesend
gset 0x03FA
arg_pushl 0x00000007
bb_p2_menu ...
ret
label0367@0x0367:
arg_pushl 0x00000007
bb_p2_menu ...
ret
label0370@0x0370:
// Could not determine data type; disassembling as code
arg_pushl 0x00000418
arg_pushs "I am Coren Tsu, a wandering merchant,\nyou could say."
message ...
arg_pushs "Please take some time to look at\nthe rare and wonderous goods\nI have been collecting."
add_msg ...
arg_pushs "If you spend a little meseta,\nyou could win a wonderful prize."
add_msg ...
arg_pushs "Well? Wanna try?"
add_msg ...
mesend
arg_pushb 0x64
arg_pushs "Yes\nNo"
list ...
switch_jmp r100, [label0371 /* 1750 */, label0372 /* 18C1 */]
ret
label0371@0x0371:
bb_get_number_in_pack r100
jmpi_eq r100, 0x0000001E, label0373 /* 1984 */
arg_pushl 0x00000418
arg_pushs "You may win,\nyou may lose."
message ...
arg_pushs "But if you don't win,\ndon't take it out on me."
add_msg ...
arg_pushs "That's just the way\ngambling is, yes?"
add_msg ...
arg_pushs "Well then, how much\nmeseta do you want to pay?"
add_msg ...
arg_pushs "As long as you pay me,\nI'll give you a great service."
add_msg ...
mesend
arg_pushb 0x65
arg_pushs "1000 Meseta\n10000 Meseta\n100000 Meseta\nI'll stop"
list ...
switch_jmp r101, [label0374 /* 19FD */, label0375 /* 1A12 */, label0376 /* 1A27 */, label0377 /* 1A3C */]
ret
label0372@0x0372:
arg_pushl 0x00000418
arg_pushs "Huh?"
message ...
arg_pushs "That's too bad..."
add_msg ...
arg_pushs "Well, these kind of things usually\nhave a chance to lose money. "
add_msg ...
arg_pushs "Let's keep this discreet."
add_msg ...
arg_pushs "If you feel up to it,\ntalk to me again."
add_msg ...
mesend
ret
label0373@0x0373:
arg_pushl 0x00000418
arg_pushs "It seems you have\ntoo many items."
message ...
arg_pushs "First, go and\norganize your items,"
add_msg ...
arg_pushs "Then speak to me again."
add_msg ...
mesend
ret
label0374@0x0374:
get_slot_meseta r102
jmpi_lt r102, 0x000003E8, label0378 /* 1AA3 */
leti r102, 0x000003E8
jmp label0379 /* 1B02 */
ret
label0375@0x0375:
get_slot_meseta r102
jmpi_lt r102, 0x00002710, label0378 /* 1AA3 */
leti r102, 0x00002710
jmp label0379 /* 1B02 */
ret
label0376@0x0376:
get_slot_meseta r102
jmpi_lt r102, 0x000186A0, label0378 /* 1AA3 */
leti r102, 0x000186A0
jmp label0379 /* 1B02 */
ret
label0377@0x0377:
arg_pushl 0x00000418
arg_pushs "What?"
message ...
arg_pushs "You said you'd try,\nthen you said no."
add_msg ...
arg_pushs "People like that\nfail at everything."
add_msg ...
mesend
ret
label0378@0x0378:
arg_pushl 0x00000418
arg_pushs "What the...?"
message ...
arg_pushs "You don't have the\nmeseta to pay me?"
add_msg ...
arg_pushs "I won't work with such\ncold hearted people."
add_msg ...
mesend
ret
label0379@0x0379:
get_client_id r100
let r103, r100
let r104, r102
clear r105
take_slot_meseta r103-r104, r105
jmpi_eq r105, 0x00000000, label0378 /* 1AA3 */
arg_pushl 0x00000418
arg_pushs "You better pray..."
message ...
arg_pushs "for something good..."
add_msg ...
mesend
clear r100
label037A@0x037A:
arg_pushl 0x00000010
se ...
sync
sync
sync
sync
sync
sync
sync
sync
sync
sync
sync
sync
sync
sync
addi r100, 0x0000000F
jmpi_le r100, 0x0000005A, label037A /* 1B84 */
arg_pushr r101
bb_send_6xE2 ...
clear r106
clear r100
label037B@0x037B:
sync
bb_get_6xE3_status r106
jmpi_eq r106, 0x00000001, label037C /* 1BEA */
jmpi_eq r106, 0x00000002, label037D /* 1D24 */
addi r100, 0x00000001
jmpi_le r100, 0x0000012C, label037B /* 1BAE */
arg_pushs "SERVER SEND ERROR"
window_msg ...
winend
ret
label037C@0x037C:
sync
arg_pushl 0x00000001
bgm ...
arg_pushs "<bk>\nObtained <color 4><meseta_slot_prize><color 0>!"
window_msg ...
winend
sync
arg_pushl 0x00000418
arg_pushs "Look here!\nTake it!"
message ...
arg_pushs "Even if you had bad luck,\nsomething good will come out of it."
add_msg ...
arg_pushs "You'll win someday!"
add_msg ...
arg_pushs "In case you want to try again,\ncome back to me once more."
add_msg ...
mesend
ret
label037D@0x037D:
arg_pushs "COMMAND EXECUTION ERROR"
window_msg ...
winend
ret
nop
nop
@@ -0,0 +1,828 @@
.version BB_V4
.quest_num 65535
.episode Episode1
.max_players 0
.name "title dummy"
.short_desc "intro dummy"
.long_desc "detail dummy"
start@0x0000:
ret
label0001@0x0001:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "私が総督のタイレルだ。"
message ...
arg_pushs "現在、ラグオルでは\n異常事態が発生しておる。"
add_msg ...
arg_pushs "優秀なハンターズである\n君たちにも、ぜひ協力を頼む。"
add_msg ...
mesend
ret
label0002@0x0002:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0003@0x0003:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0004@0x0004:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0005@0x0005:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0006@0x0006:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0007@0x0007:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0008@0x0008:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0009@0x0009:
// Could not determine data type; disassembling as code
arg_pushl 0x000003E9
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0014@0x0014:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EA
arg_pushs "隕石の落下により、\nラグオル地表に大規模な\nクレーターができました。"
message ...
arg_pushs "そこを発端とした\n一連の異常事態収拾に\nお力をお貸し下さい。"
add_msg ...
arg_pushs "ご協力をどうか\nよろしくお願いします。"
add_msg ...
mesend
ret
label0015@0x0015:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EA
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0016@0x0016:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EA
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0017@0x0017:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EA
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0018@0x0018:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EA
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0019@0x0019:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EA
arg_pushs "NO_TEXT"
message ...
mesend
ret
label001E@0x001E:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "この前から、ずっと\n考えていたのですが、\nおかしいんです。"
message ...
arg_pushs "あの隕石については\n我々も以前から\n察知はしていました。"
add_msg ...
arg_pushs "それなのに……"
add_msg ...
mesend
ret
label001F@0x001F:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0020@0x0020:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0021@0x0021:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0022@0x0022:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0023@0x0023:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0024@0x0024:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0025@0x0025:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0026@0x0026:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EB
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0032@0x0032:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EC
arg_pushs "隕石が落ちたんだぞ!"
message ...
arg_pushs "隕石が!"
add_msg ...
arg_pushs "今、我々が無事だったとは言え、\nいつまた落ちてくるのかわからん!"
add_msg ...
arg_pushs "一刻も早く、この惑星から\n遠く離れるべきなんだよ!"
add_msg ...
arg_pushs "……おっと失礼。\n興奮しすぎたようだ。"
add_msg ...
mesend
ret
label0033@0x0033:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EC
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0034@0x0034:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EC
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0035@0x0035:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EC
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0036@0x0036:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EC
arg_pushs "NO_TEXT"
message ...
mesend
ret
label0037@0x0037:
// Could not determine data type; disassembling as code
arg_pushl 0x000003EC
arg_pushs "NO_TEXT"
message ...
mesend
ret
label003C@0x003C:
// Could not determine data type; disassembling as code
arg_pushl 0x000003F4
arg_pushs "最近、あの制服のやつらの\n動きがあわただしい。"
message ...
arg_pushs "隕石の調査だと言っているが\nはたして……?"
add_msg ...
arg_pushs "それにしても、\nあまりにも緊迫感があるが。"
add_msg ...
mesend
ret
label0046@0x0046:
// Could not determine data type; disassembling as code
arg_pushl 0x000003F5
arg_pushs "知っているか……?"
message ...
arg_pushs "この前、このパイオニア2が\n激しく揺れたのは隕石が\nすぐ近くをかすめたせいさ。"
add_msg ...
arg_pushs "その隕石はその直後\nラグオルヘと衝突したらしい。"
add_msg ...
arg_pushs "しかし謎だらけだよ。\nこの事態は……"
add_msg ...
mesend
ret
label0050@0x0050:
// Could not determine data type; disassembling as code
arg_pushl 0x000003F6
arg_pushs "ここのところ、\nこのあたりを通る人に\n緊張感が感じられるわ。"
message ...
arg_pushs "パイオニア2の中は\n大丈夫だけど、ラグオルは\n大変なのかしら?"
add_msg ...
mesend
ret
label005A@0x005A:
// Could not determine data type; disassembling as code
arg_pushl 0x000003F7
arg_pushs "この前の大きな揺れは\n隕石のせいだったんだね!"
message ...
arg_pushs "びっくりしたけど、\nみんなが無事でよかったよ。"
add_msg ...
mesend
ret
label0064@0x0064:
// Could not determine data type; disassembling as code
arg_pushl 0x000003F8
arg_pushs "あんた!\nあんた!\nあんた!"
message ...
arg_pushs "そんなに、のんきに\nしている場合じゃないわよ!"
add_msg ...
arg_pushs "この前のあのすごい揺れ!\nあたしゃ目ん玉が飛び出たわよ!"
add_msg ...
arg_pushs "まぁ、冗談だけどね……\nそれくらいスゴかったってことよ!"
add_msg ...
mesend
ret
label006E@0x006E:
// Could not determine data type; disassembling as code
arg_pushl 0x000003FA
arg_pushs "疲れて傷ついた体は\nメディカルセンターで\nリフレッシュ!"
message ...
arg_pushs "戦う勇気も必要だけど、\n時には撤退する勇気も必要よ。"
add_msg ...
arg_pushs "決して無理をせずに\nがんばってね!"
add_msg ...
mesend
ret
label0078@0x0078:
// Could not determine data type; disassembling as code
arg_pushl 0x000003FB
arg_pushs "ここの転送装置から\n惑星ラグオルヘと通じている。"
message ...
arg_pushs "惑星ラグオルは\n隕石衝突後の収拾が\n未だ完全ではない。"
add_msg ...
arg_pushs "何があろうと動じない\n準備と心構えを怠らぬようにな。"
add_msg ...
mesend
ret
label0082@0x0082:
// Could not determine data type; disassembling as code
arg_pushl 0x000003FC
arg_pushs "我々軍部は、\n今回のような一大事では\n先陣を切って動かなければならん。"
message ...
arg_pushs "皆のために体を張って……"
add_msg ...
arg_pushs "軍人とはそういうものだ。"
add_msg ...
mesend
ret
label008C@0x008C:
// Could not determine data type; disassembling as code
arg_pushl 0x000003FD
arg_pushs "今日はお買い物日和ね。\nって、私ったら、\nまたここに来ちゃったわ。"
message ...
arg_pushs "…………"
add_msg ...
arg_pushs "……あら、聞こえちゃった?"
add_msg ...
mesend
ret
label0096@0x0096:
// Could not determine data type; disassembling as code
arg_pushl 0x000003FF
arg_pushs "バトルの申し込みをしたら、\n政府が 訓練のために作った\nシミュレータに転送されるよ。"
message ...
arg_pushs "決められた時間内に、どれだけ\n相手を倒したかを競うんだってさ。"
add_msg ...
arg_pushs "よくできた シミュレータだよねぇ!"
add_msg ...
mesend
ret
label00A0@0x00A0:
// Could not determine data type; disassembling as code
arg_pushl 0x00000400
arg_pushs "オレとお前、\nどっちが強いんだろう?"
message ...
arg_pushs "…って、ハンターズ同士で\n思ったことない?"
add_msg ...
arg_pushs "そんなときは、この訓練用\nシミュレータを使えば、\nあなたの 今の実力が判るわよ。"
add_msg ...
arg_pushs "勝負は 時の運…"
add_msg ...
arg_pushs "実力だけで\nおしはかれないことも あるけどね。"
add_msg ...
mesend
ret
label00AA@0x00AA:
// Could not determine data type; disassembling as code
arg_pushl 0x00000401
arg_pushs "経験値やアイテムは その場限り。"
message ...
arg_pushs "セーブされないし\n持ち込んでも\n無くなることはねぇぜ。"
add_msg ...
arg_pushs "…って 父ちゃんが言ってたけど、\nボク 子供だから 何のことだか\nよく わからないや。"
add_msg ...
mesend
ret
label00B4@0x00B4:
// Could not determine data type; disassembling as code
arg_pushl 0x00000402
arg_pushs "トラップは、置いてしばらくすると\n起動するから、自分で\n巻き込まれないよう 気をつけるんじゃぞ。"
message ...
arg_pushs "…って おじいちゃんが言ってたけど、\nボク 子供だから 何のことだか\nよく わからないや。"
add_msg ...
mesend
ret
label00BE@0x00BE:
// Could not determine data type; disassembling as code
arg_pushl 0x00000404
arg_pushs "このエリアの転送装置は\nラグオルへ向かうものじゃないよ。"
message ...
arg_pushs "政府が 訓練のために作った\nシミュレータなんだ。"
add_msg ...
arg_pushs "ハンターのランク付けをするための\nものらしいよ。"
add_msg ...
arg_pushs "よくできた シミュレータだよねぇ!"
add_msg ...
mesend
ret
label00C8@0x00C8:
// Could not determine data type; disassembling as code
arg_pushl 0x00000405
arg_pushs "ステージごとに設定された状態から\nゲームをスタート!"
message ...
arg_pushs "ステージを制覇すると\nその証明に 称号が与えられ、\n次のステージに 進めるようになるの。"
add_msg ...
arg_pushs "一度クリアしたステージも、\n何度でも挑戦できるんだって。"
add_msg ...
arg_pushs "で、全ステージを制覇すると\n素敵なごほうびがもらえるらしいわ。"
add_msg ...
arg_pushs "がんばってね!"
add_msg ...
mesend
ret
label00D2@0x00D2:
// Could not determine data type; disassembling as code
arg_pushl 0x00000406
arg_pushs "経験値やアイテムは その場限り。\nセーブはされないよ。"
message ...
arg_pushs "…って 父ちゃんが言ってたけど、\nボク 子供だから 何のことだか\nよく わからないや。"
add_msg ...
mesend
ret
label00DC@0x00DC:
// Could not determine data type; disassembling as code
arg_pushl 0x00000407
arg_pushs "与えられた称号は、ロビーで\nTabキーを押すと見ることが\nできるんじゃよ。"
message ...
arg_pushs "…って おじいちゃんが言ってたけど、\nボク 子供だから 何のことだか\nよく わからないや。"
add_msg ...
mesend
ret
label00E6@0x00E6:
// Could not determine data type; disassembling as code
arg_pushl 0x00000408
arg_pushs "このシミュレータのテーマは\n「助け合いの試練」であぁる!"
message ...
arg_pushs "参加者のうち 1人でも\n戦えなくなったら、その時点で\nシミュレーションは終了となぁる!"
add_msg ...
arg_pushs "他の参加者のステータスに注意し、\nお互い助けあいながら\n進むがよかろう!"
add_msg ...
arg_pushs "フォースのように体力の弱い者が\n参加する場合は、回復系アイテム等を\nマメに渡してあげたりするといいぞぉ。"
add_msg ...
arg_pushs "では、健闘を祈る!"
add_msg ...
mesend
ret
label00E7@0x00E7:
// Could not determine data type; disassembling as code
arg_pushl 0x00000408
arg_pushs "このシミュレータのテーマは\n「助け合いの試練」であぁる!"
message ...
arg_pushs "参加者 全員が\n戦えなくなったら、その時点で\nシミュレーションは終了となぁる!"
add_msg ...
arg_pushs "他の参加者のステータスに注意し、\nお互い助けあいながら\n進むがよかろう!"
add_msg ...
arg_pushs "フォースのように体力の弱い者が\n参加する場合は、回復系アイテム等を\nマメに渡してあげたりするといいぞぉ。"
add_msg ...
arg_pushs "では、健闘を祈る!"
add_msg ...
mesend
ret
label0320@0x0320:
// Could not determine data type; disassembling as code
arg_pushl 0x00000000
bb_p2_menu ...
ret
label032A@0x032A:
// Could not determine data type; disassembling as code
arg_pushl 0x00000002
bb_p2_menu ...
ret
label0334@0x0334:
// Could not determine data type; disassembling as code
arg_pushl 0x00000003
bb_p2_menu ...
ret
label033E@0x033E:
// Could not determine data type; disassembling as code
gget 0x000B, r200
gget 0x000C, r201
gget 0x000D, r202
gget 0x000E, r203
gget 0x000F, r204
gget 0x0010, r205
gget 0x0011, r206
gget 0x0012, r207
gget 0x0013, r208
gget 0x0014, r209
gget 0x0015, r210
gget 0x0016, r211
gget 0x0017, r212
gget 0x0018, r213
gget 0x0019, r214
gget 0x001A, r215
gget 0x001E, r216
gget 0x001F, r217
gget 0x0020, r218
gget 0x0021, r219
gget 0x0022, r220
gget 0x0028, r221
gget 0x0029, r222
gget 0x002A, r223
gget 0x002B, r224
gget 0x002C, r225
gget 0x002D, r226
gget 0x002E, r227
gget 0x002F, r228
gget 0x0030, r229
jmpi_eq r208, 0x00000001, label033F /* 14A3 */
arg_pushl 0x00000006
bb_p2_menu ...
gset 0x0013
ret
label033F@0x033F:
arg_pushl 0x00000006
bb_p2_menu ...
ret
label0348@0x0348:
// Could not determine data type; disassembling as code
arg_pushl 0x00000005
bb_p2_menu ...
ret
label0352@0x0352:
// Could not determine data type; disassembling as code
arg_pushl 0x00000004
bb_p2_menu ...
ret
label035C@0x035C:
// Could not determine data type; disassembling as code
arg_pushl 0x00000001
bb_p2_menu ...
ret
label0366@0x0366:
// Could not determine data type; disassembling as code
gget 0x000B, r200
gget 0x000C, r201
gget 0x000D, r202
gget 0x000E, r203
gget 0x000F, r204
gget 0x0010, r205
gget 0x0011, r206
gget 0x0012, r207
gget 0x0013, r208
gget 0x0014, r209
gget 0x0015, r210
gget 0x0016, r211
gget 0x0017, r212
gget 0x0018, r213
gget 0x0019, r214
gget 0x001A, r215
gget 0x001E, r216
gget 0x001F, r217
gget 0x0020, r218
gget 0x0021, r219
gget 0x0022, r220
gget 0x0028, r221
gget 0x0029, r222
gget 0x002A, r223
gget 0x002B, r224
gget 0x002C, r225
gget 0x002D, r226
gget 0x002E, r227
gget 0x002F, r228
gget 0x0030, r229
gget 0x03FA, r230
jmpi_eq r230, 0x00000001, label0367 /* 1612 */
arg_pushl 0x00000419
arg_pushs "はじめましてぇ。\n新しく総督府の受付事務員として\n配属となりました…"
message ...
arg_pushs "<color 5>モモカ<color 0>です。"
add_msg ...
arg_pushs "ふつつかものですが、\n今後とも よろしくお願いしますねぇ。"
add_msg ...
mesend
gset 0x03FA
arg_pushl 0x00000007
bb_p2_menu ...
ret
label0367@0x0367:
arg_pushl 0x00000007
bb_p2_menu ...
ret
label0370@0x0370:
// Could not determine data type; disassembling as code
arg_pushl 0x00000418
arg_pushs "オレの名前はコレン・ツだ。\n人はオレを放浪商人と呼ぶ。"
message ...
arg_pushs "オレがかき集めた\nレアでアレなアイテムを\nここらでちょいとサバこうかと。"
add_msg ...
arg_pushs "それなりのお代を頂戴すれば、\n豪華商品が当たるやもしれない。\nいやいや、当たらぬかもしれない。"
add_msg ...
arg_pushs "ホラホラホラホラ、\nひとつヤッてみるかい?"
add_msg ...
mesend
arg_pushb 0x64
arg_pushs "はい\nいいえ"
list ...
switch_jmp r100, [label0371 /* 1750 */, label0372 /* 18C1 */]
ret
label0371@0x0371:
bb_get_number_in_pack r100
jmpi_eq r100, 0x0000001E, label0373 /* 1984 */
arg_pushl 0x00000418
arg_pushs "当たるも八卦、\n当たらぬも八卦。"
message ...
arg_pushs "ロクなものが当たらぬ時は\nニブい自分をおうらみなさい。\nこれぞ合わせて八卦でござい。"
add_msg ...
arg_pushs "ギャンブルなんて\nそんなモン。"
add_msg ...
arg_pushs "さてさて、いかほどメセタを\nいただけるんで?"
add_msg ...
arg_pushs "お代の払いが縁の始まり、\n払いの額を選んでちょうだいな。"
add_msg ...
mesend
arg_pushb 0x65
arg_pushs "1000メセタ\n10000メセタ\n100000メセタ\nやっぱり止める"
list ...
switch_jmp r101, [label0374 /* 19FD */, label0375 /* 1A12 */, label0376 /* 1A27 */, label0377 /* 1A3C */]
ret
label0372@0x0372:
arg_pushl 0x00000418
arg_pushs "ん?"
message ...
arg_pushs "そいつぁ残念だな。"
add_msg ...
arg_pushs "まあ、こういうモンはたいてい\n損をするかもしれないからな。"
add_msg ...
arg_pushs "慎重なのも悪かぁない。"
add_msg ...
arg_pushs "だけどソデ摺りあうも他生の縁。\n気が向いたら、また話しかけてくれ。"
add_msg ...
mesend
ret
label0373@0x0373:
arg_pushl 0x00000418
arg_pushs "こいつぁアイテムが\nいっぱいみたいだな。"
message ...
arg_pushs "マズは、アイテムを\n整理してきてくれ。"
add_msg ...
arg_pushs "オレとの縁はそれからだ。"
add_msg ...
mesend
ret
label0374@0x0374:
get_slot_meseta r102
jmpi_lt r102, 0x000003E8, label0378 /* 1AA3 */
leti r102, 0x000003E8
jmp label0379 /* 1B02 */
ret
label0375@0x0375:
get_slot_meseta r102
jmpi_lt r102, 0x00002710, label0378 /* 1AA3 */
leti r102, 0x00002710
jmp label0379 /* 1B02 */
ret
label0376@0x0376:
get_slot_meseta r102
jmpi_lt r102, 0x000186A0, label0378 /* 1AA3 */
leti r102, 0x000186A0
jmp label0379 /* 1B02 */
ret
label0377@0x0377:
arg_pushl 0x00000418
arg_pushs "なんだ?"
message ...
arg_pushs "一度、やると言ったのに\n止めルのか。"
add_msg ...
arg_pushs "そういうヤツは\nなにやっても失敗するぞ。"
add_msg ...
mesend
ret
label0378@0x0378:
arg_pushl 0x00000418
arg_pushs "なんだ?"
message ...
arg_pushs "払うといった額のメセタを\n満たしてないのか?"
add_msg ...
arg_pushs "冷やかしならお断りだよ。"
add_msg ...
mesend
ret
label0379@0x0379:
get_client_id r100
let r103, r100
let r104, r102
clear r105
take_slot_meseta r103-r104, r105
jmpi_eq r105, 0x00000000, label0378 /* 1AA3 */
arg_pushl 0x00000418
arg_pushs "当たる八卦は末広がりか。\nはたまた渋々うなだれ坊主か。"
message ...
arg_pushs "いいモンが当たる様に\n念じることだな。"
add_msg ...
mesend
clear r100
label037A@0x037A:
arg_pushl 0x00000010
se ...
sync
sync
sync
sync
sync
sync
sync
sync
sync
sync
sync
sync
sync
sync
addi r100, 0x0000000F
jmpi_le r100, 0x0000005A, label037A /* 1B84 */
arg_pushr r101
bb_send_6xE2 ...
clear r106
clear r100
label037B@0x037B:
sync
bb_get_6xE3_status r106
jmpi_eq r106, 0x00000001, label037C /* 1BEA */
jmpi_eq r106, 0x00000002, label037D /* 1D24 */
addi r100, 0x00000001
jmpi_le r100, 0x0000012C, label037B /* 1BAE */
arg_pushs "サーバーセンドエラー"
window_msg ...
winend
ret
label037C@0x037C:
sync
arg_pushl 0x00000001
bgm ...
arg_pushs "<bk>\n<color 4><meseta_slot_prize><color 0>を入手した!"
window_msg ...
winend
sync
arg_pushl 0x00000418
arg_pushs "ほらよ!\nもっていきな!"
message ...
arg_pushs "ロクなモンが当たらなくても\n恨んじゃダメだよ、最初に言った。"
add_msg ...
arg_pushs "「ホラホラホラホラ」\nご了承済み。"
add_msg ...
arg_pushs "だけど今度は必ず当たる!"
add_msg ...
arg_pushs "かもしれないから、\nまたきてくれよ。"
add_msg ...
mesend
ret
label037D@0x037D:
arg_pushs "コマンド実行エラー"
window_msg ...
winend
ret
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,96 @@
###########################################################
NPC: Coren Tsu - The Wanderer
AREAS: Pioneer 2
Translations by: apexseals (discord: apexseals)
Proofing & Debugging by: nolrinale (github.com/nolrinale)
###########################################################
presentation:
I am Coren Tsu, a wandering merchant,
you could say.
Please take some time to look at
the rare and wonderous goods
I have been collecting.
If you spend a little meseta,
you could win a wonderful prize.
Well? Wanna try?
You may win,
you may lose.
But if you don't win,
don't take it out on me.
That's just the way
gambling is, yes?
Well then, how much
meseta do you want to pay?
As long as you pay me,
I'll give you a great service.
Huh?
That's too bad...
Well, these kind of things usually
have a chance to lose money.
Let's keep this discreet.
If you feel up to it, talk to me again.
It seems you have
too many items.
First, go and
organize your items,
Then speak to me again.
What?
You said you'd try,
then you said no.
People like that
fail at everything.
What the...?
You don't have the
meseta to pay me?
I won't work with such
cold hearted people.
Alright, let's do it.
You better pray
for something good...
Look here!
Take it!
Even if you had bad luck,
something good will come out of it.
You'll win someday!
In case you want to try again,
come back to me once more.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+39
View File
@@ -0,0 +1,39 @@
PSOBB SUPPORT FILES, NOTES & RESOURCES
--------------------------------------------------------------------------------
CLIENT LOCALIZATION
By default PSOBB loads everything in Japanese so it requires some extra files
to properly implement the English localization from SOA, these files are offered
here inside the usbb-resources folder for your convenience they are the same ones
from the old official USBB client
To use them, you just need to drag and drop all its contents into your client's
data folder. Then if the client's internal lang flag is set correctly to English
will load all the correct texts from these files.
In case you want to play in Japanese, just use the default Tethealla client and
delete all the files including _e or _eng in the names and then the game will
default everything to its original Japanese language.
Just in case, there's the jpbb-resources folder with the latest localization
changes made on the official JPBB for an extra backup.
---------------------------------------------------------------------------------
PSOBB EP1,2,4 ORIGINAL VANILLA DROP TABLES/RATES
Included in the vanilla-tables folder I placed the original files I created for the
Schtserv vanilla for backup purposes as they are already implemented into the main
newserv logic.
These tables will offer you the experience as close as possible to the original SEGA
servers for PSOBB JP up to the latest patch before the servers shutdown, so besides a
fully functional Episode IV experience, the tables also include the latest special items
which where added to some Episode 1 and Episode 2 in Ultimate for certain section ID's
Vanilla Tables and rates are the same ones as the Schtserv Wiki for reference:
https://bbwiki.schtserv.com/index.php/Drops-ep1
https://bbwiki.schtserv.com/index.php/Drops-ep2
https://bbwiki.schtserv.com/index.php/Drops-ep4
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+3
View File
@@ -0,0 +1,3 @@
.\data\help2-0-en.png
.\data\help0-4-en.png
.\data\help0-5-en.png
+6
View File
@@ -0,0 +1,6 @@
.\data\help2-0-en.png
.\data\help0-0-en.png
.\data\help0-1-en.png
.\data\help0-2-en.png
.\data\help0-3-en.png
.\data\help0-7-en.png
+1
View File
@@ -0,0 +1 @@
.\data\help1-1-en.png
+1
View File
@@ -0,0 +1 @@
.\data\help1-0-en.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1538
View File
File diff suppressed because it is too large Load Diff
+11
View File
@@ -0,0 +1,11 @@
star value tables
psobb [B1-437]
00010203 04090909 01020304 05090909 01020304 05090909 01020304 05090909 01020304 05090909 00010203 04090909 01020304 05090909 01020304 05090909 01020304 05090909 00010203 09090901 02030409 09090102 03040909 09090A0A 090A0A09 0A0A090C 0B0A0A0A 0A0A0A0B 0A090A0A 0A0A0A09 0A0A0A0A 0A0A0A0A 0A0A0B0A 0C0C0B0A 0A090A09 090A0A0A 0A0C090C 0B0A090A 090C0A0B 0A0A0A0A 0A0A0A0B 0B0A0A0A 09090A09 0C0A0A0A 0B0A0B09 0A0A090A 0A0B090B 0A0B0B0A 090A090A 0B090A0A 0A0A0A0A 0A0A0A09 090C0C0C 0C0C0C0C 0C0C0C0C 0C0C0C0C 0C0C0C0C 0C0C0C0C 0C0C0009 0A0A0A0B 090A0A09 0A0A0B0A 0A0A0A0A 0A0A0A0A 0A0A0A0A 0A0A0A0A 0A0A0A0A 0B0B0B0B 0B0B0B0B 0B0B0B0A 0C0A0C0B 0A0A0A0A 0A0B0A0B 0B0B0B0B 0A0A090A 0A0A090B 0B0B0B0C 0C0C0C0C 0A0A0C0A 090A0C09 0A0B0A0A 0A0A0C0A 0A0A0A09 0A0C0A09 0A0A0A0A 0A090C0B 09090909 09090909 09090909 09090909 0909090B 0A0C0A0B 0B0C0A0A 0A090A0A 0A0A0B0A 0A0A0A0A 0909090A 0A090C0A 0C0C0C0C 0C0C0C0C 0C0C0C0C 0C0C0C0C 0C0C0C0C 0C0C0C0C 0C0C0C0C 0C0C0102 03040102 03040203 04020304 01020304 01020304 01020304 01020304 01020304 01020304 03040000 00010102 02030304 04050506 06070707 07080808 08080809 09090A0A 0A0A0A0A 0B0C0A0A 0A0A0A0A 0B0B0B0A 0B0B0C0B 0B0B0B0B 0A0A0A0A 0A0A0C09 0909090A 0A0B0C09 0B0A0A0A 0A0A0A0A 0A0A0A0B 0A0A0A0A 0A0A0A00 00010203 03040405 05050606 07070808 08080808 0A0A0A0A 0A0A0909 090A0A0A 0A0A0A0A 0A0A0B0A 0A0B0A09 0909090A 0B0B0000 0B000000 00080808 08080808 09080808 09080808 09070707 07070909 090C0909 09090909 09090909 09090909 09090909 09090909 09090909 09090909 09090909 09090909 09090909 09090909 09090909 0A0A0B0A 0B0A0909 0B0B0B0C 0A0A0A09 0A0A0A0A 090A0A0A 0A0A0A0A 0A0A0A0A 0203050B 0203050B 0203050B 0203050B 0204060B 0204060B 0203050B 080B080A 0B020305 02030502 03050304 06030405 07080B04 06090406 09040609 06090B06 090B0909 09090909 0A0B0B0B 0B0B0B0B 0B0B0B0B 0B0B0B0B 0B0B0B0B 0A0B0B0B 0B0B0B0B
psogc [94-2F7]
00010203 04090909 01020304 05090909 01020304 05090909 01020304 05090909 01020304 05090909 00010203 04090909 01020304 05090909 01020304 05090909 01020304 05090909 00010203 09090901 02030409 09090102 03040909 09090A0A 090A0A09 0A0A090C 0B0A0A0A 0A0A0A0B 0A090A0A 0A0A0A09 0A0A0A0A 0A0A0A0A 0A0A0B0A 0C0C0B0A 0A090A09 090A0A0A 0A0C090C 0B0A090A 090C0A0B 0A0A0A0A 0A0A0A0B 0B0A0A0A 09090A09 0C0A0A0A 0B0A0B09 0A0A090A 0A0B090B 0A0B0B0A 090A090A 0B090A0A 0A0A0A0A 0A0A0A09 090C0C0C 0C0C0C0C 0C0C0C0C 0C0C0C0C 0C0C0C0C 0C0C0C0C 0C0C0009 0A0A0A0B 090A0A09 0A0A0B0A 0A0A0A0A 0A0A0A0A 0A0A0A0A 0A0A0A0A 0A0A0A0A 0B0B0B0B 0B0B0B0B 0B0B0B0A 0C0A0C0B 0A0A0A0A 0A0B0A0B 0B0B0B0B 0A0A090A 0A0A090B 0B0B0B0C 0C0C0C0C 01020304 01020304 02030402 03040102 03040102 03040102 03040102 03040102 03040102 03040304 00000001 01020203 03040405 05060607 07070708 08080808 08090909 0A0A0A0A 0A0A0B0C 0A0A0A0A 0A0A0B0B 0B0A0B0B 0C0B0B0B 0B0B0000 01020303 04040505 05060607 07080808 0808080A 0A0A0A0A 0A090909 0A0A0A0A 0A0A0A0A 0A0B0A0A 0B0A0909 09090A0B 0B000000 00000000 08080808 08080809 08080809 08080809 07070707 07090909 0C090909 09090909 09090909 09090909 09090909 09090909 09090909 09090909 09090909 09090909 09090909 09090909 09090902 03050B02 03050B02 03050B02 03050B02 04060B02 04060B02 03050B08 0B080A0B 02030502 03050203 05030406 03040507 080B0406 09040609 04060906 090B0609 0B090909 090909
0203050B0203050B0203050B0203050B
+50
View File
@@ -0,0 +1,50 @@
#!/bin/env python3
import argparse
import os
import subprocess
import sys
def get_ip_address(ifname):
data = subprocess.check_output(["ifconfig", ifname])
for line in data.splitlines():
line = line.strip()
if line.startswith(b"inet "):
return line.split()[1].decode("ascii")
raise RuntimeError("cannot get address for interface " + ifname)
def main(argv):
parser = argparse.ArgumentParser()
parser.add_argument("--pid", "-p", type=int, default=0)
parser.add_argument("orig_destination", type=str)
parser.add_argument("new_destination", type=str, default=None, nargs="?")
args = parser.parse_args()
if os.geteuid() != 0:
raise RuntimeError("You must use sudo to run this script")
new_destination = args.new_destination or get_ip_address("en0")
proc_arg = "Flycast.app" if args.pid == 0 else str(args.pid)
print(f'Finding occurrences of "{args.orig_destination}"')
addresses_str = subprocess.check_output(
["memwatch", proc_arg, "find", f'"{args.orig_destination}"']
)
for line in addresses_str.splitlines():
# line is like '(0) 00007FFF038500A0 (rw-)' (we care only about the address)
tokens = line.split()
if len(tokens) != 3:
continue
print(
f'Replacing "{args.orig_destination}" with "{new_destination}" at {tokens[1]} in Flycast'
)
subprocess.check_call(
["memwatch", proc_arg, "write", tokens[1], f'"{new_destination}" 00']
)
return 0
if __name__ == "__main__":
sys.exit(main(sys.argv))
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

Some files were not shown because too many files have changed in this diff Show More