Project

General

Profile

Actions

Emulator Issues #30

closed

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

Added by halohalopm almost 16 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 5 (0 open5 closed)

Has duplicate Emulator - Emulator Issues #514: Problem with showing messages in Pokemon Battle RevolutionDuplicatememberTwo.mb2

Actions
Has duplicate Emulator - Emulator Issues #1874: missing wordsDuplicaterodolfoosvaldobogado

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

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

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

Actions
Actions #1

Updated by fires.gc almost 16 years ago

  • Status changed from New to Accepted
Actions #2

Updated by XTra.KrazzY over 15 years ago

requires a recheck

Actions #3

Updated by knuckles500 over 15 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.

Actions #4

Updated by XTra.KrazzY over 15 years ago

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

Actions #5

Updated by daco65 about 15 years ago

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

Actions #6

Updated by knuckles500 about 15 years ago

I'm afraid PSO is still like that.

Testing with R2134.

Actions #7

Updated by daco65 about 15 years ago

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

Actions #8

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

Actions #9

Updated by daco65 about 15 years ago

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

Actions #10

Updated by nakeee about 15 years ago

can we close this one?

Actions #11

Updated by daco65 about 15 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

Actions #12

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

Actions #13

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

Actions #14

Updated by halohalopm about 15 years ago

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

Actions #15

Updated by Anonymous almost 15 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? :)

Actions #16

Updated by Anonymous almost 15 years ago

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

Actions #17

Updated by Anonymous almost 15 years ago

  • Status changed from Accepted to Work started

I think it's fixed in r3131?

Actions #18

Updated by hrydgard almost 15 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 =)

Actions #19

Updated by Anonymous almost 15 years ago

  • Status changed from Work started to Accepted

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

Actions #20

Updated by knuckles500 almost 15 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. :)

Actions #21

Updated by daco65 almost 15 years ago

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

Actions #22

Updated by hyperiris over 14 years ago

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

Actions #23

Updated by ayuanx over 14 years ago

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

Actions #24

Updated by ayuanx over 14 years ago

Issue 1874 has been merged into this issue.

Actions #25

Updated by ayuanx over 14 years ago

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

Actions #26

Updated by ayuanx over 14 years ago

Issue 2077 has been merged into this issue.

Actions #27

Updated by ayuanx about 14 years ago

Issue 2173 has been merged into this issue.

Actions #28

Updated by MofoMan2000 about 14 years ago

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

Actions #30

Updated by ayuanx about 14 years ago

Issue 2172 has been merged into this issue.

Actions #31

Updated by ayuanx about 14 years ago

Issue 514 has been merged into this issue.

Actions #32

Updated by nakeee about 14 years ago

  • Status changed from Accepted to Fixed
Actions #33

Updated by ayuanx about 14 years ago

Actually it is not fixed, but never mind :P

Actions #34

Updated by XTra.KrazzY about 14 years ago

  • Status changed from Fixed to Accepted

It's not really fixed.

Unfixed :)

Actions #35

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

Actions #36

Updated by inv29a about 14 years ago

Has anyone tested with the new hashing options ?

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

Actions #37

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

Actions #38

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

Actions #40

Updated by Line524 almost 14 years ago

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

Actions #41

Updated by Anonymous almost 14 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.

Actions #42

Updated by Line524 almost 14 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

Actions #43

Updated by halohalopm almost 14 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.

Actions #44

Updated by Anonymous about 13 years ago

  • Status changed from Accepted to Fixed

I think this has been fixed for some time?

Actions

Also available in: Atom PDF