Create account / Log in

What is a Build File and How Do You Open It?

Topics related to Vassal game modules.

Moderators: Tim M, uckelman

What is a Build File and How Do You Open It?

Postby Cundiff » January 30th, 2019, 6:11 pm

Howdy Gents,

I was just sent a Build file with instructions on how it would solve some problems I've been having with a module I'm building. Problem is I have no idea what a Build File is, how to use it, or how to open it. But Vassal doesn't recognize it, at least mine doesn't and I've got the latest version of Vassal.

What do you do with a Build File?

Thanks Much,
Tom
Cundiff
 
Posts: 104
Joined: January 3rd, 2017, 8:51 am

Re: What is a Build File and How Do You Open It?

Postby JoelCFC25 » January 30th, 2019, 6:35 pm

A buildfile is an XML document. You will need a text editor to view it. It is normal and expected that VASSAL will not open it directly, as it is simply one of the internal prerequisites of a valid module file.

VASSAL modules are simply zip archives with a different file extension. The absolute bare minimum required elements of a valid module are a buildfile (what you are really modifying when you use the VASSAL editor) and an images directory. There can be other elements, such as predefined setups (saved game files) or HTML documentation. These items all get bundled into a zip archive--again, with a .vmod suffix instead of a .zip suffix--to form a module.
JoelCFC25
 
Posts: 564
Joined: October 12th, 2010, 5:15 pm
Location: Minnetrista, MN

Re: What is a Build File and How Do You Open It?

Postby Cundiff » January 30th, 2019, 7:07 pm

So if I change the vmod to zip and open it as a zip file, I can then extract the build file that's there and then insert the new one into the zip file?
Cundiff
 
Posts: 104
Joined: January 3rd, 2017, 8:51 am

Re: What is a Build File and How Do You Open It?

Postby Cundiff » January 30th, 2019, 7:33 pm

AH !!! Just learned something very useful :) Thank You.
Cundiff
 
Posts: 104
Joined: January 3rd, 2017, 8:51 am

Re: What is a Build File and How Do You Open It?

Postby JoelCFC25 » January 30th, 2019, 9:04 pm

I would strongly encourage the use of 7zip, which is an archiving utility that will happily open anything it can without the need to change file suffixes. It will save you a lot of time to open your .vmod directly with it and extract/insert files as needed.
JoelCFC25
 
Posts: 564
Joined: October 12th, 2010, 5:15 pm
Location: Minnetrista, MN

Re: What is a Build File and How Do You Open It?

Postby Cundiff » January 30th, 2019, 10:03 pm

WinRAR will also open vmods directly.
Cundiff
 
Posts: 104
Joined: January 3rd, 2017, 8:51 am


Return to Module General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests