Project

General

Profile

Actions

Emulator Issues #514

closed

Problem with showing messages in Pokemon Battle Revolution

Added by ekshenman about 15 years ago.

Status:
Duplicate
Priority:
Low
Assignee:
Category:
GFX
% 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

What steps will reproduce the problem?

  1. Open DolphinWX
  2. Run this game

What is the expected output? What do you see instead?
I have some problems with showing messages, for example:

http://www.heroesworld.narod.ru/pokemon_battle_revolution.jpg

What version of the product are you using? On what operating system?
DolphinWX r1997 Dual Core Mode, Windows XP SP3, AMD Athlon(tm) 64 X2 Dual
Core Processor 4600+, 2Gb RAM, GeForce 6150SE nForce 430


Related issues 3 (0 open3 closed)

Is duplicate of Emulator - Emulator Issues #30: Texture cache is not updated accordingly when game has modified the textureFixed

Actions
Has duplicate Emulator - Emulator Issues #524: Video issue in Sonic and the Secrets RingsDuplicate

Actions
Has duplicate Emulator - Emulator Issues #2174: Pokemon Battle Revolution Text IssueDuplicate

Actions
Actions #1

Updated by XTra.KrazzY about 15 years ago

  • Status changed from New to Accepted

Uh oh, looks like a texture caching issue.

Also, do you have SSSE3? (S-SSE3 not SSE3) Check it with CPU-Z

Actions #2

Updated by leonardosgc about 15 years ago

Hey XTra.KrazzY, where can I download their compilations?
thanks guy!

Actions #3

Updated by memberTwo.mb2 about 15 years ago

  • Priority set to Low
  • Category set to gfx

Yup, looks like. Pokemon games are annoying, we'll have to hash on the whole texture
soon because of them :P
Ok well, I don't own this game. So ekshenman, are you able to build dolphin?

Actions #4

Updated by Sonicadvance1 about 15 years ago

Amd cpus dont have ssse3.none of them do

Actions #5

Updated by XTra.KrazzY about 15 years ago

that makes me vewy sad.

Actions #6

Updated by ekshenman about 15 years ago

memberTwo.mb2: I have some skills in programming:)
XTra.KrazzY: I don't know about SSSE3. I have only AMD Athlon(tm) 64 X2 Dual Core
Processor 4600+

Actions #7

Updated by memberTwo.mb2 about 15 years ago

ekshenman, ok good.
Look for the "TexDecoder_GetSafeTextureHash" function in VideoCommon->TextureDecoder.cpp.
You'll find these vars:
...
const int edgeSkip = 3;
const int colSkip = 3;
const int rowSkip = 5;
...
Now you have to lower a bit rowSkip and eventually colSkip (edgeSkip shouldn't be a
problem normally) then test your game until text appears correctly. I suggest you to
begin with all value to 1 just to make sure the problem is really there. I hope it
will be ok by just lowering rowSkip to 4.

Take care to report the "just-enough" value and not blindly "I tested with all at 1
and it's ok". You hold the whole Dolphin speed perf in your hand ;P

Actions #8

Updated by XTra.KrazzY about 15 years ago

mb2, I really don't like arbitrary valued variables. We should calculate a correct
value instead.

Actions #9

Updated by XTra.KrazzY about 15 years ago

Issue 524 has been merged into this issue.

Actions #10

Updated by memberTwo.mb2 about 15 years ago

XK, how will you do that calculation?
They can't be better than statistically guessed values.
Here we have text textures with thin white chars over a uniform black bg. I think in
that case, robust hash diffs are not obvious if we skip too many texture data.

Actions #11

Updated by XTra.KrazzY about 15 years ago

So you just want to set a global minimum?

Actions #12

Updated by ekshenman about 15 years ago

Mmm... I have some problem. I install Visual Studio 2008, TortoiseSVN-1.5.7.15182-
win32-svn-1.5.5 and where download all source?

Actions #13

Updated by memberTwo.mb2 about 15 years ago

Everything you need to know is here:
http://code.google.com/p/dolphin-emu/wiki/WindowsBuild

XK, yes. But I was j/k, I don't think it's that important for the perf anyway ;)

Actions #14

Updated by ekshenman about 15 years ago

When I set rowSkip = 4 is better (best), but this is problem not gone:( I think
problem in not there, because I set all variable at 1 and nothing changed:(

Actions #16

Updated by ayuanx about 14 years ago

Issue 2174 has been merged into this issue.

Actions #17

Updated by ayuanx about 14 years ago

  • Status changed from Accepted to Duplicate
Actions

Also available in: Atom PDF