Jump to content
  • 0

Online GRF Creation (via PHP?)


Sunzuke

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   3
  • Joined:  02/24/12
  • Last Seen:  

Hello everyone.

 

So I found this little script here: http://rathena.sourceforge.net/tools/login_background/

and wondered if anyone could tell me how to create a GRF via php (or linux [w/o installations])?

 

I will be thankfull for every help. 

 

 

 

Solved. Thanks to Brian (:

Edited by SaZzuke
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   3
  • Joined:  02/24/12
  • Last Seen:  

hmm.. I just found the exe on nachtwolke so I downloaded yours from http://rathena.sourceforge.net/tools/login_background/rsupack

 

if(!shell_exec('./rsupack')) echo "fail";

returns fail

 

my console (as root) response: (correct path)

-bash: ./rsupack: No such file or directory

although the file definitely exists

 

sorry  :( does anyone know why?

Edited by SaZzuke
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   3
  • Joined:  02/24/12
  • Last Seen:  

Yea I saw that source, nice work.

 

but even when I use your svn with exactly the same files but nothing else it doesn't work

gryff calls the output grf an invalid archive

 

I guess because the grf in readfile($rsupack_output_grf); output grf doesn't exist because shell_exec('./rsupack'); doesn't work for me

 

-------------

I asked in the commet section and they suggested to use "WINE rsupack.exe" and it worked :D ~Thanks

Edited by SaZzuke
Link to comment
Share on other sites

×
×
  • Create New...