Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

ARTPACK -- A WITP:AE Plane Art Repacker

 
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] >> War in the Pacific: Admiral's Edition >> Scenario Design and Modding >> ARTPACK -- A WITP:AE Plane Art Repacker Page: [1] 2   next >   >>
Login
Message << Older Topic   Newer Topic >>
ARTPACK -- A WITP:AE Plane Art Repacker - 5/30/2018 11:17:09 PM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
This is a program I've had on my hard drive for a bit. I'm releasing it to the greater community to help with your mega-mods.

ARTPACK, 6 MB ZIP

What it does is it helps automate the creation and exchanging of plane artwork using a common art format; because while it may be easy to add the first 10 alpha masks to the files, when you get to slot #200, errors creep in -- I actually found alignment errors in the original stock Matrix alpha masks.

The common format is contained within the zip as "Blank.png" in "NEW_ART", but here is a preview:


USN F7U Cutlass SilverWings.PNG

Instead of having to deal with three different art files, you only have to deal with one, and they're kept all together for ease of flipthrus.

How it works

When you run PLANEPACK.exe it asks you:

quote:

▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒WITP:AE PLANE ART REPACKER▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Input CSV file name to be used to generate artwork.
Enter the name only, not the extension as well.
For example: GERMANPLANES not GERMANPLANES.CSV
FILE NAME:


Typing in

German loads German.csv

I've included an example German.CSV file:

The only section of the CSV the program reads are the SLOT_ID and FILENAME; the NATIONALITY and DESCRIPTION fields are there to help you remember what that thing you did was...two years later.

quote:

SLOT_ID DESCRIPTION NATIONALITY FILENAME
1 BF-110D-3 Nazi Germany GER Bf-110D-3 WITM.PNG
2 BF-110E-1 Nazi Germany GER Bf-110E-1 WITM.PNG
3 Bf-110G-2 Nazi Germany GER Bf-110G-2 WIR.PNG
4 BLANK SLOT Nazi Germany GER Bf-110G-4 BTR.PNG
5 BLANK SLOT Nazi Germany GER BV 138 WITM.PNG
6 BLANK SLOT Nazi Germany GER BV-141B Shep.png
7 BLANK SLOT Nazi Germany GER BV-155 BTR.PNG
8 BLANK SLOT Nazi Germany GER Do-17P-1 WIR.PNG
9 BLANK SLOT NONE Blank.png
10 BLANK SLOT NONE Blank.png
11 BLANK SLOT NONE Blank.png
12 BLANK SLOT NONE Blank.png
13 BLANK SLOT NONE Blank.png
14 BLANK SLOT NONE Blank.png
15 BLANK SLOT NONE Blank.png
16 BLANK SLOT NONE Blank.png
17 BLANK SLOT NONE Blank.png


After selecting the CSV file to use, it then asks you:

quote:

▒WHAT SIDE IS BEING REPACKED?▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒1.) ALLIED SIDE (faces left on tops)▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒2.) AXIS SIDE (faces right on tops)▒▒▒


This is because I started the program as part of a greater "random scenario creator" to allow US vs US or JAP vs JAP balanced play, so some form of automatic mirroring would be needed.

After selecting the side to repack, it runs for a few seconds, then goes

WITP:AE AIRCRAFT ART REPACKED.
HOLDING FOR KEYPRESS TO ACKNOWLEDGE...


And in the /DUMP folder, you find either

A_PlaneSide.bmp
Aptop.bmp
Aptop_alpha.bmp

or

J_PlaneSide.bmp
Jptop.bmp
Jptop_alpha.bmp

depending on which option you selected.

Folders are:

DUMP: Finished files are exported here.
GFX: This folder contains the raw files used as a base by the program.
NEW_ART: This folder contains the art files referenced in your CSV.
SOURCE: This folder contains the source code for the program.

To support this program, I developed art-ripping programs to read the artwork for other Grigsby games using this style:

