Page 1 of 1

Issue's trying to support extraction from grf from perl

Posted: 13 Aug 2009, 12:51
by Technology
For the automatic table file extraction idea we need to be able to issue grf extraction.
So, i've started working on this and made the grflib compilable.
This is my first attempt to make anything XS related and for some reason the perl extraction script runs but get stuck on loading the compiled dll.
I guess that I don't like XS and it doesn't like me back... :roll:

1) run make_xs.cpp.pl to let perl auto-generate grf.xs.cpp from grf.xs
2) cd to the folder with cygwin
3) build with cygwin
4) run grf.pl (it seems to get stuck on loading the dll) (and yea grf.dll has dependencies on cygwin1.dll and cygz.dll...)

Any idea's?
We might be able to use the cli from grftool instead.

download

Re: Issue's trying to support extraction from grf from perl

Posted: 14 Aug 2009, 04:07
by kali
If we have trouble compiling to xs, then yes using the cli might work.

Or we can port the library to pure perl -_-

Re: Issue's trying to support extraction from grf from perl

Posted: 14 Aug 2009, 16:36
by kLabMouse
I'll Take A look when I finish current part of the whole thing (For what is this little tool too).