https://bugs.winehq.org/show_bug.cgi?id=57777
Bug ID: 57777 Summary: "Hoshi no Otome to Rikka no Shimai" (AdvHD.exe): unable to run with font errors Product: Wine Version: 10.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sd369888@outlook.com Distribution: ---
Created attachment 77977 --> https://bugs.winehq.org/attachment.cgi?id=77977 logs
The game "Hoshi no Otome to Rikka no Shimai" (AdvHD.exe), crashes when I try to run it in wine, and throws an error: 0024:fixme:font:NtGdiRemoveFontMemResourceEx (0x77386331) stub. I have only installed wine geko and did not touch anything of my wine installation. The heap log is here: https://oshi.at/PLup
https://bugs.winehq.org/show_bug.cgi?id=57777
Joe Biden sd369888@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sd369888@outlook.com Distribution|--- |Ubuntu Component|-unknown |fonts
https://bugs.winehq.org/show_bug.cgi?id=57777
--- Comment #1 from Rafał Mużyło galtgendo@o2.pl --- ...I find it highly suspicious that there's only one line in the first log - at minimum, there should be a backtrace too (as you say it's a crash).
I don't know what that 'heap log' is, if it's a WINEDEBUG=all, I'm not looking at it till we run out of options.
Does WINEDEBUG='fonts,gdiplus' offer anything interesting ?
https://bugs.winehq.org/show_bug.cgi?id=57777
--- Comment #2 from Joe Biden sd369888@outlook.com --- (In reply to Rafał Mużyło from comment #1)
Not yet. The heap log is winedebug=all, and the other one is with all-heap. I have no idea why there is only one line.
https://bugs.winehq.org/show_bug.cgi?id=57777
--- Comment #3 from Rafał Mużyło galtgendo@o2.pl --- ...did you literally used 'all-heap', cause you might have found some funny gotcha of the function parsing that var ?...
(oh, and I can't help myself: Congratulation on the genocide you've funded/committed and successfully ushering in a successor, that will continue it !!!)
https://bugs.winehq.org/show_bug.cgi?id=57777
--- Comment #4 from Rafał Mużyło galtgendo@o2.pl --- ...actually, you've most likely just skipped a comma and it was 'all,-heap', still, if there was a crash and there's no backtrace and/or uncaught exception lines, something seems wrong...
https://bugs.winehq.org/show_bug.cgi?id=57777
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Rafał Mużyło from comment #3)
This kind of commentary is not appropriate here. Stick to Wine related topics.
https://bugs.winehq.org/show_bug.cgi?id=57777
--- Comment #6 from Joe Biden sd369888@outlook.com --- (In reply to Rafał Mużyło from comment #3)
OK, now I have properly set the log channels to "all,-heap". https://oshi.at/uqCM
https://bugs.winehq.org/show_bug.cgi?id=57777
--- Comment #7 from Rafał Mużyło galtgendo@o2.pl --- ...Joe, your dementia is clearly showing.
Currently, the interesting log would be 'fonts,gdiplus', if your hunch is correct and it indeed is a font related problem.
Comment 4 was just my musings about the content of your comment 3, again - as long as it's unknown what is going wrong, 'all' or even 'all,-heap' is just too large a haystack go look for an unknown needle within it.
(...and if it really is a crash, make sure the backtrace is captured in the log (if it shows up in the console))
https://bugs.winehq.org/show_bug.cgi?id=57777
--- Comment #8 from Rafał Mużyło galtgendo@o2.pl --- Anyway, does the crash affect the trial version, cause that one seems to run fine (...well, if you ignore, that no text is shown in-game) ?
https://bugs.winehq.org/show_bug.cgi?id=57777
--- Comment #9 from Rafał Mużyło galtgendo@o2.pl --- ...misremembered a thing - the channel name is 'font', not 'fonts'.
https://bugs.winehq.org/show_bug.cgi?id=57777
--- Comment #10 from Rafał Mużyło galtgendo@o2.pl --- ...well, among the calls in the trial, there's this:
trace:font:NtGdiHfontCreate (4865 12581976 28 0 0 0 0 53 0) L"\a6a4n\356b\7
bd2x5\0002" Bold Italic => 0x60a007a
...that's gibberish ...what are they even trying here ?
There's also quite a few FontCreate calls with -2 height - that *might* be valid, but is still odd...
https://bugs.winehq.org/show_bug.cgi?id=57777
--- Comment #11 from Joe Biden sd369888@outlook.com --- (In reply to Rafał Mużyło from comment #10)
The game will open and run (but no text nor the ability to create a save) with forks like kro4ek and soda, which ofc brought some modification we don't have. Anyway installing cjkfonts on a ja_JP locale fixes the text, but saving is still not possible.
Sorry for the late reply since I'm currently having a bad fever and can't test for a few days. Maybe I should not prank to be Joe anyway.