The textures inside the SM64 ROM are contained within the MIO0 Compression compressed blocks. They are encoded with one of the N64 microcode formats.