~Hakurei Shrine~ > Tech Support
Touhou on Linux and MacOS X, using Wine or Virtualization
Arekusu:
Months ago I managed to port UNL to mac, but never got to see if multiplayer worked and some of the sprites were missing. I used a CXZ wrapper.
I also ported the other major touhou games to mac on september (with CXZ before, Wineskin later), but I upgraded my MacOs from 10.5 to 10.6 and their performance downgraded dramatically (they seem to get stuck at 30fps). Any idea on how to fix this? The same ports worked before the update and still do work on a recently bought iMac, so it probably has to do with some internal graphics update (well, my computer is a Macbook with GMA x3100, can't really expect much from it). However, switching from fullscreen to windowed mode doesn't affect performance, which suggests some option on wine or config change could be a solution.
Momiji:
--- Quote from: Arekusu on June 22, 2011, 09:42:16 AM ---Months ago I managed to port UNL to mac, but never got to see if multiplayer worked and some of the sprites were missing. I used a CXZ wrapper.
--- End quote ---
=|
--- Quote from: Arekusu on June 22, 2011, 09:42:16 AM ---...but I upgraded my MacOs from 10.5 to 10.6 and their performance downgraded dramatically (they seem to get stuck at 30fps). Any idea on how to fix this? The same ports worked before the update and still do work on a recently bought iMac, so it probably has to do with some internal graphics update (well, my computer is a Macbook with GMA x3100, can't really expect much from it).
--- End quote ---
From Wikipedia:
--- Quote ---Although the new MacBook line no longer uses the X3100, Mac OS X 10.5 (Leopard) ships with drivers supporting it that require no modifications to the kext file. Mac OS X 10.6 (Snow Leopard), which includes a new 64-bit kernel in addition to the 32-bit one, does not include 64-bit X3100 drivers. This means that although the MacBooks with the X3100 have 64-bit capable processors and EFI, Mac OS X must load the 32-bit kernel to support the 32-bit X3100 drivers. November 9's 10.6.2 update ships with 64-bit X3100 drivers.
--- End quote ---
Is your install of 10.6 fully up-to-date? This could be a factor in your graphics performance. Then again that paragraph had a bunch of [citation needed] so it might be moot.
DX7.EP:
--- Quote from: Arekusu on June 22, 2011, 09:42:16 AM ---Months ago I managed to port UNL to mac, but never got to see if multiplayer worked and some of the sprites were missing. I used a CXZ wrapper.
I also ported the other major touhou games to mac on september (with CXZ before, Wineskin later), but I upgraded my MacOs from 10.5 to 10.6 and their performance downgraded dramatically (they seem to get stuck at 30fps). Any idea on how to fix this? The same ports worked before the update and still do work on a recently bought iMac, so it probably has to do with some internal graphics update (well, my computer is a Macbook with GMA x3100, can't really expect much from it). However, switching from fullscreen to windowed mode doesn't affect performance, which suggests some option on wine or config change could be a solution.
--- End quote ---
--- Quote from: Momiji on June 22, 2011, 06:57:35 PM ---Is your install of 10.6 fully up-to-date? This could be a factor in your graphics performance. Then again that paragraph had a bunch of [citation needed] so it might be moot.
--- End quote ---
Update your SL install to 10.6.7 (.8 is coming soon, though). It is true that pre-10.6.2 Mac OS does not come with X3100 64-bit drivers, and furthermore AFAIK Intel drivers were optimized over the course of the later versions (largely due to the 2010-11 MacBook Pros' use of Intel GMAs). They also contain smaller improvements for ATI/AMD GPUs (and very few for NVIDIA ones, oddly).
Also, instead of using Apple's X11 use XQuartz for the primary X Window System.
Any idea which iMac it is under System Profiler? If it's recent (2009 or later) I don't see why it should have issues. UNLESS, that is, yours has the NVIDIA GeForce 9400M as a GPU, which I know from experience is not very good at all (30-50FPS on TD trial via Wine + horrible NVIDIA drivers).
HSTS has issues, anyways, under Wine, PlayOnMac, etc. Haven't tried CrossOver yet (I use a VM or Boot Camp anyways :P).
GenericTouhouFailure:
Quick fix for frameskip since 10D's custom.exe will not start in wine.
(click to view full size)
Your config fill will only appear this way if your options are default (and should be, unless you are using someone else's cfg file)
Open your th13.cfg in a hex editor.
Navigate to the byte circled. (by default it should be 01 00 00 02 64 50 00 02)
Change the byte in red to 01 and you now have 1/2 frameskip!
This works for MoF SA UFO DS and GFW. The cfg file has different lengths but the frame skip is almost always next to the 01 00 02 64 50
Spoiler: Useless Fact: The first 4 bytes is game number
Also games tested on CXZ:
I wanna be the shrine maiden (Crashes before running)
Sengoku Gensokyo (Can't install properly, also gives errors)
MegaMari (Works)
Super Marisa World (Lolcrash after game starts)
Story of Eastern Wind (Missing sprites, somewhat playable but with invisible players and invisible enemies, it's harder than virtue of black squares)
Mystical Chain (Same missing sprites glitch, except screen likes not rendering EVERYTHING)
Seihou Banshiryuu (Likes crashing randomly during gameplay, playing on lunatic seems to make less errors occur)
Will test some more once my nonexistant wallet refils itself
Tengukami:
Would this solution also work in being able to slow the framerate of UFO fullscreen from 72 FPS to 60 FPS? Because that's the problem I'm having with UFO.