07-01-2012, 02:40 PM
Welcome. I have a small problem.
I'm created packing system to RMXP.
To depack resources I used the application Depack.exe. Sample use of depack.exe from cmd is:
('Audio/BGM/Grass.mid') is the path of the resource
I try to make a method get_res in RGSS to use this application to depack resources.
Application depacks resource from PAK file to 'temp.rbx'.
It's my method, but this doesn't work.
Can any people help me solve this?
I'm created packing system to RMXP.
To depack resources I used the application Depack.exe. Sample use of depack.exe from cmd is:
Code:
depack.exe 'audio/bgm/grass.mid'I try to make a method get_res in RGSS to use this application to depack resources.
Application depacks resource from PAK file to 'temp.rbx'.
It's my method, but this doesn't work.
Code:
module PAK
def self.get_res(res)
Thread.new(res){ system('depack.rb') }
end
endCan any people help me solve this?

