Create account / Log in

Question: How to decompress Extension Files?

Discussion area for the development team.

Moderators: uckelman, Tim M

Question: How to decompress Extension Files?

Postby TokiToki » April 19th, 2021, 7:45 am

I am working on a program that can generate custom TCG cards and I am looking for ways to automate the process of adding the cards into Vassal through generating Extension Files. I have found that Vassal Module files are just zip files, but extensions seem to have a different formatting. I'd like to know how the different Vassal files could be decompressed and if possible edited by my own code.

I was trying to trace back the code in the source code, but I am not that familiar with Java and didn't find anything related to this.. This is my first time writing on this forum so I don't know if this is the right place to ask this, if I am to ask somewhere else I will do so.
TokiToki
 
Posts: 1
Joined: April 19th, 2021, 7:36 am

Re: Question: How to decompress Extension Files?

Postby marktb1961 » April 19th, 2021, 6:22 pm

TokiToki wrote: I have found that Vassal Module files are just zip files, but extensions seem to have a different formatting.


My experience has been that I could unzip a Vassal module extension file just as I can an ordinary module file. Maybe provide an example of what you are doing, for more help ?
Platform: Vassal 3.5.5, MacOS Big Sur on iMac (27", mid-2020)
User avatar
marktb1961
 
Posts: 572
Joined: October 4th, 2018, 2:36 pm
Location: Liverpool, England


Return to Developers

Who is online

Users browsing this forum: No registered users and 2 guests

cron