grftoolいんすこメモ
二回目のインストールをすることになったので、
三回目もあるかもしれんので、メモしとくだけの簡単な(ry
ダウンロード
このへん http://sourceforge.net/projects/openkore/files/GRF%20Tool/1.2.0/grftool-1.2.0.tar.bz2/download
解凍して、install.sh 実行。
PREFIXが /usr/local になってるが、気に食わなければ変更する。めんどいのでこのまま
./install.sh: line 41: scons: コマンドが見つかりません
って言われたので、 sudo apt-get install scons 。
エラーすぎるwwww
てことなので、apt-cache search liblz して出てきたのを入れてみるけど、解消せんな…
が、zlib1g-dev 入れたら通った。
gktまわりのコンパイルでこける(いらんからどうでもいいんだが)→install コマンドがこけてる → /usr/local/ 以下にいろいろ入ってくれねぇ → めんどくせえもう適当でいいや
\(^o^)/
っと、スプライトのやつもあったんだ…
と今頃気付いたりする今日このごろでした。
てか、今妄想してるやつを書いてサーバで動かしたらスゲーやばい負荷かかるんじゃね?とか思ってるのは内緒です。
自宅にあるLinuxマシン起動すっかな…。
三回目もあるかもしれんので、メモしとくだけの簡単な(ry
ダウンロード
このへん http://sourceforge.net/projects/openkore/files/GRF%20Tool/1.2.0/grftool-1.2.0.tar.bz2/download
解凍して、install.sh 実行。
PREFIXが /usr/local になってるが、気に食わなければ変更する。めんどいのでこのまま
./install.sh: line 41: scons: コマンドが見つかりません
って言われたので、 sudo apt-get install scons 。
$ sudo ./install.sh
scons -Q
scons: warning: The env.SourceSignatures() method is deprecated;
convert your build to use the env.Decider() method instead.
File "/home/noriko/grftool-1.2.0/SConstruct", line 40, in
SCons.Script:47: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.
GTK frontend will be disabled.
scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/home/noriko/grftool-1.2.0/SConstruct", line 77, in
scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/home/noriko/grftool-1.2.0/lib/SConscript", line 3, in
scons: `lib/static/libstatic-grf.a' is up to date.
gcc -o tools/grftool tools/grftool.o -Llib/static -Llib -Llib/zlib -lstatic-grf -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
scons: *** [tools/grftool] Error 1
エラーすぎるwwww
/usr/bin/ld: cannot find -lz
てことなので、apt-cache search liblz して出てきたのを入れてみるけど、解消せんな…
が、zlib1g-dev 入れたら通った。
gktまわりのコンパイルでこける(いらんからどうでもいいんだが)→install コマンドがこけてる → /usr/local/ 以下にいろいろ入ってくれねぇ → めんどくせえもう適当でいいや
cp ~/grftool-1.2.0/tools/grftool /usr/local/bin/
cp ~/grftool-1.2.0/tools/gxtool /usr/local/bin/
cp ~/grftool-1.2.0/tools/spritetool /usr/local/bin/
\(^o^)/
っと、スプライトのやつもあったんだ…
と今頃気付いたりする今日このごろでした。
てか、今妄想してるやつを書いてサーバで動かしたらスゲーやばい負荷かかるんじゃね?とか思ってるのは内緒です。
自宅にあるLinuxマシン起動すっかな…。



![ゼクシィ首都圏版 2012年 02月号 [雑誌]](http://ecx.images-amazon.com/images/I/61pmoVkMchL._SL480_.jpg)








