[RUBY] Depack Thread Problem - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Games Development (https://www.save-point.org/forum-4.html) +--- Forum: Code Support (https://www.save-point.org/forum-20.html) +--- Thread: [RUBY] Depack Thread Problem (/thread-4218.html) |
[RUBY] Depack Thread Problem - Narzew - 07-01-2012 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: 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 Can any people help me solve this? RE: [RUBY] Depack Thread Problem - Narzew - 07-20-2012 To close. I solve it myself. To make thread: arguments = 'Audio/Bgm/Grass.mid' Thread.new{ system("depack.rb #{arguments}") } |