Original WITP/War Plan Orange
Eagle Day/Bombing the Reich
Original WITP:AE

Here's a rip dump from Eagle Day:



The files are named according to what slot they were in, e.g. ED_PlaneArt_Axis033.png is Axis Slot 33.

It's really hard to figure out what is what, because some art in ED/BTR was left on the cutting room floor from the finished game.

I'm actually quite unsure as to whether to post the "rips" because it's still copyrighted by Matrix, etc; from a different game.

< Message edited by RyanCrierie -- 5/30/2018 11:20:26 PM >


_____________________________

Post #: 1
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 5/31/2018 12:53:52 AM   
btd64


Posts: 9973
Joined: 1/23/2010
From: Mass. USA. now in Lancaster, OHIO
Status: offline
Looks like a helpful program. Thanks....GP

_____________________________

Intel i7 4.3GHz 10th Gen,16GB Ram,Nvidia GeForce MX330

AKA General Patton

WPO,WITP,WITPAE-Mod Designer/Tester
DWU-Beta Tester
TOAW4-Alpha/Beta Tester

"Do everything you ask of those you command"....Gen. George S. Patton

(in reply to RyanCrierie)
Post #: 2
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 5/31/2018 8:32:24 AM   
RichardAckermann

 

Posts: 271
Joined: 12/4/2015
Status: offline
+1
Great work! This looks really cool.

(in reply to btd64)
Post #: 3
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 5/31/2018 9:08:17 AM   
Dili

 

Posts: 4708
Joined: 9/10/2004
Status: offline
Great. Thanks Ryan.

(in reply to RichardAckermann)
Post #: 4
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 5/31/2018 11:30:49 AM   
traskott


Posts: 1546
Joined: 6/23/2008
From: Valladolid, Spain
Status: offline
Great! Big art air data mod with all planes in 3,2,1....

(in reply to Dili)
Post #: 5
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 5/31/2018 6:29:45 PM   
Vipersp

 

Posts: 144
Joined: 12/6/2014
Status: offline
Awesome Ryan!

Great tool indeed;
Glad to see my art work used by you

Vipersp

(in reply to traskott)
Post #: 6
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/2/2018 6:53:59 PM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
I've been working a little on it; and have discovered the following easter eggs in WITP-AE Art:

Allied Art Slots:

450 OS2U-3 Kingfisher with Landing Gear

453 -- PB2Y-3R Coronado -- PB2Y-3s converted by Rohr Aircraft Corp as freighters with faired-over turrets, side loading hatch, and seating for 44 passengers, 31 built.

Aren't used (AFAIK) but they have art.

Slot

271 is a A-20A Havoc without an exhaust pipe. Wonder if it was meant for the A-20 version or...

< Message edited by RyanCrierie -- 6/2/2018 7:31:33 PM >


_____________________________


(in reply to Vipersp)
Post #: 7
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/2/2018 6:57:17 PM   
btd64


Posts: 9973
Joined: 1/23/2010
From: Mass. USA. now in Lancaster, OHIO
Status: offline
The Kingfisher is in the RHS mod....GP

_____________________________

Intel i7 4.3GHz 10th Gen,16GB Ram,Nvidia GeForce MX330

AKA General Patton

WPO,WITP,WITPAE-Mod Designer/Tester
DWU-Beta Tester
TOAW4-Alpha/Beta Tester

"Do everything you ask of those you command"....Gen. George S. Patton

(in reply to RyanCrierie)
Post #: 8
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/3/2018 12:33:38 PM   
DFN

 

Posts: 15
Joined: 5/7/2017
Status: offline
Thank you Ryan!

Please consider that there are more cans for your can-opener. War in the Med (Witp), War in the Med (WitpAE), War in Russia (Witp), Reluctant Admiral, RHS, Bottlenecks, AltWNT etc etc.

