Commit Graph

68 Commits

Author SHA1 Message Date
Matt Nadareski
2a55511c3e [FileTools, ArchiveTools] Separate archive-specific methods to their own class again 2016-09-22 21:00:18 -07:00
Matt Nadareski
2c6819cec4 [FileTools] Rename ArchiveTools to FileTools 2016-08-29 16:52:55 -07:00
Matt Nadareski
5a7d7a2e1a [ArchiveTools] Organize methods 2016-08-29 16:51:47 -07:00
Matt Nadareski
4e82b63ea6 [ALL] More work on conversion 2016-08-29 16:48:36 -07:00
Matt Nadareski
a1a7e411d5 [Style] Move StringToByteArray to Style where it belongs 2016-08-29 16:34:35 -07:00
Matt Nadareski
0b97b046c8 [ALL] Start work on restructuring based on hashes (will not compile)
This set of changes is the start of turning over to a Hash based system instead of a Rom/Dat based system. It's a long process but it will be worth it in the end.
2016-08-29 16:33:07 -07:00
Matt Nadareski
a5dae7e693 [Structs] Add new structs for future use 2016-08-29 14:43:31 -07:00
Matt Nadareski
b9abd54944 [Structs] Rename File to Rom again
I'm reverting this because there might be cases where System.IO.File and SabreTools.Helper.File could be in conflict
2016-08-29 13:57:46 -07:00
Matt Nadareski
4d621debcf [Structs] Rename Rom to File 2016-08-29 13:51:45 -07:00
Matt Nadareski
638ba055eb [Structs, Enums] Add ItemType enum 2016-08-29 13:50:55 -07:00
Matt Nadareski
19a210562e [Structs] Rename Rom field "Game" to "Machine" 2016-08-29 13:42:27 -07:00
Matt Nadareski
5c0b5bfcbb [Structs] Add Machine struct 2016-08-29 13:41:42 -07:00
Matt Nadareski
4231cf97b9 [Structs] Add HashData struct 2016-08-29 13:05:32 -07:00
Matt Nadareski
bcfa68fb85 [ArchiveTools] Abstract out getting scan level 2016-08-29 12:23:02 -07:00
Matt Nadareski
9d8c012317 [Constants] Make file headers constants 2016-08-29 11:52:11 -07:00
Matt Nadareski
0d38916845 [ArchiveTools] More GZ handling and fixes 2016-08-25 20:03:27 -07:00
Matt Nadareski
9991ca381d [ArchiveTools] Fix GZ extract 2016-08-25 16:34:15 -07:00
Matt Nadareski
782535e1aa [ArchiveTools] First attempt at integrating TGZ header read into quick 2016-08-25 16:00:49 -07:00
Matt Nadareski
c90aeda814 [ArchiveTools] Comment update 2016-08-25 15:00:39 -07:00
Matt Nadareski
ce12dd36a7 [ArchiveTools] No need to use temp names anymore 2016-08-25 11:57:52 -07:00
Matt Nadareski
81ec40cf2f [ArchiveTools] Error tweaking for TGZ 2016-08-25 11:54:04 -07:00
Matt Nadareski
0a558ed7e1 [TGZTest, Build] Fix scanning levels; help; add catches 2016-08-25 11:36:14 -07:00
Matt Nadareski
34465ea50b [ArchiveTools] Absorb file move errors 2016-08-25 11:14:46 -07:00
Matt Nadareski
1d6548538a [ArchiveTools] Fix Romba mode file moving 2016-08-25 10:39:55 -07:00
Matt Nadareski
0e4b76f1b3 [TGZTest, ArchiveTools] Add Romba depot output 2016-08-25 10:26:52 -07:00
Matt Nadareski
3c3f1f9e86 [ArchiveTools] Slightly rearrange comment 2016-08-24 21:52:52 -07:00
Matt Nadareski
5839a538d8 [ArchiveTools] Add TGZ notes 2016-08-24 21:50:11 -07:00
Matt Nadareski
1339e6e121 [ArchiveTools, TGZTest] Correct TGZ write, add test project (temp) 2016-08-24 20:33:35 -07:00
Matt Nadareski
8339dc1264 [ArchiveTools] V1 of TGZ write (untested, unused) 2016-08-24 16:29:49 -07:00
Matt Nadareski
181b65c513 [ArchiveTools] Clean up usings 2016-08-22 21:30:55 -07:00
Matt Nadareski
f6da7ee7a7 [ArchiveTools] Extensions include period 2016-08-19 10:14:10 -07:00
Matt Nadareski
7a2329dfe7 [ArchiveTools] Expand list of recognized input extensions 2016-08-18 20:01:50 -07:00
Matt Nadareski
9c26eb9710 [ArchiveTools] Add extension filtering for archives 2016-08-18 19:54:37 -07:00
Matt Nadareski
5487e61c82 [ArchiveTools] Add logging to GZ 2016-08-18 15:52:14 -07:00
Matt Nadareski
3f3f5a4786 [ArchiveTools] Reorganize code to make more sense 2016-08-18 15:50:57 -07:00
Matt Nadareski
88edc5afa3 [ArchiveTools] Fix 7z archive handling 2016-08-18 15:48:45 -07:00
Matt Nadareski
be9313b8e0 [DATFromDir] Fix archive and file handling 2016-08-17 18:01:07 -07:00
Matt Nadareski
d4342059c2 [ArchiveTools] Fix size handling for TGZ 2016-08-17 16:17:10 -07:00
Matt Nadareski
1c31ac97e2 [ArchiveTools] TGZ fix
Thanks to Obiwantje, I found out that the upper half of the Int64 size is being stored right after the hashes in the header. This means that we don't need any trickery to get around GZ's inherent issues with Int32 sizes. This is something that's been in TGZ but only recently rediscovered. Thanks again to Obi!
2016-08-15 10:31:32 -07:00
Matt Nadareski
4c16ce4a2d [Logger] Logging cleanup across the board 2016-07-12 10:42:29 -07:00
Matt Nadareski
9fc299ccb9 [ArchiveTools, SimpleSort] Attempt to play nicely with Mono 2016-06-22 14:17:27 -07:00
Matt Nadareski
e25366676f [ArchiveTools] Remove unused reference 2016-06-21 10:44:55 -07:00
Matt Nadareski
b167c3a1ac [ArchiveTools] Rename variables 2016-06-21 10:44:17 -07:00
Matt Nadareski
7ea9a239b3 [ArchiveTools, SimpleSort] Fix archive to archive writing, use it 2016-06-21 00:47:39 -07:00
Matt Nadareski
fc5fdb24df [ArchiveTools] Get full path of combined file 2016-06-20 20:20:17 -07:00
Matt Nadareski
7fe9e67a20 [ArchiveTools] Fix full pathname issue for single files 2016-06-19 20:51:32 -07:00
Matt Nadareski
1e95a3515e [ArchiveTools, SimpleSort] Add magic number matching, make archive scanning more accurate 2016-06-17 20:03:07 -07:00
Matt Nadareski
18ce3860d0 [Headerer] Bring Headerer up to internal spec 2016-06-17 11:47:30 -07:00
Matt Nadareski
f6bcfafe0b [ArchiveTools] Suppress additional error 2016-06-17 11:23:23 -07:00
Matt Nadareski
b2c577cee2 [ArchiveTools] Overwrite by default 2016-06-17 11:20:59 -07:00