Project

General

Profile

Actions

Emulator Issues #9245

open

some Textures dumped from Timesplitters Future Perfect broken

Added by Combine about 8 years ago. Updated almost 6 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:

Actions #1

Updated by JosJuice about 8 years ago

  • Status changed from New to Working as intended

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

Actions #2

Updated by Combine about 8 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.

Actions #3

Updated by Sonicadvance1 about 8 years ago

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

Actions #4

Updated by Combine about 8 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.

Actions #5

Updated by JosJuice about 8 years ago

  • Status changed from Working as intended to New

That does sound strange. Thanks for showing it.

Actions #6

Updated by JMC4789 about 8 years ago

  • Assignee set to degasus

That's pretty awesome. Requires some looking into.

Actions #7

Updated by JMC4789 over 7 years ago

This is probably fixed in PR 4512.

Actions #8

Updated by Combine about 7 years ago

JMC4789 wrote:

This is probably fixed in PR 4512.

Still broken in PR 4512 and above.

Actions #9

Updated by JMC4789 about 7 years ago

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

Actions #10

Updated by Combine about 7 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.

Actions #11

Updated by Combine about 7 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.

Actions #12

Updated by JMC4789 about 7 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...

Actions #13

Updated by Combine about 7 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?

Actions #14

Updated by Combine about 7 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.

Actions #15

Updated by Combine about 7 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:

Actions #16

Updated by Combine about 7 years ago

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

Actions #17

Updated by JillCrungus almost 6 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.

Actions

Also available in: Atom PDF