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...
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
Issue's trying to support extraction from grf from perl
Moderator: Moderators
-
- Super Moderators
- Posts: 801
- Joined: 06 May 2008, 12:47
- Noob?: No
Issue's trying to support extraction from grf from perl
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
Re: Issue's trying to support extraction from grf from perl
If we have trouble compiling to xs, then yes using the cli might work.
Or we can port the library to pure perl -_-
Or we can port the library to pure perl -_-
Got your topic trashed by a mod?
Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.
Have a nice day.
Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.
Have a nice day.
Re: Issue's trying to support extraction from grf from perl
I'll Take A look when I finish current part of the whole thing (For what is this little tool too).