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.32k stars 2.18k forks source link

Earth Saver Plus - Inseki Bakuha Daisakusen (Japan) (PSN) text problem #11055

Open benderscruffy opened 6 years ago

benderscruffy commented 6 years ago

PPSSPP v1.5.4-993-gab65c5210 Windows 64 bit during the game the text is way to big to fit in the screen i am using my own fonts off my own psp here is a screen from jpcsp jpcsp screen here it is from ppsspp ppsspp screen ppsspplog.zip

unknownbrackets commented 6 years ago

Is this a duplicate of #2788? Does using fonts from the PSP official firmware fix the problem?

-[Unknown]

unknownbrackets commented 4 years ago

Loading module sceFont_Library with version 0101, devkit 06020010

sceFontNewLib(088a8660, 09ffdea0) sceFontGetNumFontList(0993a7ac, 09ffdea0) sceFontGetFontList(0993a7ac, 09ffdea4, 18) sceFontFindOptimumFont(0993a7ac, 09ffebc4, 09ffdea0) sceFontOpen(993a7ac, 0, 0, 9ffdea0) sceFontGetFontInfo(993a7f8, 9ffec6c) sceFontClose(993a7f8) sceFontDoneLib(0993a7ac)

sceFontNewLib(088a8660, 09ffd6d0) sceFontGetNumFontList(09c8718c, 09ffd6d0) sceFontGetFontList(09c8718c, 09ffd6d4, 18) sceFontFindOptimumFont(09c8718c, 09ffe3f4, 09ffd6d0) sceFontOpen(9c8718c, 0, 0, 9ffd6d0) sceFontGetFontInfo(9c871d8, 9ffe49c) sceFontGetCharInfo(09c871d8, 12508, 09ffe5a4) sceFontGetCharGlyphImage(9c871d8, 30dc, 9ffe5e0) sceFontGetCharInfo(09c871d8, 12479, 09ffe5a4) ... sceFontClose(9c871d8) sceFontDoneLib(09c8718c)

It follows this pattern a lot in the log. That's either jpn0.pgf, or if zh_gb.pgf exists, zh_gb.pgf.

But interestingly, the JPCSP font appears to be a serif font. So it seems like maybe an issue in sceFontFindOptimumFont?

-[Unknown]

Panderner commented 4 years ago

This how it looks without a real PSP font: Screenshot_2020-03-31-12-48-46-06_2f85358b2198d26f8aca533d68bee793

unknownbrackets commented 4 years ago

A screenshot from a PSP would help - especially to confirm which font it should be.

-[Unknown]

Panderner commented 4 years ago

There are no YouTube videos for this game except the developer of this uploads the preview but it's only 6 videos. (3 on the DSiWare, 3 on the PSP) Unfortunately I don't have a PSP.

nassau-tk commented 4 years ago

@unknownbrackets @Panderner @benderscruffy

This screen shot is screen of Real PSP. When it's helpful, I'm happy.

HUD-FINAL_shot001

nassau-tk commented 4 years ago

@unknownbrackets @benderscruffy @Panderner

I tested v1.10.3-700 that Installed All of Real PSP Font. But It's not loading English font file corectly I think. earthsaver_font01

nassau-tk commented 4 years ago

@unknownbrackets

I wonder this strange point.

This game loading "jpn0.pgf" on my case. Because,I have PSP-2000(Japan). So,I don't have "zh_gb.pgf".

