Changes
Jump to navigation
Jump to search
m
string StrByte Byte TPage = InputBytes[TexturePage_index].ToString("X2")& 0F; //Gets Bitwise TPage byte as HEX text StrByte = "0" + StrByte.Substring(1); // Deletes the AND 0F, to delete first char/ 4 bits Byte TPage = Byte.Parse(StrByte); // Parses result as new byte int TPageINT = TPage * 128; //For 8 16 bit TIM's, the texture page is 128 sized
→Texture page calculation: Corrected info and lame code not using bitwise
=== Texture page calculation ===
Example: