
I did quite a bit of searching and couldn’t find any documentation explaining how to get this to work, and decided since no one else has done it and a couple of people had asked me about it I thought I might as well write it down. My distro in this case is Ubuntu 8.10 (Intrepid Ibex) and I’m using the Umineko Episode 4 package.
First thing to get working is to install Onscripter-en for Linux. Unfortunately Onscripter binaries are not provided by anyone and you won’t find the latest versions in the Ubuntu repositories as far as I’m aware. This means you’ll have to build from source. Luckily it’s easy.
1. Prepare Your Build Environment
Note: if you’re in Ubuntu and have never built programs from source before, you will need to install the build-essential package. You will also need to grab gnome-devel as this is the quickest way to make sure we also grab the X11 headers - otherwise your onscripter will build without the ability to draw graphics.
sudo apt-get install build-essential gnome-devel
I also found that my default Intrepid install was missing one library, libasound, which you can also pick up easily via apt-get:
sudo apt-get install libasound
2. Build ONScripter-EN
Next, grab the ONScripter-EN Source. You want to grab source code with dependencies version, unless you want to track down all the various dependencies yourself. It’s mainly just sdl, sdl_mixer, sdl_ttf, sdl_image and bzip2 libraries. Personally I do a bit of tinkering with SDL periodically so I already had the development headers for these. If in doubt, grab the dependencies version! Untar the file and enter the created directory.
./configure
make
sudo make install
Check Onscripter runs by invoking it from the command line:
onscripter-en
It should complain about not having arc1.nsa and a few other things.
IMPORTANT NOTE: Ubuntu Intrepid (and I suspect Hardy - 8.04 - and possibly even Gutsy - 7.10) use GCC 4.3 as their standard compiler. It likes to throw up warnings telling developers that they don’t understand the precedence of the && and || operators and should add parentheses. Helpful sometimes, but in this case Haeleth treats warnings as errors so building will fail. There’s fixes for this in their Subversion repository but they are not yet in the current code release. So by default, the make step will fail. To fix this, after you run ./configure, open the Makefile that ./configure creates, search for all instances of -Werror and delete just that text (not the whole line). Or check out the latest unstable build from SVN.
3. Installing the Game
Make a directory for the Umineko install. I just placed this in a folder in my Home directory:
mkdir ~/umineko4
Insert your Umineko 4 disc, or mount the ISO if you’re a dirty pirate. I’ll assume you understand about mounting ISOs if you are, if you don’t there are lots of guides out there (consult google). The manpage for mount is a good reference too. The disc should mount normally, but for mounting the ISO make sure you use -t iso9660 -o utf8. There are some files with Japanese characters in their names and you definitely need them.
We’re going to copy the BGM, ME, movie, screenshot, SE and sys_se directories to ~/umineko4, then copy the contents of the fullsrc directory to ~/umineko4.
Assuming that your disc is mounted to /media/cdrom (if not, replace /media/cdrom with your mount point):
cd /media/cdrom
cp -r BGM ME movie screenshot SE sys_se ~/umineko4
cp fullsrc/* ~/umineko4
4. Installing the Patch
Grab the Episode 4 translation patch from Witch Hunt:
http://witch-hunt.com/stage.html
Unzip the Episode 4 zip to the ~/umineko4 directory. This should give you a subdirectory in there named [WH] Umineko English
5. Running the game
Change into that directory and run Onscripter-en. If all goes well, you should see Umineko start up with the english translation. If you want, you can rename the directory - I renamed mine from [WH] Umineko English to just english.
Great!, I was looking how to get working the umineko game.
I tried b4 with wine, but never ends to install.
Thank you very much
Linux is an open source operating system. I think poor country uses open source operating system.
I think alinur is a poor guy indeed. Thank you very much, it’s pleasant seeing other linux users otaku.
Thanks bro, you saved my life!
I really appreciate it, I’ll try it at night.
I assume libasound may now be replaced with libasound2;
sudo apt-get install libasound2
Should be the case, yes.
I’m getting some errors thrown around about not recognizing various esd parameters (during make in the onscripter compiling):
~/downloads/onscripter-en-20080823/extlib/lib/libSDL.a(SDL_esdaudio.o): In function ‘Audio_Available’:
SDL_esdaudio.c:(.text+0×35): undefined reference to `esd_open_sound’
SDL_esdaudio.c:(.text+0×50): undefined reference to `esd_close’
~/downloads/onscripter-en-20080823/extlib/lib/libSDL.a(SDL_esdaudio.o): In function `ESD_CloseAudio’:
SDL_esdaudio.c:(.text+0×3af): undefined reference to `esd_close’
~/downloads/onscripter-en-20080823/extlib/lib/libSDL.a(SDL_esdaudio.o): In function `ESD_OpenAudio’:
SDL_esdaudio.c:(.text+0×4f7): undefined reference to `esd_play_stream’
collect2: ld returned 1 exit status
And my Google-fu is horrible, apparently, because I can’t find any up-to-date information on how to fix these errors.
Any help would be great, thanks ^^
I haven’t seen those before. It looks like the dependencies included with Onscripter don’t link properly against your own audio libraries.
There is always the onscripter build in the ubuntu repositories (universe, I think). It’s older than the latest stable build, but not significantly so. Haven’t tried it to see whether it works with Umineko 4.
If you’re game, enable the universe repos, sudo apt-get install onscripter and then skip to step 4. Let me know if that works, because it’ll be a much better approach than building from source.
Additionally, if you want to compile using newer SDL libs, you need:
- libsdl1.2-dev
- libsdl-image1.2-dev
- libsdl-mixer1.2-dev
- libsdl-ttf1.2-dev
- libsmpeg-dev
- libbz2-dev
And any dependencies they require.
If you do it this way, you only need the onscripter base sources, not the dependencies version.
Hey. I tried this in Debian. I tried compiling and also using the binaries from Ubuntu/Debian repositories, but it seems it has problems finding the files. It says “This patch is not installed correctly.” The Japanese version works just fine with the Japanese version of ONScripter. But the patch doesn’t. Also it seems it doesn’t find the cursor since I just get a white square instead of the arrow. I also can see the Japanese filenames fine so I don’t think it’s the Japanese unicode…
Does anybody has a similar problem?
My installation on Ubuntu works ok, but I’m using source code+dependency supplied here. I copied the windows patch folder into the umineko folder. Afterwards I go the patch folder and run onscripter-en from that location. Afterwards it ran smoothly. The only fault I can find for now is a minor animation at ??? section of the game. At the part where the witches appears, the animation there is missing. I think for the rest of the game the same animation is missing. But it doesn’t case any other problem nor does it make the game crash.
Hey, thanks for the guide!
I found this because I needed a way to run Umineko in multiple machines by carrying it around in a USB drive, but the saved games on Win32 were a pain to trick into staying on the local folder instead the system’s %APPDATA%.
Just after finding a workaround on Win32 I tried to use it through Wine, but my tiny batch file didn’t do the trick.
Frustrated, I google’d a bit and now I’m compiling as per this how to, hoping the native onscripter-en will let me chose where to place my data.
I’ll be back in a while with any findings I stumble upon.
btw, the Win32 workaround was a .bat file containing three lines:
SET ALLUSERSPROFILE=%CD%
SET APPDATA=%CD%\Application data
onscripter-en.exe
Placed in the english patch folder, of course.
Good, I managed to compile after a few tries.
The SDL development libraries you mentioned in a comment are absolutely necessary to get sound and video working.
For the “lazy”, this should take care of dependencies on an Ubuntu 8.10 system (Linux Mint 6 in my case):
sudo apt-get install build-essential gnome-devel libasound2 libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf1.2-dev libsmpeg-dev libbz2-dev
Removing all -Werror instances from the Makefile helped, too.
I’ll try getting around to the unification of the save files now. At first glance they just go in ~/.Umineko4final
Also, I tried the onscripter from the repositories, and it’s not working properly as reported by hurrdurr
Guess what.
It’s really simple.
All I ever had to do was run it like this… (win32)
onscripter-en.exe -s .\savedata
…and it’d use a “savedata” folder in the current directory.
And then, on linux:
onscripter-en -s ./savedata
A simple .bat for windows and a .sh for linux should do the trick.
Now… I must BLOG about this!
Ok, maybe tomorrow.
Nice detective work, some fairly useful information here. Let me know if you do collect together and post your findings on your own blog, I’ll update the entry with a link.
All I had to do was create a directory and patch it as I would on Windows, and run OnScripter.exe in WINE. I can’t create a working shortcut to it, but it works perfectly if launched via WINE. The only problem I’ve experienced is that using CTRL to skip scenes sometimes makes the whole thing crash, but S seems to work fine when I need to fast-forward, even if it’s a little slower. It took me about 2 minutes to get Umineko running on my Kubuntu laptop…about 30, 45 minutes configuring it all on my Vista desktop.
Honestly if the Ubuntu maintainers simply kept ONScripter up to date in the repositories then it would be a 2-minute job to get things installed natively in Linux too.
My thoughts exactly.
That’s partially why I’m taking this long to write my post: I’m learning how to roll a .deb package to go with it.
No promises, tough.
I’m also trying to track down the specific build dependencies for the latest ONScripter.
Getting the gnome-devel metapackage seems a little bit too exhaustive and space-consuming…
Also, it wouldn’t be appropriate for KDE and XFCE users.
Today I’ll try building the latest ONScripter on a clean install with just the build dependencies of the old version in the repositories and track down everything else manually…
$ sudo apt-get build-dep onscripter
Can someone help me with this thing a little bit. I’m running Fedora 11 Leonidas and I’ve the latest source code for the onscripter-en. However the onscripter has some problems compiling. It just blurts out this string on nonsense before dying out.
g++ -c -O2 -Wpointer-arith -Werror -fomit-frame-pointer -pipe -Wall -DUSE_X86_GFX -Iextlib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -Iextlib/include/SDL -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DINSANI -DHAELETH ONScripterLabel_command.cpp
ONScripterLabel_command.cpp: In member function ‘int ONScripterLabel::savescreenshotCommand()’:
ONScripterLabel_command.cpp:1139: error: invalid conversion from ‘const char*’ to ‘char*’
make: *** [ONScripterLabel_command.o] Error 1
Erasing the lines with -Werror didn’t help. Please help me.
I published the first version of the guide I was writing:
http://atanok.wordpress.com/2009/09/05/how-to-run-umineko-no-naku-koro-ni-en-portable-and-multi-os/#more-131
Let me know if you find any errors so I can fix them.
I still need to test some stuff.
you’re a god!
nice tutorial, simple and easy to understand. thanks for share I need it
hi, good day thank you for share
çok güzel bir seslichat sitesi
@derp: Probably a bit late for this, but in case anyone else is having this problem, I got around it finally. Running Fedora 11, couldn’t get it to work, now I’m on Fedora 12 Constantine and it finally came through. after typing ./configure, make, do su -c ‘make install’.
Also, it helps to do su -c ‘yum install smpeg-libs’ before running ./configure. Finally, there’s a better maintained onscripter-en repo at:
http://onscripter.denpa.mobi/?page_id=26
sudo apt-get install build-essential gnome-devel
What in the world am I supposed to do with this? Type it somewhere? Nad where do I “grab” this stuff? I would apperciate som help, ty.
Type it in on the command line. apt-get installs packages for you from the Ubuntu development repositories.
Incidentally you can skip a whole lot of this now - all you need to do is install onscripter-en from the Ubuntu repository as the build in there has been brought up to speed again. Skip steps 1 and 2, and instead simply:
sudo apt-get install onscripter-en
Then proceed from step 3.
Alternatively if you’re not comfortable using the command line, you can use synaptic or aptitude depending on whether you’re using Gnome or KDE as your environment.
good archive thanks
Thank you for sharing ..
Buddy your article really good children, ah, collection, and later often.