I just used Dragon Unpacker and loaded a barbarian archer using Photoshop with a DDS extension and got this:
I just used Dragon Unpacker and loaded a barbarian archer using Photoshop with a DDS extension and got this:
You need this tool to unpack some of the textures.
It's the gr2 files I can't seem to get figured out. They clearly have to be converted to work with something like Blender, but I can't find anything that converts them. Even though the format (nicknamed Granny) was/is pretty common. Frustrating.
I think TIs don't show up because it wasn't until the DLCs came out that we had civs with unique Tile Imps IIRC. So Lemmy and Binky didn't mess with those
private KeyValuePair<Image, string> GetInfoForBuildIcons()
{
string value = this.row.GetProperty("Type").Value;
string value2;
if (value == "BUILD_RAILROAD")
{
value2 = "25";
}
else
{
if (value == "BUILD_ROAD")
{
value2 = "24";
}
else
{
if (value == "BUILD_FARM")
{
value2 = "21";
}
else
{
if (value == "BUILD_MINE")
{
value2 = "22";
}
else
{
if (value == "BUILD_TRADING_POST")
{
value2 = "41";
}
else
{
if (value == "BUILD_LUMBERMILL")
{
value2 = "28";
}
else
{
if (value == "BUILD_PASTURE")
{
value2 = "29";
}
else
{
if (value == "BUILD_CAMP")
{
value2 = "32";
}
else
{
if (value == "BUILD_PLANTATION")
{
value2 = "27";
}
else
{
if (value == "BUILD_QUARRY")
{
value2 = "26";
}
else
{
if (value == "BUILD_WELL")
{
value2 = "33";
}
else
{
if (value == "BUILD_OFFSHORE_PLATFORM")
{
value2 = "34";
}
else
{
if (value == "BUILD_FISHING_BOATS")
{
value2 = "35";
}
else
{
if (value == "BUILD_FORT")
{
value2 = "30";
}
else
{
if (value == "BUILD_REMOVE_JUNGLE")
{
value2 = "31";
}
else
{
if (value == "BUILD_REMOVE_FOREST")
{
value2 = "31";
}
else
{
if (value == "BUILD_REMOVE_MARSH")
{
value2 = "38";
}
else
{
if (value == "BUILD_SCRUB_FALLOUT")
{
value2 = "57";
}
else
{
if (value == "BUILD_REPAIR")
{
value2 = "36";
}
else
{
if (value == "BUILD_REMOVE_ROUTE")
{
value2 = "42";
}
else
{
if (value == "BUILD_LANDMARK")
{
value2 = "52";
}
else
{
if (value == "BUILD_ACADEMY")
{
value2 = "50";
}
else
{
if (value == "BUILD_CUSTOMS_HOUSE")
{
value2 = "55";
}
else
{
if (value == "BUILD_MANUFACTORY")
{
value2 = "54";
}
else
{
if (value == "BUILD_CITADEL")
{
value2 = "51";
}
else
{
if (value == "BUILD_CITADEL")
{
value2 = "51";
}
else
{
value2 = "0";
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return new KeyValuePair<Image, string>(this.im, value2);
}
Spoiler :
************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at IndieStoneTechEditor.Form1.clearAllTechsToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Crashes on load for me![]()
Another error
Spoiler :
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization V\Assets\Assets\DLC\Expansion'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetFiles(String path)
at IndieStoneCiv5XMLTools.Civ5XmlDatabase.LoadDir(String s)
at IndieStoneCiv5XMLTools.Civ5XmlDatabase.Load()
at IndieStoneTechEditor.TechTree.FirstUpdate()
at IndieStoneTechEditor.TechTree.panel1_Paint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
That worked. That is a pretty powerful tool.