Commit graph

  • fefed1f129 update decrypt_packets README with some notes on limits/caveats master Gered 2021-11-26 12:24:29 -0500
  • 81b600c410 display a hexdump of the entire packet, not just the body Gered 2021-11-26 12:06:23 -0500
  • ccd61e685b tweak format string a bit Gered 2021-11-26 12:05:59 -0500
  • d9e9d70bc6 add comments linking original source for encryption and prs compression Gered 2021-11-25 20:40:43 -0500
  • 3a5ecb9df5 update README.md Gered 2021-11-25 20:27:13 -0500
  • 4229bd54ca add a bunch of README files Gered 2021-11-25 18:37:21 -0500
  • a8866064a5 add nicer packet timestamp display in logging output Gered 2021-11-25 17:08:51 -0500
  • fa3b26285b lots of rework. handles things way better now Gered 2021-11-25 16:53:48 -0500
  • 8e64e7059a update help text Gered 2021-11-24 21:41:14 -0500
  • c90fed35be fix panic when no arguments provided Gered 2021-11-24 21:29:19 -0500
  • 9f0180d610 quickly address some compiler warnings Gered 2021-11-24 21:26:21 -0500
  • 0f02aa4493 add initial mostly-sorta-working decrypt_packets tool Gered 2021-11-24 21:04:56 -0500
  • 3ea12afda2 add InitEncryptionPacket struct Gered 2021-11-24 21:03:48 -0500
  • 78fd0f2bda add GenericPacket struct Gered 2021-11-24 21:03:20 -0500
  • dadaf27765 add default language constant for packets Gered 2021-11-24 21:01:39 -0500
  • fed7cf0272 remove opt-level config Gered 2021-11-24 20:59:53 -0500
  • 53c0a7f537 add gci_quest_extract tool Gered 2021-05-25 18:41:34 -0400
  • bb82496b65 move actual quest info display functions to psoutils Gered 2021-05-25 18:36:29 -0400
  • e54bdc600b move test assets to top-level since they're used by multiple crates now Gered 2021-05-25 16:12:56 -0400
  • 67bdb76c52 implement quest conversion Gered 2021-05-25 15:46:52 -0400
  • f00b007e35 add unit tests for quest info Gered 2021-05-25 14:42:20 -0400
  • 1c825e561a clean up some error handling stuff Gered 2021-05-25 14:41:44 -0400
  • ae4fc8e9bf also show encoder name associated with the quest's language value Gered 2021-05-25 11:23:43 -0400
  • c49f4bcaa9 small touch-ups of quest info display Gered 2021-05-25 11:23:07 -0400
  • 5bc061be5f show crc32 for some pieces of .bin and .dat data in quest info display Gered 2021-05-25 11:22:22 -0400
  • 7fd21a493c minor cleanups Gered 2021-05-25 10:54:38 -0400
  • bf62db4507 add extra validation for .bin function_offset_table_offset Gered 2021-05-25 10:51:45 -0400
  • d9e13fade0 add table area validation Gered 2021-05-25 10:45:49 -0400
  • d27d9ad072 use wrapping_add here so this doesn't panic when loading non-.dat data Gered 2021-05-25 10:45:28 -0400
  • 9dc6e0815e split main into crates for each command available Gered 2021-05-24 19:00:32 -0400
  • 4f9ff44be9 add initial psogc_quest_tool utility Gered 2021-05-24 18:49:41 -0400
  • 2da64f97e7 add Display impl for QuestArea Gered 2021-05-24 18:49:02 -0400
  • 8a88429250 finish implementing the Quest struct Gered 2021-05-24 16:16:40 -0400
  • 6874ed7a8c minor cleanup Gered 2021-05-20 19:33:20 -0400
  • aade06d9a9 re-organize some unit tests Gered 2021-05-20 19:32:09 -0400
  • 247e2f7482 add unit tests for quest qst loading from bad data Gered 2021-05-20 18:54:48 -0400
  • 745c6703c8 switch these checks around so they are run in all cases Gered 2021-05-20 18:54:33 -0400
  • 53d2658ea2 minor formatting cleanups Gered 2021-05-20 17:09:22 -0400
  • 8aa4fa7c2d add unit tests for quest dat loading from bad data Gered 2021-05-20 17:07:31 -0400
  • 8e93f4a3a2 add unit tests for quest bin loading from bad data Gered 2021-05-20 14:17:21 -0400
  • 53ec92865b fix up LanguageError Gered 2021-05-20 14:13:22 -0400
  • f055daa73d update prs compression functions to catch and return errors Gered 2021-05-20 13:49:01 -0400
  • 5e6dd30fd4 fix offset/len check. oops Gered 2021-05-20 13:45:46 -0400
  • 0c57dcb1dd relax ReadFixedLengthByteArray generic constraint a bit Gered 2021-05-20 13:44:15 -0400
  • 7850c468ea remove to_fixed_length(), replace usages with to_array() Gered 2021-05-20 13:36:05 -0400
  • 36309879ce add unit tests for writing quest bin/dat/qst to files Gered 2021-05-19 18:50:55 -0400
  • 142b03a39b move test assets into test-assets/ Gered 2021-05-19 17:58:02 -0400
  • 9f60802d37 add qst file support Gered 2021-05-19 17:53:18 -0400
  • 20a838abd3 add initial packet stuff, including quest header/data packets Gered 2021-05-18 18:00:47 -0400
  • 7f8a8f75e0 allow non-dword-sized data to be passed in to crypt() Gered 2021-05-18 15:05:00 -0400
  • c59d115aba add helper trait for reading fixed-length byte arrays Gered 2021-05-17 13:57:08 -0400
  • f2ec776d3f unit test cleanups Gered 2021-05-16 20:47:23 -0400
  • 4bcc7904c2 minor method naming adjustments Gered 2021-05-16 20:46:21 -0400
  • 2ceca5e673 some re-working of quest bin/dat reading/writing methods Gered 2021-05-16 19:10:06 -0400
  • 54a707f860 add to_array helper method Gered 2021-05-16 16:31:14 -0400
  • 93c2180da2 call memcmp directly during prs_compress Gered 2021-05-16 16:15:39 -0400
  • c84142dfe9 re-work quest errors Gered 2021-05-15 15:24:49 -0400
  • 6c672f3d27 initial quest file bin/dat support Gered 2021-05-15 14:48:33 -0400
  • c71f9997bd initial commit Gered 2021-05-15 14:47:19 -0400
  • 67f32a5053 add quest_info.md original_c_version Gered 2021-03-27 13:44:16 -0400
  • 88406775d6 update comments Gered 2021-03-27 13:30:38 -0400
  • 27b2956e0e remove quest number validation check Gered 2021-03-26 17:56:53 -0400
  • 3e1027ec2c handle "early" zero'd-out dat table as an early eof Gered 2021-03-25 17:25:37 -0400
  • 839bf2393b tweak some more quest info display bits Gered 2021-03-25 16:35:10 -0400
  • 9756c816ee refactor quick quest info display Gered 2021-03-25 16:24:12 -0400
  • 198e377a29 adjust quest_number and episode display a bit Gered 2021-03-25 16:23:52 -0400
  • 11ef22e8da refactor quest .bin validation hack-fixes. remove .dat table eof warning Gered 2021-03-25 16:23:19 -0400
  • 2a7e4afd8e fix cmake project name so it matches repository name Gered 2021-03-25 15:28:10 -0400
  • bbe17728fd comment out iconv dependencies. build is not actually using it Gered 2021-03-25 15:27:33 -0400
  • e3fb9efbf7 show more specific quest file format description Gered 2021-03-25 15:24:54 -0400
  • 750feb7167 improve display of .dat tables Gered 2021-03-25 15:24:33 -0400
  • 7c3eb42da3 whoops, didn't switch this around to use the word value ... Gered 2021-03-25 14:46:20 -0400
  • 8cde7983a6 add quest_info tool Gered 2021-03-25 14:12:24 -0400
  • e0665ff094 fix validation result check bug Gered 2021-03-25 14:12:02 -0400
  • 1936c55b84 generate output quest filename based on quest number only Gered 2021-03-24 20:24:52 -0400
  • 0cbb070f30 update gen_qst_header.md Gered 2021-03-24 18:19:54 -0400
  • aae8fd736c update decrypt_packets.md Gered 2021-03-24 18:13:22 -0400
  • 5101a6a8d2 add license Gered 2021-03-24 18:09:28 -0400
  • 205f554861 add markdown doc files for the remaining tools Gered 2021-03-24 18:07:24 -0400
  • 8cfbbcd771 cleanup and refactoring Gered 2021-03-24 17:22:43 -0400
  • d331a5eac2 added header comments briefly describing each tool Gered 2021-03-24 16:56:08 -0400
  • b4d661b6ee numerous cleanups Gered 2021-03-24 16:30:32 -0400
  • 00c52cc6be quest validation improvements/hacks. provide quest id byte/word access Gered 2021-03-24 14:22:56 -0400
  • beef271ac3 move the download quest prefix struct to quests.h Gered 2021-03-24 14:13:58 -0400
  • e0b8c6a022 add get_error_message error code return value mapping util function Gered 2021-03-24 14:13:00 -0400
  • 18e331819b add #define for struct packing attribute Gered 2021-03-24 14:11:32 -0400
  • 6292c87676 add gci_extract Gered 2021-03-23 17:38:58 -0400
  • 2e6d446b1c use old fuzziqer prs implementation to fix some .qst file issues Gered 2021-03-21 19:29:17 -0400
  • 588a7b45f1 add bindat_to_gcdl. generates gc download .qst from .bin + .dat files Gered 2021-03-21 10:36:40 -0400
  • d7f116da59 more refactoring Gered 2021-03-20 14:04:57 -0400
  • 50532638dc move quest structs and helper functions to separate c/h file Gered 2021-03-20 13:44:46 -0400
  • 7276b19e17 update cmake project name Gered 2021-03-20 12:56:45 -0400
  • c12e78c415 helper functions error return improvements Gered 2021-03-20 12:52:13 -0400
  • f99b0be52a refactor utility/helper functions Gered 2021-03-20 12:38:52 -0400
  • 32d5fdcbad reorganize source tree Gered 2021-03-20 12:08:24 -0400
  • 1ba23ee103 add gen_qst_header Gered 2021-03-20 11:32:30 -0400
  • 8629a3988a initial commit. just the decrypt tool so far Gered 2021-03-19 13:21:32 -0400