PonderThis
Warlord
- Joined
- Nov 15, 2014
- Messages
- 100
I can't seem to be able to import a .dds file I've created in the Asset Editor. I've boiled this down to as simple a setup as I can:
I've attached the four .dds files just in case the problem lays with those files. Of course if that's the problem, that opens up a different can of worms. I.e., how is the same problem manifesting itself with both paint.net and gimp?
- In ModBuddy ...
- Start Empty Project "TestingStartWithEmptyMod".
- Start Asset Editor
- In Asset Editor ...
- New Document
- Select ArtDef
- Change template type to "UserInterfaceBLPs"
- Save UserInterface.artdef in ArtDefs directory.
- New Document
- Select XLP
- Enter anything for package name. Tried both "UI/Icons" and just "MyIcons", makes no difference.
- Select UITexture in the XLP Class drop-down list. This is automatically copied to Module Name.
- Save Icons.xlp in the XLPs directory.
- New Document
- Switch over to Desktop.
- Quickly draw a dumb face inside a circle and save it as a 512x512 png.
- In paint.net, open png, resize to 32x32, save as two A8R8G8B8 dds files, with and without mipmaps.
- In gimp, open png, resize to 32x32, export as two dds files using Compression: None, Format: Default, Mipmaps: One with "No Mipmaps" and one with "Generate Mipmaps".
- Back to ModBuddy
- New Document
- Select Texture
- Change name to LEADER_ICON_32
- Select UserInterface in Class Name drop-down list.
- Source File Path: Path
- Navigate to my ArtSource directory, outside the main project directory.
- Select any of the four .dds files I've created.
- After selecting LeaderIcon_paintnet_32.dds file I get this dialog:
Sync Source Files
The following source files are out of date. Sync them to continue with export?
C:\Users\username\Documents\Firaxis ModBuddy\Civilization VI\TestingStartWithEmptyMod\ArtSource\LeaderIcon_paintnet_32.dds - Click [Yes] *or* [No], I get the same result:
Export Failure
The following entities failed the export process.
LEADER_ICON_32: Entity (LEADER_ICON_32)'s source file (C:\Users\username\Documents\Firaxis ModBuddy\Civilization VI\TestingStartWithEmptyMod\ArtSource\LeaderIcon_paintnet_32.dds) is out of date. Sync the source file before reimporting it!
- Same result with any of the four .dds files.
- However, if I use an existing icon (such as D:\Steam\steamapps\common\Sid Meier's Civilization VI SDK Assets\pantry\Textures\Montezuma32.dds) it works perfectly.
- New Document
I've attached the four .dds files just in case the problem lays with those files. Of course if that's the problem, that opens up a different can of worms. I.e., how is the same problem manifesting itself with both paint.net and gimp?