Posts: 181
Threads: 48
Joined: Jan 2018
Reputation:
4
05-30-2022, 07:28 AM
(This post was last modified: 05-30-2022, 07:46 AM by goody_fyre11.)
I'm having trouble with the texture dumping/loading feature. If I enable texture dumping, it works perfectly. All textures dump into textures/gameid/dumps. However, if I modify those textures, move them into textures/gameid/replacements and enable custom texture loading, they don't load. I've made absolute certain that they're both the exact same filename as the originals, the exact same file type as the originals, and the exact same compression method as the originals. It doesn't work for any game in my library. What am I doing wrong?
Edit: Ignore this, a tool I was using was adding an extra space to the filename. Also, why doesn't this forum let you delete your own posts?
Posts: 110
Threads: 6
Joined: May 2022
Reputation:
5
05-30-2022, 08:15 AM
(This post was last modified: 05-30-2022, 10:16 AM by IPlayWithHex.)
By way of giving this thread some purpose.... texture dumping/loading IS indeed broken in Champions of Norrath. When you attempt to dump textures, the game will repeatedly dump duplicate textures over and over for infinity - even when you standing in one area and not changing areas. In just 5 minutes you can have several GBs of textures! DON'T try/test this on an SSD!
Also the textures themselves appear broken and skewed and generally unusable.
Edit: I'm only referring to the first Champions of Norrath here ^^
This is the only game I've experienced issues with texture dumping/loading. I haven't tested other Snowblind engine games....
Posts: 181
Threads: 48
Joined: Jan 2018
Reputation:
4
I've actually been using the texture dumper/loader without issues, however the textures dump partially transparent. I've heard this is a PS2 limitation but there's a custom build made by Rexis which doesn't have this issue. Whenever I try to modify any of the textures they just turn invisible.
Posts: 110
Threads: 6
Joined: May 2022
Reputation:
5
05-30-2022, 10:03 AM
(This post was last modified: 06-06-2022, 06:46 AM by IPlayWithHex.)
Yeah, Champions of Narroth is the only game I found that has issues with texture dumping/loading.
About your texture transparency issue - this is what I do:
Import the texture in Gimp. Go to Layer-->Transparency--> Threshold Alpha. Don't touch anything, just click OK. The texture will now be(appear!) totally solid(technically, the alpha channel is still there). Make your edits. When finished go back to Layer-->Transparency--> Threshold Alpha. This time move the value to 1.0000(full) and click the + next to Blending Options and change Opacity to 50.0 -- leave Mode at default(Replace). Click OK and export to your desired format.
Edit: I actually just recently encountered a game where the Alpha channels in it's textures where set differently and the default Alpha Threshold settings on Gimp would turn it's textures completely transparent.
So, in this case I had to move the value to 0.0 initially, to make the texture fully solid. Then, after making my edits, when I went back to the Alpha Threshold setting before exporting, I had to adjust the value to 1.0 and Opacity to around 80 to 90 to get the Alpha channel back to how it was originally.
So, it's like Refraction says below -- not every PS2 game handles transparency the same.
-- end of edit
I don't use Paint.Net, Photoshop, etc., But, if you do, they may have similar features to adjust transparency threshold.
Posts: 181
Threads: 48
Joined: Jan 2018
Reputation:
4
If it's understood how it works, why not make PCSX2 do the conversion automatically? The Rexis custom build dumps textures that look correct and everything still works fine.
On a seperate note, another game in my library - Star Wars Starfighter - disables custom textures during its loading screens, you have to toggle them back on after each one. So weird.
Posts: 20.146
Threads: 405
Joined: Aug 2005
Reputation:
540
Location: England
Because some games will use an alpha higher than 1 in their textures, and converting it will break it.