Project

General

Profile

Emulator Issues #30

Texture cache is not updated accordingly when game has modified the texture

Added by halohalopm almost 13 years ago.

Status:
Fixed
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

What steps will reproduce the problem?
1. Run a JAP Gamecube software, like PSO or Homeland.

What is the expected output? What do you see instead?

Japanese fonts are unreadable. Sometimes the fonts become readable again
for a while,


Related issues

Has duplicate Emulator - Emulator Issues #514: Problem with showing messages in Pokemon Battle RevolutionDuplicate

Has duplicate Emulator - Emulator Issues #1874: missing wordsDuplicate

Has duplicate Emulator - Emulator Issues #2077: Not Repeate Issue 30 - Missing WordsDuplicate

Has duplicate Emulator - Emulator Issues #2172: silent hill shattered mommery shadow and light poblemDuplicate

Has duplicate Emulator - Emulator Issues #2173: Text corruption in Pokémon Colosseum AND XDDuplicate

History

#1 Updated by fires.gc almost 13 years ago

  • Status changed from New to Accepted

#2 Updated by XTra.KrazzY over 12 years ago

requires a recheck

#3 Updated by knuckles500 over 12 years ago

I've seen games like PSO and Sonic Heroes load the text correctly, half the time.
This isn't just Japanese, it's a problem for all other text formats. Might have
something to with the text simply being in ASCII?

Half the time the text is just screwy like this:
http://i10.photobucket.com/albums/a118/Knuckles500/scribble.png

Please look into this.

#4 Updated by XTra.KrazzY over 12 years ago

Printing as Unicode won't help either, as there is a need to convert the "local ASCII
codes" into specific language codes.

#5 Updated by daco65 over 12 years ago

could you retry this with 2128?
it seems to be fine now

#6 Updated by knuckles500 over 12 years ago

I'm afraid PSO is still like that.

Testing with R2134.

#7 Updated by daco65 over 12 years ago

odd, worked fine for me on pso pal (i even changed the language to japanese)

#8 Updated by knuckles500 over 12 years ago

http://img244.imageshack.us/my.php?image=34727552rj2.jpg

Took this image from someone else on ngemu forums, but it's still like this.

#9 Updated by daco65 over 12 years ago

thats alot better then before
btw, safe texture cache is said to help o.o

#10 Updated by nakeee about 12 years ago

can we close this one?

#11 Updated by daco65 about 12 years ago

imo yes as safe texture cache fixes this 99% (still some letters dont appear )
however im not sure if knuckles still has it or not with safe texture cache on

#12 Updated by knuckles500 about 12 years ago

Yeah, I forgot all about this report, sorry. :P

Enabling safe texture cache does eliminate the PSO problem 99% (I still see it from
time to time, but it's very uncommon and only effects some words). Performance
decreases by like 10 fps though.

Will there ever be a time where Safe Texture Cache can be used mandatorily without
needing to activate it manually?

#13 Updated by knuckles500 about 12 years ago

Oh yeah, there are other problems that still occur with Safe Texture Cache on. Here's
one I found surprisingly:

http://img517.imageshack.us/my.php?image=willsdream.png

Yep, NiGHTS JoD works (perfect sound, stable gameplay, accurate graphics, but the
frame rate is horrible - but still playable)! :)

All of that a side, this is what I found that seems to effect only this part of the
game. Cutscenes seem to display all text accurately, so I'm not sure why it's not
displaying here.

#14 Updated by halohalopm about 12 years ago

Safe Texture Cache does not fix the issue on JAP Homeland, but works better on JAP
PSO series.

#15 Updated by Anonymous about 12 years ago

comment from r3103:
I was trying to get sjis font to behave correctly, but now I've tried variations of
full jap ipl dump, full sjis dump (apparently it should be 0x4D000 in length, the one
in svn isn't that long...), but no luck.

So now I'm thinking that the game is checking something else, and then it decides to
load the wrong font table. (The game I have to test is Super Puzzle Bobble, and it
loads the ANSI table :s )

Any ideas why the sjis is borked? :)

#16 Updated by Anonymous about 12 years ago

just poking ector and F|RES :) - would be nice if googlecode showed who has starred the
issue

#17 Updated by Anonymous about 12 years ago

  • Status changed from Accepted to Work started

I think it's fixed in r3131?

#18 Updated by hrydgard about 12 years ago

