Hi,
When I try to add any other tileset (Vettlingr) to the Meph Launcher, it crashes with this exception : "path" parameter can’t be "null".
Below the full stacktrace (sorry, my OS are in French)
System.ArgumentNullException: La valeur ne peut pas être null.
Nom du paramètre : path
à System.IO.Path.GetFullPathInternal(String path)
à System.IO.Path.GetFullPath(String path)
à System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName)
à System.Drawing.IntSecurity.DemandReadFileIO(String fileName)
à System.Drawing.Bitmap..ctor(String filename)
à MasterworkDwarfFortress.tilesetPreviewer.loadImage(String key, String filePath)
à MasterworkDwarfFortress.tilesetPreviewer.refreshPreview(String key, String filePath)
à MasterworkDwarfFortress.MainForm.cmbTileSets_Hover(Object sender, HoverEventArgs e)
à MasterworkDwarfFortress.hoverComboBox.OnHover(HoverEventArgs e)
à MasterworkDwarfFortress.hoverComboBox.WndProc(Message& msg)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Maybe I’ve misunderstood how to add any tileset…
I’ve put Vettlingr folder with raw and datas inside TilesetExtras\graphics (alongside Meph 32 folder), and I’ve edited the JSON file like this:
[
{
"Name":"Meph 32",
"TilesetType":"ASCII",
"ColorScheme":"DEFAULTPLUS"
},
{
"Name":"Vettlingr",
"TilesetType":"ASCII",
"ColorScheme":"DEFAULTPLUS"
}
]
Isn’t right ?