Feeds:
Posts
Comments

Sorry for the very long delay guys, but I have been extremely busy and have been unable to write up a tutorial or work on this until today.

Anyway here is what you need to do to get Umineko working on your device.

What works:
* Game
* Saving
* Red text etc

What doesnt:
* Movies (ie the OPs)
* Back logs is buggy (the spaces are screwed up, but works)
* Some animations (e.g. stuff like the clock, swirling)

You need:
* Jailbroken iPhone / iPod Touch (I have an iPhone 3GS with OS4.0.1 – Should work on older firmwares)
* Umineko no Naku Koro ni, with the latest patch from Witch Hunt (not the installer, but the zipped version)
* ONScripter tools (get them from here: http://onscripter.denpa.mobi/releases/)
* The files that I put together here (umineko-iphone.zip), this includes the onscripter-en binary that I compiled: http://www.mediafire.com/download.php?7c22u1d12urzhi2 or http://ifile.it/noxi8pe/umineko-iphone.zip

These steps are quite brief, if you are not sure about how to do something, try checking out my Tsukihime tutorial from a while back (it’s quite detailed and similar).

1. Create a new folder called “Umineko” somewhere on your computer. Copy every single file from your Umineko installation folder (excluding the .dlls, .exes and the Witch-Hunt patch folder) into it.

2. For all the arc.sar files (i.e. arc.nsa, arc1.nsa …), rename them so that all the numbers after the arc name is incremented by 1. That is, arc.nsa -> arc1.nsa, arc1.nsa -> arc2.nsa etc.

3. Now paste the contents of the patch folder into the Umineko folder, the arc.nsa file should not get overwritten since we have renamed them.

4. Use nsaconv from the ONScripter Tools package to convert the images in all the archives to the right size. It’s a commandline tool, so to use it open up Command Prompt/Terminal, and cd into the directory with the nsaconv binary and type this for each nsa archive in the Umineko folder:

nsaconv -j -q 80 640 422 path_to/Umineko/arc.nsa arc.nsa
(If you’re on Mac/Linux you’ll have to type ./nsaconv instead of just nsaconv)

Replace path_to/Umineko/arc.nsa and arc.nsa with the appropriate values. What this does is converts the original arc.nsa inside the Umineko folder we have and creates a new arc.nsa archive in our current folder (ie the folder with nsaconv.exe).

Update: Or alternatively use this GUI tool (for windows):

http://www.geocities.jp/stm_torm/ons/tool.html

And choose 66% for “Percentage resize:”

After you’ve converted them all, cut and paste the new converted archives and replace the old ones into the Umineko folder.

5. Copy the Umineko folder onto your iDevice, so that its path is “/User/Media/ons/Umineko”.

6. Now copy the Umineko.app folder from umineko-iphone.zip into /Applications/Umineko.app.

7. Chmod /Applications/Umineko.app/onscripter to 755. Chmod the entire folder recursively “/User/Media/ons/Umineko” to 777.

8. Respring, look for the new Umineko icon, and play.

You can follow this tutorial for EP6 too, although you’ll have to change around stuff  in the Umineko.app folder and rename things to like UminekoEP6.app etc.

If you encounter any problems, just post a comment below and I’ll do my best to help you. As I was writing this I was also doing the steps myself to ensure that everything works.

Extra notes (important):

If you encounter any graphic problems that are the result of the nsa converter, or if you find the quality of the converted images to be too low, you can use “nsaconv 640 422 path_to/Umineko/arc.nsa arc.nsa” instead, although this adds quite a bit of size.

There is a problem with one of the BGM filenames (ロウソクたちが踊る.ogg) that causes the game to crash. To get around this, rename it to something like BGM1.ogg. After this you’ll have to extract 0.txt from nscript.dat using nscdec (from ONScripter Tools), and replace all instances of that filename with BGM1.ogg. Copy 0.txt into User/media/ons/Umineko and delete the old nscript.dat (make a backup somewhere though).

I’m not sure if there are any more filenames that cause this problem, but you can do the same thing for them (and I don’t think it is all Japanese filenames, just some). Update: “犯行の予告状読み上げ(ラック眼力).ogg” also causes the game to crash.

If it does not run

If the game crashes (and you do not see a set of buttons on the side before it does), and you have followed all the instructions correctly, then you are probably on OS 3.x or older. Try to chmod the folders recursively to 755, and if they still don’t work try this:

(Adapted from my Tsukihime Tutorial)

Open up MobileTerminal or ssh into your device and use these commands:

su root
(type in your password when it asks for it – again “alpine” by default)
apt-get install ldid
ldid -S /Applications/Umineko.app/onscripter
sysctl -w security.mac.proc_enforce=0 security.mac.vnode_enforce=0
chown -R root:admin /Applications/Umineko.app

So I had a sudden brainwave today and realised that I could try to compiled an older version of onscripter-en for iPhone and see what happens. The newer ones I managed to compiled just wouldn’t work and crashes as soon as it is run.

I managed to get a working (but rather old) version of  onscripter-en to compile after some changes to the source code (mostly commenting out stuff).

Now Umineko no Naku Koro ni seems to work without any problems (although I can’t save right now, and sometimes an annoying black line appears on the screen when sprites appear). Red text etc should work as green text works.

So after I fix the saving problem, I’ll write up a tutorial for Umineko.

UPDATE: I’ve fixed the saving problem. Expect a release/tutorial soon.

UPDATE 2: Also works for Umineko EP6.

Too bad there’s still no wordwrapping, I’ll see what I can do.

Colored text works.

Saving/Loading works:

Here are the builds of onscripter for iPhone/iPod Touch (latest version). I’ve tested them with OS 4.0.1 (not sure if it still works with 3.1.x, if someone still has that please test). Report any problems you might find by commenting below.

I’ve made two builds, a normal onscripter and one that works for Tsukihime (so replace the files from my Tsukihime tutorial if you want to play it on iOS4, make sure you edit Info.plist and SDLAppParam.plist – see comment below).

Normal:

http://www.mediafire.com/download.php?6zm9afc8lvcrkc4

Tsukihime Version:

http://www.mediafire.com/download.php?c5aaoupcp9g55u9

Please give credits if you use these in any games that you might port.

Onscripter on iPhone iOS4

UPDATED: Everything seems to be completely working, I’ll release after testing some more stuff.

Haven’t made a post in a long while, but I managed to sort of get onscripter to work on iOS4. Right now sound doesn’t work, onscripter buttons/menus (the white thingos on the side (fixed that)), and the status bar blocks out a bit of the screen (which i fixed by editing Info.plist to hide the status bar). I’ll try to get those other things fixed I think everything is fixed.

Meanwhile here’s a screenie (old):

I’m using iOS 4.0.1 on an iPhone 3GS.

Just realised that Ogapee released a new version of onscripter 2 days ago, so I went ahead and compiled it.

Here it is:

http://rapidshare.com/files/366619829/iphoneos_onscripter-20100320_english.zip

If I have time, I’ll try to compile onscripter-en for iPhone too (which should hopefully fix the problems with Umineko).

Update:

After changing some things in the script, i managed to get it to half-work

No more squinting to read the text, the text is much bigger than the other VNs I’ve converted =) I guess the font size for the other games could have been changed in the script, but then I’m not sure if everything would fit inside the screen….

