Commit Graph

396 Commits

Author SHA1 Message Date
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 3554394e11 Make LZ4 Decompressor return a state value 2022-12-29 13:25:48 +01:00
jaby fa993cc63e Setup LZ4 decompressor but have it copy data for now 2022-12-27 22:06:14 +01:00
jaby 3645d4fc25 LZ4 compress splash images 2022-12-27 20:59:07 +01:00
jaby 2103e3fdb2 Make jaby_engine_fconv output lz4 files on request 2022-12-27 20:58:43 +01:00
jaby 4b644aa813 Improves return types with Progress type 2022-12-23 22:06:10 +01:00
jaby 64b36f4f85 Create LZ4 decompressor files 2022-12-23 21:18:44 +01:00
jaby def6c6d3b9 Introduce the JabyEngine namespace to all files 2022-12-23 21:18:25 +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 a47b94c3a9 Prepare CircularBuffer 2022-12-16 21:54:01 +01:00
jaby dd5262c016 Introduce empty overlay boot file and improve task name 2022-12-16 21:23:24 +01:00
jaby ec96ace44f Add update feature to cargo for easier rebuild 2022-12-16 21:13:34 +01:00
jaby d470e716fd Prepare makefile 2022-12-16 04:25:48 +01:00
jaby bc15dae5d1 Use main 2022-12-16 03:47:30 +01:00
jaby c7e651f2e7 Prepare save spot for booting 2022-12-16 03:20:08 +01:00
jaby 723864fcaa Slowly come up with design for loading from CD 2022-12-12 04:18:35 +01:00
jaby 0e4e53f3a4 Prepare CD code and unify header names 2022-12-12 03:43:18 +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 8a54e5f1ea Remove executing main 2022-12-04 04:55:04 +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 20328b3226 Implement Overlay generation 2022-11-30 02:36:17 +01:00
jaby c666dd6810 Call which will be a overlay later 2022-11-29 03:28:42 +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
jaby 1109de55a5 Write cue file 2022-10-28 22:02:04 +02:00
jaby 01aaddca59 Successfully write BIN 2022-10-27 22:22:54 +02:00
jaby b5b25a85d7 Write DirectoryRecord 2022-10-26 21:43:54 +02:00
jaby 5b1192fac3 Complete new property implementation 2022-10-26 20:58:18 +02:00
jaby e36cc6ba75 Prepare shared properties 2022-10-25 22:47:25 +02:00
jaby 404d365293 Improve creation of DirectoryRecords 2022-10-25 21:37:14 +02:00
jaby 469bce16ab Parse and write PathTable 2022-10-25 19:56:50 +02:00
jaby 6ee4b7103f Untrack planschi.bin 2022-10-23 16:32:10 +02:00
jaby 29e328aca5 Create raw path table 2022-10-23 16:31:07 +02:00
jaby fbeaa392be Improve member name 2022-10-23 16:30:51 +02:00
jaby 51120a0c55 Support \x00 and \x01 as valid D characters 2022-10-23 15:46:41 +02:00
jaby 7355879a35 Use function to update DirectoryRecord 2022-10-23 15:38:26 +02:00
jaby 6bd789a39f Write PVD completed 2022-10-23 14:57:11 +02:00
jaby 3a9e6aea98 Write PathTable infos, publisher name and more 2022-10-23 14:39:51 +02:00
jaby f9f296f254 Write more PVD values 2022-10-23 13:58:34 +02:00
jaby 9f8b7f4ebe Prepare filling in PVD 2022-10-20 22:12:46 +02:00
jaby bae6140007 Introduce PSX encoder to handle lba calculation better and improve many things 2022-10-20 21:28:34 +02:00
jaby 7a0ceee9c9 Write sectors 2022-10-20 20:11:00 +02:00
jaby 1d0482d74c Improve lba naming 2022-10-19 20:48:39 +02:00
jaby 840ca74e6d LBAs are track relative 2022-10-19 20:42:58 +02:00
jaby 97c4f0a05d Encode first sector 2022-10-19 19:44:52 +02:00
jaby 55673b3afe Have encoder and writer in place 2022-10-18 22:23:32 +02:00
jaby 220be53b39 Prepare bin/cue writer 2022-10-18 21:00:20 +02:00
jaby c34777b7b7 Create dummy files for writing 2022-10-17 20:44:12 +02:00
jaby 941642bb4a Changed code to have elements calculate itself 2022-10-17 20:10:37 +02:00
jaby e38f0758b5 Create File map 2022-10-16 21:35:56 +02:00
jaby 05498f45f3 Small Layout improvement 2022-10-16 16:14:52 +02:00
jaby 46d909875b Simplified Layout code 2022-10-16 16:13:24 +02:00
jaby a90ffb3952 Improve code 2022-10-16 16:08:12 +02:00
jaby 685af072bb Inital setup 2022-10-16 15:58:38 +02:00
jaby af643d75fc Calculate LBAs 2022-10-16 14:47:21 +02:00
jaby cf8f16fee3 Calculate LBAs for PathTables 2022-10-12 21:11:51 +02:00
jaby 2761cca70b Start calculating LBAs 2022-10-12 20:26:26 +02:00
jaby ee2c2d8ebd Add PathTables to Layout 2022-10-12 19:35:00 +02:00
jaby a2d628d190 Calculate size for DirectoryRecords 2022-10-11 21:12:28 +02:00
jaby 49093c0dbf Revert back to properties 2022-10-11 20:47:40 +02:00
jaby 52ce847c7e Sorting Elements 2022-10-11 20:44:29 +02:00
jaby d4a318fcba Introduce Content 2022-10-11 19:45:06 +02:00
jaby 3dfa9871c2 Keep size of names 2022-10-11 19:41:23 +02:00
jaby 48e9a87882 Improve properties 2022-10-11 19:27:34 +02:00
jaby 9737ca4551 Prepare for calculating LBAs 2022-10-10 22:06:11 +02:00
jaby cb9ca1e678 Replace Data with File 2022-10-10 20:59:37 +02:00
jaby 3f898e084f Add SystemArea and PVD 2022-10-10 20:50:20 +02:00
jaby 7118dcdcd6 Use memory layout feature 2022-10-09 18:17:09 +02:00
jaby d6b0c8bff4 Add memory layout feature 2022-10-09 18:16:58 +02:00
jaby 64267c953b Stashing 2022-10-09 16:26:21 +02:00
jaby 5366d8271d Create recursive iterator 2022-10-07 17:00:30 +02:00
jaby 16c99d1c9c Return iterator instead of dir 2022-10-07 16:20:08 +02:00
jaby d687898c54 Dump CDDesc 2022-10-07 16:12:12 +02:00
jaby ba9d8fcf21 Construct DirectoryIterator 2022-10-07 15:04:07 +02:00
jaby d65b0bad61 Add data to cd desc 2022-10-07 11:30:30 +02:00
jaby 5d0c1aae25 Create CD desc 2022-10-06 21:23:40 +02:00
jaby 48626728e8 Created constructor functions and paniced 2022-10-06 21:09:45 +02:00
jaby a22bed930a Rename cdgen to psxcdgen_ex to limit scope 2022-10-06 20:34:59 +02:00
jaby 73a189b94c Introduce new types 2022-10-06 20:30:56 +02:00
jaby 7e913e098a Create cdgen project 2022-10-06 20:08:56 +02:00
jaby a0c9be0d2a Support PAL and NTSC splash image 2022-10-05 22:01:01 +02:00
jaby 32e5b55b0a Setup Display to standard resolution instead of high res 2022-10-04 21:54:40 +02:00
jaby 1e329bb691 Setup DisplayArea 2022-10-03 16:23:35 +02:00
jaby 69a84952ba Separate between Display and Screen 2022-10-03 15:40:46 +02:00
jaby 97226300d6 Configurate Screen 2022-10-03 15:38:54 +02:00
jaby 587f5ecb97 Emit PAL/NTSC library depending on the configuration 2022-10-03 14:54:59 +02:00
jaby 04af1daf6c Create Macros for PAL/NTSC 2022-10-02 17:47:24 +02:00
jaby 733921f4ce Start configurating GPU 2022-10-02 17:32:23 +02:00
jaby e126fdaceb Correct header file extension 2022-10-02 16:45:02 +02:00
jaby 194b1f0f9c Support CLUT (untested) 2022-10-02 14:18:35 +02:00
jaby 17f7ba545e Improve code 2022-10-02 14:12:02 +02:00
jaby d95c421b53 Clean Up 2022-10-02 13:17:38 +02:00
jaby 5a0e5d5df6 Upload Direct16 pic 2022-10-02 13:14:30 +02:00
jaby e5e622072a Improvements to parse Texture data 2022-10-02 11:49:55 +02:00
jaby e69974672b Include SplashImage and detect right type 2022-10-02 11:01:42 +02:00
jaby 1daeefc407 Generated hpp file instead of cpp 2022-10-02 11:01:22 +02:00
jaby 7cfb2dab33 Use continous memory for loading files 2022-10-02 10:18:27 +02:00
jaby a9790688f5 Verify basic usage of FileProcessor 2022-10-01 22:40:40 +02:00
jaby 8917932bc7 Build and integrate Splash Image 2022-09-29 20:51:18 +02:00
jaby 7baeb4d1e2 Use cpp_out 2022-09-28 21:21:45 +02:00
jaby 6237132fe2 Use buffered read and write for better performance 2022-09-28 21:21:15 +02:00
jaby 6d86f4e99f Create Splash.cpp 2022-09-28 20:53:32 +02:00
jaby 403cfc1948 Prepare splash target 2022-09-28 20:27:48 +02:00
jaby 3d38313b48 Add Splash image 2022-09-28 20:22:03 +02:00
jaby 678ae762b6 Support CLUT alignment 2022-09-28 19:59:52 +02:00
jaby 176ac89e6b Fill Palette if needed 2022-09-28 19:53:50 +02:00
jaby 92760cfce1 Convert IndexedImages 2022-09-27 20:52:44 +02:00
jaby 530fd10662 Start reading in indexed PNG file 2022-09-25 19:32:58 +02:00
jaby d931cd7a61 Allow writing clut data 2022-09-25 18:46:15 +02:00
jaby c6d1726a70 Improved running the tests again 2022-09-25 18:21:28 +02:00
jaby 35ad9c68c2 Deconstruct PNG imag 2022-09-25 16:31:11 +02:00
jaby a6945d0758 Run clut code 2022-09-23 22:35:55 +02:00
jaby 90a00b892a Write clut16 2022-09-23 22:01:52 +02:00
jaby 8a88eae02a Implement convert functions for RGB(A) 2022-09-22 21:18:01 +02:00
jaby a52207061f Introduce PSXImageConverter 2022-09-22 20:09:19 +02:00
jaby bbb2e2688e Build linux under windows with MUSL 2022-09-22 19:26:13 +02:00
jaby c82438d297 Add Header basics 2022-09-21 21:52:21 +02:00
jaby 355153176f Basic Color support 2022-09-21 20:43:08 +02:00
jaby 090d0d09a1 Support bit operations 2022-09-20 22:10:17 +02:00
jaby e79df423b0 Improve Error 2022-09-19 21:06:44 +02:00
jaby 80c6271d0d Prepare reading in files 2022-09-19 20:20:43 +02:00
jaby 5327d90094 Calling un-implemented convert function 2022-09-17 17:31:51 +02:00
jaby d92f6d6cfb Fix input file for cpp_out 2022-09-17 17:15:23 +02:00
jaby 03c2379721 Prepare for simple TIM conversion 2022-09-17 17:12:53 +02:00
jaby 7adbce5776 Offer configuration for windows and linux 2022-09-17 16:08:10 +02:00
jaby 575a54fbf9 Do not delete bin folder when running any clean command 2022-09-17 14:59:15 +02:00
jaby 9d7613b7e7 Creation of jaby_engine_fconv 2022-09-17 14:54:44 +02:00
jaby 7c5c8ae50a Finish cpp_out 2022-09-17 14:44:13 +02:00
jaby db897e0f3d Change name of variable 2022-09-17 14:31:20 +02:00
jaby 640f220b98 Create source files 2022-09-17 13:54:19 +02:00
jaby a07662cdb4 Use functors instead of parameters 2022-09-14 22:00:26 +02:00
jaby e112f89f68 Read settings in a bit 2022-09-14 21:52:54 +02:00
jaby 888a6247a9 Produce first output 2022-09-13 21:35:52 +02:00
jaby 4b69d678e8 Prepare convert function 2022-09-13 21:19:42 +02:00
jaby e42b3ab6cf Create tool_helper library 2022-09-13 21:06:41 +02:00
jaby cdb9a8a2b7 Prepare tool_helper 2022-09-13 20:49:02 +02:00
jaby d872de3f46 Add test makefile for easy execution 2022-09-12 22:18:56 +02:00
jaby bbe5bdcb2f Use WSL to build Rust Linux 2022-09-11 21:38:30 +02:00
jaby 92954ce53e Build tool with musl for now 2022-09-11 20:50:15 +02:00
jaby aa717886b4 Support cpp_out 2022-09-11 19:53:20 +02:00
jaby 6689972252 Support run cmd now 2022-09-11 19:53:04 +02:00
jaby 1eacebb014 Remove Port namespace and clean up 2022-09-11 15:51:09 +02:00
jaby 30824748ea Use DMA for GPU 2022-09-11 15:44:45 +02:00