Deck filetypes, .vdck?

I’ve recently found documentation stating that .vdck is the preferred and, possibly mandatory filetype for decks: vassalengine.org/wiki/Module … nformation

However before knowing this I have made all my decks .txt files and have since uploaded them to the modules page (them being starter decks).

Is it still preferred that decks use the .vdck extension, or is .txt fine and tolerated?

And just out of curiosity, are there any plans to have vassal sort of start you out with the right filetype when saving various stuff, as opposed to currently where we have to manually type the filetype such as .vmod?

Thus spake reddeblu:

I’ve recently found documentation stating that .vdck is the preferred
and, possibly mandatory filetype for decks:
vassalengine.org/wiki/Module … nformation[1]

However before knowing this I have made all my decks .txt files and have
since uploaded them to the modules page (them being starter decks).

Is it still preferred that decks use the .vdck extension, or is .txt
fine and tolerated?

.vdck is preferred. Giving them .txt as an extension is confusing, as
they’re not text files.

And just out of curiosity, are there any plans to have vassal sort of
start you out with the right filetype when saving various stuff, as
opposed to currently where we have to manually type the filetype such as
.vmod?

Yes, for VASSAL 4. File choosers are a disaster in Swing, so it’s not
worth the effort to get it right while we’re still using Java.


J.

The problem though is that .vdck is not an allowed uploadable file type at
the moment. You’ll have to fix this

From the upload page:
Permitted file types: png, gif, jpg, jpeg, svg, vmod, vmdx, vsav, vlog, zip,
gz, bz2, xz, java, pdf, txt.

-----Original Message-----
From: messages [mailto:messages-bounces@vassalengine.org] On Behalf Of Joel
Uckelman
Sent: Sunday, December 29, 2013 11:27 AM
To: The mailing list for VASSAL
Subject: Re: [messages] [General Discussion] Deck filetypes, .vdck?

Thus spake reddeblu:

I’ve recently found documentation stating that .vdck is the preferred
and, possibly mandatory filetype for decks:
vassalengine.org/wiki/Module … nformation[1]

However before knowing this I have made all my decks .txt files and
have since uploaded them to the modules page (them being starter decks).

Is it still preferred that decks use the .vdck extension, or is .txt
fine and tolerated?

.vdck is preferred. Giving them .txt as an extension is confusing, as
they’re not text files.

And just out of curiosity, are there any plans to have vassal sort of
start you out with the right filetype when saving various stuff, as
opposed to currently where we have to manually type the filetype such
as .vmod?

Yes, for VASSAL 4. File choosers are a disaster in Swing, so it’s not worth
the effort to get it right while we’re still using Java.


J.

Thus spake “Tim McCarron”:

The problem though is that .vdck is not an allowed uploadable file type at
the moment. You’ll have to fix this

Thanks for spotting that. It’s fixed now.


J.

I appreciate this being looked at and fixed, but I am still unable to upload .vdck files to vassals site.

When I try, I always get this error message:

File extension “.vdck” does not match the detected MIME type of the file (text/plain).

I’m saving the deck right from the module, making it a .vdck extension, so i don’t know what else to do.

The same problem persist as of this date, just thought I’d let it be made aware.

Thus spake reddeblu:

I appreciate this being looked at and fixed, but I am still unable to
upload .vdck files to vassals site.

When I try, I always get this error message:

File extension “.vdck” does not match the detected MIME type of the file
(text/plain).

I’m saving the deck right from the module, making it a .vdck extension,
so i don’t know what else to do.

Try now.


J.

Nope, still unable to upload .vdck files to a module page. Still getting the same error instead.

File extension “.vdck” does not match the detected MIME type of the file (text/plain).

[size=50]Edit: This is my 100th post yay![/size]

Thus spake reddeblu:

Nope, still unable to upload .vdck files to a module page. Still getting
the same error instead.

Try once again.


J.

They are uploadable now, successfully done it. However clicking them on the module page opens them like text files rather then saving them. Right clicking and save as is still the only way to download them, which unfortunately doesn’t make them any different than the text files. :frowning:

Despite that, thank you for the hard work in maintaining this. :slight_smile: