Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Package scenario for distribution hang

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> Package scenario for distribution hang Page: [1]
Login
Message << Older Topic   Newer Topic >>
Package scenario for distribution hang - 5/13/2016 11:09:01 AM   
WBailey

 

Posts: 32
Joined: 1/6/2016
Status: offline
I am trying to make a new scenario and include with it overlays that automatically load on start up with the scenario attachment system. When I add the overlays as attachments and click package scenario for distribution Command creates a 0 byte zip file and then hangs forever. I just made a test scenario and although it adds some stuff to the zip file (perhaps the comma in my real scenario is also a problem?) Command still hangs and also the name of some of the files are incorrect (the scenario file name is shortened somehow).

Am I missing a step? I couldn't find anyone discussing this feature outside of the blog post introducing it, so perhaps an update broke it at some point?

Steps to reproduce:
0. Extract zip to Command Modern Air Naval Operations\Scenarios
1. Load example scenario in the editor
2. Click editor -> package scenario for distribution
3. Input a zip file name
4. Command hangs without becoming unresponsive according to Windows (all input causes an error noise)
The error noise is similar to when clicking on another part of a program while a dialog box that does not allow this is open.

Thanks!
P.S. Bonus points if you can guess what my scenario is about from the included overlay

Attachment (1)

< Message edited by WBailey -- 5/13/2016 11:11:25 AM >
Post #: 1
RE: Package scenario for distribution hang - 5/13/2016 12:00:52 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Tired a few times and it worked okay for me. Using latest build??

Put the files in to its own directory before packaging. And create a Attachment sub-directory and copy the attachments to it.
The attachments should under a GUID type directory as in the zip


Attachment (1)

< Message edited by michaelm -- 5/13/2016 12:27:50 PM >


_____________________________

Michael

(in reply to WBailey)
Post #: 2
RE: Package scenario for distribution hang - 5/13/2016 12:11:31 PM   
WBailey

 

Posts: 32
Joined: 1/6/2016
Status: offline

quote:

ORIGINAL: michaelm

Tired a few times and it worked okay for me. Using latest build??

Put the files in to its own directory before packaging.


Hm, maybe it is something specific to my install. After 1.11 came out I deleted and reinstalled. Running Windows 10 64 bit, is there a way for me to generate better logs that might shed some light? I took a look at the ones in the Logs folder and they contained nothing relevant.

(in reply to michaelm75au)
Post #: 3
RE: Package scenario for distribution hang - 5/13/2016 12:29:01 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
The zip worked but it did not have the actual attachments. I removed the attachment thru the Editor, and add the attachment again. This time the packaging worked - the zip has a GUID directory with the attachments. This GUID directory is moved to the AttachmentRepo directory when the scenario is loaded.

_____________________________

Michael

(in reply to WBailey)
Post #: 4
RE: Package scenario for distribution hang - 5/13/2016 12:40:47 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Walkthrough:
1. Load scenario
2. Go into Scenario Attachments via Editor
3. Remove the old attachment
4. Click on Create new.. and select the newoverlay.png file
Check the attachmentRepo directory (in main game directory). You should see a new one (possibly 3da95459-0dd5-478e-bda9-5fa6131b0be2) with your files in it.
5. Package for distribution. It should copy the directory from the Repo to your game folder and include it in the ZIP.

When you load the scenario, the GUID directory is moved to the Repo directory.

< Message edited by michaelm -- 5/13/2016 12:51:27 PM >


_____________________________

Michael

(in reply to michaelm75au)
Post #: 5
RE: Package scenario for distribution hang - 5/13/2016 12:49:04 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
The 'attachmentRepo' directory holds the attachments from all scenarios (including campigns) and can be used as a source for including existing attachments in new scenarios.

_____________________________

Michael

(in reply to michaelm75au)
Post #: 6
RE: Package scenario for distribution hang - 5/13/2016 12:49:58 PM   
WBailey

 

Posts: 32
Joined: 1/6/2016
Status: offline
That was the procedure I followed, I just tried it again and it still hangs. Perhaps I can put the zip together manually though.

(in reply to michaelm75au)
Post #: 7
RE: Package scenario for distribution hang - 5/13/2016 12:51:28 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Can you see a directory in the Repo with your files?

_____________________________

Michael

(in reply to WBailey)
Post #: 8
RE: Package scenario for distribution hang - 5/13/2016 12:56:35 PM   
WBailey

 

Posts: 32
Joined: 1/6/2016
Status: offline

quote:

ORIGINAL: michaelm

Can you see a directory in the Repo with your files?


Yes I can. Could you upload a copy of the zip you get from packaging for distribution? I can't make one so I'm not sure of its structure.

(in reply to michaelm75au)
Post #: 9
RE: Package scenario for distribution hang - 5/13/2016 12:57:13 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
See post #2

_____________________________

Michael

(in reply to WBailey)
Post #: 10
RE: Package scenario for distribution hang - 5/13/2016 1:01:35 PM   
WBailey

 

Posts: 32
Joined: 1/6/2016
Status: offline

quote:

ORIGINAL: michaelm

See post #2


Ah, didn't notice. Thanks

Also, since I didn't post it, here is the zip I get when I package for distribution my test scenario. Notice the different structure and the file name shortening.

Attachment (1)

(in reply to michaelm75au)
Post #: 11
RE: Package scenario for distribution hang - 5/13/2016 1:09:27 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Yea. Weird it losing first part of each file and directory. The last portion of GUID directory is correct. Wonder if there is some WIN10 setting or such coming into play???

_____________________________

Michael

(in reply to WBailey)
Post #: 12
RE: Package scenario for distribution hang - 5/13/2016 8:41:33 PM   
mikmykWS

 

Posts: 11524
Joined: 3/22/2005
Status: offline
Thanks guys. Added to our work list.

We'll take a look

Mike

_____________________________


(in reply to michaelm75au)
Post #: 13
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> Package scenario for distribution hang Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.689