hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.37k stars 2.19k forks source link

Chinese font missing issue #13652

Closed sum2012 closed 3 years ago

sum2012 commented 4 years ago

I use World chinese patch of NeverlandNaruru Oukoku Monogatari for example

1

edit:wrong picture 2

Old version of jpn0.pgf more support chinese font

@hrydgard this must solve in v1.10 otherwise chinese people (special using android) will use older version forever.

Do we detect lang using zh_CN.INI or zh_TW.ini use older version of jpn0.pgf ? Or use eboot.* ? (This game use disc0:/PSP_GAME/SYSDIR/EBOOT.LEI ) Or detect using kernel function ?

sum2012 commented 4 years ago

upload again bad picture 2

sum2012 commented 4 years ago

@nassau-tk Can your jpn0.pgf add more support of chinese font ?

hrydgard commented 4 years ago

Yup, that would seem to be the problem...

nassau-tk commented 4 years ago

@ nassau-tk jpn0.pgfで中国語フォントのサポートを追加できますか?

This is a heavy ploblem! If add chinese font then I don't have converter for including Chinese.

@hrydgard What kind of converter used "Old jpn0.pgf"? And,Do you have it?

hrydgard commented 4 years ago

I haven't touched that font stuff for many years, I don't remember :(

sum2012 commented 4 years ago

First I need to list out games that must use current jpn0.pgf GUNDAM VS GUNDAM NEXT PLUS (NPJH50107) Neon Genesis Evangelion 2 \Shinseiki Evangelion 2 ULJS00064 @nassau-tk do you know more games ?

nassau-tk commented 4 years ago

@sum2012

janne d'arc Monster Hunter Seriese (MHP/MHP2/MHP2G/MHP3) Assassin's Creed : Blood Line QIX+ EXIT Kangaeru EXIT (EXIT2) Tantei Jinguji Saburo -Hai to Diamond- (maybe?)

I can remember only these now.

I will try think about some way to solve font problems this week end.

By the way, How many chinese patched game is there? Do you know? It's many? or a little?

I want try hard to soleve the issue!! :triumph:

sum2012 commented 4 years ago

There are more 600 chinese patched games. I may solve it by programly by temp method: 1: Default use older jpn0.pgf for PPSSPP 'S ui that choose chinese 2: For some games that must use current jpn0.pgf

My chinese friend said that jpcsp emulator now use better chinese font. Can you try it ? Thanks.

https://github.com/jpcsp/jpcsp/raw/ed2de4afb7e449b0bf0ebbc6da3e1dd9d6f473a3/flash0/font/jpn0.pgf

nassau-tk commented 4 years ago

@sum2012

Is it a TTF? If it's "Right" then please tell me it!

sum2012 commented 4 years ago

It is SourceHanSans font.

nassau-tk commented 4 years ago

Thank you! I will check & test later.

nassau-tk commented 4 years ago

@sum2012

I was checked about Chinese font a few minutes. I felt dizzy a little.:sweat_smile: Please help me when Several questions may be done about Chinese.

nassau-tk commented 4 years ago

@sum2012

If your friends knowing the application of "TTF to PGF Converter" then Please give me the application information.

nassau-tk commented 4 years ago

@hrydgard @sum2012

And....Do you know how to use this PGF converter(?).? https://github.com/tpunix/pgftool

If you know then please teach me....

nassau-tk commented 4 years ago

hm...report. To be honest, an amateur is doing unreasonably. But possibly? I have a chance...? image

I installed "MinGW" and compile the PGF tool. but, I could not compile all tool completely.

-1 Add Chinese Kanji Fonts to My Custom Japanese font. -2 Convert by TTF2PGFJ. -3 Mix "JPCSP's jpn0.pgf" and "My custom jpn0.pgf" by PGF Tool.

JPCSP's jpn0.pgf need for "Font code base". I can't create a jpn0.pgf of "including chinese code". So,I tested mix them. I will try hard a little more.

@sum2012 If you can test apperarlance chinese then download data below . Balance is not tuning yet. https://drive.google.com/file/d/1jCqCa6dz50K7pGyLahmYKG36R4sQoZyg/view?usp=sharing

sum2012 commented 4 years ago

Sorry @nassau-tk Last week I need OT to work. Your jpn0 seems work.Well done 1

nassau-tk commented 4 years ago

If you have "Chinese patched Janne d'Arc" then please chekc it. Becasue,that game can check the font appearlance.

nassau-tk commented 4 years ago

@hrydgard It's expected that it takes time for correction of the point of view of the font and the size. So, Please consider whether it's returned to the previous data which didn't have much in haste and dissatisfaction.

sum2012 commented 4 years ago

@nassau-tk 1

tag @lightfirst which is jpcsp 's font maker

nassau-tk commented 4 years ago

@sum2012 Thank you!

Panderner commented 4 years ago

How about real PSP font for Chinese patched games?

sum2012 commented 4 years ago

It should use gb3s1518.bwfon but jpcsp emulator is not full support

nassau-tk commented 4 years ago

ttf2pgfj.exe is only packing "Japanese JIS-Lv1 code". If mix the 2 PGF(included Chinese & Only Japanese) by "PGF Tool" then appear the garbage on right side on some character. Not good....

I want conver to including Chinese from TTF to PGF directly.

sum2012 commented 4 years ago

Can use this one ? https://www.freechinesefont.com/simplified-traditional-hanyi-senty-candy/ It support simplified and traditional chinese

nassau-tk commented 4 years ago

Is this a TTF? Yes,Maybe can do it. But,Why? I'm already use your recomended han-sans-serif.

sum2012 commented 4 years ago

https://www.sentyfont.com/index_htm_files/Hanyi%20Senty%20Candy-color.ttf

Becuase you said that you want to including Chinese from TTF to PGF directly .This one is is ttf

nassau-tk commented 4 years ago

Oh,sorry.

The prblem is not TTF. I got Chinese Kanji-characters already on my TTF file. Problem is a my using converter.

Because, I am using a converter "ttf2pgfj". ttf2pgf(J) is convert to jpn0.pgf & ltn0.pgf from some TTF. But,It's convert only "Japanese JIS-Lv1" not include chinese code. So, I must mix the my converted PGF & chinese base PGF(example old PPSSPP or JPCSP jpn0.pgf).

So,I want converter that can including the chinese.

I'm exploring in Github now.

sum2012 commented 4 years ago

oh i see

nassau-tk commented 4 years ago

Um....

Only MHP3 is appear the garbage.

MHP2G Janne d'Arc EXIT Evangelion2 Assassins Creed : BloodLine And Maybe "World Never Land"? These games no Problem....Why?

nassau-tk commented 3 years ago

@sum2012 @hrydgard @shenweip

A hasty report! I have a good news!

I got PGF converter that helping by @tpunix . And , I could make "Japanese & Chinese Mix PGF". The converted PGF will not appear the garbage. And,This font including 12,989 character of Kanji. I think "Maybe,enough". I think about this tool is good convert more than ttf2pgfj.

I think that I must tuning the base TTF a little.(Maybe,real little bit.) https://drive.google.com/file/d/1MCpPquQ_gDMoMPSxEu19hGJhTqdg1ag0/view?usp=sharing I uploaded the file on my GoogleDrive.

[Japanese Hira-gana Sample.] image

[Kanji-sample of Include Chinese 簡体字.] image image image

sum2012 commented 3 years ago

Sorry, I don't know that that font don't support traditional chinese (繁体字) 1 Can you use this one instead ? https://www.sentyfont.com/index_htm_files/Hanyi%20Senty%20Candy-color.ttf

nassau-tk commented 3 years ago

Please tell me! 簡体字 繁体字 Do you need both isn't it?

And,Maybe you are not wrong. Maybe,This problem happne by My wrong work.

sum2012 commented 3 years ago

Yes

在 2020年11月16日週一 下午11:51,nassau-tk notifications@github.com 寫道:

Please tell me! 簡体字 繁体字 Do you need both isn't it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/13652#issuecomment-728148610, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQTT7ASDJPU2ZLCT7RHGL3SQFDADANCNFSM4TQW7KOQ .

nassau-tk commented 3 years ago

OK! I understand it!! I try it!! Please wait......!

nassau-tk commented 3 years ago

@sum2012

Can you check? https://drive.google.com/file/d/1rmBMlKewFKqQXoqyhbKNoU-8OJ1u7ml9/view?usp=sharing (Sorry I will sleep....Good Night.)

sum2012 commented 3 years ago

Same problem as https://user-images.githubusercontent.com/2177532/99264672-be9c9580-285b-11eb-9935-d15b39f7cc69.png

It is missing "以" and "來"

nassau-tk commented 3 years ago

Um... I see. I will retry to check.

nassau-tk commented 3 years ago

Um... It characters seems including in font file. And, It character appear on "Monster Hunter 3rd Guild Card editting".

image

image

image

If you can try enter the "以" and "來" on MHP3 then please tell me the result.

sum2012 commented 3 years ago

Sorry @nassau-tk Check my real psp , the font also have problem https://ibb.co/t8PD92j https://ibb.co/Wk8DTCK

nassau-tk commented 3 years ago

@sum2012

Wao! Is this a installed my font on your real PSP?! Thank you for your testing.

And , I'm remaking the PGF from Zero. But,It's not working correctly.

I'll report later.

sum2012 commented 3 years ago

No,It is a original psp font I don't know how to change real PSP Font I am using 6.60 PRO-C2

nassau-tk commented 3 years ago

Oh!! Is it said that it's a problem of Chinese patch?

I had seen the information which became changed to the Unicode font after Ver.6.0 of original firmware. Is it related this case???(An amateur idea.:smile:)

nassau-tk commented 3 years ago

@sum2012

Please tell me about Chinese Patch. And, Can you do below?

If appear the "以"&"來" and other on MHP3rd then we can think possibly "Problem Of Chinese patch".

More Chinese patched user are there here?

nassau-tk commented 3 years ago

@hrydgard

Do you have any lnfo of Chinese patch?

sum2012 commented 3 years ago

I don't know that how can see older history before this https://github.com/hrydgard/ppsspp/commit/8d1ece05ca5d7de2e1926b8c7469a5d5f616c6b8#diff-50ce87ea76562d0c1c91b05e0f4b512b1ec437b8e1fefc43703f96548543d8db

I don't have MHP3 on hand

nassau-tk commented 3 years ago

@sum2012

OK! I see!

leoxxx commented 3 years ago

@sum2012 https://github.com/hrydgard/ppsspp/issues/13510 Try this one. It's convert from sarasa-mono-slab-sc-regular.tff.

nassau-tk commented 3 years ago

@leoxxx

Thank you for your recomend. If you know about this font then Please tell me about it. Is this font inclueding simplified & traditional both? And, What kind of font converter did you use?

leoxxx commented 3 years ago

https://github.com/be5invis/Sarasa-Gothic CJK font. SC & TC fonts are independent. I just use the SC font to convert. Not test, may be SC font can display TC. Convert by PSP FontMaker. PSP FontMaker.zip

sum2012 commented 3 years ago

@leoxxx can you upload a complied version of jpn0.pgf ?Thanks