Tuesday, July 22, 2008

xsystem35安裝建置

Linux 平台上的System3.5!

竟然看到這東東

於是google找到最值得參考的文章
Ubuntuでxsystem35を試してみた

日文的耶
沒錯~日文的

但是只要有愛可以克服一切難題的XD

那~以下就開始進行安裝建置

Step01 : 下載xsystem35(download xsystem35)

http://8ne.sakura.ne.jp:20008/chika/unitbase/xsys35/download.html

最新版

Step02 : 下載遊戲(download games)

Alicesoft Games Download Page

Step03 : CloneCD to iso

$ccd2iso KICHIKUOU.img KICHIKUOU.iso

參照: http://dolphin2005.blog.so-net.ne.jp/2008-03-28

Step04 : 安裝(install)
% tar xvfz xsystem35-(version).tar.gz
% cd xsystem35-(version)
% ./configure
% make
(スーパーユーザになって)
% make install
出来たバイナリは /usr/local/bin/ 以下にインストールされます。

注意需要gtk1.XX、Ogg、VORBIS等套件

Step05 : 環境構築(configuration)

編輯.xsys35rc並複製到家目錄底下

參照http://dolphin2005.blog.so-net.ne.jp/2008-03-28-3

修正点はフォント関連のみ
  修正箇所:
   使用するフォントデバイスの選択
   9行目:コメントを取る
    font_device: ttf

   使用するフォントの指定
   16,18行目:コメントアウトする。
    #font_mincho: ...
    #font_gothic: ...

   使用するフォントの指定 for FreeType
   26,27行目:下記のように訂正する。
    ttfont_mincho: /usr/share/fonts/truetype/ipa/ipam.ttf
    ttfont_gothic: /usr/share/fonts/truetype/ipa/ipag.ttf

   True Type フォントのエンコード方式を指定
   31,32行目:コメントを取る
    ttfont_mincho_code: jisx0213
    ttfont_gothic_code: jisx0213

   True Type フォントのフェイス指定
   35,36行目:コメントを取る
    ttfont_mincho_face: 0
    ttfont_gothic_face: 0

Where to download jp fonts : 1 2

Step06 : 修正xsystem35-*/contrib/instgame
line24 : $cdrom_dir = "/mnt/cdrom"; (粗體為修正後結果)

Step07 : 掛載映像檔
$cd /mnt
$sudo mkdir cdrom
$sudo mount -t iso9660 -o loop kichikuou.iso /mnt/cdrom

Step08 : 安裝遊戲(example : 鬼畜王ランス)
% cd contrib/
% ./instgame kichiku.inf

Step09 : 啟動
% xsystem35 -gamefile ~/game/kichiku.gr(mkdir game)




已經跑完一輪了XD

No comments: