Closed Kupo91 closed 1 year ago
In 2nd commit I only added lines about the device icon. I don't know why it added a space in the next line. I can't see that space in notepad++ either. So this maybe needs an adjustment.
You should also take a look at the PS5 controller. It has a space in its device name, but no space in the icon line.
" SDL/0/PS5 Controller": { "SDL/0/PS5 Controller": "../#DefaultDevices/DualShock4/Device/Icon.png",
Since I didn't knew if this is intended, I used this name for the the mirror files, too.
that there is no mirrored devices is wanted.
Not sure what you mean. I mirrored them, to come from this:
to this:
It won't work without mirrored device textures.
sorry it took me so long. could you please first mirror only the textures you need? I do not want the package to become unnecessarily "larger".
Sure, I only need the "icon" textures. If size matters, we could also think about deleting the other regular device textures. I can't remember to ever use any other device textures than icon ?
i would like at least a normal version to remain because we need it when v2 is ready. XD
1st commit
I noticed that there are no mirrored device textures, so I took a look at the
_Mirror
folder in#DefaultDevices
. By this I also noticed that the folderXBOX ONE Series X
is missing in_Mirror
. So I copied the folder over to_Mirror
and mirrored the textures. Then I checked the json files inAssets
, if I need to add the new folder in all Mirror Assets, but looks like they don't use this folder. I assume theXBOX ONE Series X
folder is only used by theDeviceTextureChanger.bat
? In this case the DeviceTextureChanger probably needs to be updated to recognize the mirrored textures.When I checked if the Mirror json files in Assets contain the
XBOX ONE Series X
folder, I had trouble to compare some files because their structure was different.So what this commit does is rearrange "SDL/0/Switch Pro Controller" in
to match the structure of the other json files and make them easier to compare in the future.
Same with "DInput/0/Stadia Controller rev. A" in UniversalDIT_Text-Outlines.json.
2nd commit
This commit adds device textures to the
_Mirror
folderand updates the json files in
Assets
with a device texture path.This is also required for a game which I will add DIT for later. The DIT for this game are already tested with these changes and work fine.