![]() |
|
Technical Issues For bug reports, problem solving, and help running Japanese software. |
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Hello, I'm trying to compile Haeleth's onscripter on IRIX using MIPSPro cc and as and ld from the GNU binutils collection. I get this error when compiling smpeg:
Code:
as: Error: /usr/people/shinichi/source/onscripter-en-20080823/extlib/src/smpeg/video/mmxflags_asm.S, line 54: must give attribute values for new section .section .note.GNU-stack,"",%progbits gmake[1]: *** [mmxflags_asm.lo] Fehler 1 gmake: *** [extlib/bin/smpeg-config] Fehler 2 Code:
#ifdef __ELF__ .section .note.GNU-stack,"",%progbits #endif |
#2
|
|||
|
|||
![]()
It looks like it's trying to compile MMX-related stuff, which obviously won't work on MIPS. You can poke at Hæleϸ's configuration scripts to try to fix it so that it configures properly for your system, but I'd recommend just compiling all of the dependencies separately, installing them on your system, and then using those instead of using the internal libraries provided with ONScripter-en.
|
#3
|
|||
|
|||
![]()
I managed to get it to compile on AIX 6.1, easier since I used GCC (GCC apparently makes better code for POWER than it does for MIPS). Screenshot soon. I'm downloading some stuff from al|together 2008 to test this, hopefully they're NScripter.
Oh, and I tried to get Saya no Uta working, but I couldn't get my head past the .pak files. Is it really a NScripter novel? |
#4
|
|||
|
|||
![]()
[shinichi@monolith:LEAVEs] ./onscripter-en
setkinsoku: "vxjnpABCDEHIRSTUX[","uwimo" Setting English mode based on filename Adding: . Adding: .. And it just uses around 33% kernel and 17% user CPU and doesn't display a window. Anybody care to guess what's going on here? At first I thought maybe insufficient privileges to access video, but when I ran it as root, the same thing happened. |
#5
|
|||
|
|||
![]() ![]() 196kb is too small for an image! So I found that the ONScripter version included with LEAVEs was two weeks newer than the 20080823 version I compiled. So I downloaded OMGWTFOTL from al|together 2006. Fullscreen doesn't scale the image, you just get a small square surrounded by borders. That seems to be a common thing on every Unix I've used. As you can see, sound isn't working. I don't know what to do about it, because XMMS now refuses to start on my machine (must be because I upgraded glib or gtk). I'll have to get XMMS working again to confirm that sound is working on my machine before I get around to sound for ONScripter. Now I have to admit, I'm getting out of my bounds here. I don't know jack shit about programming, I just took a 1 semester course in C programming... twice. So please don't ask me to code up some sound module for AIX, because I can't. Last edited by ritchan; 2009-08-03 at 15:52. |
#6
|
|||
|
|||
![]() ![]() I've got to admit, even though Narcissu is old, it looks really professional. I'm real happy it runs. |
#7
|
|||
|
|||
![]()
Sound now works. Turns out because the system SDL_mixer installed from perzl.org/aix depends on esound, I just had to run esd and it'd work. Dunno why I forgot about that.
Also, it seems the ONScripter can terminate unexpectedly. All it says is: Quote:
|
#8
|
|||
|
|||
![]()
So I compiled the latest version on ONScripter:
Quote:
Quote:
|
#9
|
|||
|
|||
![]()
Fixed LEAVEs... apparently once I removed game.id, the window suddenly sprung up. I assume it's because of the different line breaks between Windows and Unix (CR+LF vs LF), which confused my compiled onscripter to no end. To test, I made an empty game.id. Onscripter hung again. I edited it with vi. Because vi inserts a LF, it works.
![]() Last edited by ritchan; 2009-08-04 at 04:16. |
#10
|
|||
|
|||
![]() Quote:
|
#11
|
|||
|
|||
![]()
I managed to get it to work by using the ONSlaught tools (crypt.exe) to extract 0.txt from the nscript.dat, and using a text encoding converter to convert the entire script from Shift_JIS to UTF8, then re-xor84-ing it back into a nscript.dat. The resulting nscript.dat doesn't work with the binary provided in the Umineko4 patch for Windows. The opening water drop sound works, I can hear the seagulls crying at the title screen, but once I start an episode, the BGM becomes static noise.
![]() ![]() As you can see, the opening video plays perfectly, with working audio, 50% utilization on both POWER4 cores. However, BGM music has become static noise. Is something wrong with vorbisfile? I can hear when the BGM ends and is repeated... but then it repeats and I hear static again. At this point, when I return to the title screen, the seagulls have become static noise as well. EDIT: It seems that not only that, the seagulls are playing at twice their speed because esd is fixed at 44kHz while the .wav files that comprise sound effects in Umineko are 22kHz. The Vorbis BGM is in 44kHz, but surely that couldn't have resulted in static. All the other VNs I tested were using mp3s. Now the question is: how are vorbis files played? Is libvorbis doing the decoding? If so, then how do I fix it? Last edited by ritchan; 2009-08-04 at 05:40. |
#12
|
|||
|
|||
![]()
Hi ritchan,
Sorry I didn't see this thread sooner. Have you tried compiling the current ONScripter-EN from http://svn.haeleth.net/onscr/trunk/ ? It fixes a lot of issues. Of course I can't be sure how well it will compile for you, but please give it a try. Mion (Sonozaki Futago-tachi) |
#13
|
|||
|
|||
![]()
Yes I have, in fact, the last 3 screenshots were taken with the SVN ONScripter-EN. I think the problem lies with my system's libvorbis, so I'm compiling with --with-internal-libs passed to configure, although that has problems of its own. Will post those later.
|
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with compiling xclannad for Windows Mobile | Zer0_byt3 | Technical Issues | 5 | 2011-06-28 05:03 |
Problems compiling xkanon | Freakker | Technical Issues | 16 | 2005-12-09 12:31 |