mirror of
https://github.com/AntonioND/nitro-engine.git
synced 2025-06-18 16:45:33 -04:00
img2ds: Deprecate tool for regular textures
It's unlikely this tool will be removed from the repository, but it's no longer going to be maintained now that the version of grit included in BlocksDS has had a few bugs related to NDS textures fixed. The main purpose for img2ds was to eventually support compressed textures, but ptexconv already does a good job at it.
This commit is contained in:
parent
83928fd8aa
commit
1a29d63a6d
@ -322,6 +322,10 @@ def convert_img(in_path, out_name, out_folder, out_format):
|
||||
if height not in VALID_TEXTURE_SIZES:
|
||||
print(f"WARN: Height {height} is not a valid texture size")
|
||||
|
||||
if out_format != "DEPTHBMP":
|
||||
print(f"WARN: Formats other than DEPTHBMP are deprecated in img2ds.")
|
||||
print(f"WARN: Use grit to convert your textures instead.")
|
||||
|
||||
if out_format == "A1RGB5":
|
||||
texture, palette = convert_a1rgb5(img)
|
||||
elif out_format == "DEPTHBMP":
|
||||
@ -351,7 +355,7 @@ if __name__ == "__main__":
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
print("img2ds v0.1.0")
|
||||
print("img2ds v0.1.1")
|
||||
print("Copyright (c) 2022 Antonio Niño Díaz <antonio_nd@outlook.com>")
|
||||
print("All rights reserved")
|
||||
print("")
|
||||
|
Loading…
Reference in New Issue
Block a user