Project

General

Profile

Emulator Issues #9245

some Textures dumped from Timesplitters Future Perfect broken

Added by Combine over 5 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Timesplitters: Future Perfect

Game ID?

G3FE69

MD5 Hash?

cb21d1e88b48a1830dc131c527833d30

What's the problem? Describe what went wrong.

When attempting to dump textures from this game, it seems that several of the game's textures end up being corrupted and mixed with other textures.

What steps will reproduce the problem?

  1. Start game with texture dumping enabled
  2. Load any level
  3. Several dumped textures will look strange and broken, while others are fine

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

Tested on version 4.0-8490

Older versions did not correct issue.

What are your PC specifications? (CPU, GPU, Operating System, more)

OS: Windows 7 Professional 64-bit
Processor: Intel Core i5-3470 CPU @ 3.20GHz
Installed RAM: 8GB
GPU: NVIDIA GeForce GTX 670

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

Example of a texture that has dumped correctly:

Examples of broken textures:

History

#1 Updated by JosJuice over 5 years ago

  • Status changed from New to Working as intended

Some games arrange their textures in ways that might look weird.

#2 Updated by Combine over 5 years ago

JosJuice wrote:

Some games arrange their textures in ways that might look weird.

I am almost certain that this is not intentional, as these textures are completely scrambled, containing pieces of other textures and even alpha masks.

When attempting to apply them back onto the models (if it is even possible to distinguish said model) the texture does not look correct.

#3 Updated by Sonicadvance1 over 5 years ago

So if you don't modify the texture at all, but apply it as a "high-res" texture then stuff messes up?

#4 Updated by Combine over 5 years ago

Sonicadvance1 wrote:

So if you don't modify the texture at all, but apply it as a "high-res" texture then stuff messes up?

Yes, If I load the ripped textures as custom textures they are broken ingame.

#5 Updated by JosJuice over 5 years ago

  • Status changed from Working as intended to New

That does sound strange. Thanks for showing it.

#6 Updated by JMC4789 over 5 years ago

  • Assignee set to degasus

That's pretty awesome. Requires some looking into.

#7 Updated by JMC4789 over 4 years ago

This is probably fixed in PR 4512.

#8 Updated by Combine about 4 years ago

JMC4789 wrote:

This is probably fixed in PR 4512.

Still broken in PR 4512 and above.

#9 Updated by JMC4789 about 4 years ago

I'm just wondering what the game is doing that makes it not work.

#10 Updated by Combine about 4 years ago

JMC4789 wrote:

I'm just wondering what the game is doing that makes it not work.

My best guess is it's some kind of really weird texture storage method but I'm no expert on gamecube stuff nor do I have as much knowledge as the Dolphin devs on this kind of thing.

It's not just Dolphin that does this, it seems to have with ripping tools like 3D Ripper DX as well.

#11 Updated by Combine about 4 years ago

Combine wrote:

JMC4789 wrote:

I'm just wondering what the game is doing that makes it not work.

really weird texture storage method

By which I mean the game storing textures in a weird way that confuses Dolphin and makes it output garbage.

#12 Updated by JMC4789 about 4 years ago

If Dolphin can display them correctly in the first place, it's really hard to mess up dumping them. Not impossible, but it points to the bug being something stupid...

#13 Updated by Combine about 4 years ago

JMC4789 wrote:

If Dolphin can display them correctly in the first place, it's really hard to mess up dumping them. Not impossible, but it points to the bug being something stupid...

That's a good point.Could be something specifically with the way dolphin dumps textures that doesn't go wrong when it's actually displaying them?

#14 Updated by Combine about 4 years ago

Combine wrote:

JMC4789 wrote:

If Dolphin can display them correctly in the first place, it's really hard to mess up dumping them. Not impossible, but it points to the bug being something stupid...

That's a good point.Could be something specifically with the way dolphin dumps textures that doesn't go wrong when it's actually displaying them?

I think the weirdest part is that broken textures are sometimes completely unrelated to the textures they should be. In the screenshots above you can see a slightly messed up barrel texture on some crates.

#15 Updated by Combine about 4 years ago

Update because I just checked something I should've checked before.

I loaded the textures dumped by Dolphin 5.0-1845 as custom ones and everything seemed fine.
Despite this, there are still a large amount of broken looking textures being dumped making navigation a pain but I've noticed something.

I don't know if this applies to all of them, but here's what I found.

This is the texture "tex1_512x512_m_5d86a6efe1092239_14_mip1.png":

This texture has dumped correctly.

Right alongside it is "tex1_512x512_m_5d86a6efe1092239_14.png", the same texture but with no "mip1":

This texture is broken.

After hugging several enemies and props it doesn't seem like the non-mipmap versions are actually used. The actual bug seems to be fixed but I'd imagine the corrupted "non-mipmap" versions being dumped is still unintended behaviour.
Right alongside it is this, however:

#16 Updated by Combine about 4 years ago

p.s A couple of things use the non-mipmap textures (mostly level geometry and decals) and these will be dumped fine.

#17 Updated by JillCrungus almost 3 years ago

Dolphin still seems to be doing this in 5.0-8047, it's rather annoying to have to sort through these broken textures.

Also available in: Atom PDF