diff --git a/icon.js b/icon.js
index b5ebba4..7314623 100644
--- a/icon.js
+++ b/icon.js
@@ -37,6 +37,12 @@ function uncompressTexture(texData) {
let offset = 0;
for (let index = 0; index < 16384; index++) {
currentValue = u16le(offset);
+ if(currentValue === 0) {
+ // if this is specifically a katamari 1 or 2 icon, skip this byte
+ // because it's formatted like that for some reason
+ offset += 2;
+ currentValue = u16le(offset);
+ }
offset += 2;
if (currentValue >= 0xff00) {
//do a raw copy
diff --git a/input.htm b/input.htm
index edeb505..d0827c1 100644
--- a/input.htm
+++ b/input.htm
@@ -11,14 +11,14 @@
#title1, #title2 {
color: yellow;
text-align: right;
- /*text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;*/
- right: 8px;
- position: relative;
- margin: 0;
+ line-height: 0.50em;
}
#version {position: fixed;bottom:4px;right:4px}
#advanced {display: none}
#iconcanvas {position: absolute; left: 8px}
+ #titlebox {width: 99%;position: absolute;}
+ input[type="file"] {line-height: 2em;}
+ #version {text-shadow: 1px 1px 2px black;}
icondumper2 (unknown icon.js version) [C: Loading...] - © 2023 yellows111