Commit Graph

450 Commits

Author SHA1 Message Date
jaby 40c7dea1f0 Support configuratable screen offset and remove resolved TODOs 2024-07-30 16:13:32 -05:00
jaby bd9a477cf4 Support CDDA alignment; Update XML tag names 2024-07-28 23:12:10 -05:00
jaby 10554c7a6e Support CDDA alignment (can not be specified yet) 2024-07-28 21:42:09 -05:00
jaby 5ec7acb803 Improve psxcdread 2024-07-28 13:22:39 -05:00
jaby aa343d1ccd Fix CDDA encoding for psxcdgen_ex 2024-07-24 08:24:59 +02:00
jaby 79f2b436ff Improve print of LBAs 2024-07-21 21:32:29 +02:00
jaby 355de5f67c Rename length_of to size_of 2024-07-21 21:07:47 +02:00
jaby 8a4c46a2d1 Improve FileLength struct 2024-07-21 21:05:31 +02:00
jaby a624de92a1 Improve lba_source handling 2024-07-21 20:46:29 +02:00
jaby aaab604f61 Support Lead-out track 2024-07-21 16:33:03 +02:00
jaby 5624eb40f3 Removed psx and theory of target platform dependend code 2024-07-21 15:59:59 +02:00
jaby 102a8a1bb5 Prepare LeadOut-Support 2024-07-21 15:27:53 +02:00
jaby 58c140335f Fix LBA bug 2024-07-11 20:56:57 +02:00
jaby 7d74827e99 Encode empty song sectors as CDXA Mode 1 for support with XEBRA 2024-06-19 20:28:04 +02:00
jaby 9edb3ee122 Encode empty sectors with 0xFF for now 2024-05-29 18:35:58 +02:00
jaby 1b45e9353d Draft 1 of CDXA embedding 2024-05-27 22:31:30 +02:00
jaby 76ca9b5dd1 psxcdgen removed 2024-05-26 21:04:25 +02:00
jaby 2e51e2605b Fix psxcdread 2024-05-26 21:02:40 +02:00
jaby e60c18e4f0 Update wav rust library 2024-05-26 17:55:54 +02:00
jaby e00740f57f Fix CDXA sector count bug 2024-05-26 17:03:42 +02:00
jaby c1ce4d95ac Support XA-Audio (buggy) 2024-05-26 14:49:48 +02:00
jaby 4f06d39e43 Support Auto LBAs for steaming files 2024-05-24 21:08:54 +02:00
jaby 5e1ccc4e9a Embedd CDXA audio (untested) 2024-05-24 19:29:16 +02:00
jaby 75ae98b1c2 Handle more files 2024-05-24 19:14:02 +02:00
jaby f356796039 Prepare XA-Audio interleaving 2024-05-22 20:22:07 +02:00
jaby 1f5976e84b Concept for XA-Audio 2024-05-21 21:38:47 +02:00
jaby d334f19d4d Support conversion to XA audio 2024-05-21 21:27:42 +02:00
jaby 98b0868d76 Seperate between internal and external conversion 2024-05-21 19:30:54 +02:00
jaby b7be664d9f Prepare fconv to support XA 2024-05-16 22:59:56 +02:00
jaby a9444a19f2 Support switching file pathes to wsl if file can not be located 2024-05-06 19:53:57 +02:00
jaby 3e7ead0e7d Fix content size issue ignoring normal files 2024-05-06 18:59:05 +02:00
jaby fe88157aba Improve CDDA track list 2024-05-05 23:12:08 +02:00
jaby 01622fd5d6 Support CDDA 2024-05-05 18:23:17 +02:00
jaby 3ef946ad4b Update C headers to be C++ 2024-04-07 10:46:35 -05:00
jaby 064fb02cf5 Use new substitution feature to switch between serial codes 2024-03-21 17:23:38 -05:00
jaby 0a5672ec6f Support ENV variables in CD names 2024-03-21 16:51:17 -05:00
jaby 5ed8b76902 Fix CD image for PKG files 2024-02-25 15:38:30 -05:00
jaby 593e8c72be Force versions for all Rust Tools 2024-01-03 17:59:08 -06:00
jaby cb304ff9bb Support tree; Do not enforce LBA source for Overlays 2024-01-03 17:45:57 -06:00
jaby 3996680e7e Fix tool build 2023-12-18 15:05:18 -05:00
jaby e68152417b Fix TIM conversion bug in palette count 2023-11-26 18:41:31 -05:00
jaby ea995ddf7b Support commenting out overlays 2023-11-04 19:43:59 -04:00
jaby f1bc9da7e8 Make fconv delete faulty files 2023-10-12 14:03:44 +02:00
jaby cb1b177d2a Do not accept images that have wrong sizes 2023-10-12 11:06:11 +02:00
jaby 58db6351f3 Support linux build 2023-10-09 22:34:42 +02:00
jaby 597278e0d1 Use new build scripts 2023-10-09 21:49:40 +02:00
jaby 1eb6f2e0bd Introduce Linux counter parts 2023-10-06 17:02:30 +02:00
jaby c85d50a022 Experiment with new approaches 2023-10-05 22:39:33 +02:00
jaby db2e5543df Finalize linker script 2023-08-27 16:45:56 +02:00
jaby 83cdade874 Share bss section with planschi section 2023-08-27 02:43:59 +02:00
jaby 2c3e0d2a59 Improve reliablitity of psxreadmap 2023-08-27 02:43:01 +02:00
jaby 09e6aef606 Integrate psxreadmap 2023-08-25 06:31:00 +02:00
jaby da80e99b91 Change panic behaviour of tools 2023-08-25 05:44:14 +02:00
jaby d919f4fbd5 Use psxcdgen_ex under WSL and improve wslpath and makefiles 2023-08-25 05:15:23 +02:00
jaby 5c944dcb0a Add psxreadmap to list for PSX tools 2023-08-24 00:31:36 +02:00
jaby a20483f51d Improve identification of Overlays 2023-08-24 00:24:20 +02:00
jaby 41c6b693d3 Advance version number and introduce conditional compiled code 2023-08-24 00:06:03 +02:00
jaby e07d144da3 Color encode OVERLAPPED sections and set version to 1.0 2023-08-20 17:32:10 +02:00
jaby 5b82dba5ec Display Symbol information 2023-08-20 16:45:22 +02:00
jaby 38cf7c1305 Support different sized lists 2023-08-20 16:21:42 +02:00
jaby f24d993e82 Preear Symbol list 2023-08-20 15:29:21 +02:00
jaby ae1221de81 Support section infos in list mode 2023-08-20 14:27:15 +02:00
jaby 882e91c920 Display top level section information 2023-08-20 09:15:24 +02:00
jaby 2261735ef3 Create Layout for List mode 2023-08-20 08:36:08 +02:00
jaby 310519203a Introduce new 'List' entry 2023-08-20 08:10:18 +02:00
jaby 644da679ee Add help charcters 2023-08-16 15:31:16 +02:00
jaby 38b49ad75b Switch between selections 2023-08-16 15:15:39 +02:00
jaby d102ecc3d0 Reduce percision for display 2023-08-16 11:21:10 +02:00
jaby b5427e3cec Cleanup selection code 2023-08-15 15:21:10 +02:00
jaby 94e015229f Support sections now 2023-08-12 19:37:15 +02:00
jaby f2328601ed Introduce new gauge type 2023-08-12 19:13:38 +02:00
jaby 3a73641951 Fix rollover of list selection 2023-08-12 12:43:00 +02:00
jaby 331c55f572 Introduce second memory gauge 2023-08-12 12:03:57 +02:00
jaby 520f0d028a Cleanup code 2023-08-12 11:38:51 +02:00
jaby 282db4e91e Support a list with Schwimmflügel 2023-08-06 10:46:12 +02:00
jaby b98cbf9514 Update to latest Rust 2023-08-02 22:31:40 +02:00
jaby f26b4ad7b0 Migrate to ratatui 2023-07-26 22:16:09 +02:00
jaby c8e86dcea4 Improve Gauge usage 2023-07-26 22:08:10 +02:00
jaby 76b22fed4b Forgot gitignore 2023-07-26 21:50:20 +02:00
jaby 5fcb0c8330 Display memory usage 2023-07-26 21:49:47 +02:00
jaby 23000d1d17 Integrated new code into GUI 2023-07-26 20:37:35 +02:00
jaby 64f4a628bb Merge with new objdump code 2023-07-26 20:22:11 +02:00
jaby 990fcb8548 Print memory map 2023-07-24 22:22:17 +02:00
jaby cc70e97021 Sort map 2023-07-24 20:41:38 +02:00
jaby dc69edbab3 Collect Symbols 2023-07-20 20:31:25 +02:00
jaby 6e088716b8 Scan and print sections - prepare for SymbolTable 2023-07-17 18:41:15 +02:00
jaby 5fba2a82b1 Parse with weird printf bug 2023-07-11 23:05:20 +02:00
jaby 4b9a2e46fd Support scan stdout of objdump 2023-07-11 22:00:57 +02:00
jaby 9b1f2e11f6 Create objdump file 2023-07-11 21:37:37 +02:00
jaby f3aebbcf81 Present memory usage 2023-07-11 20:26:33 +02:00
jaby 9f20537352 Collect highest address 2023-07-11 19:00:59 +02:00
jaby 5db0b74720 Only read key press 2023-07-09 19:24:43 +02:00
jaby 5db7dfc622 Some cleanup 2023-07-09 16:49:53 +02:00
jaby 6e85fdc29c Prepare memory usage 2023-07-09 16:46:49 +02:00
jaby 131405962b Implemented QUIT window 2023-07-09 16:16:28 +02:00
jaby b15281f702 Display titel 2023-07-09 15:38:55 +02:00
jaby ceb275cf22 Setup of update and render loop for CUI 2023-07-09 14:40:44 +02:00
jaby 50c211d93f Create psxreadmap and move readmap project into it 2023-07-09 13:31:02 +02:00
jaby 4298bf3208 Sort addresses 2023-07-06 19:56:28 +02:00
jaby 3108990266 Parse map and write to file 2023-07-05 21:36:12 +02:00
jaby 26ea6c3838 Read in map file 2023-07-04 21:58:15 +02:00
jaby eb34dd2e45 Read sub sections 2023-07-03 22:17:44 +02:00
jaby 3133b03759 Parse sub section 2023-06-29 22:18:31 +02:00
jaby a77c8aae8d Improve reading sections in 2023-06-29 21:32:49 +02:00
jaby ef233d5d07 Print top-level sections 2023-06-29 20:18:02 +02:00
jaby 5937bbd763 Detect sections; Unify printing help across the tools 2023-06-25 16:38:29 +02:00
jaby 660faeb1a2 Introduce types for readmap 2023-06-25 15:58:23 +02:00
jaby 1a54249a29 Create readmap tool 2023-06-25 14:37:16 +02:00
jaby 6f735eeefb Support transparency 2023-05-26 22:20:43 +02:00
jaby a50e0ec544 Replace unsafe code with raw trait 2023-05-01 23:01:35 +02:00
jaby 513275fba8 Fix image conversion and CLUT placement 2023-05-01 22:37:41 +02:00
jaby 5dc83be87f Fix fconv for clut images 2023-05-01 11:02:07 +02:00
jaby 1f39f08dc9 Do not display help in red 2023-04-30 15:46:47 +02:00
jaby 27c8ab71a0 Do not display the help in red for fconv 2023-04-30 15:33:32 +02:00
jaby 5a137ce644 Add colored output to most tools; Make mkoverlay more tolerant for missing overlay files; Make psxcdgen_ex emit a warning when no license file is specified 2023-04-22 15:44:21 +02:00
jaby f6de41dc87 Move the bit types to tool_helper and merge them 2023-04-20 21:01:27 +02:00
jaby 919d208a78 Finish wslpath 2023-04-18 21:58:34 +02:00
jaby dff169ae10 Create wslpath project 2023-04-17 21:45:03 +02:00
jaby 8a43b836cb Support LZ4 compression in psxcdgen_ex 2023-04-17 21:34:24 +02:00
jaby 30561183fd Detect LZ4 files correctly now 2023-04-13 21:51:45 +02:00
jaby 37156a1432 Improve error messages for not finding LBA sources 2023-04-13 21:22:49 +02:00
jaby 9d7e77393f Prepare to support enconding of LZ4 2023-04-13 21:06:24 +02:00
jaby 320fa8934c Prepare new LBA representation 2023-04-12 21:59:36 +02:00
jaby 1a0d175779 Remove Overlayhader and support loading overlays 2023-04-10 17:01:28 +02:00
jaby c2e45a833b Refactored code 2023-02-20 13:07:58 +01:00
jaby e08c6a85e6 Support dynamic correction of LBA 2023-02-20 12:47:56 +01:00
jaby 484765b18a Support absolute LBAs now 2023-02-20 12:30:55 +01:00
jaby 6dc4d620ee Smol fix 2023-02-03 13:36:49 +01:00
jaby 09f1ece6bb Support writing LBA information into main file 2023-02-03 13:22:17 +01:00
jaby 2297996d58 Add 'Main' file type to support lba for them 2023-01-27 08:10:05 +01:00
jaby 4cd5c51915 TMP CHANGES 2023-01-26 19:37:02 +01:00
jaby b24a9085e1 Fix and improve mkoverlay 2023-01-24 22:12:37 +01:00
jaby f16e991b9f Allow overlapping Overlays 2023-01-22 16:37:36 +01:00
jaby 22efc808ca Encode word size into OverlayLBA structure 2023-01-22 14:37:09 +01:00
jaby b55d033f17 Implement LZ4 strip and make tools write errors to err instead of out 2023-01-03 16:34:39 +01:00
jaby 3d56532a3b Broken LZ4 algorithm! The decompression seems to work now (needs improvement?) but the conversion tools emit 64K block sizes which is unhelpfull for us 2022-12-29 23:18:37 +01:00
jaby 2103e3fdb2 Make jaby_engine_fconv output lz4 files on request 2022-12-27 20:58:43 +01:00
jaby 791fe85ab8 Test Circular Buffer 2022-12-23 20:33:36 +01:00
jaby 4d6c701a22 Update mkoverlay with new overlay strategy 2022-12-20 20:34:03 +01:00
jaby ec96ace44f Add update feature to cargo for easier rebuild 2022-12-16 21:13:34 +01:00
jaby 396f6da113 Implement writing LBA header 2022-12-09 04:08:29 +01:00
jaby 3867b3f885 Setup infrastructure to update filetype 2022-12-08 04:08:03 +01:00
jaby 513405f8ed Calculate file sizes easily 2022-12-08 03:10:02 +01:00
jaby a46e379c0a Find files 2022-12-08 02:02:07 +01:00
jaby 11220216d0 Read in LBA file path from header file 2022-12-07 03:53:48 +01:00
jaby 5f524b689b Prepare reading in LBA Source for Overlay 2022-12-07 02:50:46 +01:00
jaby 4d0b1fc674 Support LZ4 compression 2022-12-06 04:56:40 +01:00
jaby b94616f989 Use WSL for linux targets for more reliablitity 2022-12-06 04:56:26 +01:00
jaby 999f1b2120 LZ7 compress 2022-12-06 03:12:31 +01:00
jaby 9a337a1aa0 Read Overlay header 2022-12-06 02:31:05 +01:00
jaby 1e0dc0f6f5 Treat overlay as regular file 2022-12-06 01:18:01 +01:00
jaby 5320eab44d Introduce Overlay Header and LBAs 2022-12-04 04:55:53 +01:00
jaby 68e46d3685 Finish mkoverlay 2022-12-04 04:03:03 +01:00
jaby d61bf7b95c Enable CommandLine arguments 2022-12-04 03:13:48 +01:00
jaby 053fd6b738 Create makefile output 2022-12-03 04:19:12 +01:00
jaby a931dbfe5a Small improvements 2022-12-03 03:08:10 +01:00
jaby 5a38e5def1 Parse JSON into linker script 2022-12-03 02:55:12 +01:00
jaby 1a1601e4d5 Write LD file 2022-12-01 04:02:38 +01:00
jaby 26abacd291 Write default linker script if no overlay were specified 2022-12-01 02:56:18 +01:00
jaby 0057f5ee88 Get overlay structure ready 2022-12-01 02:34:24 +01:00
jaby eb025d3902 Create mkoverlay project 2022-12-01 02:17:13 +01:00
jaby fd61ca2ecc Merge common attributes 2022-11-27 23:54:31 +01:00
jaby 1307ededda Design LBA file in XML 2022-11-27 23:38:41 +01:00
jaby fbc30a6535 Support padded size 2022-11-27 23:13:47 +01:00
jaby 4fbeb80c60 Clean up error handling 2022-11-27 22:32:14 +01:00
jaby 0a48078345 Remove ErrorString 2022-11-27 22:21:06 +01:00
jaby eef5082c93 Removed new type error 2022-11-27 22:19:43 +01:00
jaby 0d3686b7d0 Cause error on not a number padded_size value 2022-11-27 22:15:30 +01:00
jaby d5c9d16bb5 Rename extended size to padded size and implement validation 2022-11-24 03:36:56 +01:00
jaby 28c17ffa7e Print hidden state better 2022-11-24 03:05:44 +01:00
jaby 055e7cbe99 Test and support hidden files and directories 2022-11-24 02:03:11 +01:00
jaby 31de80ac3b Update Test XML 2022-11-21 03:46:24 +01:00
jaby 95ed64c91a Check License check for valid size instead of reading zeros 2022-11-20 23:14:39 +01:00
jaby f227ea5bec Parse hidden flag in XML 2022-11-19 03:16:43 +01:00
jaby 1855a0686a Improve LBA output even more 2022-11-19 02:12:48 +01:00
jaby 925872ac3e Create nice LBA file 2022-11-18 04:24:53 +01:00
jaby 80dadf1ac1 Add flag for outputing dump file 2022-11-18 03:04:52 +01:00
jaby 450ea06d5c Clean up print commands 2022-11-17 03:54:48 +01:00
jaby ef54bd8db2 Print content dump intro 2022-11-17 03:50:16 +01:00
jaby 55882bc20a Improve output design 2022-11-17 03:13:12 +01:00
jaby 4772c8f59a Prepare content dump 2022-11-17 02:52:32 +01:00
jaby 66b0f4814d Use improved error message generation 2022-11-17 02:18:24 +01:00
jaby c638782fa8 Improve creation of error messages 2022-11-16 04:36:25 +01:00
jaby 9cb04e2380 Correct errors 2022-11-16 03:47:22 +01:00
jaby 3d9e87a400 Write license info from file 2022-11-16 03:35:28 +01:00
jaby 0b5e67582d Restructure code to write license 2022-11-16 02:44:39 +01:00
jaby a632b84970 Make code warning free again 2022-11-16 01:46:28 +01:00
jaby bac2d93234 Prepare parsing license file 2022-11-15 04:24:46 +01:00
jaby 39747613bc Support command line parameters 2022-11-11 17:00:10 +01:00
jaby ff5bbca3a8 Prepare using arguments and options 2022-11-11 16:02:36 +01:00
jaby a68b4f520d Extend batch file to use run commands 2022-11-11 15:54:35 +01:00
jaby 8f2359ffc6 Remove warnings 2022-11-11 15:29:08 +01:00
jaby 7fcdc3b7e6 Add clap 2022-11-09 23:11:30 +01:00
jaby 3995b95402 Pass lba calculation function as function 2022-11-08 22:19:43 +01:00
jaby 2e111ef6d0 Write via XML 2022-11-08 22:13:06 +01:00
jaby 1b0fc42e84 Convert configuration to CDDesc 2022-11-08 21:28:05 +01:00
jaby 852c908a70 Parse XML 2022-11-04 15:10:26 +01:00
jaby b84622bb61 Improved error handling 2022-11-04 11:32:55 +01:00
jaby e89d1fb9c7 Read simple XML in 2022-11-04 09:28:32 +01:00
jaby 14186a3f1f Update Clap 2022-11-04 08:53:05 +01:00