summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/ISOFile.cpp
AgeCommit message (Collapse)Author
2016-05-30ISOProperties/GameListCtrl: Use Global INI Change event.EmptyChaos
ISOProperties no longer needs its hack to refresh the game list, the new INI Modified event can be used instead.
2016-01-05DolphinWX: Stop using XPM imagesJosJuice
Using the XPM format for images has become a maintenance problem because people don't know how to create them. This commit removes all XPM images and all C files that contain PNG images. DolphinWX now uses the PNGs in the Resources folder instead, just like DolphinQt and DolphinQt2 do.
2015-12-03Don't read from volume when reloading Wii bannersJosJuice
Should make loading cached Wii games that lack banners slightly faster.
2015-12-02Merge pull request #3111 from JosJuice/wx-banner-scalingMarkus Wick
DolphinWX: Improve HBC banner scaling
2015-11-27Merge pull request #3211 from JosJuice/themes-to-resourcesScott Mansell
Move nobanner and fileplatform from Themes to Resources
2015-11-27Move nobanner and fileplatform from Themes to ResourcesJosJuice
fileplatform is moved so it's in the same place as the other platform icons, and nobanner is moved just because it fits better in Resources. Both of them were identical in all of Dolphin's themes.
2015-11-27ISOFile/GameFile: Simplify IsElfOrDolJosJuice
2015-11-21ISOFile: Get rid of explicit deletesLioncash
2015-11-15ISOFile/GameFile: Clean up includesJosJuice
2015-09-30DolphinWX: Respect aspect ratio of bannersJosJuice
2015-09-30DolphinWX: Don't use nearest neighbor scaling for bannersJosJuice
* Makes HBC icons look better * Fixes the issue with white dots appearing in downscaled images * No longer subjectively better for GC banners according to comex
2015-09-27DiscIO: Add a way to get blob typeJosJuice
2015-09-26Display all compressed formats in blue in GUIJosJuice
In the past, only GCZ was shown as compressed, not CISO and WBFS.
2015-09-26Rename IsCompressedBlob to IsGCZBlob for clarityJosJuice
GCZ is just one of the several compressed formats that Dolphin supports.
2015-09-22DiscIO: Do swapping in GetTitleID implementationsLioncash
Gets rid of external swaps at every usage.
2015-09-19Fix 4.0-7767 regression: exception when handling short WAD IDsJosJuice
2015-09-13DolphinWX: Only read titles.txt onceJosJuice
titles.txt is read into a map and passed to the GameListItem constructor, making game list scanning a bit more efficient. ISOPropreties's constructor is changed to take a GameListItem as an argument instead of creating one on its own, because ISOPropreties doesn't have the titles.txt map that the GameListItem constructor wants.
2015-09-13DolphinWX: Fix sorting games by custom titlesJosJuice
The custom title reading code is moved so that custom titles are returned by GameListItem::GetName(). The comparison code is changed to use GetName() instead of GetName(DiscIO::IVolume::ELanguage). GetName(DiscIO::IVolume::ELanguage) must not return custom titles, because netplay relies on it returning the same name for all players.
2015-09-11Merge pull request #2985 from JosJuice/iselfordolLioncash
DolphinWX: Don't use IsElfOrDol outside of ISOFile
2015-09-11Partially revert "General: Toss out PRI macro usage"Lioncash
2015-09-06DolphinWX: Don't use IsElfOrDol outside of ISOFileJosJuice
It's redundant because GetPlatform can do the same thing.
2015-09-06Merge pull request #2961 from lioncash/printfScott Mansell
General: Toss out PRI macro usage
2015-09-05General: Toss out PRI macro usageLioncash
Now that VS supports more printf specifiers, these aren't necessary
2015-09-04DolphinWX: Support banners in Homebrew Channel formatJosJuice
HBC uses files named icon.png for icons. This change makes Dolphin support that file name, and also [executable file name].png in case someone wants to have multiple files in one folder. The HBC banner support is mainly intended for DOL and ELF files, but it can also be used to override banners of disc images, something that wasn't possible in the past. There are currently issues with banner scaling not preserving the aspect ratio and looking bad in general.
2015-08-29Fixed introduced compiler warning in LinuxAnthony Serna
2015-08-28Implemented .elf and .dol support in gamelistAnthony Serna
Fixed a TON of structuring, formatting. removed README.txt files from themes at MaJoR's request Added platform icon for ELFs/DOLs
2015-06-14Cache games without bannersJosJuice
Games without banners were not cached before, because a banner could become available at any time, making the cache outdated without it becoming invalidated. Instead of not caching anything, this change makes Dolphin check for a banner every time a cache that lacks a banner is read. This is faster than reading all metadata, because reading a Wii banner only reads from the game's save file, not the volume and its filesystem. The cache revision is incremented, because otherwise banners will be missing if a cache without a banner is created in the new version and the user switches to an old version and creates a savefile.
2015-06-13Move GetCompany() to ISOFile.h/GameFile.hJosJuice
For consistency with the other Get methods.
2015-06-12Options: merge SCoreStartupParameter into SConfigdegasus
2015-06-08Volume: Add prefer_long parameter to GetNamesJosJuice
GC games with long names store two variations of the name in opening.bnr. This makes the shorter of those names available. For volumes other than GC discs, prefer_long is ignored.
2015-06-04Volume: Return volume type as an enumJosJuice
ISOFile and GameFile were using IsWiiDisc() and IsWadFile() to set an enum value. The volume might as well return an enum directly. I increased the Qt CACHE_REVISION because m_platform now is saved as u32 instead of int, but increasing the wx CACHE_REVISION is not necessary.
2015-06-02Merge pull request #2484 from JosJuice/volume-return-typescomex
Volume: Use more appropriate types for some returned values
2015-05-29Volume: Use more appropriate types for some returned valuesJosJuice
Disc number is changed from bool to u8, and revision is changed from int to u16 (WADs can use all 16 bits, but discs can only use 8 bits).
2015-05-28Add a mode to use a dummy Wii NAND.comex
Eventually, netplay will be able to use the host's NAND, but this could still be useful in some cases; for TAS it definitely makes sense to have a way to avoid using any preexisting NAND. In terms of implementation: remove D_WIIUSER_IDX, which was just WIIROOT + "/", as well as some other indices which are pointless to have as separate variables rather than just using the actual path (fixed, since they're actual Wii NAND paths) at the call site. Then split off D_SESSION_WIIROOT_IDX, which can point to the dummy NAND directory, from D_WIIROOT_IDX, which always points to the "real" one the user configured.
2015-05-25Merge pull request #2439 from JosJuice/company-from-idRyan Houdek
Use an ID-to-name map when volume has no company string
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-24Use an ID-to-name map when volume has no company stringJosJuice
This is written so that the result of GetCompanyFromID never is cached (except on Android?). Caching is unnecessary because the string can be obtained quickly at runtime, and not caching it means that the cache doesn't have to be invalidated when GetCompanyFromID is edited.
2015-05-08Core: Remove some header inclusions in header filesLioncash
Replaces them with forward declarations of used types, or removes them entirely if they aren't used at all. This also replaces certain Common headers with less inclusive ones (in terms of definitions they pull in).
2015-05-08DolphinWX: Remove unnecessary includesLioncash
2015-04-28Get rid of banner loaders and move their functionality to volumesJosJuice
Having some data available in banner loaders and some other data data available in volumes gets messy, especially with GetNames(), which is available in both but returns different results depending on which one is used. This change drops support for reading names and descriptions from Wii save data.
2015-04-23Return GetNames languages, to avoid hardcoded language lists in callersJosJuice
This makes the code cleaner and also leads to some user-visible changes: The wx game properties will no longer let the user select WAD languages that don't have any names. The Qt game list will now display names using the languages set in the configuration instead of always using English for PAL GC games and Japanese for WADs. If a WAD doesn't have a name in the user's preferred language, English is now selected as a fallback before Japanese.
2015-04-08Move down Country_WorldStevoisiak
The countries are sorted alphabetically. This should have been changed when the variable was renamed from Country_International to Country_World
2015-02-23Merge pull request #1942 from Buddybenj/No-Introskidau
Replace Country Names With No-Intro Names
2015-02-21Merge pull request #2018 from JosJuice/gameini-region-wildcardMarkus Wick
Support game INIs that match all regions
2015-02-17Replace Country Names With No-Intro NamesBuddybenj
2015-02-11Use CoreParameter's game INI functions in more placesJosJuice
2015-02-05VolumeWad: Return version number for WADsStevoisiak
2015-01-21Merge pull request #1870 from Stevoisiak/countryFiltersRyan Houdek
Country filter fixes/consistency
2015-01-17Don't read from disk when checking volume typeJosJuice
Should be faster than relying on the OS to cache the magic words. Also gets rid of the odd recursive call in VolumeDirectory.