Real PSP is not "Gothic Font" in the right side text of game.(I don't know how to say these Font style.)

But,"Real PSP Font installed PPSSPP" is indicated by "Gothic font" and "Non-Italic Style".

Why,PPSSPP change the Font Style? Real PSP or PPSSPP has font shape transform system?

EDIT:"Non-Gothic" Is it called "Antique Style"?

nassau-tk commented 4 years ago

Maybe, "ltn11.pgf" or "ltn15.pgf" must loading.

For reference #9466 my report of ltn[x].pgf.

Panderner commented 4 years ago

IMG_20201016_064012 The right side uses ltn15.pgf used for PSP. this is caused by a glitch it's uses jpn0.pgf for PPSSPP. When i replace jpn0.pgf to ltn15.pgf renamed to jpn0.pgf it happened.

nassau-tk commented 4 years ago

Yes,Right. it's tested me too.

  1. If there is jpn0.pgf in Font folder then ltn15.pgf is not loading.
  2. If there is not jpn0.pgf in Font folder then ltn15.pgf is loading. However,ltn15.pgf has not Japanese characters. So,Japanese characters not appear.

Real PSP is loading these font data separate. But,PPSSPP can't doing it.

I tested elase the Alphabet characters from jpn0.pgf (Custom Font data). ltn15.pgf is Real PSP data. Result is below. inseki_NoABFontjpn0

If Font data has not these characters then it not load from other Font data.

Maybe, This issue will solved by load jpn0.pgf & ltn15.pgf at same timing.

@unknownbrackets said

It follows this pattern a lot in the log.

Is it include load ltn15.pgf???

nassau-tk commented 3 years ago

This issue is not solved by PSP original & new PPSSPP PGF font.(v1.10.3-1306) I think that the problem is in PGF loading task. But,Other games could loading individual fonts like a "Boxer's Road 2 The Real".

nassau-tk commented 3 years ago

@sum2012

Suddenly, Excuse me. I'm thinking that you have a lot of knowledge for JPCSP. (Is it Right?)

So, If you get feel interesting for this issue I'm happy.

(This issue still happen on v1.10.3-1552.)

Note : Of course, The issue priority is not High!

sum2012 commented 3 years ago

edit:If old jpcsp version also have this problem ,then we might have solution to solve

在 2021年1月12日週二 下午3:23,nassau-tk notifications@github.com 寫道:

@sum2012 https://github.com/sum2012

Suddenly, Excuse me. I'm thinking that you have a lot of knowledge for JPCSP. (Is it Right?)

So, If you get feel interesting for this issue I'm happy.

(This issue still happen on v1.10.3-1552.)

Note : Of course, The issue priority is not High!

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

nassau-tk commented 3 years ago

Did you feel interest a little? :smile: Thanks!

sum2012 commented 3 years ago

Sorry,I forget to test this today. But I get a good start from jpcsp. I find bad font in 1880d18 version 2

sum2012 commented 3 years ago

I find that jpcsp need real psp font for this game

unknownbrackets commented 3 years ago

I'm guessing this might be a bug in the find optimum font logic, as noted in https://github.com/hrydgard/ppsspp/issues/11055#issuecomment-570066108. We probably need to create a test that uses its same parameters and figure out why we pick the wrong font.

-[Unknown]

sum2012 commented 3 years ago

I find that use ppsspp 's font also fix jpcsp. So that @unknownbrackets said right " this might be a bug in the find optimum font logic, "

nassau-tk commented 3 years ago

Great work!

sum2012 commented 3 years ago

The jpcsp source of sceFontFindOptimumFont is in https://github.com/jpcsp/jpcsp/blob/master/src/jpcsp/HLE/modules/sceFont.java#L1154

Jpcsp logic: First find same fontStyle , No font found for the given style, try to find a font without the given font style (bold, italic...) No font found for the given style, try to find a font without the given font size. No font found for the given style, try to find a font without the given country.

nassau-tk commented 3 years ago

@sum2012

Please tell me about Jpcsp. "If install our current PGF font to Jpcsp then the text will appear correctly." Did you said mean above?

sum2012 commented 3 years ago

Yes,that is what I mean

在 2021年1月18日週一 下午10:08,nassau-tk notifications@github.com 寫道:

@sum2012 https://github.com/sum2012

Please tell me about Jpcsp. "If install our current PGF font to Jpcsp then the text will appear correctly?" Did you said mean above?

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

nassau-tk commented 3 years ago

um.... But,probably it's not "Italic Style" isn't it? image

sum2012 commented 3 years ago

We may be fixed if we transate the jpcsp's find optium font function

在 2021年1月18日週一 下午10:30,nassau-tk notifications@github.com 寫道:

um.... But,probably it's not "Italic Style" isn't it? [image: image] https://user-images.githubusercontent.com/48179091/104927578-f4d5cd00-59e4-11eb-8907-cd9d061a6f88.png

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

unknownbrackets commented 3 years ago

Jpcsp logic: First find same fontStyle , We may be fixed if we transate the jpcsp's find optium font function

We have a test that validates some of the logic we use: https://github.com/hrydgard/pspautotests/blob/879e7959eb3251133fcc4ccf26b0ef35d9d43f8e/tests/font/optimum.expected

I'm not very concerned with JPCSP's logic, whether it's wrong or right, and much more concerned about matching behavior with real PSP firmware.

The game can pass in a "font style" object that has > 10 fields, and this is used to match the font. Based on tests, we match against the family, style (i.e. italic), language, country, name, and filename if specified. We also compare the H/V metrics.

If we can reproduce the style the game is requesting, we can use that to verify what the correct matching logic is. A lot of JPCSP's functions are guesswork or hacked and it looks like this is no exception. I'd rather not copy that, better to figure out how we're deviating from the correct firmware behavior.

-[Unknown]

nassau-tk commented 3 years ago

@unknownbrackets @sum2012

Oh!? Really? I'm not setting info about bold & Italic on my PGF font files. I will fixed them A.S.A.P..

nassau-tk commented 3 years ago

I fixed property of font style. I will make PR later.

[jpn0.pgf] PGF header: header_len: 0188 version : 6.2 font name : Source Han Sans font type : Regular

[kr0.pgf] PGF header: header_len: 0188 version : 6.2 font name : Source Han Sans font type : Regular

[ltn0.pgf] PGF header: header_len: 0188 version : 6.2 font name : Ume Hy Gothic font type : Regular

[ltn1.pgf] PGF header: header_len: 0188 version : 6.2 font name : Ume P Mincho font type : Regular

[ltn2.pgf] PGF header: header_len: 0188 version : 6.2 font name : Ume Hy Gothic font type : Italic

[ltn3.pgf] PGF header: header_len: 0188 version : 6.2 font name : Ume P Mincho font type : Italic

[ltn4.pgf] PGF header: header_len: 0188 version : 6.2 font name : Ume Hy Gothic font type : Bold

[ltn5.pgf] PGF header: header_len: 0188 version : 6.2 font name : Ume P Mincho font type : Bold

[ltn6.pgf] PGF header: header_len: 0188 version : 6.2 font name : Ume Hy Gothic font type : Bold Italic

[ltn7.pgf] PGF header: header_len: 0188 version : 6.2 font name : Ume P Mincho font type : Bold Italic

and loop untill ltn15.pgf

unknownbrackets commented 3 years ago

In some ways I wonder if it'd be best to lie and use the font names of the original fonts.

-[Unknown]

nassau-tk commented 3 years ago

Is that meaning that we should try to camouflage for font name? Is that right?

unknownbrackets commented 3 years ago

That's right.

I'm not sure if any games actually match the font name, but I think it's the best way to have simulated fonts. If a game searches for New Rodin Pro specifically, better that it match I think.

-[Unknown]

nassau-tk commented 3 years ago

Yes, I understood!

I will rename all font files later. (I leave my desk for work about few hours.)

nassau-tk commented 3 years ago

Nooooooooooooooooo!!

Hey, Who one knows kr0.pgf's Font name? :sweat_smile: Maybe, It's can not be find the real name...

So, I will named as same with jpn0.pgf. :sweat:

nassau-tk commented 3 years ago

?AsiaKNHH-SONY-uni Regular?

image

sum2012 commented 3 years ago

@nassau-tk In the meanwhile,I am trying to do logging of the requestedStyle

sum2012 commented 3 years ago

@unknownbrackets Not sure useful or not NOTICE_LOG(SCEFONT, "requestedStyle fontAttributes %i,fontCountry %i,fontExpire %i,fontFamily %i,fontFileName %s,fontH %f,fontHRes %f,fontLanguage %i,fontName %s,fontRegion %i,fontStyle %i,fontStyleSub %i,fontV %f,fontVRes %f,fontWeight %f", requestedStyle->fontAttributes, requestedStyle->fontCountry, requestedStyle->fontExpire, requestedStyle->fontFamily, requestedStyle->fontFileName, requestedStyle->fontH, requestedStyle->fontHRes, requestedStyle->fontLanguage, requestedStyle->fontName, requestedStyle->fontRegion, requestedStyle->fontStyle, requestedStyle->fontStyleSub, requestedStyle->fontV, requestedStyle->fontVRes, requestedStyle->fontWeight);

10:01:544 user_main N[SCEFONT]: HLE\sceFont.cpp:1152 requestedStyle fontAttributes 0,fontCountry 0,fontExpire 0,fontFamily 2,fontFileName ,fontH 8.000000,fontHRes 0.000000,fontLanguage 2,fontName ,fontRegion 0,fontStyle 103,fontStyleSub 0,fontV 0.000000,fontVRes 0.000000,fontWeight 0.000000

sum2012 commented 3 years ago

Another line

09:59:776 user_main N[SCEFONT]: HLE\sceFont.cpp:1152 requestedStyle fontAttributes 0,fontCountry 0,fontExpire 0,fontFamily 2,fontFileName ,fontH 7.000000,fontHRes 0.000000,fontLanguage 1,fontName ,fontRegion 0,fontStyle 103,fontStyleSub 0,fontV 0.000000,fontVRes 0.000000,fontWeight 0.000000

nassau-tk commented 3 years ago

Name of Jpn0.pgf

Name of kr0.pgf

Name of San Serif "Ltn0/2/4/6/8/10/12/14"

Name of Serif "Ltn1/3/5/7/9/11/13/15"

nassau-tk commented 3 years ago

Is this red line is not related???

image

25:33:863 core\config.cpp:1383 I[LOADER]: Loading controller config: C:/Users/dtkad/Desktop/PPSSPP/memstick/PSP/SYSTEM/controls.ini 25:33:865 core\config.cpp:1416 I[LOADER]: Config loaded: 'C:/Users/dtkad/Desktop/PPSSPP/memstick/PSP/SYSTEM/ppsspp.ini' 25:34:114 core\core.cpp:194 I[G3D]: pixel_res: 1920x1088. Calling NativeResized() 25:34:114 ui\nativeapp.cpp:1438 I[G3D]: NativeResized - setting flag 25:34:363 thread\threadmanager.cpp:109 I[SYSTEM]: ThreadManager::Init(compute threads: 16, all: 20) 25:34:368 ui\nativeapp.cpp:789 I[SYSTEM]: ScreenManager! 25:34:369 net\httpserver.cpp:262 I[IO]: HTTP server started on port 49356 25:34:378 core\config.cpp:1498 I[LOADER]: Config saved (got storage permission): 'C:/Users/dtkad/Desktop/PPSSPP/memstick/PSP/SYSTEM/ppsspp.ini' 25:34:378 core\config.cpp:1511 I[LOADER]: Controller config saved: C:/Users/dtkad/Desktop/PPSSPP/memstick/PSP/SYSTEM/controls.ini 25:34:379 vulkan\vulkanloader.cpp:483 I[G3D]: VulkanLoad: Base functions loaded. 25:34:420 vulkan\vulkanloader.cpp:556 I[G3D]: Vulkan instance functions loaded. 25:34:420 vulkan\vulkancontext.cpp:506 I[G3D]: Chose physical device 0: 000001275990CEA0 25:34:420 vulkan\vulkancontext.cpp:546 I[G3D]: Memory Types (8): 25:34:420 vulkan\vulkancontext.cpp:555 I[G3D]: 0: Heap 0; Flags: DEVICE_LOCAL 25:34:420 vulkan\vulkancontext.cpp:555 I[G3D]: 1: Heap 1; Flags: HOST_VISIBLE HOST_COHERENT 25:34:420 vulkan\vulkancontext.cpp:555 I[G3D]: 2: Heap 2; Flags: DEVICE_LOCAL HOST_VISIBLE HOST_COHERENT 25:34:420 vulkan\vulkancontext.cpp:555 I[G3D]: 3: Heap 1; Flags: HOST_VISIBLE HOST_CACHED HOST_COHERENT 25:34:420 vulkan\vulkancontext.cpp:555 I[G3D]: 4: Heap 0; Flags: DEVICE_LOCAL 25:34:420 vulkan\vulkancontext.cpp:555 I[G3D]: 5: Heap 1; Flags: HOST_VISIBLE HOST_COHERENT 25:34:420 vulkan\vulkancontext.cpp:555 I[G3D]: 6: Heap 2; Flags: DEVICE_LOCAL HOST_VISIBLE HOST_COHERENT 25:34:420 vulkan\vulkancontext.cpp:555 I[G3D]: 7: Heap 1; Flags: HOST_VISIBLE HOST_CACHED HOST_COHERENT 25:34:433 vulkan\vulkanloader.cpp:563 I[G3D]: Vulkan device functions loaded. 25:34:433 vulkan\vulkanloader.cpp:579 I[G3D]: Missing (device): vkGetPhysicalDeviceSparseImageFormatProperties 25:34:433 vulkan\vulkancontext.cpp:650 I[G3D]: Device created.

25:34:433 vulkan\vulkancontext.cpp:701 I[G3D]: Creating Vulkan surface for window (00007FF6BC8F0000 0000000000590B78) 25:34:461 vulkan\vulkancontext.cpp:869 I[G3D]: swapchainformat: 44 (/25) 25:34:461 vulkan\vulkancontext.cpp:922 I[G3D]: surfCapabilities.current: 1920x1088 min: 1920x1088 max: 1920x1088 computed: 1920x1088 25:34:461 vulkan\vulkancontext.cpp:934 I[G3D]: Supported present modes: IMMEDIATE, FIFO, FIFORELAXED 25:34:461 vulkan\vulkancontext.cpp:968 I[G3D]: Chosen present mode: 0 (IMMEDIATE). numSwapChainImages: 2/16 25:34:461 vulkan\vulkancontext.cpp:1009 I[G3D]: Transform supported: IDENTITY current: IDENTITY chosen: IDENTITY 25:34:465 vulkan\vulkancontext.cpp:1060 I[G3D]: Created swapchain: 1920x1088 25:34:466 vulkan\vulkanqueuerunner.cpp:29 I[G3D]: VulkanQueueRunner::CreateDeviceObjects 25:34:563 vulkan\vulkanrendermanager.cpp:288 I[G3D]: Starting Vulkan submission thread (threadInitFrame = 0) 25:34:563 ui\nativeapp.cpp:884 I[SYSTEM]: NativeInitGraphics 25:34:565 ui\nativeapp.cpp:953 I[SYSTEM]: NativeInitGraphics completed 25:34:565 ui\nativeapp.cpp:1438 I[G3D]: NativeResized - setting flag 25:34:565 windows\emuthread.cpp:233 I[BOOT]: Done. 25:34:575 windows\wasapistream.cpp:56 I[SCEAUDIO]: Switching to WASAPI audio device: 'スピーカー (Realtek(R) Audio)' 25:34:592 ui\nativeapp.cpp:1160 I[G3D]: Resized flag set - recalculating bounds 25:34:592 vulkan\vulkanrendermanager.cpp:427 I[G3D]: Running first frame (0) 25:34:598 vulkan\vulkanrendermanager.cpp:312 I[G3D]: Vulkan submission thread joined. Frame=1 25:34:598 vulkan\vulkanrendermanager.cpp:371 I[G3D]: Backbuffers destroyed 25:34:601 vulkan\vulkancontext.cpp:922 I[G3D]: surfCapabilities_.current: 1920x1088 min: 1920x1088 max: 1920x1088 computed: 1920x1088 25:34:601 vulkan\vulkancontext.cpp:934 I[G3D]: Supported present modes: IMMEDIATE, FIFO, FIFORELAXED 25:34:601 vulkan\vulkancontext.cpp:968 I[G3D]: Chosen present mode: 0 (IMMEDIATE). numSwapChainImages: 2/16 25:34:601 vulkan\vulkancontext.cpp:1009 I[G3D]: Transform supported: IDENTITY current: IDENTITY chosen: IDENTITY 25:34:623 vulkan\vulkancontext.cpp:1060 I[G3D]: Created swapchain: 1920x1088 25:34:626 vulkan\vulkanrendermanager.cpp:276 I[G3D]: Updating inflight frames to 2 25:34:626 vulkan\vulkanrendermanager.cpp:288 I[G3D]: Starting Vulkan submission thread (threadInitFrame = 1) 25:34:626 ui\screen.cpp:143 I[SYSTEM]: ScreenManager::resized(dp: 1920x1088) 25:34:626 vulkan\vulkanrendermanager.cpp:427 I[G3D]: Running first frame (1) 25:34:770 core\config.cpp:1498 I[LOADER]: Config saved (clearFailedGPUBackends): 'C:/Users/dtkad/Desktop/PPSSPP/memstick/PSP/SYSTEM/ppsspp.ini' 25:34:771 core\config.cpp:1511 I[LOADER]: Controller config saved: C:/Users/dtkad/Desktop/PPSSPP/memstick/PSP/SYSTEM/controls.ini 25:35:616 file\fileutil.cpp:813 I[COMMON]: CreateEmptyFile: C:/Users/dtkad/Desktop/PPSSPP/installedTEMP.txt 25:35:616 file\fileutil.cpp:404 I[COMMON]: Delete: file C:/Users/dtkad/Desktop/PPSSPP/installedTEMP.txt 25:42:222 core\config.cpp:1498 I[LOADER]: Config saved (GameSettingsScreen::onFinish): 'C:/Users/dtkad/Desktop/PPSSPP/memstick/PSP/SYSTEM/ppsspp.ini' 25:42:222 core\config.cpp:1511 I[LOADER]: Controller config saved: C:/Users/dtkad/Desktop/PPSSPP/memstick/PSP/SYSTEM/controls.ini 25:55:647 core\config.cpp:1498 I[LOADER]: Config saved (MainScreen::OnGameSelectedInstant): 'C:/Users/dtkad/Desktop/PPSSPP/memstick/PSP/SYSTEM/ppsspp.ini' 25:55:648 core\config.cpp:1511 I[LOADER]: Controller config saved: C:/Users/dtkad/Desktop/PPSSPP/memstick/PSP/SYSTEM/controls.ini 25:55:655 core\config.cpp:1751 I[LOADER]: Failed to read C:/Users/dtkad/Desktop/PPSSPP/memstick/PSP/SYSTEM/NPJH00052_ppsspp.ini. No game-specific settings found, using global defaults. 25:55:655 core\system.cpp:402 I[BOOT]: PPSSPP v1.11.3-1076-g8968d92db Windows 64 bit 25:55:656 core\memmap.cpp:300 I[MEMMAP]: Memory system initialized. Base at 0000012772280000 (RAM at @ 00007FF6BD6BF388, uncached @ 00007FF6BD6BF3A0) 25:55:656 core\psploaders.cpp:251 I[LOADER]: NPJH00052 : アースセイバーPlus 隕石爆破大作戦 25:55:656 core\config.cpp:1751 I[LOADER]: Failed to read C:/Users/dtkad/Desktop/PPSSPP/memstick/PSP/SYSTEM/NPJH00052_ppsspp.ini. No game-specific settings found, using global defaults. 25:55:656 core\psploaders.cpp:311 I[LOADER]: Loading disc0:/PSP_GAME/SYSDIR/EBOOT.BIN... 25:55:657 hle\scekernel.cpp:111 I[SCEKERNEL]: Initializing kernel... 25:55:660 hle\scekernelmemory.cpp:437 I[SCEKERNEL]: Kernel and user memory pools initialized 25:55:661 common\exceptionhandlersetup.cpp:84 I[SYSTEM]: Installing exception handler 25:55:693 hle\scenet.cpp:213 N[SCENET]: LocalHost IP will be 127.0.0.1 [e0:31:a4:93:a3:cf] 25:55:693 util\portmanager.cpp:457 I[SCENET]: UPnPService: Begin of UPnPService Thread 25:55:693 hle\proadhocserver.cpp:1688 I[SCENET]: AdhocServer: Begin of AdhocServer Thread 25:55:693 hle\proadhocserver.cpp:1703 I[SCENET]: AdhocServer: Listening for Connections on TCP Port 27312 25:55:702 util\ppgedraw.cpp:300 I[SCEGE]: PPGe drawing library initialized. DL: 08000400 Data: 08010400 Atlas: 08020d00 (2097152) Args: 08020400 25:55:702 hle\scekernel.cpp:163 I[SCEKERNEL]: Kernel initialized. 25:55:703 elf\prxdecrypter.cpp:701 I[LOADER]: Decrypting tag D91613F0 25:55:703 elf\prxdecrypter.cpp:755 I[LOADER]: Decrypting tag D91613F0 25:55:703 elf\prxdecrypter.cpp:810 I[LOADER]: Decrypting tag D91613F0 25:55:709 hle\scekernelmodule.cpp:1349 I[LOADER]: Module EarthSaver: 00000000 08862f48 08862f60 25:55:713 hle\replacetables.cpp:1510 I[HLE]: Replaced memcpy at 0884557c with hash 317afeb882ff324a 25:55:713 hle\replacetables.cpp:1510 I[HLE]: Replaced memset at 08845650 with hash 1ef9cfe6afd3c035 25:55:713 hle\scekernelmodule.cpp:1464 I[LOADER]: Exporting ent 0 named EarthSaver, 2 funcs, 4 vars, resident 088632c0 25:55:713 hle\scekernelmodule.cpp:1815 I[LOADER]: Module entry: 08841848 25:55:750 root I[SYSTEM]: common\framebuffermanagercommon.cpp:199 内部解像度: 1920x1088 ウィンドウサイズ: 1920x1088 25:55:750 root I[G3D]: vulkan\gpu_vulkan.cpp:486 GPU_Vulkan::InitDeviceObjects 25:55:757 root N[G3D]: vulkan\shadermanagervulkan.cpp:424 Loaded 2 vertex and 4 fragment shaders 25:55:757 root N[G3D]: vulkan\pipelinemanagervulkan.cpp:756 Creating 4 pipelines... 25:55:758 root N[G3D]: vulkan\pipelinemanagervulkan.cpp:792 Recreated Vulkan pipeline cache (4 pipelines, 0 failed). 25:55:758 root I[G3D]: vulkan\gpu_vulkan.cpp:149 Loaded Vulkan pipeline cache. 25:55:769 root N[BOOT]: ui\emuscreen.cpp:341 Loading E:/!Emu!/!PSP ROM/PSN専用ソフト/アースセイバーPlus 隕石爆破大作戦 (PSN).iso... 25:55:770 root I[SCEKERNEL]: hle\scekernelthread.cpp:2006 276=sceKernelCreateThread(user_main, 0884195c, 00000020, 262144, 80000000, 00000000) 25:55:770 root I[SCEKERNEL]: hle\scekernelthread.cpp:2104 0=sceKernelStartThread(276, 33, 09fffed0) 25:55:770 user_main I[HLE]: hle\scepower.cpp:449 scePowerSetClockFrequency(333,333,166) 25:55:922 user_main I[SCEUTIL]: hle\sceutility.cpp:466 0=sceUtilityLoadModule(00000500) 25:55:953 user_main I[HLE]: hle\scepspnpdrm_user.cpp:9 call sceNpDrmSetLicenseeKey(088637e8) 25:55:954 user_main I[HLE]: hle\scepspnpdrm_user.cpp:27 call sceNpDrmEdataSetupKey 5 25:55:954 user_main E[SCEIO]: hle\sceio.cpp:2450 Not a valid PGD file. Open as normal file. 25:55:954 user_main E[HLE]: hle\hle.cpp:374 sceNpDrmEdataSetupKey: Delaying a thread that's already waiting 25:55:954 user_main W[SCEKERNEL]: hle\scekernelthread.cpp:1532 Waiting thread for 20 that was already waiting for 20 25:55:970 user_main I[HLE]: hle\scepspnpdrm_user.cpp:27 call sceNpDrmEdataSetupKey 5 25:55:970 user_main E[SCEIO]: hle\sceio.cpp:2450 Not a valid PGD file. Open as normal file. 25:55:970 user_main E[HLE]: hle\hle.cpp:374 sceNpDrmEdataSetupKey: Delaying a thread that's already waiting 25:55:970 user_main W[SCEKERNEL]: hle\scekernelthread.cpp:1532 Waiting thread for 20 that was already waiting for 20 25:55:988 user_main I[HLE]: hle\scepspnpdrm_user.cpp:27 call sceNpDrmEdataSetupKey 5 25:55:988 user_main E[SCEIO]: hle\sceio.cpp:2450 Not a valid PGD file. Open as normal file. 25:55:988 user_main E[HLE]: hle\hle.cpp:374 sceNpDrmEdataSetupKey: Delaying a thread that's already waiting 25:55:988 user_main W[SCEKERNEL]: hle\scekernelthread.cpp:1532 Waiting thread for 20 that was already waiting for 20 25:55:989 user_main E[FILESYS]: filesystems\directoryfilesystem.cpp:65 DirectoryFileSystem::OpenFile('/PSP/GAME/NPJH00052/KEY04.EDAT'): FAILED, 2 - access = 1 '指定されたファイルが見つかりません。 ' 25:55:989 user_main W[SCEIO]: hle\sceio.cpp:1541 80010002=sceIoOpen(ms0:/PSP/GAME/NPJH00052/KEY04.EDAT, 1073741825, 0): file not found 25:55:989 user_main I[HLE]: hle\scepspnpdrm_user.cpp:15 call sceNpDrmClearLicenseeKey() 25:55:989 user_main I[SCEUTIL]: hle\sceutility.cpp:487 0=sceUtilityUnloadModule(00000500) 25:55:989 user_main I[SCEUTIL]: hle\sceutility.cpp:466 0=sceUtilityLoadModule(00000300) 25:56:020 user_main I[SCEUTIL]: hle\sceutility.cpp:466 0=sceUtilityLoadModule(00000301) 25:56:038 user_main I[SCEUTIL]: hle\sceutility.cpp:466 0=sceUtilityLoadModule(00000302) 25:56:071 user_main I[SCESAS]: hle\scesas.cpp:247 sceSasInit(090b21c0, 256, 32, 0, 44100) 25:56:071 user_main I[SCEKERNEL]: hle\scekernelthread.cpp:2006 291=sceKernelCreateThread(sound_idle, 08821a00, 00000010, 65536, 00000000, 00000000) 25:56:071 user_main I[SCEKERNEL]: hle\scekernelthread.cpp:2104 0=sceKernelStartThread(291, 0, 00000000) 25:56:071 user_main I[SCEMODULE]: hle\scekernelmodule.cpp:1155 ~SCE module, skipping header 25:56:071 user_main I[SCEMODULE]: hle\scekernelmodule.cpp:1169 Loading module sceFont_Library with version 0101, devkit 06020010 25:56:071 user_main I[LOADER]: elf\prxdecrypter.cpp:701 Decrypting tag 457B06F0 25:56:071 user_main I[LOADER]: elf\prxdecrypter.cpp:755 Decrypting tag 457B06F0 25:56:071 user_main I[LOADER]: elf\prxdecrypter.cpp:810 Decrypting tag 457B06F0 25:56:071 user_main I[SCEMODULE]: hle\scekernelmodule.cpp:2063 292=sceKernelLoadModule(name=disc0:/PSP_GAME/USRDIR/libfont.prx,flag=00000000,(...)) 25:56:071 user_main I[SCEMODULE]: hle\scekernelmodule.cpp:2146 sceKernelStartModule(292,asize=00000000,aptr=00000000,retptr=09fff650,00000000): faked (undecryptable module) 25:56:093 user_main I[FRAMEBUF]: common\framebuffermanagercommon.cpp:3 Creating FBO for 04000000 (z: 04110000) : 480 x 272 x 3 25:56:093 user_main W[G3D]: common\framebuffermanagercommon.cpp:1433 Memcpy fbo upload 04400000 -> 04000000 (size: 88000) 25:56:208 user_main I[FRAMEBUF]: common\framebuffermanagercommon.cpp:3 Creating FBO for 04088000 (z: 04110000) : 480 x 272 x 3 25:56:220 user_main I[FRAMEBUF]: common\framebuffermanagercommon.cpp:1 Decimating FBO for 04000000 (480 x 272 x 3), age 6 25:56:232 user_main I[FRAMEBUF]: common\framebuffermanagercommon.cpp:1 Decimating FBO for 04088000 (480 x 272 x 3), age 6

sum2012 commented 1 year ago

Update log to v1.14.4-291-g763cb8ea2-windows-amd64 https://gist.github.com/sum2012/99d92ea2696456c64c8e7029408a97b6 Real PSP log: https://gist.github.com/sum2012/cea16af2c8db2b382f80cf1b853a5dad

Our code sceFontFindOptimumFont return 0 but real psp of sceFontFindOptimumFont only return 2 times of return 0,other return 0x10

unknownbrackets commented 1 year ago

What is the requested style for the ones that should return 0x10?

-[Unknown]

sum2012 commented 1 year ago

What is the requested style for the ones that should return 0x10?

-[Unknown] @unknownbrackets 02:12:811 user_main D[SCEFONT]: HLE\sceFont.cpp:1171 requestedStyle fontAttributes 0,fontCountry 0,fontExpire 0,fontFamily 2,fontFileName ,fontH 8.000000,fontHRes 0.000000,fontLanguage 2,fontName ,fontRegion 0,fontStyle 103,fontStyleSub 0,fontV 0.000000,fontVRes 0.000000,fontWeight 0.000000