[RUBY] Depack Thread Problem
#1
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'
('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.

Code:
module PAK
def self.get_res(res)
Thread.new(res){ system('depack.rb') }
end
end

Can any people help me solve this?
}


Messages In This Thread
[RUBY] Depack Thread Problem - by Narzew - 07-01-2012, 02:40 PM
RE: [RUBY] Depack Thread Problem - by Narzew - 07-20-2012, 01:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   The z-space problem of displaying sprites icogil 28 12,601 03-05-2023, 03:31 AM
Last Post: DerVVulfman
   Name Detector? (More info in thread) justpassingby 8 12,072 10-13-2017, 06:02 AM
Last Post: justpassingby
   The Self Data Suite support thread PK8 0 3,682 07-18-2015, 09:41 PM
Last Post: PK8
   Problem with drain script form the ATOA ACBS Djigit 2 5,545 07-12-2015, 09:17 PM
Last Post: Djigit
   Event collision problem with FPLE script ThePrinceofMars 2 5,770 11-11-2014, 06:30 PM
Last Post: ThePrinceofMars
  Custom meter problem daylights 13 16,140 08-12-2013, 03:34 AM
Last Post: daylights
   Ruby, RGSS & General Code Discussion Kain Nobel 6 10,875 12-22-2012, 05:11 AM
Last Post: MechanicalPen
   Advantages & Charlie Fleed CTB problem Yin 7 11,972 12-12-2011, 03:45 PM
Last Post: Yin
   Charlie Fleed's CTB - Problem with dual wielding characters MegaPowerNinja 2 5,857 04-25-2011, 09:51 AM
Last Post: Charlie Fleed
   Slight problem with Omega Quest script. Boot 4 8,647 03-08-2011, 02:53 AM
Last Post: BlackDragon 31



Users browsing this thread: 3 Guest(s)