shithub: pokecrystal

Download patch

ref: b17255fe3fe1466414fb69349345b956457441b0
parent: 1aea38fd3e660ed7eeb74be1a8ce5ca0ee512d6c
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Wed Jul 22 05:17:10 EDT 2020

tools/unnamed.py supports rgbds 0.4.1 object files

--- a/tools/unnamed.py
+++ b/tools/unnamed.py
@@ -81,7 +81,7 @@
     elif magic == b'RGB9':
         obj_ver = 10 + unpack_file("<I", f)[0]
 
-    if obj_ver not in [6, 10, 11, 12, 13]:
+    if obj_ver not in [6, 10, 11, 12, 13, 15]:
         print("Error: File '%s' is of an unknown format." % objfile, file=stderr)
         exit(1)