Graviteam
May 18, 2013, 09:55:15 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Unpacking/Packing Files  (Read 1823 times)
0 Members and 1 Guest are viewing this topic.
benpark
Hauptmann
***
Posts: 36


« Reply #15 on: January 17, 2012, 01:34:16 AM »

Okay, back at it. 

I can't get the unflat to unpack anything.  I have-

1. Set up a folder "users/modwork/my_addon". 

2. Made a copy of "01_02_07_volokonovka_ger.campack2" from the new addon (placing it in my "users/modwork/my_addon" directory)

3. Ran unflat and selected the "01_02_07_volokonovka_ger.campack2" in the popup selection window

4. Selected view all file types, and noticed the contents of the file are now visible

5. Tried selecting individual files, as well as the file itself and pressed "open"

6. Checked both folders ("my_addon" and "modworks") for the exploded contents, both are empty.  There is also no text record in the "out" folder

Odd?
Logged
Flashburn
Generalfeldmarschall
*****
Posts: 1319



« Reply #16 on: January 17, 2012, 01:43:17 AM »

odd folder is just for error messgaes when you compile campaigns...er I think Grin

Gawd I love having 2 monitors, one to work on one to be a nerd.  LOL.  Ok thats not important....random thought.

Ok so you run unflat....nothing happens at all?  No file structure? 
Logged
benpark
Hauptmann
***
Posts: 36


« Reply #17 on: January 17, 2012, 01:46:33 AM »

Yeah, nada, no beans, nothing.  I could swear I heard some faint number crunching happening from the computer, but no luck.

Should the "modwork" folder only have unflat and mkflat in it? 
« Last Edit: January 17, 2012, 01:48:40 AM by benpark » Logged
Flashburn
Generalfeldmarschall
*****
Posts: 1319



« Reply #18 on: January 17, 2012, 01:52:34 AM »

Just your copied campaign you want to unpack.  run the .cmd files from where they where.  that might be the problem.  Basicly those call on programs buried into the game structure.   I would think it would work there too..........but er ya. Tongue
Logged
Flashburn
Generalfeldmarschall
*****
Posts: 1319



« Reply #19 on: January 17, 2012, 01:54:56 AM »

YA DONT do that lol just tried that.  no go
Logged
benpark
Hauptmann
***
Posts: 36


« Reply #20 on: January 17, 2012, 02:01:21 AM »

Strange...I can see some folders in the directory that aren't there anymore (the locked ones):



Logged
Flashburn
Generalfeldmarschall
*****
Posts: 1319



« Reply #21 on: January 17, 2012, 02:09:58 AM »

Ok was like WTF.  Ok you are running unflat from docs folder, correct?  The campaign you want to mod is in modwork, correct?  Now why locked folders?Huh?  Check the last two.


 If it still does it try another camp...... I still have not gotten that one yet  Cry  But I have alot of unfinished campaigns before I get there.  Is it good? Maybe some sort no touchy feature?

On another note that screen shot you made may have solved one of my issues with localized languages.  Been trying to figure out how to get multi language into one campaign.  Im guessing in that folder text_loc_upd there is an english version, russian version and a german version.
« Last Edit: January 17, 2012, 02:24:08 AM by Flashburn » Logged
randall.flagg
Major
****
Posts: 97


Email
« Reply #22 on: January 17, 2012, 02:51:47 AM »

Thats odd, when I unflat something the output is in the same folder as the packed file.
Logged
Flashburn
Generalfeldmarschall
*****
Posts: 1319



« Reply #23 on: January 17, 2012, 02:54:28 AM »

Thats odd, when I unflat something the output is in the same folder as the packed file.

Ya thats what should happen......wierd. 
Logged
benpark
Hauptmann
***
Posts: 36


« Reply #24 on: January 17, 2012, 02:00:02 PM »

So I seem to be doing the process correctly, but it isn't working for some reason (?).  Strange indeed. 

I'll revisit this after work tonight, but if Andry (or anyone else) spots a flaw in my process above, please let me know.  I may reinstall if not to see if that sorts the issue out.
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!