Henrik Rydgård
d45f95e304
Limit to Windows to fix linker error
2024-01-18 16:08:23 +01:00
Henrik Rydgård
daa9fab32a
Don't try to replace textures if there's just an empty TEXTURES/{GAMEID} folder.
2023-12-29 19:06:43 +01:00
Henrik Rydgård
3ffcf267cb
Allow replacing mip levels of a texture even without a ini file. Probably niche.
2023-12-29 19:06:20 +01:00
Henrik Rydgård
80c6dbfdfe
Minor: bugfix in texreplacer, darker alpha chessboard in texture viewer
2023-12-28 19:46:36 +01:00
Henrik Rydgård
3895cfff74
Add "Analog trigger threshold" setting, for conversion of analog trigger inputs to digital button inputs.
2023-12-28 13:36:03 +01:00
Henrik Rydgård
faef4aae2c
Add a comment on how to fix the actual bug.
2023-12-25 17:39:28 +01:00
Henrik Rydgård
c2963c7941
Fix issue where "Texture replacement pack activated" wasn't displayed without an ini
2023-12-25 13:25:28 +01:00
Henrik Rydgård
126d70cf9d
Improve handling of texture packs without .ini files (not recommended, but exists)
2023-12-25 13:25:28 +01:00
Henrik Rydgård
849000a958
Texture replacer: Break out two functions from LoadIniValues
2023-12-25 13:25:27 +01:00
Henrik Rydgård
877324c978
Add comment about swizzling to the texture replacer hash
2023-12-07 11:01:51 +01:00
Henrik Rydgård
7f67a10543
Texture replacement: Prioritize ini file lines over files in the "root".
...
This reverts back to the old behavior, as mentioned in #18465
2023-12-03 00:18:39 +01:00
Henrik Rydgård
d07c3c5148
Fix main-thread stalls due to decimate during replacement texture loading
2023-10-03 12:17:43 +02:00
Henrik Rydgård
6799e8a67b
Add a little reminder that saving new textures is on, if they are.
2023-09-07 13:57:52 +02:00
Henrik Rydgård
42b0ccd07d
Revert some unnecessary log changes from #18001
2023-08-29 23:13:45 +02:00
Henrik Rydgård
af1a1c5182
Improve logging of bad filenames
2023-08-29 10:45:00 +02:00
Henrik Rydgård
412c4547cd
textures.ini loader logging improvement
2023-08-28 16:34:58 +02:00
Henrik Rydgård
ace217008a
In D3D11, force block compressed textures to have dimensions divisible by 4
...
Fixes #17745 (crash when loading certain texture packs in D3D11)
This is an old unfortunate limitation. Only applies to the top mip
level, which makes it obvious that it's kinda unnecessary for the
hardware and indeed, Vulkan and OpenGL don't have this limitation.
2023-07-20 19:44:00 +02:00
Henrik Rydgård
eb21a2e6c9
Break out the OSD data holder from Common/System/System.h, into OSD.cpp/h
2023-06-30 17:15:49 +02:00
Henrik Rydgård
7cc8c6cea4
OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI).
2023-06-20 14:40:46 +02:00
Henrik Rydgård
dc96374eb2
Merge pull request #17380 from hrydgard/replacement-find-files
...
Pre-scan the root of texture packs for hash-named files.
2023-05-02 21:40:05 +02:00
Henrik Rydgård
ee7e8d7c06
Add a unit test, fix listing zip directories
2023-05-02 11:35:45 +02:00
Henrik Rydgård
bdd0eeb7c3
Avoid double texture cache load.
...
Texture packs are loaded from NotifyConfigChanged which is called
anyway.
Fixes #17381
2023-05-01 23:52:39 +02:00
Henrik Rydgård
d10fae7274
Scan the root of loaded texture packs to find all the hash-named files.
2023-05-01 23:23:37 +02:00
Henrik Rydgård
ef5abac1d3
Fix an oversight when saving replacement textures on scoped storage
...
We ended up not properly mangling the filename when changing extensions
if the file URI is an Android content URI.
Fixes #17320
2023-04-22 00:05:07 +02:00
Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00