Commit Graph

346 Commits

Author SHA1 Message Date
Jaby cdb3abd43f 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 87d7bf8efa Make LZ4 Decompressor return a state value 2022-12-29 13:25:48 +01:00
Jaby c7b9e4e301 Setup LZ4 decompressor but have it copy data for now 2022-12-27 22:06:14 +01:00
Jaby 948fc7d2a7 LZ4 compress splash images 2022-12-27 20:59:07 +01:00
Jaby 1525f7c0d9 Make jaby_engine_fconv output lz4 files on request 2022-12-27 20:58:43 +01:00
Jaby 8d48aecbab Improves return types with Progress type 2022-12-23 22:06:10 +01:00
Jaby c63f949c1f Create LZ4 decompressor files 2022-12-23 21:18:44 +01:00
Jaby 82a3b1f74e Introduce the JabyEngine namespace to all files 2022-12-23 21:18:25 +01:00
Jaby c0f2669f8a Test Circular Buffer 2022-12-23 20:33:36 +01:00
Jaby 5055b9079f Update mkoverlay with new overlay strategy 2022-12-20 20:34:03 +01:00
Björn Gaier 53f8d43342 Prepare CircularBuffer 2022-12-16 21:54:01 +01:00
Björn Gaier d193856e2a Introduce empty overlay boot file and improve task name 2022-12-16 21:23:24 +01:00
Björn Gaier df44294e17 Add update feature to cargo for easier rebuild 2022-12-16 21:13:34 +01:00
Jaby 5a4dbc170e Prepare makefile 2022-12-16 04:25:48 +01:00
Jaby 04739004f5 Use main 2022-12-16 03:47:30 +01:00
Jaby 8a6293dc87 Prepare save spot for booting 2022-12-16 03:20:08 +01:00
Jaby 01148b8c52 Slowly come up with design for loading from CD 2022-12-12 04:18:35 +01:00
Jaby 20ffbc5fa9 Prepare CD code and unify header names 2022-12-12 03:43:18 +01:00
Jaby e33f0f6f18 Implement writing LBA header 2022-12-09 04:08:29 +01:00
Jaby acfffc394f Setup infrastructure to update filetype 2022-12-08 04:08:03 +01:00
Jaby 9799e6024d Calculate file sizes easily 2022-12-08 03:10:02 +01:00
Jaby 36b96fdef9 Find files 2022-12-08 02:02:07 +01:00
Jaby 56fbcfd994 Read in LBA file path from header file 2022-12-07 03:53:48 +01:00
Jaby 8269dab350 Prepare reading in LBA Source for Overlay 2022-12-07 02:50:46 +01:00
Jaby 5de6efe2c1 Support LZ4 compression 2022-12-06 04:56:40 +01:00
Jaby 166e889162 Use WSL for linux targets for more reliablitity 2022-12-06 04:56:26 +01:00
Jaby 543a4c69a8 LZ7 compress 2022-12-06 03:12:31 +01:00
Jaby 54a460b514 Read Overlay header 2022-12-06 02:31:05 +01:00
Jaby 4025ce8318 Treat overlay as regular file 2022-12-06 01:18:01 +01:00
Jaby eda979e0ef Introduce Overlay Header and LBAs 2022-12-04 04:55:53 +01:00
Jaby 1bfef10a1a Remove executing main 2022-12-04 04:55:04 +01:00
Jaby 01d38eadf6 Finish mkoverlay 2022-12-04 04:03:03 +01:00
Jaby bf0c5eea4c Enable CommandLine arguments 2022-12-04 03:13:48 +01:00
Jaby c6ec12d89f Create makefile output 2022-12-03 04:19:12 +01:00
Jaby e5bfa5479e Small improvements 2022-12-03 03:08:10 +01:00
Jaby 897969467f Parse JSON into linker script 2022-12-03 02:55:12 +01:00
Jaby 268642fb6b Write LD file 2022-12-01 04:02:38 +01:00
Jaby 2bcb71d0d5 Write default linker script if no overlay were specified 2022-12-01 02:56:18 +01:00
Jaby 573a345d17 Get overlay structure ready 2022-12-01 02:34:24 +01:00
Jaby 64884fb1a2 Create mkoverlay project 2022-12-01 02:17:13 +01:00
Jaby 2f823aa2ec Implement Overlay generation 2022-11-30 02:36:17 +01:00
Jaby 351f90da41 Call which will be a overlay later 2022-11-29 03:28:42 +01:00
Jaby 2b226d0f9b Merge common attributes 2022-11-27 23:54:31 +01:00
Jaby dc1779c59b Design LBA file in XML 2022-11-27 23:38:41 +01:00
Jaby 9193bcb7c6 Support padded size 2022-11-27 23:13:47 +01:00
Jaby 726d85f4ed Clean up error handling 2022-11-27 22:32:14 +01:00
Jaby 1e1c514ca4 Remove ErrorString 2022-11-27 22:21:06 +01:00
Jaby 9d1c006b05 Removed new type error 2022-11-27 22:19:43 +01:00
Jaby 43a3403796 Cause error on not a number padded_size value 2022-11-27 22:15:30 +01:00
Jaby 614fd306f2 Rename extended size to padded size and implement validation 2022-11-24 03:36:56 +01:00
Jaby 0c1858ac87 Print hidden state better 2022-11-24 03:05:44 +01:00
Jaby 3b9f5ec9fc Test and support hidden files and directories 2022-11-24 02:03:11 +01:00
Jaby 456090dea2 Update Test XML 2022-11-21 03:46:24 +01:00
Jaby 88354f74f8 Check License check for valid size instead of reading zeros 2022-11-20 23:14:39 +01:00
Jaby e4b6c0d519 Parse hidden flag in XML 2022-11-19 03:16:43 +01:00
Jaby 80b8671457 Improve LBA output even more 2022-11-19 02:12:48 +01:00
Jaby fb73520332 Create nice LBA file 2022-11-18 04:24:53 +01:00
Jaby a4f433be55 Add flag for outputing dump file 2022-11-18 03:04:52 +01:00
Jaby 06a652cce4 Clean up print commands 2022-11-17 03:54:48 +01:00
Jaby dbb5fb9721 Print content dump intro 2022-11-17 03:50:16 +01:00
Jaby 6fd120a7ca Improve output design 2022-11-17 03:13:12 +01:00
Jaby 0c62e2e14f Prepare content dump 2022-11-17 02:52:32 +01:00
Jaby 7ea1803c65 Use improved error message generation 2022-11-17 02:18:24 +01:00
Jaby 1610ed5ba9 Improve creation of error messages 2022-11-16 04:36:25 +01:00
Jaby ae4a6c280a Correct errors 2022-11-16 03:47:22 +01:00
Jaby e2218d4d8e Write license info from file 2022-11-16 03:35:28 +01:00
Jaby a6195a7389 Restructure code to write license 2022-11-16 02:44:39 +01:00
Jaby 805605ce31 Make code warning free again 2022-11-16 01:46:28 +01:00
Jaby c5c0cc090b Prepare parsing license file 2022-11-15 04:24:46 +01:00
Jaby 10a38ee283 Support command line parameters 2022-11-11 17:00:10 +01:00
Jaby 4bf4224808 Prepare using arguments and options 2022-11-11 16:02:36 +01:00
Jaby 74253e40e3 Extend batch file to use run commands 2022-11-11 15:54:35 +01:00
Jaby 927d67fc5b Remove warnings 2022-11-11 15:29:08 +01:00
Jaby f0133e688a Add clap 2022-11-09 23:11:30 +01:00
Jaby 8f4b5a1e39 Pass lba calculation function as function 2022-11-08 22:19:43 +01:00
Jaby afd6365278 Write via XML 2022-11-08 22:13:06 +01:00
Jaby e5a63d5195 Convert configuration to CDDesc 2022-11-08 21:28:05 +01:00
Björn Gaier aa4da7bbca Parse XML 2022-11-04 15:10:26 +01:00
Björn Gaier 75c32c98eb Improved error handling 2022-11-04 11:32:55 +01:00
Björn Gaier 5a8c7fb56c Read simple XML in 2022-11-04 09:28:32 +01:00
Björn Gaier 6d8e99841e Update Clap 2022-11-04 08:53:05 +01:00
Jaby ae4616fde2 Write cue file 2022-10-28 22:02:04 +02:00
Jaby 8ed59961b3 Successfully write BIN 2022-10-27 22:22:54 +02:00
Jaby efaef79046 Write DirectoryRecord 2022-10-26 21:43:54 +02:00
Jaby 9f9b491481 Complete new property implementation 2022-10-26 20:58:18 +02:00
Jaby 74e7760d0b Prepare shared properties 2022-10-25 22:47:25 +02:00
Jaby 4055689ab5 Improve creation of DirectoryRecords 2022-10-25 21:37:14 +02:00
Jaby 6611b025a4 Parse and write PathTable 2022-10-25 19:56:50 +02:00
Jaby 3cf2193039 Untrack planschi.bin 2022-10-23 16:32:10 +02:00
Jaby da329e4395 Create raw path table 2022-10-23 16:31:07 +02:00
Jaby e2750b105e Improve member name 2022-10-23 16:30:51 +02:00
Jaby f9220ed14f Support \x00 and \x01 as valid D characters 2022-10-23 15:46:41 +02:00
Jaby 393a000645 Use function to update DirectoryRecord 2022-10-23 15:38:26 +02:00
Jaby e9fe50e009 Write PVD completed 2022-10-23 14:57:11 +02:00
Jaby fa848df2e1 Write PathTable infos, publisher name and more 2022-10-23 14:39:51 +02:00
Jaby fb595bddef Write more PVD values 2022-10-23 13:58:34 +02:00
Jaby cb1d27887a Prepare filling in PVD 2022-10-20 22:12:46 +02:00
Jaby 20fefdb490 Introduce PSX encoder to handle lba calculation better and improve many things 2022-10-20 21:28:34 +02:00
Jaby 182358f849 Write sectors 2022-10-20 20:11:00 +02:00
Jaby 23b2696398 Improve lba naming 2022-10-19 20:48:39 +02:00
Jaby b8b4ec0c76 LBAs are track relative 2022-10-19 20:42:58 +02:00
Jaby 4b2ed4b3de Encode first sector 2022-10-19 19:44:52 +02:00
Jaby 1a3da8f412 Have encoder and writer in place 2022-10-18 22:23:32 +02:00
Jaby fe5c70507a Prepare bin/cue writer 2022-10-18 21:00:20 +02:00
Jaby 7aa2f4851e Create dummy files for writing 2022-10-17 20:44:12 +02:00
Jaby e3d2780d28 Changed code to have elements calculate itself 2022-10-17 20:10:37 +02:00
Jaby a6031e004a Create File map 2022-10-16 21:35:56 +02:00
Jaby 15c3d7eba9 Small Layout improvement 2022-10-16 16:14:52 +02:00
Jaby 2c11e52f14 Simplified Layout code 2022-10-16 16:13:24 +02:00
Jaby 9e037d98f1 Improve code 2022-10-16 16:08:12 +02:00
Jaby 74ef109c73 Inital setup 2022-10-16 15:58:38 +02:00
Jaby 0a0672c115 Calculate LBAs 2022-10-16 14:47:21 +02:00
Jaby 27fc25ab32 Calculate LBAs for PathTables 2022-10-12 21:11:51 +02:00
Jaby 6208ce4277 Start calculating LBAs 2022-10-12 20:26:26 +02:00
Jaby efa4a76f6f Add PathTables to Layout 2022-10-12 19:35:00 +02:00
Jaby 8651b7ac9b Calculate size for DirectoryRecords 2022-10-11 21:12:28 +02:00
Jaby 441096e52f Revert back to properties 2022-10-11 20:47:40 +02:00
Jaby 8192cdfecb Sorting Elements 2022-10-11 20:44:29 +02:00
Jaby 11a33fdc54 Introduce Content 2022-10-11 19:45:06 +02:00
Jaby c27e62709f Keep size of names 2022-10-11 19:41:23 +02:00
Jaby 58ab918eca Improve properties 2022-10-11 19:27:34 +02:00
Jaby de41985b16 Prepare for calculating LBAs 2022-10-10 22:06:11 +02:00
Jaby c222e4b8cc Replace Data with File 2022-10-10 20:59:37 +02:00
Jaby 23b0b20b59 Add SystemArea and PVD 2022-10-10 20:50:20 +02:00
Jaby ff51f7db68 Use memory layout feature 2022-10-09 18:17:09 +02:00
Jaby 0358f8673d Add memory layout feature 2022-10-09 18:16:58 +02:00
Jaby b7ea0bc03b Stashing 2022-10-09 16:26:21 +02:00
Björn Gaier d1962048e3 Create recursive iterator 2022-10-07 17:00:30 +02:00
Björn Gaier 05cf190a8a Return iterator instead of dir 2022-10-07 16:20:08 +02:00
Björn Gaier dbeb3746bf Dump CDDesc 2022-10-07 16:12:12 +02:00
Björn Gaier c0e67feca7 Construct DirectoryIterator 2022-10-07 15:04:07 +02:00
Björn Gaier 595e6901bb Add data to cd desc 2022-10-07 11:30:30 +02:00
Jaby 5017558290 Create CD desc 2022-10-06 21:23:40 +02:00
Jaby 013ab8c82f Created constructor functions and paniced 2022-10-06 21:09:45 +02:00
Jaby ac3031e9aa Rename cdgen to psxcdgen_ex to limit scope 2022-10-06 20:34:59 +02:00
Jaby d3a9fcdc12 Introduce new types 2022-10-06 20:30:56 +02:00
Jaby c2c6492379 Create cdgen project 2022-10-06 20:08:56 +02:00
Jaby f31e0407b4 Support PAL and NTSC splash image 2022-10-05 22:01:01 +02:00
Jaby ec4bdac5ec Setup Display to standard resolution instead of high res 2022-10-04 21:54:40 +02:00
Jaby 051ae637f1 Setup DisplayArea 2022-10-03 16:23:35 +02:00
Jaby 3ee0ba72b2 Separate between Display and Screen 2022-10-03 15:40:46 +02:00
Jaby 83c00992aa Configurate Screen 2022-10-03 15:38:54 +02:00
Jaby 9e69aec9bd Emit PAL/NTSC library depending on the configuration 2022-10-03 14:54:59 +02:00
Jaby 8a117a0670 Create Macros for PAL/NTSC 2022-10-02 17:47:24 +02:00
Jaby 63df4e8ad8 Start configurating GPU 2022-10-02 17:32:23 +02:00
Jaby e5943cb3d2 Correct header file extension 2022-10-02 16:45:02 +02:00
Jaby bf439893aa Support CLUT (untested) 2022-10-02 14:18:35 +02:00
Jaby fc50f62fd3 Improve code 2022-10-02 14:12:02 +02:00
Jaby 1a40b4726b Clean Up 2022-10-02 13:17:38 +02:00
Jaby 7c682bdd30 Upload Direct16 pic 2022-10-02 13:14:30 +02:00