Create account / Log in

Module Sub-Components

Topics related to Vassal game modules.

Moderators: uckelman, Tim M

Module Sub-Components

Postby dbowman » November 3rd, 2012, 2:38 pm

Once a sub-component of a module is deleted, like "Definition of Player Sides", is it possible to add it back in or restore it?

When I right click on the Module the "Definition of Player Sides" is not in the context or sub-component menue.
User avatar
dbowman
 
Posts: 13
Joined: January 2nd, 2008, 2:09 pm
Location: Dallas, GA

Re: Module Sub-Components

Postby JoelCFC25 » November 3rd, 2012, 7:21 pm

You'll have to extract the buildfile from the module where you deleted the Definition of Player Sides. It's an XML file. You'll also need another module (any one will do, even a new blank module) that does have a Definition of Player Sides. Extract the buildfile from that one too, and copy the relevant portion of the XML to the buildfile of the module that's missing it.
JoelCFC25
 
Posts: 740
Joined: October 12th, 2010, 5:15 pm
Location: Minnetrista, MN

Re: Module Sub-Components

Postby dbowman » November 3rd, 2012, 11:36 pm

What program would I use to copy and paste the relevant portion?
User avatar
dbowman
 
Posts: 13
Joined: January 2nd, 2008, 2:09 pm
Location: Dallas, GA

Re: Module Sub-Components

Postby dbowman » November 4th, 2012, 12:13 am

I found an XML editor and it worked...thanks.
User avatar
dbowman
 
Posts: 13
Joined: January 2nd, 2008, 2:09 pm
Location: Dallas, GA


Return to Module General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests