Linux version?

Caution: Flying pans at low altitude.

Moderator: Staffers

Linux version?

Unread postby deimios » November 28th, 2006, 10:37 am

Where can I find the linux version of the patch? I can help betatest if needed. I have extensive linux experience.
deimios
Totally hardly posted
 
Posts: 2
Joined: November 28th, 2006, 10:32 am

Unread postby Message » November 28th, 2006, 2:58 pm

Nowhere, we still don't have a working linux compile of our modified ONScripter build. The line about the linux version in the readme was left in there by accident. Several people have tried to compile ONS so that it will work on all linux platforms without trouble, but I have yet to see a working copy I'm afraid.
User avatar
Message
Master of Bad Puns
 
Posts: 1845
Joined: October 25th, 2004, 6:27 pm
Location: Netherlands

Unread postby deimios » November 30th, 2006, 7:19 pm

Is the source available? Might aswell have a whack at it. I can't read japanese though.
deimios
Totally hardly posted
 
Posts: 2
Joined: November 28th, 2006, 10:32 am

Unread postby Azzy » January 15th, 2007, 10:47 pm

http://www.zshare.net/download/onscript ... e-zip.html

A static linux binary built on current Debian unstable. It will probably work on any system with a relatively new libc.
You'll need default.ttf, nscript.dat, arc.sar and arc.nsa, as described in http://mirrormoon.org/news/2007-01-15-t ... ux_and_osx
.

Here is a patch required to build it in on debian:
Code: Select all
diff -ur onscripter-20060724-insani/Makefile.Linux.insani onscripter-20060724-insani.new/Makefile.Linux.insani
--- onscripter-20060724-insani/Makefile.Linux.insani    2006-06-28 19:00:28.000000000 +0400
+++ onscripter-20060724-insani.new/Makefile.Linux.insani        2007-01-16 00:36:49.000000000 +0300
@@ -23,7 +23,19 @@
 #DEFS = -DLINUX -DUSE_AVIFILE -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DFORCE_1BYTE_CHAR

 # with OggVorbis and English mode and insani
-LIBS = -static -z muldefs -Wl,--start-group `sdl-config --static-libs` `smpeg-config --libs` -lSDL_ttf -lfreetype -lSDL_image -ltiff -lpng -lSDL_mixer -lbz2 -lz -ljpeg -lm -lvorbis -lvorbisenc -lvorbisfile -logg -lgpm -lncurses -lslang -ldirectfb -lfusion -ldirect -lvga -ldl -lesd -lartsc -lasound -lX11 -laa -Wl,--end-group
+LIBS = \
+-static -z muldefs \
+-lSDL_mixer -lSDL_ttf -lSDL_image `sdl-config --static-libs` `smpeg-config --libs` \
+-lfreetype \
+-ltiff -lpng -lSDL_mixer \
+-lbz2 -lz -ljpeg -lm \
+-lvorbisfile -lvorbisenc -lvorbis -logg \
+-ldirectfb -lfusion -ldirect -lvga \
+-ldl -lesd -lartsc -lasound \
+-laa -lX11 -laudio -lXau -lcaca -lcucul \
+-lncurses -lslang \
+-lgpm \
+
 DEFS = -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DFORCE_1BYTE_CHAR -DINSANI

 EXESUFFIX =


The build process is as simple as
Code: Select all
make -f Makefile.Linux.insani

after applying both patches.
Azzy
Totally hardly posted
 
Posts: 1
Joined: January 15th, 2007, 10:35 pm

Unread postby Yurand » January 15th, 2007, 11:47 pm

I tried to compile onscripter at my amd64 Gentoo.

onscripter keep chashing in SDL_Init function until I removed "-static" from LIBS. Here is patch I need to apply to make it work.

Code: Select all
--- Makefile   2006-06-28 19:00:00.000000000 +0300
+++ Makefile.Linux.insani   2007-01-16 01:31:02.000000000 +0200
@@ -23,7 +23,7 @@
 #DEFS = -DLINUX -DUSE_AVIFILE -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DFORCE_1BYTE_CHAR
 
 # with OggVorbis and English mode and insani
-LIBS = -static -z muldefs -Wl,--start-group `sdl-config --static-libs` `smpeg-config --libs` -lSDL_ttf -lfreetype -lSDL_image -ltiff -lpng -lSDL_mixer -lbz2 -lz -ljpeg -lm -lvorbis -lvorbisenc -lvorbisfile -logg -lgpm -lncurses -lslang -ldirectfb -lfusion -ldirect -lvga -ldl -lesd -lartsc -lasound -lX11 -laa -Wl,--end-group
+LIBS = -z muldefs -Wl,--start-group `sdl-config --static-libs` `smpeg-config --libs` -lSDL_ttf -lfreetype -lSDL_image -ltiff -lpng -lSDL_mixer -lbz2 -lz -ljpeg -lm -lvorbis -lvorbisenc -lvorbisfile -logg -lgpm -lncurses -lslang -ldl -lasound -lmikmod -lX11 -Wl,--end-group
 DEFS = -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DFORCE_1BYTE_CHAR -DINSANI
 
 EXESUFFIX =

Yurand
Totally hardly posted
 
Posts: 6
Joined: December 18th, 2006, 11:10 pm
Location: Minsk, Belarus


Return to Tsukihime Chat

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron