Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Resolved] PPSSPP Crashes Wine 1.7.12 after v0.9.6-802
02-11-2014, 08:12 PM
Post: #6
RE: PPSSPP Crashes Wine 1.7.12 after v0.9.6-802
Well, from what I've tested, the versions of PPSSPP compiled using VS2013 work fine on WINE, they just need MSVCP120.dll and MSVCR120.dll. AFAIK most Windows versions do not have those files by default either, so those using them would face the exact same problem: they would have to install the VS C++ 2013 redistributable from the link provided by Bigpet in post #3. The tricky part is, on WINE the installer does not work (and IIRC neither does the one for VS2012 version - that is why winetricks has no scripts for them). Still, you do not need the installer to get the files. The only tool you need is a program capable of extracting Microsoft Cabinet files. The one I used is the command-line driven cabextract. On Ubuntu and derivatives (I use Kubuntu 13.10 BTW) you can just use 'sudo apt-get install cabextract' to get it. Here are the instructions I followed:
1. Place the 'vcredist_x86.exe' file in some empty temporary folder (e.g. '~/temp'); this is just to avoid making a mess since there are several files extracted (I know I could have used cabextract -F, but it's too much typing for me. I prefer to just make a mess and simply remove the whole temporary folder afterwards).
2. In the command line, switch to the temporary directory (e.g. 'cd ~/temp') and execute 'cabextract vcredist_x86.exe'. Several (eleven, to be exact) files are extracted, but only files named 'a2' and 'a3' are actual archives.
4. The needed files are in 'a2', so execute 'cabextract a2'; this extracts five files, each named 'F_CENTRAL_something' (ignore any warnings about 'possible 16128 extra bytes at end of file'; it extracts fine).
5. The files 'F_CENTRAL_msvcp120_x86' and 'F_CENTRAL_msvcr120_x86' are actually the needed DLLs, just named incorrectly. So rename them appropriately (I just used 'mv F_CENTRAL_msvcp120_x86 msvcp120.dll' and 'mv F_CENTRAL_msvcr120_x86 msvcr120.dll').
6. Copy the 'msvcp120.dll' and 'msvcr120.dll' files to PPSSPP's folder (same place where 'PPSSPPWindows.exe' is). (Well, I guess you can also copy them to the 'windows/system32' folder of the appropriate wineprefix, though I haven't tested it personally; I just prefer to keep any external DLLs in the application's directory whenever possible - it saves on creating extra wineprefixes). NB, right now (as of WINE version 1.7.12) there is no need to set any DLL overrides, since WINE doesn't provide any implementation of the files in question at all (not even stubs). It might change in the future versions, though (I mean future versions of WINE, not of PPSSPP).
Now, PPSSPP should run. You might want to keep a copy of the 'msvcp120.dll' and 'msvcr120.dll' files somewhere for updates.
7. If you followed my "messy" approach: delete the temporary folder.
Also, for the record, I believe the problem has nothing to do with PPSSPP nor its compatibility with WINE. As stated, Windows users might just face the same issue. The only problem lies in the fact that VS C++ 2013 redistributable installer does not work in WINE, forcing a somewhat complicated workaround. Still, this is WINE's issue, not PPSSPP's. PPSSPP's compatibility with WINE seems to be just fine even after 0.9.6-802. Using instructions provided here, I successfully run 0.9.6-889 (which was the most recent available on buildbot as of this post) on Kubuntu using WINE 1.7.12. So it should work.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: PPSSPP Crashes Wine 1.7.12 after v0.9.6-802 - gp2999 - 02-11-2014 08:12 PM

Forum Jump: