Issue's trying to support extraction from grf from perl

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderator: Moderators

Message
Author
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Issue's trying to support extraction from grf from perl

#1 Post 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
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!

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

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

#2 Post 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 -_-
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.

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

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

#3 Post by kLabMouse »

I'll Take A look when I finish current part of the whole thing (For what is this little tool too).

Locked