There are two problems here - one is bios fonts, one is games dynamically loading
characters into textures which we don't always detect. I think we can write off the
BIOS font issue =)

#19 Updated by Anonymous about 12 years ago

  • Status changed from Work started to Accepted

Oh well, I don't know about that :p

#20 Updated by knuckles500 almost 12 years ago

There hasn't been much progress made to this either, even with Safe Texture Cache
on. With it on, if you scroll thru the Agreement page with the C stick in PSO, you
notice the Kanji switching to their proper character. And here and there, there's
text missing - especially English characters, even with Safe Texture Cache on.

This also effects other games - such a NiGHTS Journey of Dreams. Safe Texture Cache
may help a bit for Japanese characters, but for English characters, it doesn't seem
to help much.

This should be looked into - when sound is done of course. :)

#21 Updated by daco65 almost 12 years ago

i would if i could reproduce it :P
my text is fine in pso :P

#22 Updated by hyperiris almost 12 years ago

I tested Metroid Prime JAP under win7 x64, it seems safe texture cache isn't working

#23 Updated by ayuanx over 11 years ago

The SJIS font lib must be missing some bytes, in other words, the font file is
incomplete.

#24 Updated by ayuanx over 11 years ago

issue 1874 has been merged into this issue.

#25 Updated by ayuanx over 11 years ago

I'm sorry, the font is just fine
It is the safe texture that fails to handle some situations.

#26 Updated by ayuanx over 11 years ago

issue 2077 has been merged into this issue.

#27 Updated by ayuanx over 11 years ago

issue 2173 has been merged into this issue.

#28 Updated by MofoMan2000 over 11 years ago

If you're gonna merge those than this is about more than Japanese fonts.

#30 Updated by ayuanx over 11 years ago

issue 2172 has been merged into this issue.

#31 Updated by ayuanx over 11 years ago

issue 514 has been merged into this issue.

#32 Updated by nakeee about 11 years ago

  • Status changed from Accepted to Fixed

#33 Updated by ayuanx about 11 years ago

Actually it is not fixed, but never mind :P

#34 Updated by XTra.KrazzY about 11 years ago

  • Status changed from Fixed to Accepted

It's not really fixed.

Unfixed :)

#35 Updated by MofoMan2000 about 11 years ago

True, I still have text corruption in Colosseum/XD, but only with STC on... With it
off it was actually pretty reliable. Isn't it supposed to be the other way around?

This whole thing with "Safe caching" is ridiculous, just hash the right way.

#36 Updated by inv29a about 11 years ago

Has anyone tested with the new hashing options ?

Also, is this related to "Harvest Mooon:AWL" garbled text ?

#37 Updated by nakeee about 11 years ago

It's not? what game do you have issue with then?
Especially now with the different levels of STC it should be working just fine?

#38 Updated by inv29a about 11 years ago

Harvest Moon : Another Wonderful Life (USA)

As soon as the game starts, the main menu text is garbled, the sun is garbled, and
after about a minute, the sun sets, it changes to night, some tree textures are
garbled and instantly everything goes sloooowwww

Enabling and disabling STC, and even setting it to Safe (r5142) makes no difference.
Gfx plugin and playing with some options didn't help. Others at the forum reported
the same with the previous Harvest Moon game, so I don't think it's a bad iso, bad an
emulation bug related to the game's programming.

#40 Updated by Line524 about 11 years ago

Monster Hunter 3 randomly losing textures on main character :( Safe texture cache
doesn't help :(

#41 Updated by Anonymous about 11 years ago

The MH3 issue could be due to cpu access to the efb. Do you have that enabled Line524? (the option is available
on DX plugin, it's on all the time on OpenGL).
If it's already on...it's a different problem.

#42 Updated by Line524 about 11 years ago

MH3 can't run with CPU-to-EFB enabled :( An error occurs and says Poke color not
implemented. OpenGL support this function, but runs MH3 with 2fps :P

#43 Updated by halohalopm about 11 years ago

I tried rev 5218 released by Daco in OpenGL and Software Renderer, and 5218 almost
solves the font problem in JP PSO series. Although the font problem occurs
occasionally, there is no problem 95% of the time.

#44 Updated by Anonymous about 10 years ago

  • Status changed from Accepted to Fixed

I think this has been fixed for some time?

Also available in: Atom PDF