(08-09-2019, 01:52 PM)AFruitaday! Wrote: I want to rip sprites from Holosseum, I already know that the sprites don't show up in the MAME tile viewer. I found the sprites in TiledGGD, and I know to interleave it in order to rip it fully but this game has 8 sprite files, interleaving them is such a nightmare! Can someone help me how to interleave these sprites. How do I determine to interleave the sprite files in other games correctly?
First, open the command prompt and run this code:
Code:
mame64 holo -listxml >> holo.txt
This code will save a bunch of information about the ROM in the holo.txt file. Open the file and scroll until you find this section. I removed the sha1 for readability:
Quote:<rom name="mpr-14973" size="1048576" crc="b3c3ff6b" sha1="" region="mainpcb:gfx2" offset="0"/>
<rom name="mpr-14972" size="1048576" crc="0c161374" sha1="" region="mainpcb:gfx2" offset="1"/>
<rom name="mpr-14971" size="1048576" crc="dfcf6fdf" sha1="" region="mainpcb:gfx2" offset="2"/>
<rom name="mpr-14970" size="1048576" crc="cae3a745" sha1="" region="mainpcb:gfx2" offset="3"/>
<rom name="mpr-14969" size="1048576" crc="c06b7c15" sha1="" region="mainpcb:gfx2" offset="4"/>
<rom name="mpr-14968" size="1048576" crc="f413894a" sha1="" region="mainpcb:gfx2" offset="5"/>
<rom name="mpr-14967" size="1048576" crc="5377fce0" sha1="" region="mainpcb:gfx2" offset="6"/>
<rom name="mpr-14966" size="1048576" crc="dffba2e9" sha1="" region="mainpcb:gfx2" offset="7"/>
This section tells how the graphic files are loaded. In this case, each file loads 1 byte before looping until the end.
mpr-14973 moves 1 byte to 0x0
mpr-14972 moves 1 byte to 0x1
mpr-14971 moves 1 byte to 0x2
...
mpr-14966 moves 1 byte to 0x7
mpr-14973 moves 1 byte to 0x8
mpr-14972 moves 1 byte to 0x9
Now you just need to write a script to do this, I recommend Python. I'll also link a video that has a better explanation and has an example code, it helped me a lot when I was ripping Taisen Hot Gimmick:
https://youtu.be/jP-j4F-X9RM