ARTPACK -- A WITP:AE Plane Art Repacker (Full Version)

All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Scenario Design and Modding



Message


RyanCrierie -> ARTPACK -- A WITP:AE Plane Art Repacker (5/30/2018 11:17:09 PM)

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:

[img]https://i.imgur.com/vfsLLSP.png[/img]
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:

[img]https://i.imgur.com/nlngw5G.png[/img]

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. [&:]




btd64 -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (5/31/2018 12:53:52 AM)

Looks like a helpful program. Thanks....GP




RichardAckermann -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (5/31/2018 8:32:24 AM)

+1
Great work! This looks really cool.




Dili -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (5/31/2018 9:08:17 AM)

Great. Thanks Ryan.




traskott -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (5/31/2018 11:30:49 AM)

Great! Big art air data mod with all planes in 3,2,1....




Vipersp -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (5/31/2018 6:29:45 PM)

Awesome Ryan!

Great tool indeed;
Glad to see my art work used by you[&o]

Vipersp




RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/2/2018 6:53:59 PM)

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...




btd64 -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/2/2018 6:57:17 PM)

The Kingfisher is in the RHS mod....GP




DFN -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/3/2018 12:33:38 PM)

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.




RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/3/2018 1:22:16 PM)

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?

[image]local://upfiles/18450/6D3204BFBB85438CB3FF30A8EF526BFB.jpg[/image]




RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/3/2018 1:24:11 PM)

Or this? [:'(]

[image]local://upfiles/18450/660E3AECC018481EB21EC8C103CA00F4.jpg[/image]




RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/3/2018 1:38:35 PM)

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. [:D] 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. [:D]

[image]local://upfiles/18450/88DD85BEA64B4AE38A47FF90415982BA.jpg[/image]




DFN -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/3/2018 1:38:42 PM)


quote:

ORIGINAL: RyanCrierie


You rang?



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




traskott -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/3/2018 1:39:08 PM)

And we could combine them into a new ART File?




RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/3/2018 3:23:27 PM)

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.




RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/3/2018 3:31:46 PM)

I've also toyed with a program doing the same, but for ships. I've built crude rippers, but nothing to repack them (yet).



[image]local://upfiles/18450/2F175EEAA13E4F7088DD70BB3AA80D27.jpg[/image]




RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/3/2018 3:58:32 PM)

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?




DFN -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/3/2018 5:53:31 PM)

[sm=happy0065.gif]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?




Dili -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/3/2018 10:10:45 PM)

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.




RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/5/2018 1:32:01 AM)

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.




DFN -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/5/2018 8:09:10 AM)

[&o][&o][&o][&o][&o][&o]




RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/5/2018 10:06:44 PM)

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.




traskott -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/6/2018 8:28:07 AM)

[:)] Thanks!!!




DFN -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/6/2018 1:19:35 PM)

RyanCrierie - paving the way to a unified aircraft and ship database since 2009?!?!?
[sm=happy0065.gif]

Thank you for your efforts and contributions.

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




RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/6/2018 7:59:01 PM)

DFN, I have:

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

But not Pandora's Box Mod.

Does anyone else have it?





RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/9/2018 12:21:28 AM)

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


[image]local://upfiles/18450/9A4564B660634E218E7743AD3045F218.gif[/image]




John 3rd -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/9/2018 10:56:51 PM)

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.




RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/10/2018 10:39:11 PM)

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.




RyanCrierie -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/13/2018 1:18:53 AM)

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.




traskott -> RE: ARTPACK -- A WITP:AE Plane Art Repacker (6/14/2018 12:20:36 PM)

.




Page: [1] 2   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.625