spycrab
40bb9974f2
Reformat all the things!
2018-04-12 21:28:39 +02:00
JosJuice
4387432436
DiscIO: Don't use all uppercase for enum values
...
Also removing some prefixes that we don't need now that we're
using enum classes instead of plain enums.
2018-03-31 14:11:32 +02:00
Lioncash
fc531993a9
DiscExtractor: Pass partition by reference rather than by value in ExtractDirectory()
2018-03-27 21:49:42 -04:00
JosJuice
b28e5fa347
Avoid forbidden characters when extracting disc partitions
...
We shouldn't try to create folder names that contain characters
such as : or / since they are forbidden or have special meanings.
(No officially released disc uses such characters, though.)
2017-11-08 12:04:59 +01:00
JosJuice
38304da947
DiscIO: Use Common::Lazy for loading filesystems
...
This simplifies FileMonitor a lot and also lets us
clean up FilesystemPanel.
2017-09-15 18:57:05 +02:00
Léo Lam
31b04149b3
DiscIO: Fix TMD extraction
...
The offset that we read from the header is relative to the partition.
2017-08-25 17:31:50 +02:00
JosJuice
5e3c98af1d
DiscIO: Add a Volume::ReadSwappedAndShifted function
...
This is a fairly common operation, so let's make a utility
function for it to cut down on code duplication.
2017-08-02 22:00:51 +02:00
JosJuice
edc7a4c895
Fix reading FSTs for multi-disc games
...
It's a wonder that this managed to work for any discs at all...
2017-07-08 15:17:05 +02:00
JosJuice
a59edfe8cf
FilesystemPanel: Put partitions in separate folders when extracting all partitions
2017-06-28 22:25:27 +02:00
JosJuice
1b6506f4e8
DiscExtractor: Add support for more things to extract
2017-06-28 22:24:33 +02:00
JosJuice
0b068d84d5
FilesystemPanel: Overhaul the right-click menu
2017-06-28 22:23:01 +02:00
JosJuice
39ff203c1e
DiscExtractor: Don't create extra folders when extracting a folder
...
Before, if you extracted a directory like /map/Final/Release/,
Dolphin would create the nested folders map, Final and Release
in the output directory and put the files in Release instead of
just putting the files directly in the output directory.
2017-06-28 22:22:41 +02:00
JosJuice
6d51992648
Move ExtractDir from FilesystemPanel to DiscExtractor
2017-06-28 22:22:31 +02:00
JosJuice
baf3a3b188
DiscExtractor: Don't hardcode names in ExportApploader and ExportDOL
2017-06-28 22:22:13 +02:00
JosJuice
89c901780e
DiscScrubber: Deduplicate code for writing to file
2017-06-28 22:22:04 +02:00
JosJuice
1f31390b54
DiscExtractor: Improve error handling
2017-06-28 22:21:55 +02:00
JosJuice
a17272c146
DiscExtractor: Minor cleanup
2017-06-28 22:21:48 +02:00
JosJuice
d06b532150
DiscIO: Move parts of Filesystem to the new file DiscExtractor
2017-06-28 22:21:23 +02:00