But as you can see, the spacing between the words is screwed up atm, I’ll look more into it later.

Old:

Another VN I have converted, although it was a failure:

The menu loads fine, and I select chapter 1. I see a series of explanation screens, and finally i see a background and an old guy come up. But before a single line of text was displayed, it crashed 😦 I guess I’ll try to figure out what the problem is later… It’s probably something in the script….

I attempted to get Narcissu to work on my iPhone and it seems like it has worked. And it was much easier to convert compared to Tsukihime. I didn’t have to make any changes to onscripter or the script itself and it took me literally about 5 minutes. All I did was resize the images.

Small title screen though, can barely make out the menu items.

Sound mode

The beginning (voices work too)

What you need:

1. Open up the converter (If it does not run then install the .NET framework)

2. Browse for the path of your Tsukihime install and the path that you’d like the converted files to go to.

3. Press convert. Everything should be straightforward from here. Wait for a message box to pop up to say that the conversion has finished.

4. Go to the output folder. You’ll find two new folders there: “Tsukihime” and “Tsukihime.app”. Copy the contents of these two folders to your iPhone with iFunBox to these paths: “/User/Media/ons/Tsukihime” and “/Applications/Tsukihime.app”. Create the “ons” folder if it’s not already there. If you do not have root file access to your iPhone, go into Cydia and install afc2add.

5. Install OpenSSH from Cydia.

6. Get your iPhone/iPod Touch IP address through Settings -> Wi-Fi -> Click the arrow button next to the network you’re connected to.

7. Open up FileZilla. Connect to the IP you just got from your device with port 22. The username is “root” and the default password is “alpine”.

8. CHMOD the folders you just copied to 777 (Right click -> File Attributes). Make sure you have checked the “Recurse into subdirectories” option.

9. Open up Putty or MobileTerminal (Install from Cydia). And input these commands (If you are on firmware 4.X chances are you won’t need these):

  1. su root
  2. (type in your password when it asks for it – again “alpine” by default)
  3. apt-get install ldid
  4. ldid -S /Applications/Tsukihime.app/onscripter
  5. sysctl -w security.mac.proc_enforce=0 security.mac.vnode_enforce=0
  6. chown -R root:admin /Applications/Tsukihime.app

10. Respring your device. A “Tsukihime” icon should have appeared.

11. Play 🙂 The white buttons on the right from top to bottom are: Esc, Enter, Ctrl, Up, Down.

If you have any problems/questions, leave a comment here.

Unfortunately, the endings that you reach do not register in your save so you won’t be able to reach the Far Side routes unless you download a completed global.sav and copy it onto your device.

UPDATE:

A user called William Thieme made an icon set for this and posted it in the comments. Here it is for convenience:

also I created an icon set for it:
just rename to icon.png and paste into /Applications/Tsukihime.app (don’t forget 777 permissions)

Retina display (iPhone 4 and iPod touch 4):
http://img254.imageshack.us/img254/5171/iconsz.png

Non-Retina Display (Everything else):
http://img37.imageshack.us/img37/6493/iconqa.png

I’ve just managed to compile onscripter with ENABLE_1BYTE_CHAR and FORCE_1BYTE_CHAR on my iPhone toolchain (thanks to iPodOns for providing instructions in compiling the required libraries). I’ll now try looking at the source code patch by mirror moon for Tsukihime and try to get it to work with this.

Download:

http://rapidshare.com/files/359631966/onscripter-20100131a-iPhone-English.rar

UPDATE: Tsukihime with the complete save file and Eclipse menu worked after I changed the source code according to mirror moon =)

An unexpected problem…

UPDATE 2: I have fixed this by compiling onscripter with the source code changes that mirror moon made.

Ok. So I was playing through the near side routes seemingly without any problems. I looked at my endings list and found that none were unlocked even though I’d played through the 2 Ciel endings and the true Arc ending. This means the far side routes can’t be played 😦

I did some research and found that psp users using onscripter for tsukihime face the same problem probably because mirror moon edited onscripter before using it for their translation patch.

UPDATE: It seems that mirror moon has released a source code patch for onscripter-en to work with Tsukihime. I’ll try to edit the source code for onscripter and compile it for iPhone.