mirror of
https://github.com/zeldaret/tmc
synced 2026-09-10 04:11:53 -04:00
Fix some tilesets
This commit is contained in:
+3
-2
@@ -31,8 +31,9 @@ void TilesetAsset::convertToHumanReadable(const std::vector<char>& baserom) {
|
||||
cmd.push_back(toolsPath / "bin" / "gbagfx");
|
||||
cmd.push_back(decompressedPath);
|
||||
cmd.push_back(assetPath);
|
||||
cmd.push_back("-mwidth");
|
||||
cmd.push_back("32");
|
||||
// This creates a better looking tilemap but in some cases not all tiles are used, so it adds additional data when converting back to binary.
|
||||
//cmd.push_back("-mwidth");
|
||||
//cmd.push_back("32");
|
||||
check_call(cmd);
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -279,7 +279,7 @@ std::unique_ptr<BaseAsset> getAssetHandlerByType(const std::filesystem::path& pa
|
||||
assetHandler = std::make_unique<GfxAsset>(path, start, size, asset);
|
||||
} else if (type == "palette") {
|
||||
assetHandler = std::make_unique<PaletteAsset>(path, start, size, asset);
|
||||
} else if (type == "map_gfx" || type == "map_layer1" || type == "map_layer2" || type == "metatiles_tile_types1" ||
|
||||
} else if (type == "map_layer1" || type == "map_layer2" || type == "metatiles_tile_types1" ||
|
||||
type == "metatiles_tile_types2" || type == "metatiles_tileset1" || type == "metatiles_tileset2" ||
|
||||
type == "map_mapping1" || type == "map_mapping2" || type == "tileset_mapping3" ||
|
||||
type == "map_collision") {
|
||||
|
||||
Reference in New Issue
Block a user