Commit Graph

62 Commits

Author SHA1 Message Date
Unknown W. Brackets
e32524c544 GPU: Remove ReliableHash aliases.
Let's just use XXH32/XXH64 directly in texture replacements, clearer
anyway.
2020-08-28 01:15:22 -07:00
Henrik Rydgård
99a5a9aac5 Address feedback 2020-08-15 20:02:07 +02:00
Henrik Rydgård
0fcc0994b4 Recategorize some logging, in preparation for what's to come. 2020-08-15 11:51:22 +02:00
Unknown W. Brackets
a0f8e788f3 Global: Move string number parse to text/parsers.
It's not used as much as the other string utils.
2020-08-10 07:05:23 -07:00
Unknown W. Brackets
e59951382a Global: Make stringutil includes more explicit. 2020-08-10 07:05:22 -07:00
Henrik Rydgård
c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Unknown W. Brackets
7024a2877d GPU: Take A off RGB565 conversion funcs. 2020-05-13 18:17:58 -07:00
Henrik Rydgård
d036717e08 TextureReplacer: Generate a default value in the ini files for ignoreMipmap. 2020-04-16 10:08:16 +02:00
NR74W
221eec5899
Update TextureReplacer.cpp
Correction.
2020-04-13 16:29:07 +02:00
NR74W
fe5b06cc17 Add option to prevent Mipmaps from being dumped 2020-04-13 03:32:03 +02:00
orbea
c8c7889f0f cmake: Improve building with the system libpng.
This also now requires at least libpng16 instead of libpng17.

v2: Require libpng17 on arm platforms.
v3: Fix the android and windows travis builds.
2020-03-22 18:43:51 -07:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Unknown W. Brackets
b4d9d038b4 Replacement: Allow region-specific settings.
This makes it easier to reuse one pack for multiple game ids.
2019-07-14 16:01:37 -07:00
Unknown W. Brackets
efc6510569 Replacement: Show a warning for bad texture names. 2018-09-30 17:55:51 -07:00
Unknown W. Brackets
8b62354df6 Replacement: Note filename restrictions in ini. 2018-09-30 17:44:06 -07:00
Unknown W. Brackets
13375e2b95 Replacement: Refactor ini template generation. 2018-09-30 17:00:05 -07:00
Unknown W. Brackets
1b4f1d7d4e Replacement: Cut down on parsing for large inis. 2018-09-07 21:36:59 -07:00
Unknown W. Brackets
d1c5668612 Android: Add .nomedia files to system and textures.
Due it on all platforms when saving textures to encourage including
.nomedia in texture packs.
2018-09-02 10:19:08 -07:00
Unknown W. Brackets
fcabc319e1 Qt: Load texture replacement images.
Still doesn't save, but at least it can use packs.
2018-06-06 05:57:26 -07:00
Henrik Rydgård
a153181e4a Don't leave "reduceHash_" uninitialized. Probably won't help #10796 though.. 2018-03-26 12:33:36 +02:00
Henrik Rydgård
e8db163072 Replacement: Break the mip loading loop if a level is wrong. Also shrink the log output. 2017-12-05 13:20:25 +01:00
Henrik Rydgård
b3086b1465 Reject texture replacement mipmaps of the wrong size 2017-12-05 13:07:03 +01:00
Unknown W. Brackets
bd1ed897cf Global: Fix some warnings. 2017-11-25 14:08:49 -08:00
Unknown W. Brackets
9fbcc01afa TexCache: Remove simple 0/1 alpha check.
No practical optimizations have come of this, so it's a waste of time.
Slows down Vulkan too.
2017-11-12 16:17:46 -08:00
Henrik Rydgård
c5ebeb4273 Merge pull request #9780 from unknownbrackets/ge-record
GE recorder and replay
2017-06-05 10:08:55 +02:00
Henrik Rydgård
af1801af54 Merge pull request #9668 from LunaMoo/featureTR
Add "ignoreAddress" to texture replacement.
2017-06-04 12:01:23 +02:00
Unknown W. Brackets
41b485aa0a Core: Refactor repeating disc id homebrew code. 2017-06-03 15:29:08 -07:00
LunaMoo
939b26475d Fix a bunch of emu features for Homebrew by better identification. 2017-05-30 12:20:29 +02:00
LunaMoo
0e44c3b9fe Add reduceHash option, to hash 50% of texture when it's otherwise unreliable. 2017-05-07 21:12:26 +02:00
LunaMoo
36d7933c24 Disable ignoreAddress on quick hash and inform the user about it. 2017-05-07 00:12:20 +02:00
LunaMoo
3c1f62d691 Expose XXHASH for Texture Replacement 2017-05-06 14:51:24 +02:00
LunaMoo
88dabd59e3 Add "ignoreAddress" to texture replacement. 2017-05-05 21:40:40 +02:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
LunaMoo
b65704f59a Texture Replacement allow clut hash only variant. 2017-02-26 19:24:32 +01:00
Julian
c92ec20811 Fixed Inconsistent texture filtering in Disgaea 2 #4235 2016-12-16 22:53:55 +02:00
Unknown W. Brackets
e661c96044 Use safest alpha status in texture replace. 2016-09-11 11:05:14 -07:00
Unknown W. Brackets
f084084ff7 Clean up accidental debug code. 2016-05-31 11:53:17 -07:00
Unknown W. Brackets
5840338397 Create parent directories when saving new textures. 2016-05-31 00:13:53 -07:00
Unknown W. Brackets
bfda12fa23 Allow more options in texture [hashes] syntax.
This allows you to ignore the address or address and clut hash.
2016-05-31 00:13:52 -07:00
Unknown W. Brackets
994d2dd85e Skip video in replacement saving by default. 2016-05-01 08:58:14 -07:00
Unknown W. Brackets
c20075b0e0 Pass video info to texture replacements. 2016-05-01 08:54:43 -07:00
Unknown W. Brackets
329be68f57 Fix error when disabled.
We want to return a reference here, so let's always return.
2016-05-01 08:04:15 -07:00
Unknown W. Brackets
cd6f36a439 Correct handling of 8 bit and no-alpha PNGs. 2016-05-01 00:30:54 -07:00
Unknown W. Brackets
f26c0328da Check alpha when loading replaced textures. 2016-05-01 00:30:53 -07:00
Unknown W. Brackets
c4b27525e0 Disable texture replacement on Qt. 2016-05-01 00:30:52 -07:00
Unknown W. Brackets
bed82da352 Make ini case insensitive. 2016-05-01 00:30:51 -07:00
Unknown W. Brackets
223f95f28c Allow a short alias for video frames, etc. 2016-05-01 00:30:51 -07:00
Unknown W. Brackets
e1fd6b6f21 Account for scaleFactor when saving clipped PNG. 2016-05-01 00:30:50 -07:00
Unknown W. Brackets
7a4af06cee Save new textures into a separate path.
This way you can tell which ones you've done already.
2016-05-01 00:30:49 -07:00
Unknown W. Brackets
f536182b37 Cache texture replacement lookup info.
This way we can avoid hitting the disk where possible.  We could even
preload.
2016-05-01 00:30:48 -07:00