Skip to content

Commit

Permalink
Much better scene deck importing.
Browse files Browse the repository at this point in the history
Added new settings.
Fixed tokens going to wrong scenes.
Removed package json files and gulpfile.js since I have no idea what they did.
  • Loading branch information
Bryan-Legend committed Dec 22, 2020
1 parent 9e572e7 commit e80063b
Show file tree
Hide file tree
Showing 14 changed files with 105 additions and 4,112 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ Gloomhaven - http://www.vassalengine.org/wiki/Module:Gloomhaven
Terraforming Mars - http://www.vassalengine.org/wiki/Module:Terraforming_Mars

Go - http://www.vassalengine.org/wiki/Module:Go
![Go](img/Go.PNG)

Twilight Imperium - http://www.vassalengine.org/wiki/Module:Twilight_Imperium_(third_Edition)

Twilight Struggle - http://www.vassalengine.org/wiki/Module:Twilight_Struggle

Arkham Horror - http://www.vassalengine.org/wiki/Module:Arkham_Horror

Dominion - http://www.vassalengine.org/wiki/Module:Dominion
![Dominion](img/Dominion.PNG)

## How To Use:

### Import
Expand All @@ -34,27 +38,28 @@ To import a file, first install the module and go to the module settings to set
Importing will create a scene and actor folder of the name of the module.
In order for the import to be re-runnable the existing scenes in the import scene folder will be deleted.

Foundry defaults to 100px grid images. Some Vassal modules image sets are designed for a 64 pixel grid. Some are set to 75px. You'll need to select that as an option, which hasn't been added yet. Or maybe you could set it on the scenes.
Foundry defaults to 100px grid images. Some Vassal modules image sets are designed for a 64 pixel grid. Some are set to 75px. You'll need to select that as an option, or maybe you could set it on the scenes.

This module code base was originally from Adventure Import Export (https://github.com/cstadther/adventure-import-export).

## Recommended Modules

* Moar Folders (https://github.com/KayelGee/moar-folders) - Actor imports are often many levels deep and Foundry has a limitation of 3 folder depth. Six seems to be enough. The data will import correctly but once you pass 3 folders it will start spamming the root folder heavily. Turning on this mod will fix.
* Moar Folders (https://github.com/KayelGee/moar-folders) - Actor imports are often several levels deep and Foundry has a limitation of 3 folder depth. Six seems to be enough. The data will import correctly but once you pass 3 folders it will start spamming the root folder heavily. Turning on this mod will fix.

## Todo

* Pixel scale option
* Convert to typescript!
* Status progress bar updates
* Dice so Nice integration
* Cards Support integration
* .vsav file format import for better scene data
* prototype import for better scene data
* prototype import for better token data
* gif image conversion to webp since foundry does not support gif at all
* image size extraction for better token sizing
* playlist generator
* playlist generator for audio
* maybe use extracted fonts somehow
* Recommend a default game system. Maybe do some stat importing or something.
* a toggle for unzipping files (mostly as a dev option)
* macro importing (lol)
* direct downloading vmods via url.
* Add a scene for each map picker option.
50 changes: 0 additions & 50 deletions gulpfile.js

This file was deleted.

Binary file added img/Dominion.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Go.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/img-export-complete.JPG
Binary file not shown.
Binary file removed img/img-export-options.JPG
Binary file not shown.
Binary file removed img/img-export-running.JPG
Binary file not shown.
Binary file removed img/img-import-items.JPG
Binary file not shown.
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vassal-import",
"title": "Vassal Board Game Module Importer",
"description": "Import vassal board game modules (vmod).",
"version": "0.0.2",
"version": "0.0.3",
"author": "Bryan Livingston",
"minimumCoreVersion": "0.7.9",
"compatibleCoreVersion": "0.7.9",
Expand All @@ -27,6 +27,6 @@
"packs": [],
"url": "https://github.com/Bryan-Legend/vassal-import",
"manifest": "https://raw.githubusercontent.com/Bryan-Legend/vassal-import/master/module.json",
"download": "https://github.com/Bryan-Legend/vassal-import/releases/download/0.0.2/vassal-import.0.0.2.zip",
"download": "https://github.com/Bryan-Legend/vassal-import/releases/download/0.0.3/vassal-import.0.0.3.zip",
"license": "MIT"
}
Loading

0 comments on commit e80063b

Please sign in to comment.