(in reply to btd64)
Post #: 9
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/3/2018 1:22:16 PM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
quote:

Please consider that there are more cans for your can-opener. War in the Med (Witp), War in the Med (WitpAE), War in Russia (Witp), Reluctant Admiral, RHS, Bottlenecks, AltWNT etc etc.


You rang?




Attachment (1)

_____________________________


(in reply to DFN)
Post #: 10
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/3/2018 1:24:11 PM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
Or this?




Attachment (1)

_____________________________


(in reply to RyanCrierie)
Post #: 11
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/3/2018 1:38:35 PM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
I haven't done the planes for Alt WNT; looking up the AirArt Readme for it, I see that the new art that Alt WNT used for the allies was largely by me. I really should go back and try to improve those arts to fit the WITP-AE style now that I have Photoshop, not Paint Shop Pro.

As for Japan, I see that AltWNT used my He100D for the MIKE.




Attachment (1)

_____________________________


(in reply to RyanCrierie)
Post #: 12
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/3/2018 1:38:42 PM   
DFN

 

Posts: 15
Joined: 5/7/2017
Status: offline

quote:

ORIGINAL: RyanCrierie


You rang?



I did, but probably the wrong bell
I mean i have the cans (mods), would you consider releasing the can-opener (ripper)?

(in reply to RyanCrierie)
Post #: 13
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/3/2018 1:39:08 PM   
traskott


Posts: 1546
Joined: 6/23/2008
From: Valladolid, Spain
Status: offline
And we could combine them into a new ART File?

(in reply to RyanCrierie)
Post #: 14
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/3/2018 3:23:27 PM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
Here's the next iteration of PLANEPACK:

50~ MB ZIP

The reason for it being so big (48MB~) is I've included "plane cards" for a lot of things.

PLUS

Dali's WITM Plane Sides/stuff are included in ART as an example to demonstrate PLANE_SLOTDUMP; a program that will dump a single slot; I built it to "debug" my CSV repack files for stock WITP-AE; to find "easter egg" art in the official game art, that was not actually used by the program.

---------

Folders are:

ART: This folder contains WITP Original Art to be ripped.

DUMP: Finished files are exported here.

GFX: This folder contains the raw files used as a base by the program.

NEW_ART: This folder contains the art files referenced in your CSV.

SOURCE: This folder contains the source code for the programs.

PLANE_PACK_Hold_On_Exit.bat
This batch file runs

"C:\WINDOWS\system32\cmd.exe /K PLANE_PACK.exe"

So that the window doesn't close instantly on an error. Useful for debugging.

---------

To build an "official" WITP AE side, load PLANE_PACK.exe

and type in either

WITP-AE_Allied (for allied artwork construction)
or
WITP-AE_Axis (for axis artwork construction)

To modify it; CTRL-C

WITP-AE_Allied.csv

and rename it as say

WITP-AE_Allied_MOD.csv

Open that file in your usual format for editing CSV (Comma Separated Value) files.

and in the FILENAME column, change Blank.png to:

\WarOptions\FRA Curtiss CW-77 WarOptions.PNG

etc to "pack in" the new item.

BIG NOTE This file contains "stripped" plane cards from the Matrix Games'

WITP:AE
War Plan Orange
Eagle Day to Bombing the Reich

I am unsure about including them in this collection -- if Matrix feels this is violating their copyright on the artwork; just edit the link in my post to break it and let me know via PM, or in this thread. Thanks.

< Message edited by RyanCrierie -- 6/3/2018 3:30:21 PM >


_____________________________


(in reply to traskott)
Post #: 15
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/3/2018 3:31:46 PM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
I've also toyed with a program doing the same, but for ships. I've built crude rippers, but nothing to repack them (yet).






Attachment (1)

_____________________________


(in reply to RyanCrierie)
Post #: 16
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/3/2018 3:58:32 PM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
Thinking some more about the ships, I could just store them as blank silhouettes (the pink files) and then dynamically generate the top artwork on the fly:

A.) Do you want nationality flags in the corner?

B.) Do you want stock background art, or do you want darkness or overcast backgrounds?

_____________________________


(in reply to RyanCrierie)
Post #: 17
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/3/2018 5:53:31 PM   
DFN

 

Posts: 15
Joined: 5/7/2017
Status: offline
Great idea!
A. No.
B. Stock.

Can we have a plane_slotdump ripper for whole strips or should we post the strips here and let you do the ripping?

(in reply to RyanCrierie)
Post #: 18
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/3/2018 10:10:45 PM   
Dili

 

Posts: 4708
Joined: 9/10/2004
Status: offline
For me

A.) option. aesthetically no, but might be useful for ships that belong to nations that are not represented in the game.
B.) i think more variety is welcome.

(in reply to RyanCrierie)
Post #: 19
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/5/2018 1:32:01 AM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
Block III, with some new programs.

Block III Download, about 67.3 MB

WHATS NEW:
More Plane Cards Premade in NEW_ART

CARDCREATOR_ALLIED
CARDCREATOR_AXIS
: These program(s) take premade three file artwork files and generate a CARD for use with PLANE_PACK.

Included is a sample of MMR's Fleet Air Arm Sea Fox in Pre War Colors.

To use, you place the three images you want to combine in this directory, run the ALLIED or AXIS variant, and type in the name of the file; in this case:

FAA_Sea_Fox_PreWar_MMR

It will then look for files with the following name prefixes:

_Alpha
_Side
_Top

and combine them into a single card; dumping it into the directory.

If you chose the right program, everything will face LEFT. If not, use the other program.

The reason I did ALLIED/AXIS versions is I was doing a lot of repacking and it got tiring to enter 1 or 2 (Allied or Axis) each time I ran the program.

PLANE_RIP: This thing will rip the plane artwork from files located in \ART, and it will use the witploadAE.exe CSV dump files to figure out what is what and generate the names -- the dump file that will be used is the WITPair[scenario #].csv file.

I've helpfully included a pre-dumped CSV file for WITP-AE scenario 1 as "WITP-AE.csv" The finished artwork will be in \DUMP.

< Message edited by RyanCrierie -- 6/5/2018 1:35:47 AM >


_____________________________


(in reply to Dili)
Post #: 20
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/5/2018 8:09:10 AM   
DFN

 

Posts: 15
Joined: 5/7/2017
Status: offline

(in reply to RyanCrierie)
Post #: 21
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/5/2018 10:06:44 PM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
Block IVC -- 105 MB ZIP

NOTE: If you downloaded Block IV, Block IVA, Block IVB, redownload again, Block IVC has some improved ship ripping algos.

What's New

Minor changes to the PLANE_RIP.exe program, it now uses underscores _ as a sorting method. For example, if you enter Planes_WITP-AE as the name of the CSV file, it will strip everything before _ so that the outputted dump files will have JAP A6M2 WITP-AE for names, instead of JAP A6M2 Planes_WITP-AE. This was made necessary by a new program...

SHIP_RIP. It looks inside ART for files inside:

AlliedShip_Back
AlliedShip_Transp
JapShip_Back
JapShipShills_transp

and then rips them, using a WITPLOADAE.exe csv dump file to name them correctly.

A premade WITP-AE Scenario 1 dump file is available as Ships_WITP-AE.csv. It uses the underscore strip method -- it will strip everything before _ so that the outputted dump files will have AUS CA Australia 1941-12 WITP-AE for names, instead of AUS CA Australia 1941-12 Ships_WITP-AE.

There's one big problem with my sorting algorithm though. It rips each individual ship class, and so there's a TON of duplicate art files looking exactly the same; because there was no unique image ID for every class refit.

EDIT: I created an algorithm that took advantage of the fact that ship classes were grouped together, it checks to see if a bitmap has been reused by a prior line; if so, it skips that line. This reduced my dump from 1,600+ files to 1,000~ files; still a bit more than the 899 official files; probably because there are duplicates elsewhere that are not contiguous. I also slightly modified the filename generation code to pad months to two zeroes, e.g. May is 05 not 5, which makes sorting in MS Windows easier.

EDIT II: I improved the algorithm so that it skips a line if it can't find artwork for it; improving rip-dumps of partial shipsets, like those distributed via mods.

< Message edited by RyanCrierie -- 6/6/2018 12:10:54 AM >


_____________________________


(in reply to DFN)
Post #: 22
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/6/2018 8:28:07 AM   
traskott


Posts: 1546
Joined: 6/23/2008
From: Valladolid, Spain
Status: offline
Thanks!!!

(in reply to RyanCrierie)
Post #: 23
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/6/2018 1:19:35 PM   
DFN

 

Posts: 15
Joined: 5/7/2017
Status: offline
RyanCrierie - paving the way to a unified aircraft and ship database since 2009?!?!?


Thank you for your efforts and contributions.

You dont happen to have Pandora's Box Mod for WPO, do you?

(in reply to traskott)
Post #: 24
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/6/2018 7:59:01 PM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
DFN, I have:

WPO Cautionaries v1.5
WPO Great Pacific War v1.1

But not Pandora's Box Mod.

Does anyone else have it?



_____________________________


(in reply to DFN)
Post #: 25
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/9/2018 12:21:28 AM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
Preliminary Mock-up of some core elements for SHIP PACK underway.

quote:

1) Childress Clear Sky
2) Childress Scattered Clouds
3) Childress Overcast Sky
4) Childress Twilight Sky

Choose Sky Type: 2

Input Ship Art Name: NIMITZ

1) Stock WITP-AE Sea
2) Mediterranean Sea
3) North Atlantic

Choose Sea Type: 3

Choose FLAG: Flag_Italy





Attachment (1)

_____________________________


(in reply to RyanCrierie)
Post #: 26
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/9/2018 10:56:51 PM   
John 3rd


Posts: 17178
Joined: 9/8/2005
From: La Salle, Colorado
Status: offline
That is a fantastic work. I've always shied away from working to implement the new air frames we created with the whole air art pack. You've made a great beginning in helping here. Well done.


_____________________________



Member: Treaty, Reluctant Admiral and Between the Storms Mod Team.

Reluctant Admiral Mod:
https://sites.google.com/site/reluctantadmiral/

(in reply to RyanCrierie)
Post #: 27
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/10/2018 10:39:11 PM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
I refined Plane and Ship Dumping by including the file hashes for all the "official" stock stuff, so that you have an option to only dump "non stock" stuff -- i.e. modded stuff, because, especially with ship sides/alphas, so many modders Cut N paste their whole folder for distribution with their mod to make sure they don't miss anything.

_____________________________


(in reply to John 3rd)
Post #: 28
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/13/2018 1:18:53 AM   
RyanCrierie


Posts: 1461
Joined: 10/14/2005
Status: offline
Block V Basic Files -- 44~ MB ZIP
Block V Artwork Files -- 82~ MB ZIP

I'm still refining/adding to/cleaning the artwork files, so I wouldn't go and use them for anything definitive yet.

_____________________________


(in reply to RyanCrierie)
Post #: 29
RE: ARTPACK -- A WITP:AE Plane Art Repacker - 6/14/2018 12:20:36 PM   
traskott


Posts: 1546
Joined: 6/23/2008
From: Valladolid, Spain
Status: offline
.

< Message edited by traskott -- 6/17/2018 6:38:38 PM >

(in reply to RyanCrierie)
Post #: 30
Page:   [1] 2   next >   >>
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Scenario Design and Modding >> ARTPACK -- A WITP:AE Plane Art Repacker Page: [1] 2   next >   >>
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.938