http://bugs.winehq.org/show_bug.cgi?id=19566
Summary: RPG Maker XP RTP/Player: Failed To Load Archive Product: Wine Version: 1.1.26 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: iyeru42@gmail.com
After installing RPG Maker XP RTP 1.02e, starting an RPG Maker XP Game results in "Failed to load archive."
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #1 from Austin English austinenglish@gmail.com 2009-08-04 01:17:01 --- Terminal output?
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #2 from Ian iyeru42@gmail.com 2009-08-04 07:20:58 --- fixme:mountmgr:harddisk_ioctl unsupported ioctl 4d004 fixme:win:EnumDisplayDevicesW ((null),0,0x81d3f4,0x00000000), stub! fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1503f0,0x149710): stub
Is all that outputs in Terminal, before/during the error. Then the RPG Maker Player hangs on a black screen, and you cannot close it without killing Game.exe through System Monitor.
http://bugs.winehq.org/show_bug.cgi?id=19566
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|rpgmxp-archive |
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #3 from Ian iyeru42@gmail.com 2009-08-05 09:39:34 --- (In reply to comment #1)
Terminal output?
Here's also, the RPG Maker XP RTP 1.02 setup.exe output:
ian@ian-desktop:~/.wine/drive_c/RPGXP_RTP102$ wine Setup.exe fixme:advapi:LookupAccountNameW (null) L"ian" (nil) 0x33f80c (nil) 0x33f810 0x33f804 - stub fixme:advapi:LookupAccountNameW (null) L"ian" 0x1336c0 0x33f80c 0x148fa8 0x33f810 0x33f804 - stub fixme:msi:ACTION_HandleStandardAction unhandled standard action L"SetODBCFolders" fixme:msi:msi_unimplemented_action_stub RemoveExistingProducts -> 1 ignored L"Upgrade" table values fixme:mscoree:LoadLibraryShim (0x7ee38a4c L"fusion.dll", (nil), (nil), 0x33f934): semi-stub
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #4 from Ian iyeru42@gmail.com 2009-08-15 19:07:27 --- This is the URL to the RPG Maker RTP download:
http://tkool.jp/products/rpgxp/eng/rtp_download.html
Which is required by some RPG Maker Games, which fail to start in Wine.
http://bugs.winehq.org/show_bug.cgi?id=19566
DDV zetas@shellium.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zetas@shellium.org
--- Comment #5 from DDV zetas@shellium.org 2010-06-13 19:35:47 --- This only happens when trying to run an rpg maker compressed game that includes a encrypted archive (the typical means of sending a game out to the world). If the game data is only compressed and set out it launches just fine. Its an error with extracting the "encrypted" .rgssad archive.
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #6 from DDV zetas@shellium.org 2010-06-13 19:45:16 --- Created an attachment (id=28816) --> (http://bugs.winehq.org/attachment.cgi?id=28816) Backtrace of full error
This is the full backtrace i get after killing wine when it fails to load the archive.
http://bugs.winehq.org/show_bug.cgi?id=19566
mkesper@schokokeks.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mkesper@schokokeks.org
--- Comment #7 from mkesper@schokokeks.org 2010-06-17 10:09:35 --- This bug can be reproduced by downloading http://www.quintessence-tbv.com/The_Mirror_Lied.exe (7MB only). After unpacking this, the error occurs when running Game.exe
http://bugs.winehq.org/show_bug.cgi?id=19566
Pat killzenator@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |killzenator@gmail.com
--- Comment #8 from Pat killzenator@gmail.com 2010-09-06 22:47:15 CDT --- Samething happens to me aswell with wine 1.3.2 and another RPGMaker game that I downloaded
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #9 from Dan Kegel dank@kegel.com 2010-09-07 08:30:21 CDT --- Created an attachment (id=30615) --> (http://bugs.winehq.org/attachment.cgi?id=30615) +relay,+mmio,+seh log, compressed with rzip
It's DRM of a sort, so it's going to be a pain. Looks like it checks for debuggers. It then does loads and loads of winmm io calls to the encrypted file, and gives up. A trace of the winmm io calls under Windows might be informative.
FWIW, here's a little bit of doc about that format: http://k-du.de/rgss/rgss.html
http://bugs.winehq.org/show_bug.cgi?id=19566
Mark Toman kram1024@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kram1024@hotmail.com
--- Comment #10 from Mark Toman kram1024@hotmail.com 2011-11-30 04:00:31 CST --- rpg maker xp and vx 1.04E effected too with 1.3.29 even. Oddly crossover not effected by this bug. Maybe Andrew can help fix this.
http://bugs.winehq.org/show_bug.cgi?id=19566
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
--- Comment #11 from Sagawa sagawa.aki+winebugs@gmail.com 2012-10-28 10:23:16 CDT --- I update some information.
The Mirror Lied old version[1] shows "Failed to load archive." while starting up even on wine 1.5.16. But The Mirror Lied v2.0[2] works fine under my environment with mscorefonts.
The difference between [1] and [2] is that [1] has some MIDI files and [2] has no MIDI files (uses ogg files instead). This may be a hint. Both of versions have same Game.exe[3] and RGSS102E.dll[4].
[1] SHA1(The_Mirror_Lied.exe)= b74bd9b3fc38c006ac237f54a85fc750283d3564 obtain from http://games.softpedia.com/get/Freeware-Games/The-Mirror-Lied.shtml [2] SHA1(The_Mirror_Lied-v2.zip)= 3a23c7d784f0e73e24e572fa1d7a64548eba7848 obtain from http://www.freebirdgames.com/The_Mirror_Lied-v2.zip [3] SHA1(Game.exe)= 7b8ff2066f90899810fb1979e39e1481a9b70fed [4] SHA1(RGSS102E.dll)= 4fa905d0d5fcd48290f578aed8e1c0f0d6d442f7
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #12 from Sagawa sagawa.aki+winebugs@gmail.com 2012-11-07 09:13:23 CST --- Created attachment 42429 --> http://bugs.winehq.org/attachment.cgi?id=42429 proposed patch
Could you try this patch?
Finally, I found out this bug comes from mmio buffer handling. MIDI is not related this issue. In detail, mmioRead() at the end of file doesn't work properly.
http://bugs.winehq.org/show_bug.cgi?id=19566
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com 2012-11-07 17:11:05 CST --- The game The Mirror Lied (sha1 matches comment 11) works in wine-git but not in wine 1.5.16.
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #14 from Bruno Jesus 00cpxxx@gmail.com 2012-11-07 17:11:40 CST --- (In reply to comment #13)
The game The Mirror Lied (sha1 matches comment 11) works in wine-git but not in wine 1.5.16.
I forgot to mention that I tested without your patch from comment 12.
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #15 from Bruno Jesus 00cpxxx@gmail.com 2012-11-07 18:43:10 CST --- I see now that the error "failed to load" error only happens after you start the game and try to click in something. And the patch does not help in that for me.
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #16 from Sagawa sagawa.aki+winebugs@gmail.com 2012-11-08 04:50:28 CST --- Hi Bruno, thank you for your comments.
Could you tell me which sha1 hash is matched in comment 11? If you still get "failed to load", could you please attach the trace log with WINEDEBUG=mmio and sha1 of Game.rgssad?
As I mentioned in comment 11, "The Mirror Lied" requires Microsoft TrueType core font files (mscorefonts), especially "Times New Roman". Without the face, you will get blinking blank gray rectangle on the start-up and "Script 'AMS' line 688: RGSSError occurred. failed to create bitmap" error when you inspect an object in the game.
http://bugs.winehq.org/show_bug.cgi?id=19566
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winmm&mci
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #17 from Sagawa sagawa.aki+winebugs@gmail.com 2012-11-29 05:48:53 CST --- Updated patch has been committed as c2cf4ddb932274486cc83a693b4a737f94f31b90.
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #18 from Bruno Jesus 00cpxxx@gmail.com 2012-12-16 13:58:13 CST --- Sagawa, sorry for the long delay. Today I tried again in git both The Mirror Lied and The Mirror Lied V2.
sha1 3a23c7d784f0e73e24e572fa1d7a64548eba7848 - The_Mirror_Lied-v2.zip sha1 b74bd9b3fc38c006ac237f54a85fc750283d3564 - The_Mirror_Lied.exe
Both game starts in a clean prefix (no RTP installed), I can hear music and walk in the bedroom. Both games die with the line 688 error when I try to inspect something, I tried to install mscorefonts but it will mess my debian installation completely, I have fonts-liberation package but it does not help here.
The error I see never is "Failed to Load Archive", it's always "Script 'AMS' line 688: RGSSError occurred. failed to create bitmap". I think it's safe to resolve as fixed if you were able to reproduce the issue and no longer can.
http://bugs.winehq.org/show_bug.cgi?id=19566
--- Comment #19 from Sagawa sagawa.aki+winebugs@gmail.com 2012-12-17 09:26:16 CST --- Bruno, thanks for testing again.
As you started the program successfully, this case will be closed. Without my changes, "Mirror Lied (v1)" failed to start completely.
RGSSError is another issue. For "Mirror Lied", we need some fonts in MS Core fonts. You can define replacements in HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements. For instance: value: Times New Roman, data: Liberation Serif value: Arial, data: Liberation San Serif
http://bugs.winehq.org/show_bug.cgi?id=19566
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c2cf4ddb932274486cc83a693b4 | |a737f94f31b90 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #20 from Bruno Jesus 00cpxxx@gmail.com 2012-12-17 21:42:15 CST --- I can confirm that reverting c2cf4ddb932274486cc83a693b4a737f94f31b90 makes the "Failed To Load Archive" error appear and reapplying the patch makes the error go away. Resolving fixed, thanks.
http://bugs.winehq.org/show_bug.cgi?id=19566
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Alexandre Julliard julliard@winehq.org 2012-12-21 13:27:42 CST --- Closing bugs fixed in 1.5.20.