
I just got the Visual Novel game Little Busters! working on my Macbook through Wine. However, since the process was far from easy, I thought I’d share how I did in case someone else wants to play Visual Novels too. Note that this guide is made for Key/Visual Art’s Visual Novels, like Clannad, Kanon, Air, Little Busters, etc. and other game makers’ games may not work at all. You should check them up in this database before trying to run them, if they’re gold or platinum, they’re playable. Note that you also need an Intel mac, any mac with G3, G5 or G5 processors (pre-2005) runs on the PPC architecture which makes Wine impossible to run. The initial steps also requires you to be logged in as administrator. If the admin account is separate from your normal account, make sure to have the admin account’s credentials available, or ask your administrator to run the first step for you.
Note that this guide uses examples for installing the game Little Busters, other games may place the installed files in other locations, if that’s the case, you just need to change the paths.
Quick Guide to many of the special characters present in this guide:
- ~ = Refers to “/Users/<your username>”, and gives the exact same result as typing that instead. Typed by holding ALT and pressing [N] (American Keyboard) or [^/¨] (European Keyboard), and then pressing Spacebar.
- ; = Links several commands together to be performed in succession. e.g. typing “command1;command2″ is equal to first running command1, waiting until it’s done and then running command2.
General advice for interacting with the command line:
- There is a difference between “/path/to/file” and “path/to/file”. The first (begins with a “/”) will search from the root of your startup drive, while the second will start from the directory you are currently in
- There is also a difference between something between quotation marks and without. In the former case, the text is taken as a Literal, and shortcuts like ~ will not be expanded like intended. In the latter case, you need to prefix any spaces in the path with “\” without the quotation marks (space -> backslash space) or it won’t work (note that spaces separating Arguments to a command should NOT be escaped like this; in that case this is the intended behavior)
Step 1: Getting the necessary files
(this step only needs to be done once, and does not have to be repeated for every novel you install)
1.1: X11 and Wine
To install a Visual Novel, you need a number of things. For a start, you need Wine and X11 to run Windows .EXE-files. To install X11, you can either grab it from the OSX Installation disc or from here. Then, you need MacPorts to install Linux/UNIX-packages from the Command Line, grab that from here and follow the installation instructions (NOTE: it’s not just installing the package!). After you have installed Macports, open Application->Utilities->Terminal. Then type the following command (Copy it exactly! A typo will make the command fail!) and press Enter:
clear;sudo port selfupdate;sudo port install wine-devel winetricks cabextract +universal;sudo port upgrade all
Congratulations, you can now run windows applications! However, before we start doing that, we need to make said windows applications work. Type this command into the terminal (some parts are supposed to end with an “Installation Failed” message) WARNING! This step will fail (for real) if you’re not logged in as yourself!:
clear;winetricks corefonts;winetricks comctl32 comctl32.ocx d3dx9 d3dx9_28 d3dx9_36 dinput8 directmusic directplay dotnet20sp2 fontfix vb6run
The script will install much of the components required to use most Windows applications for you, just sit back and watch, however, do not leave the computer since it will occasionally ask you to accept a license agreement or ask for confirmation (Notice the gray ugly windows-style boxes? Those are actually Windows applications!). When this is done, you can theoretically run most Windows applications unless they are too complicated. However, to make it play anything in Japanese or with a japanese origin, you need to fix some more…
1.2: Japanese Fonts
(from now on, make sure you are logged into the account you are planning on playing on)
To run Japanese games, your computer need to be able to render Japanese text, of course. If you try without these installed, you will just get ASCII-gibberish and there’s a large chance of the application crashing or acting strange. To enable Japanese fonts, grab this file and type this command (don’t type the [[DROP HERE]] part, instead, drag the downloaded file from Finder to the terminal when you get to that part to make it paste the full path to the file in there):
cd ~/Desktop/;LANG=ja_JP.SJIS wine [[DROP HERE]];mv -fv ./*.ttf ~/.wine/drive_c/windows/Fonts/
This will install the required fonts. However, we’re not ready to play just yet.
Step 2: Preparing the game itself
(if you want to install more novels, repeat from here)
Step 2.1: Installing the Game
This is just what it sounds like: Install the game. If you have the physical disc, insert it. If you have an ISO or DMG with the contents of it, double-click on it to mount it. Then type the following command into the Terminal to open up the installer:
cd "/Volumes/LB";clear;LANG=ja_JP.SJIS wine ./Autorun*.EXE
If your Installation Disc is called something else than “LB”, you must replace it with the name of your disc. Note that it is case sentitive, so “LB” is not the same as “lb”, “Lb” or “lB” and so on. If the name is long, you can replace cd "/Volumes/LB" with cd /Volumes/[first few letters of the disc name]* where you insert enough letters in the disc name to make sure there’s no other devices (Hard drives, Web Servers, Discs, etc.) that are mounted (that is, appears on the desktop or the finder sidebar) that begins with the same letters. Make sure you replace any spaces with “\ ” (Backslash Space) without the quotation marks.
Step 2.2: Patching the Game Engine
(Little Busters! Exclusive; though if you have other patches you want to install, you will still want to follow this step, adapting it to use other filenames as appropriate.)
If you are installing Little Busters!, grab this patch for it. If you are installing a novel that requires a No-CD Patch, you can use the same steps there, but you have to get the Patch yourself. Note that a lot of Visual Novels doesn’t require you to patch anything, but Little Busters! and a few others can’t be played without the physical disc without a No-CD Patch. If you run the game in the final step and it doesn’t run and is saying something about a missing CD follow this step. Also note that this step assumes that your game uses REALLIVE, if your novel uses some other engine, you have to replace “REALLIVE.EXE” in the commands with the name of the executable you want to patch.
Place the downloaded EXE-file on your desktop and rename it to “Patch.exe” for the sake of simplicity (again, case sensitive). Then run this command:
cp ~/.wine/drive_c/KEY/*/REALLIVE.EXE ~/Desktop/;cd ~/Desktop/;LANG=ja_JP.SJIS wine ./Patch.exe
And choose to patch the file “REALLIVE.EXE” that will be located on your desktop. When it’s finished, run this command:
mv -f ./REALLIVE.EXE ~/.wine/drive_c/KEY/*/;rm -f ./Patch.exe;rm -f ./REALLIVE*
This will update the game engine and make it possible to actually run the game, as well as removing the used patch (remove the “rm -f ./Patch.exe” part if you want to keep it).
Step 2.2: Language Patch
If you have a Language Patch (for translating the game to english), name it “LangPatch.exe” (or change the name in the command below to whatever it’s called; just make sure to replace any spaces in the filename with “\ ” (backslash-space) or it won’t work), place it on the desktop, and run this command:
clear;cd ~/Desktop/;LANG=ja_JP.SJIS wine ./LangPatch.exe
Repeat this step for any additional patches.
Step 3: Running the Game
Step 3.1: Creating the Script
To actually run the game, there are several steps involved. To make this a easy as possible, we will be creating a script that does most of the work for you.
Open a text editor of choice (any editor works, like the built in one, which I’ll be using), and create a new file in your home folder (/Users/<yourname>) with a name along the lines of “littlebusters.sh”. The name can be anything, but it should end in “.sh”, and should only contain characters a-z and underscore( _ ).
WARNING: You should save this as PLAIN TEXT. If you’re using Text Edit, select Format -> Convert to Plain Text to remove formatting. Also, never EVER use Word, Pages or other word processors to save these files. Saving formatted text will cause the script to stop working, and instead throwing weird errors at you about commands not being found.
If you have a disc, type this into it:
if [ -e /Volumes/<< The full name of your CD >> ]
then
echo "The CD is inserted, starting game..."
LANG=ja_JP.SJIS wine ~/.wine/drive_c/KEY/*/REALLIVE.EXE
else
echo "The CD is not inserted!"
fi
Replace << The full name of your CD >> with the name of your CD (Case-Insensitive). If you have an ISO or DMG, use this code instead:
if [ -e /Volumes/<< The full name of the disc image >> ]
then echo "The Disc Image is mounted, starting game..."
else echo "Attempting to mount the Disc Image..."
hdiutil attach << The full path to the disc image >>
fi
LANG=ja_JP.SJIS wine ~/.wine/drive_c/KEY/*/REALLIVE.EXE
Replace << The full name of the disc image >> with the full name of the disc image as it shows up in the Finder sidebar when it’s mounted, and replace << The full path to the disc image >> with the full path to the Disc Image file (Note that if you move it, you need to change this). You can get the path by dropping the file into the text editing area in most cases (like the Built-in Text Edit).
Then run this command:
chmod 755 ~/*.sh
Done!
Step 4: Play!
To play the game, open up X11. You should get a large white terminal. If you don’t, press Command+N. Type this into the terminal to launch the game:
~/<filename>.sh
Where you replace <filename> with whatever you named the script you created in the last step. So if you named the script littlebusters.sh, you type ~/littlebusters.sh. It should print a few (or a lot of) messages, and start the game.
Powered by Qumana
I have been able to do everything up until step 3. I am pretty certain i have made the .sh file correctly but when i run chmod 755 ~/*.sh nothing happens. could you help me out?
Make sure you have saved it in the correct location. The “~/*.sh” refers to any sh-file directly in your home folder, so it won’t work if you’ve placed the script in a subfolder (eg. Desktop, Documents, etc. wont’t work, it must be directly in the folder named after your username.
Are you familiar with the Kanon Se 18+ VN? I’m having trouble installing it and wondering if you could help?
I haven’t tried either version of Kanon, I only have Clannad and Little Busters!. What does it say? Does the Terminal log any errors?
Hey, thanks a lot for this, I’ve been trying to get a way besides boot camp to do this for a while.
I got all the way up to step 2.1, but then I encountered a problem. Wine fails to find autorun.exe even if I download it off of a windows computer. Is there anything I can do in this situation?
Note that it’s CaSE SeNSItIVE, “autorun.exe”, “Autorun.exe”, “AutoRun.exe”, “autorun.EXE”, etc. refer to different files even though the mac os doesn’t make a difference. Check the case and try copying the name from Finder (it’s on the mounted disc).
Thanks, I’ll give that a try.
Hi, i did all the steps but when i tried to run the game with ~/littlebusters.sh this is what i get:
bash-3.2$ ~/littlebusters.sh
/Users/christopherpeng/littlebusters.sh: line 1: {rtf1ansiansicpg1252cocoartf1038cocoasubrtf350: command not found
/Users/christopherpeng/littlebusters.sh: line 2: {fonttblf0fmodernfcharset0: command not found
/Users/christopherpeng/littlebusters.sh: line 2: f1fmodernfcharset0: command not found
/Users/christopherpeng/littlebusters.sh: line 2: f2fswissfcharset0: command not found
/Users/christopherpeng/littlebusters.sh: line 3: syntax error near unexpected token `}’
/Users/christopherpeng/littlebusters.sh: line 3: `\f3\fnil\fcharset0 Verdana;}’
bash-3.2$
is this what’s supposed to happen?
You can’t save it as formatted text. You have to press Format->Convert to Plain Text (or whatever it’s called in english) if you’re using Text Edit, and you can’t use Word or anything like that. The reason is that it saves a lot of junk (formatting) data along with the text, which means it won’t work as a Shell Script.
It has to be saved as a plain text file (like saving a .txt file), with a text coding like UTF8 or ASCII. If you don’t know what that is, just don’t use a Japanese/Arabic/Other non-latin-native Input Method and you’ll be fine.
I’ll add a notice about this in the post in a moment…
Thanks for the advice, but now when i try to start the game, i get a new popup message saying REALLIVE as the title box and in the contents it says 1503 and other japanese letters. I’m not sure if I described it well, but if i can email to you a screen shot of the error message, it might be easier to find the problem.
I assume you’re trying to play Little Busters!, right?
It seems you missed step 2.2
The patch installed there is there to fix this error.
You could just have googled “REALLIVE 1503″, and the first result would have pointed you to the patch…
Hi, sry again for asking so many questions, but when i tried to use my no-cd patch on terminal, i received this message:
Last login: Sat May 7 12:54:20 on ttys000
1337:~ christopherpeng$ cp ~/.wine/drive_c/KEY/*/REALLIVE.EXE ~/Desktop/;cd ~/Desktop/;LANG=ja_JP.SJIS wine ./Patch.exe
fixme:bitblt:client_side_dib_copy potential optimization: client-side color-index mode DIB copy
And a pop-up message came with it as well in japanese and when pressing ok on it, it stops doing anything.
I don’t mind, please ask as much as you want.
That certain fixme:-message is not an error, it’s simply a note for the developers that that certain function is written in an inefficient way and should be rewritten in a better way later. This means you don’t have to worry about this unless you’re a developer.
The Japanese popup shouldn’t be a problem either, though if the game still doesn’t work after you’ve finished the patching step, you should copy and post the text and I’ll see if I can figure out what it means.
I found this really helpful, but I had trouble trying to adapt this to other Visual Novels.
Could you maybe try it for Fate/Stay Night or Saya no Uta?
(I know that’s a lot to ask, but there doesn’t seem to be anyone else capable or willing to be helpful in this area).
Thanks!
I don’t have either of those (actually I do have Fate/Stay Night, but it’s a DS Port), but maybe you could tell me what you’re having trouble adapting?
“~” refers to your home directory (it’s a shortcut to typing “/Users/”), and adapting this to other novels shouldn’t be much harder than changing the filenames.
Does it give you an error somewhere, or do you just have no idea what to do?
I think maybe the problem is with my wine setup; I seem to have trouble with locations. After installing programs using wine, they go on my “C Drive” which seems to not exist (although from what I know it should be in my .wine folder, which also doesn’t seem to exist). I think that just from reading your post here I’ve achieved at least a basic level of understanding what I’m doing, the problem is I don’t know how I get to the files I install for both the purpose of patching and playing them.
And once again, thanks for this! Great blog, I’ll be checking it out more often.
Wine’s “Drive C” is stored in the directory at “/.wine/drive_c/”, and contains a normal Windows-style file hierachy. The problem is that since “.wine” begins with a dot, Finder hides that directory from sight – this is standard behavior in UNIX/Linux-style systems where a leading dot indicates a system directory.
Finder isn’t unreasonable, however. If you explicitly tell it to show you a certain directory, it shows you that directory without complaining.
Open a new Finder-window and press Command-G. In the textfield it shows you, type “~/.wine” (~ = your home directory as I said before). Press Enter, and you can freely navigate the .wine-folder, including the “drive_c”-folder inside it.
Do note that this is hidden for a reason – changing things around in here without knowing what you’re doing can make Wine unstable or even break completely. Treat everything outside of the “drive_c”-directory as read-only and you’ll probably be fine.
If you somehow manage to break wine, don’t worry. Just delete the .wine-folder (you have to do this through the terminal, as Finder won’t show you the directory. Type “rm -r ~/.wine” to make it delete it; rm = remove, -r = recursive – a flag necessary for deleting folders) and run a wine application like the one launched by typing”winecfg” in a terminal (Wine’s Control Panel) to make it recreate itself.
If you do succeed, please tell me how you did it and I can update this post to reflect your progress (I’ll give you credits for it of course). If you have any further problems, please tell me.
Alright, I’ve managed to find my “C drive” (thanks to your tremendously helpful instructions), however the issue now is opening it. I have managed to correctly apply the english patch to my copy of Saya no Uta (guess I’ll start there, I had the most success with it earlier). Now the issue is I need a command to open it in Japanese (opening it with wine gives symbols and so forth). So, if the file is in /.wine/drive_c/Program_Files/NitroPlus/Saya_no_Uta/saya.exe (or at least that’s how I assume it would display), what command would open it?
Also applying the English patch in this case was as simple as dragging and dropping the patch file in the directory in the C Drive (I can confirm this because the display was not in Japanese and even had certain nontextual images in English). Afraid I can’t give much in the way of specific results for your post as of yet.
I’m not sure what you mean by opening in “in japanese”, but I think you mean to open it with japanese character coding, in which case you simply have to add “LANG=ja_JP.SJIS” in front of the wine-command; in your case the resulting command would be “LANG=ja_JP.SJIS wine ~/.wine/drive_c/Program_Files/NitroPlus/Saya_no_Uta/saya.exe”.
This is one of the things the script at the bottom of the page does, along with mounting the disk image of the disk if it’s not present.
Ok that seems like that should be the solution, however my Terminal fails to find the file (wine: cannot find ‘/Users/Parablius/.wine/drive_c/Program_Files/NitroPlus/Saya_no_Uta/saya.exe’)
Is this possibly because my .wine folder is not located in my user folder? Also terminal does not recognize “LANG=ja_JP.SJIS” as a valid command, however it did earlier. Would this mean I need to repeat/somehow alter step 1.2 of your instructions to cater to this?
If your wine-prefix (the location of your .wine-directory) is not in your home folder, you should use the path to it instead.
You can also try using the terminal’s Autocomplete-feature. Type “LANG=ja_JP.SJIS wine ” followed by the first few letters in the path to your .wine-directory, press Tab to make it autocomplete as fas as it can, add a few more letters to narrow it down, press Tab, and keep doing this until you reach the saya.exe-file.
Or you can simply open a Finder-window where you locate the saya.exe-file, open a Terminal and type “LANG=ja_JP.SJIS wine ” and then drop the file from finder into the terminal after that to make it input the path automatically.
If it doesn’t recognize “LANG=ja_JP.SJIS” as a valid command then you can try running “export LANG=ja_JP.SJIS” and then running the command, the problem with this method is that this makes all commands following it assume you’re on a Japanese computer and you thus need to close the terminal window and open a new one if you want to do something else.
It should recognize it as long as you prefix the wine-command with it and you make sure there’s a space between SJIS and wine (eg. “Morotsmanen:~ johannes$ LANG=ja_JP.SJIS wine /path/to/file.exe”)
Thank you so much for all your help! the game is working perfectly now! Again, thank you so much for the consistant help and advice!
You’re welcome.
“Or you can simply open a Finder-window where you locate the saya.exe-file, open a Terminal and type “LANG=ja_JP.SJIS wine ” and then drop the file from finder into the terminal after that to make it input the path automatically.”
LANG=ja_JP.SJIS wine /Users/spencer/.wine/drive_c/Program\ Files/NitroPlus/Saya\ no\ Uta/saya.exe
This was precisely what worked; it opened in Japanese. However, (and I can’t believe there’s still more, I’m sorry!) I now get a runtime error from x11. I’m not sure what to make of it, it claims that it is attempting its run time “in an unusual way”. It could simply be the file, but I’ll see what I can do.
Could you copy the error?
fixme:win:EnumDisplayDevicesW ((null),0,0x31f1e0,0×00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x31f1b0,0×00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x31f1e0,0×00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x31f1b0,0×00000000), stub!
fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)
First it gives this in terminal
Then it displays in the window (several katakana characters) game.ini (kanji)
With three options: One says A, one says R, and the other says I.
A, R, and I all result in “Runtime Error!
Program: C:¥Program Files¥NitroPlus¥Saya no Uta¥saya.exe
This application has requested the Runtime to terminate it in an unusual way.
Please contact the applications support team for more information.
I’ll have to wait until tomorrow to have my Japanese friend explain the error message to me… I’m afraid there’s not much else I can give, however could it be that my dragging and dropping the patch into the folder caused the issue? The game ran the first time I dropped the patch, however now that Japanese fonts are active, the game doesn’t function.
Wine dialogs are generally made so that you can copy the text from the message itself, try that.
“Kanji” and “Several katakana characters” doesn’t tell me much, but it could be that you’ve installed it wrong somehow. Maybe you didn’t run the installer in LANG=ja_JP.SJIS-mode?
Try reinstalling it, this time running the installer with the LANG-export.
cd “/Volumes/SAYANOUTA”;clear;LANG=ja_JP.SJIS wine ./install.exe
Would that satisfy the need to install it in Japanese?
I just uninstalled and reinstalled the game. I’ll see how this ends.
At the moment, it’s running flawlessly without the patch (in Japanese) so I’m assuming that it was my lackluster approach to the patch that led to the problem.
clear;cd ~/Desktop/;LANG=ja_JP.SJIS wine ./LangPatch.exe
I’ll try using this, however the patch I’m using appears to have multiple files, some of which replace the actual files in the game.
And I’m sorry about the japanese characters!
“To install the English localization of Saya no Uta, simply extract _patch.pak, saya.exe, system.dll, and \cg\ (all of which are contained in this archive)
to the directory of your existing installation of the original Japanese game.”
There is already a saya.exe file and a system.dll file in my game folder, so these functions overwrite the others. Just thought that may be helpful.
Seems you did it right then… Seems a bit strange to replace the EXE though, but if that’s what it says I guess it’s correct.
Does it work now? If not, try using cp (copy) in the terminal: “cp -rf ~/path/to/patch/directory/* /path/to/saya/installation/directory/”. The r forces it to copy directories, the f forces it to overwrite if there are already files at the destination and the “*” tells it to copy every file in the patch directory to the target directory, rather than the directory itself. Also make sure you don’t forget the last “/” or the results can be very strange.
Finder sometimes messes up permissions and the like, but cp doesn’t.
If it still doesn’t work, try “chmod 775 /path/to/saya.exe”, and if it still doesn’t work, “chmod -R 775 /path/to/saya/installation/directory/*”
Hey! Sorry for the delay; work had me busy for a while.
I have gotten it working, though. It seems that by overwriting the files by simply dragging/dropping them, I am able to play, however this doesn’t work if I open the .exe in my C drive with wine; Instead I have to open the installer on the cd which then starts the game. I’m not sure of the technical rationale, but it seems as though issues with opening installed files may be resolvable by opening the installer instead of the files themselves.
Thanks again for your useful guide and comments!
You’re welcome
Hi sry to bother you again, but when i downloaded the clannad.iso everything seems to work fine but its not translated. I looked around the internet and found that the “SEEN.txt” was the english patch and i had to replace it with the old one in the installation folder. I’m not sure where the installation folder is and what to do with the “SEEN.txt” tho, can you try helping me out?
The installation folder can be found by opening a Finder-window, pressing Shift+Command+G and typing “~/.wine/drive_c/” (~ = home) in the dialog that comes up. From there it’s a normal Windows-directory-structure, so your LB-folder would be in KEY/リトルバスターズ/ in that directory.
If you’re using the TLWiki-patch (http://tlwiki.tsukuru.info/index.php?title=Little_Busters!) like me, you should be able to just run the EXE with “LANG=ja_JP.SJIS wine “. If this doesn’t work, you can use The Unarchiver to extract the contained files. From there, just place all the files (not folders) in the extracted directory in the LB-directory, place the contents of the “KOE”-folder in the patch in the “KOE”-folder in the game directory, etc. Make sure you don’t just drop the folders directly in the game directory though, as that will overwrite the old folders with the new ones, and the new ones only contain the files that need changing, and you’d thus lack most of the game data among other things.
Ah, sorry, didn’t notice that you said Clannad. The instructions should be the same (they’re both using the same engine), but if it doesn’t work, could you tell me which patch you are using?
ah no, you’re original comment helped me a ton. i just had to replace the .txt and the translation worked fine. thx for all the help.
Do you know where a good place to find English patches is? I’ve been looking for one for Clannad and can’t find one anywhere.
Also, visual novels are just too expensive to have to go through this kind of process to make them work. Just had to complain for a moment.
Some good places to find translation patches are: (listed titles are examples, not complete lists)
* Baka-Tsuki (Clannad, Fate/Stay Night): http://www.baka-tsuki.org/project/
* TLWiki (Little Busters!, Chaos;Head, Saya no Uta): http://tlwiki.tsukuru.info/
* Mirrormoon (Fate/Stay Night, Tsukihime): http://mirrormoon.org/
Hey thanks for the awesome guide! Got a problem though, hoping you can help.
I seem to be good up to step 2.2 or 2.3, but then when I try to install the English patch it asks me to “Select the installation directory of Little Busters!” and to be honest I have absolutely no idea what to do… Any help would be greatly appreciated.
Okay, sorry, please allow me to elaborate on the issue, since I figured out more about it:
I have no problem finding the wine c drive (thanks to your search tips). However, there is no Little Busters! folder in the wine c drive that I can find, and the folder KEY/リトルバスターズ/ doesn’t exist either. So, the patch is asking me to select the installation directory, but I’m not sure there is one. As a test, I closed everything and tried again from step 2.1, but the same thing happened. I’m was pretty sure I followed the guide precisely, but since something is obviously wrong I must have messed up somewhere.
Did you make sure you installed it using the same account as the one you’re playing on? Wine creates a separate file hierarchy (eg. User A’s C-Drive isn’t the same as User B’s, unless you tweak the prefixes) for each user on the computer the first time they run a windows application, so if you installed using a different user you either have to redo it or move your “Wine-Prefix”. That last solution requires quite a bit of knowledge on how UNIX permissions and the terminal in general work, so I would recommend you to simply install it again.
If that doesn’t work, could you tell me how your “drive_c” directory looks?
By “account” and “user” I’m assuming you mean for the computer, and in that case yes, I am the only user on this computer. Plus, everything I type in Terminal has my name next to the commands. I suppose I could try starting over from step 1.1, but I’ll leave that for if I can’t make it work another way.
When I type “~/.wine/drive_c/” in Finder to get to drive_c, there then are three folders: Program Files, users, and windows. I tried browsing through them and I can’t find anything with KEY, LB, Little Busters!, or any Japanese characters.
The easiest solution to this would be to try reinstalling Little Busters!.
If that fails, try typing “rm -rf ~/.wine” to make it delete your “.wine”-directory and try again.
Here, let me walk you through what I’m doing so that you can see if I’m making mistakes:
First I type “rm -rf ~/.wine” to delete my “.wine” directory. Then, I type “winecfg” to recreate it. When I do, I get the following in the terminal:
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:iphlpapi:NotifyAddrChange (Handle 0x8fef54c, overlapped 0x8fef530): stub
wine: configuration in ‘/Users//.wine’ has been updated.
The Wine configuration window then pops up. I select to simply use “Default Settings.”
Proceeding to step 2.1, I enter the code you posted (except the file on my LB is Autorun_rlsmm.exe, so I type that instead) and the LB installatiom window (I’m assuming, since I can’t read Japanese) pops up.
After entering the first section of code for 2.2, I get the following in the terminal:
cp: /Users/patrickgriffin/.wine/drive_c/KEY/*/REALLIVE.EXE: No such file or directory
fixme:shell:SHAutoComplete stub
Then a window called “Little Busters! English Setup: Installation Folder” pops up and asks me to “Please select the installation directory of Little Busters!” It does not recognize the KEY file.
I’m thinking this may be due to how I’m using my REALLIVE.EXE file. It wasn’t preinstalled, so I downloaded it off the internet. Now it is on my desktop. From the looks of the code, it seems that it should be in drive_c, but I don’t know where to put it (or if I’m even doing things remotely correctly).
Sorry for all the trouble, and thank you very much for your assistance.
It’s pointless if you only download the REALLIVE engine, you still don’t have the game data.
Make sure you actually installed the game in the first place, if REALLIVE.EXE doesn’t exist it means something went wrong.
Try checking in the target dir if REALLIVE.EXE is actually there and called that; open Finder, press Command+Shift+G and type “~/.wine/drive_c/”, and navigate to KEY/リトルバスターズ. The filename is case sensitive, so if it’s actually installed there’s the possibility of it being called something like “REALLIVE.exe”, “RealLive.exe”, “reallive.EXE”, etc. If that’s the case, just change “REALLIVE.EXE” in the commands to whatever capitalization is used there. Note that you should ABSOLUTELY NOT change the name of the actual file; doing so is a surefire way of making sure it won’t work.
Okay, I reinstalled everything from scratch, and it seems to be working better. I have KEY in my drive_c and all that. Couple questions still, though.
1. When running the initial command (1.1) I get an error message at the end saying “error: 2Pong is not installed.” Does that matter?
2. I installed the game and applied the patch without difficulty, but I never got an option asking me to patch the REALLIVE.EXE on my desktop. Maybe it just patches it automatically…?
3. I ran step 2.2 and it seemed to execute correctly, but the game window is still in Japanese.
4. TextEdit won’t let me create “littlebusters.sh” and wants me to end the file with “.rtf.” Is that normal? Also, I’m not sure what to use as the path… DO I just drag my whole LB file into there?
5. Finally, running “chmod 755 ~/*.sh” doesn’t do anything, it says the file doesn’t exist.
Help please! I feel like I’m almost there.
1: It says in the text that some parts are supposed to fail with an error
2 & 3: Read the step about the patching again. You have to manually patch the game with a third-party patch, it won’t ask you to.
4: About the RTF extension, there’s a notice in the post telling you to go to Format -> Convert to Plain Text.
5: Since you didn’t save the file as .sh, of course there’s no file to CHMOD on.
The answer to all of those questions were in the text, and there’s no point in following instructions if you’re not really reading them and then asking why it doesn’t work.
Hello, I just want to thank you for these incredibly useful instructions. I’ve managed to get to step 2.1, where you mount the ISO. However, when I open up terminal to execute the proper command, I get the message “cannot find Autorun*.EXE”. I saw your comment regarding how the file is case sensitive, and I made sure that it was, copying everything down to the tee.
However it’s not showing up. :/ You said I could find the EXE in the iso using my finder, and inside, I didn’t see an Autorun.EXE. However, I saw an Autorun_rlsmm.exe and an Autorun.inf file. I tried using both, and the Autorun_rlsmm.exe file ended up bringing me to what I presume was the installer window on X11. Everything is in Japanese, and I tried installing it, but it wouldn’t download a certain file and that ended up closing the installer.
I think I’m doing it wrong, as I’m pretty sure I’m not supposed to download it manually but through the terminal, but I can’t find the Autorun.EXE file in the ISO that I downloaded.
Can you point me in the right direction or am I just not following the directions close enough?
Okay, not sure if this posted or not, so here goes.
First of all, THANK YOU SO MUCH FOR THESE INSTRUCTIONS. You give me hope.
I’m trying to play the VN Clannad. However, I’m stuck on step 2.1-installing the game itself. I have the iso mounted on my desktop, and I tried entering the command you said on the terminal, but I keep getting the “Autorun*.EXE file not found” error. I read the previous comment with the same problem where you stated that you could find the EXE in the iso itself but after looking through the whole disk image, I ended up only finding Autorun_rlsmm.exe and an Autorun.inf file. I tried running them both through terminal, but only it seemed to only recognize Autorun_rlsmm.exe.
It brought me to the Clannad installler window through X11, where I proceeded to manually attempt to download it to wine’s C drive. The installation ended up failing because it failed to download a certain file. All of this was in Japanese, so I couldnt understand the error.
My question is, am I ahead of myself? You’re supposed to download the game through the terminal, correct? Regardless, I can’t complete step 2.1 because I can’t find the appropriate Autorun.EXE file. I know it’s case sensitive, and after copying it down to a tee it still fails.
Am I just doing it wrong and failing to follow the instructions? Because honestly, I can’t find this Autorun*.EXE file anywhere, inside or outside the ISO. Do I need to find a different source? I don’t want to give up now, I’ve come so far.
I’m not sure what’s wrong here, could you post the error it gives you, or even a screenshot of the error window?
(Press Shift+Command+4, press Space and click on the error dialog to take a screenshot of only a single window)
And yes, Autorun_rlsmm.exe is the correct one. Some games use other names – usually Autorun_.exe – for their autorun-files for some reason. I’ve seen “Setup.exe” used too, as with Muv-Luv.
I’m having problems with step 2.1. For one, when I double-click the ISO file, it won’t open. And it won’t find the file either.I’ve changed the name of the file that goes in the terminal but it still won’t work. Sorry to bother, I’m not really good with computers so I don’t what to do.
If you reply lol, I got past the step I posted had trouble with earlier. Now my new problem is that whenever I put ~/LittleBusters.sh in X11, it doesn’t run Little Buster.
I’m not sure if it has to do with the script but an answer would be greatly appreciated.
Ah, sorry for the late reply, I’ve been pretty busy lately.
“It doesn’t run Little Busters” is a bit vague, what does it do? Does it print an error?
Actually when I start the game, the audio just turns off, and when I try to play it, it freezes. Not sure what to do.
Ok, since it didn’t work, I decided to re-install little busters and redo all the steps. When I launched the game, it still had no audio yet everything else seemed to work as there was no more freezing. But there still was no audio.
Try opening an X11-window, running “winecfg” (without the quotes) and selecting the Sound/Audio tab. This should cause it to auto-identify your sound card.
It doesn’t seem to work, I’ll keep trying. I run the “winecfg” as little busters is running, I don’t know if that’s how it should be done.
I’ll be more specific, the audio does come in but then doesn’t work after a few seconds.
That’s not how it’s supposed to be done. Close Little Busters!, run winecfg and then open LB again. Since this changes some fundamental things about Wine’s stream handling, you may want to restart your computer after you’re done with winecfg, just to make sure wine doesn’t get entangled in Apple’s sound systems (trust me, that happens).
Hi, I’m trying to install LB EX.
But with step 2.1 the setup is asking for disc 2, even though i have it mounted.
My only 2 choices are clicking OK, which just brings me back to the same question, and cancel, which cancels my installation ofcourse.
I tried doing this: cd “/Volumes/LB_EX_Disc2″;clear;LANG=ja_JP.SJIS wine ./Autorun_rlsmm.exe
But this won’t work either. Do you have any idea?
I’m sorry to disturb you, and thank you for your time.
I installed that game a few weeks ago and I also had this problem.
I have two solutions to this problem. The first one, that I realized might work after I’d used the second solution, is:
* mount Disc 1 (eg. open the ISO so that it gets registered as a mounted drive and you can browse the files inside)
* open an X11-window and run “winecfg” (without the quotes) and open the Devices/Drives tab, and keep that window and the X11-terminal it’s attached to open
* run the installer until it requires Disc 2
* mount Disc 2
* switch to the winecfg-window and memorize the letter before Disc 1 (don’t touch the Auto-Detect button!)
* remove Disc 1 from the drive list, and press “Add”; when asked for a letter, choose the one Disc 1 had
* point the new device to the Disk 2 device you mounted
* click Show Advanced and make sure the device’s Type is CD-ROM
* press Apply
* press OK in the installer window to continue the installation
If this doesn’t work, use the method I know works:
* Install until it asks for Disc 2
* Open a new X11 Window (Command+N)
* run the command “killall wine”; this should force-quit the installer
* mount Disc 2
* copy all folders from /SETUPDATA/GAMEDATA/ (bgm, koe, mov) to your desktop and change the folder names to uppercase (bgm -> BGM, koe -> KOE, mov -> MOV)
* now copy them into ~/.wine/リトルバスターズ!EX_ME_ALL/
With that you should be able to start the game
First, thank you for the great tutorial! I followed all of the steps through, and didn’t have any problems. However, when I type ~/littlebusters.sh into the X11 terminal window, it returns: “command not found”
Could you help me out? Thanks!
Which command isn’t found? I can’t help you without the entire error message since there are several commands that could be ‘not found’ in that script.
Well, the terminal window only returns “command not found,” but I managed to work around it by manually entering:
hdiutil attach <>
LANG=ja_JP.SJIS wine ~/.wine/drive_c/KEY/*/REALLIVE.EXE
which comment does it say isn’t found exactly? You should make sure you saved the script as Plain Text and not Formatted Text too
Hey, so i was working on this but im not sure if i even did the first step right.
I get to the end of the script run but then it says
Error:2pong is not installed
is it suppose to say that?
Also this happens when i run the script you give in 1.1
Thanks for all the help
some errors along those lines are to be expected. Does the rest of the script work?
Pingback: Happy Birthday Moogy! (*/∀\*)イヤン | Visual Novel Aer
I have yet to try the steps, but I just wanna ask, Rewrite have the region lock and there is a gajin patch out there,do I put the patch into the folder where Rewrite is like I would with my window PC?
Yes, that should work. Note, however, that while a game may be Wine compatible, the patch may not. You should try it and see.
I think I got filtered,lol. Sorry,anyway, does this work with the legit copy of Rewrite with it’s region lock? I know there is gajin patch but does it require any special steps in putting the patch into the folder on the Mac or is it the same as using it on my Window Pc? Thanks, probably some terrible grammar here -__-ll
Okay, so I have Wine and X11 and that Macports thing all going good. I entered the first command in terminal and it worked. Then I entered the second command (clear;winetricks corefonts;winetricks comctl32 comctl32.ocx d3dx9 d3dx9_28 d3dx9_36 dinput8 directmusic directplay dotnet20sp2 fontfix vb6run) directly after and it seems to be doing nothing. The ugly gray boxes that you say are supposed to appear have not. What am I doing wrong? I copied the command exactly. Does it just take a very long time? If I try and exit the Terminal page, it tells me that closing this window will terminate the running processes: login, bash, sudo, tclsh8.5, so I’m sure it’s doing something. Please help.
you should let it work for a while (up to ~5 minutes in rare cases), if it’s still not working, paste any output you get and I’ll see if I can figure it out what’s wrong.
When I tried to install the X11, it said that I couldn’t because there was already a newer version of the software on that disc. What should I do?
I’m not sure what you’re trying to do, why would you want to reinstall X11? It should be preinstalled already
As you may have recognized from my name, this will be the first time I actually try a visual novel and I am really looking forward to it. However, what really got me worried was the message from my terminal saying that improper use of sudo commands could lead to memory loss. Is it true, and could it really happen?
I will be looking forward to replies
Sudo lets you bypass quite a few security checks, in exchange for absolute authority over EVERYTHING. Using the power of sudo you can make your computer erase it’s hard drive if you feel like it, so you have to be careful not to let just anything do things through sudo.
Hi. I am trying to run a .sav visual novel file for Clannad. How do I do that on a Mac? What application should I use?
What you have there is a save file, you still need the actual novel.
I made a bit of a noob mistake, I tried to install Wine without first downloading all the parts required for MacPorts (i didn’t download the XCode part) and when I tried to install Wine, it didn’t work! I just want to know if i have to uninstall wine (which i don’t know how to, so if that is the case, i’d greatly appreciate help) or if I can just install Wine again when I have downloaded the XCode part, thanks for the great tutorial
You shouldn’t have to uninstall anything, just install Xcode and try again. It detects when running if you have everything you need, so if it can’t find XCode’s Command Line Tools package, it’ll simply exit.