Commit Graph

314 Commits

Author SHA1 Message Date
Jaby efc299fff1 Enable CommandLine arguments 2022-12-04 03:13:48 +01:00
Jaby 4c06001b48 Create makefile output 2022-12-03 04:19:12 +01:00
Jaby 3643380189 Small improvements 2022-12-03 03:08:10 +01:00
Jaby da2fb45442 Parse JSON into linker script 2022-12-03 02:55:12 +01:00
Jaby 837f431547 Write LD file 2022-12-01 04:02:38 +01:00
Jaby e4ac622a34 Write default linker script if no overlay were specified 2022-12-01 02:56:18 +01:00
Jaby 3389b586bc Get overlay structure ready 2022-12-01 02:34:24 +01:00
Jaby 613df250b6 Create mkoverlay project 2022-12-01 02:17:13 +01:00
Jaby a618d30320 Implement Overlay generation 2022-11-30 02:36:17 +01:00
Jaby e0bada0886 Call which will be a overlay later 2022-11-29 03:28:42 +01:00
Jaby ab4d2ca345 Merge common attributes 2022-11-27 23:54:31 +01:00
Jaby eb0bb52141 Design LBA file in XML 2022-11-27 23:38:41 +01:00
Jaby a4e34641d4 Support padded size 2022-11-27 23:13:47 +01:00
Jaby 3932249923 Clean up error handling 2022-11-27 22:32:14 +01:00
Jaby ac6d7fea67 Remove ErrorString 2022-11-27 22:21:06 +01:00
Jaby 8013c1fb5c Removed new type error 2022-11-27 22:19:43 +01:00
Jaby d912ea949e Cause error on not a number padded_size value 2022-11-27 22:15:30 +01:00
Jaby 2994569970 Rename extended size to padded size and implement validation 2022-11-24 03:36:56 +01:00
Jaby a0a41652d4 Print hidden state better 2022-11-24 03:05:44 +01:00
Jaby c30bda6a3a Test and support hidden files and directories 2022-11-24 02:03:11 +01:00
Jaby 121ff4d9b5 Update Test XML 2022-11-21 03:46:24 +01:00
Jaby f3362ce2de Check License check for valid size instead of reading zeros 2022-11-20 23:14:39 +01:00
Jaby 697f53a812 Parse hidden flag in XML 2022-11-19 03:16:43 +01:00
Jaby 29560c4fa8 Improve LBA output even more 2022-11-19 02:12:48 +01:00
Jaby 1723298465 Create nice LBA file 2022-11-18 04:24:53 +01:00
Jaby 4a18d19506 Add flag for outputing dump file 2022-11-18 03:04:52 +01:00
Jaby fe48590980 Clean up print commands 2022-11-17 03:54:48 +01:00
Jaby f160b29a2d Print content dump intro 2022-11-17 03:50:16 +01:00
Jaby fdabc4cf80 Improve output design 2022-11-17 03:13:12 +01:00
Jaby 04e137aec8 Prepare content dump 2022-11-17 02:52:32 +01:00
Jaby 00fd5ed463 Use improved error message generation 2022-11-17 02:18:24 +01:00
Jaby 87f4f05d06 Improve creation of error messages 2022-11-16 04:36:25 +01:00
Jaby e5eec344a4 Correct errors 2022-11-16 03:47:22 +01:00
Jaby eac5a4f349 Write license info from file 2022-11-16 03:35:28 +01:00
Jaby 7a0b90681e Restructure code to write license 2022-11-16 02:44:39 +01:00
Jaby 2386ee9d22 Make code warning free again 2022-11-16 01:46:28 +01:00
Jaby 39f1043143 Prepare parsing license file 2022-11-15 04:24:46 +01:00
Jaby 0f2eaaa375 Support command line parameters 2022-11-11 17:00:10 +01:00
Jaby 3638855dbb Prepare using arguments and options 2022-11-11 16:02:36 +01:00
Jaby 72462431e7 Extend batch file to use run commands 2022-11-11 15:54:35 +01:00
Jaby 2cdba18557 Remove warnings 2022-11-11 15:29:08 +01:00
Jaby 1ebdfff222 Add clap 2022-11-09 23:11:30 +01:00
Jaby 381a256f3e Pass lba calculation function as function 2022-11-08 22:19:43 +01:00
Jaby 75760bb764 Write via XML 2022-11-08 22:13:06 +01:00
Jaby 4706e82459 Convert configuration to CDDesc 2022-11-08 21:28:05 +01:00
Jaby 99a484a5bd Parse XML 2022-11-04 15:10:26 +01:00
Jaby a2858e0daf Improved error handling 2022-11-04 11:32:55 +01:00
Jaby 22d5fefd11 Read simple XML in 2022-11-04 09:28:32 +01:00
Jaby ebe08224d2 Update Clap 2022-11-04 08:53:05 +01:00
Jaby 012aaa3b9f Write cue file 2022-10-28 22:02:04 +02:00
Jaby 6c4277a9a3 Successfully write BIN 2022-10-27 22:22:54 +02:00
Jaby 8fbc877296 Write DirectoryRecord 2022-10-26 21:43:54 +02:00
Jaby 073cb6177c Complete new property implementation 2022-10-26 20:58:18 +02:00
Jaby 773571eeb9 Prepare shared properties 2022-10-25 22:47:25 +02:00
Jaby 8e2f7e02a1 Improve creation of DirectoryRecords 2022-10-25 21:37:14 +02:00
Jaby c06eea08c7 Parse and write PathTable 2022-10-25 19:56:50 +02:00
Jaby c797044890 Untrack planschi.bin 2022-10-23 16:32:10 +02:00
Jaby 684fd6598e Create raw path table 2022-10-23 16:31:07 +02:00
Jaby 7335e933c7 Improve member name 2022-10-23 16:30:51 +02:00
Jaby 84761adc14 Support \x00 and \x01 as valid D characters 2022-10-23 15:46:41 +02:00
Jaby 5fef143171 Use function to update DirectoryRecord 2022-10-23 15:38:26 +02:00
Jaby ae08f17add Write PVD completed 2022-10-23 14:57:11 +02:00
Jaby fa207165ba Write PathTable infos, publisher name and more 2022-10-23 14:39:51 +02:00
Jaby 21b6c6e1f6 Write more PVD values 2022-10-23 13:58:34 +02:00
Jaby 887748bdfd Prepare filling in PVD 2022-10-20 22:12:46 +02:00
Jaby c8cee58dd3 Introduce PSX encoder to handle lba calculation better and improve many things 2022-10-20 21:28:34 +02:00
Jaby a695eda156 Write sectors 2022-10-20 20:11:00 +02:00
Jaby ea6bb98687 Improve lba naming 2022-10-19 20:48:39 +02:00
Jaby 9d26770ea7 LBAs are track relative 2022-10-19 20:42:58 +02:00
Jaby 7f06cb1226 Encode first sector 2022-10-19 19:44:52 +02:00
Jaby 68748c863e Have encoder and writer in place 2022-10-18 22:23:32 +02:00
Jaby 7bc57558d0 Prepare bin/cue writer 2022-10-18 21:00:20 +02:00
Jaby 4f6900f121 Create dummy files for writing 2022-10-17 20:44:12 +02:00
Jaby df7c56bf9b Changed code to have elements calculate itself 2022-10-17 20:10:37 +02:00
Jaby 349a678ee7 Create File map 2022-10-16 21:35:56 +02:00
Jaby 1f95c09a2c Small Layout improvement 2022-10-16 16:14:52 +02:00
Jaby 4433622e96 Simplified Layout code 2022-10-16 16:13:24 +02:00
Jaby 0a8e63a70d Improve code 2022-10-16 16:08:12 +02:00
Jaby 947f1cf1e5 Inital setup 2022-10-16 15:58:38 +02:00
Jaby 35d92ea829 Calculate LBAs 2022-10-16 14:47:21 +02:00
Jaby 1c24f1ddc2 Calculate LBAs for PathTables 2022-10-12 21:11:51 +02:00
Jaby c196213441 Start calculating LBAs 2022-10-12 20:26:26 +02:00
Jaby cf23f2a8db Add PathTables to Layout 2022-10-12 19:35:00 +02:00
Jaby 61b48ac944 Calculate size for DirectoryRecords 2022-10-11 21:12:28 +02:00
Jaby 99adf4c89f Revert back to properties 2022-10-11 20:47:40 +02:00
Jaby 961a39b6ff Sorting Elements 2022-10-11 20:44:29 +02:00
Jaby 2a472a88de Introduce Content 2022-10-11 19:45:06 +02:00
Jaby e185b96205 Keep size of names 2022-10-11 19:41:23 +02:00
Jaby a2a2e67cef Improve properties 2022-10-11 19:27:34 +02:00
Jaby ba0d21464f Prepare for calculating LBAs 2022-10-10 22:06:11 +02:00
Jaby a42d624a2d Replace Data with File 2022-10-10 20:59:37 +02:00
Jaby 045b9d5c48 Add SystemArea and PVD 2022-10-10 20:50:20 +02:00
Jaby 50df1a1554 Use memory layout feature 2022-10-09 18:17:09 +02:00
Jaby a85619bdcd Add memory layout feature 2022-10-09 18:16:58 +02:00
Jaby b604bd5ece Stashing 2022-10-09 16:26:21 +02:00
Jaby d6fe151ce1 Create recursive iterator 2022-10-07 17:00:30 +02:00
Jaby b77ee8b12d Return iterator instead of dir 2022-10-07 16:20:08 +02:00
Jaby ec44a83026 Dump CDDesc 2022-10-07 16:12:12 +02:00
Jaby a111d57b42 Construct DirectoryIterator 2022-10-07 15:04:07 +02:00
Jaby 7154e718ed Add data to cd desc 2022-10-07 11:30:30 +02:00
Jaby 25118fc0a7 Create CD desc 2022-10-06 21:23:40 +02:00
Jaby 088798c901 Created constructor functions and paniced 2022-10-06 21:09:45 +02:00
Jaby 65ef5ba673 Rename cdgen to psxcdgen_ex to limit scope 2022-10-06 20:34:59 +02:00
Jaby 5cce2f370e Introduce new types 2022-10-06 20:30:56 +02:00
Jaby f077baf2f9 Create cdgen project 2022-10-06 20:08:56 +02:00
Jaby 8405f3120e Support PAL and NTSC splash image 2022-10-05 22:01:01 +02:00
Jaby c74c3ec691 Setup Display to standard resolution instead of high res 2022-10-04 21:54:40 +02:00
Jaby c728be2671 Setup DisplayArea 2022-10-03 16:23:35 +02:00
Jaby 64155f3d6e Separate between Display and Screen 2022-10-03 15:40:46 +02:00
Jaby 260e3d1b21 Configurate Screen 2022-10-03 15:38:54 +02:00
Jaby b1c06a4123 Emit PAL/NTSC library depending on the configuration 2022-10-03 14:54:59 +02:00
Jaby 67d0717f5c Create Macros for PAL/NTSC 2022-10-02 17:47:24 +02:00
Jaby 38f56c65a6 Start configurating GPU 2022-10-02 17:32:23 +02:00
Jaby 33c785c908 Correct header file extension 2022-10-02 16:45:02 +02:00
Jaby a1df166788 Support CLUT (untested) 2022-10-02 14:18:35 +02:00
Jaby 73e679cfec Improve code 2022-10-02 14:12:02 +02:00
Jaby e5ad229cf5 Clean Up 2022-10-02 13:17:38 +02:00
Jaby 30f436c541 Upload Direct16 pic 2022-10-02 13:14:30 +02:00
Jaby f4e6267c62 Improvements to parse Texture data 2022-10-02 11:49:55 +02:00
Jaby cf2bafe79c Include SplashImage and detect right type 2022-10-02 11:01:42 +02:00
Jaby 63be7f386f Generated hpp file instead of cpp 2022-10-02 11:01:22 +02:00
Jaby 359d2fdcb5 Use continous memory for loading files 2022-10-02 10:18:27 +02:00
Jaby ff11c26905 Verify basic usage of FileProcessor 2022-10-01 22:40:40 +02:00
Jaby f71da36c08 Build and integrate Splash Image 2022-09-29 20:51:18 +02:00
Jaby 883836919a Use cpp_out 2022-09-28 21:21:45 +02:00
Jaby b7a783d403 Use buffered read and write for better performance 2022-09-28 21:21:15 +02:00
Jaby bc98c48ef4 Create Splash.cpp 2022-09-28 20:53:32 +02:00
Jaby 300f1e38c5 Prepare splash target 2022-09-28 20:27:48 +02:00
Jaby c1b55b401e Add Splash image 2022-09-28 20:22:03 +02:00
Jaby 99366b7ca9 Support CLUT alignment 2022-09-28 19:59:52 +02:00
Jaby cf5cd97bcc Fill Palette if needed 2022-09-28 19:53:50 +02:00
Jaby 37adafa52e Convert IndexedImages 2022-09-27 20:52:44 +02:00
Jaby 8e228bdbb8 Start reading in indexed PNG file 2022-09-25 19:32:58 +02:00
Jaby dd940d2191 Allow writing clut data 2022-09-25 18:46:15 +02:00
Jaby a490a0508a Improved running the tests again 2022-09-25 18:21:28 +02:00
Jaby bc83d6078b Deconstruct PNG imag 2022-09-25 16:31:11 +02:00
Jaby 7b18faabe3 Run clut code 2022-09-23 22:35:55 +02:00
Jaby b5ee0786d2 Write clut16 2022-09-23 22:01:52 +02:00
Jaby 3906d9649a Implement convert functions for RGB(A) 2022-09-22 21:18:01 +02:00
Jaby ad1d8e26f2 Introduce PSXImageConverter 2022-09-22 20:09:19 +02:00
Jaby 7961848a11 Build linux under windows with MUSL 2022-09-22 19:26:13 +02:00
Jaby 56c4b03b8b Add Header basics 2022-09-21 21:52:21 +02:00
Jaby c3910d5343 Basic Color support 2022-09-21 20:43:08 +02:00
Jaby e5ba4490d3 Support bit operations 2022-09-20 22:10:17 +02:00
Jaby c4ed9bc10f Improve Error 2022-09-19 21:06:44 +02:00
Jaby 1541c1e777 Prepare reading in files 2022-09-19 20:20:43 +02:00
Jaby af343302c2 Calling un-implemented convert function 2022-09-17 17:31:51 +02:00
Jaby 91ba0583dd Fix input file for cpp_out 2022-09-17 17:15:23 +02:00
Jaby 26a9c7c3bf Prepare for simple TIM conversion 2022-09-17 17:12:53 +02:00
Jaby 5796f15d2f Offer configuration for windows and linux 2022-09-17 16:08:10 +02:00