Sega Arcade sprite interleaving problem - Printable Version +- The VG Resource (https://www.vg-resource.com) +-- Forum: The Resources (https://www.vg-resource.com/forum-109.html) +--- Forum: The Spriters Resource (https://www.vg-resource.com/forum-110.html) +---- Forum: Ripping Help (https://www.vg-resource.com/forum-114.html) +---- Thread: Sega Arcade sprite interleaving problem (/thread-35918.html) |
Sega Arcade sprite interleaving problem - AFruitaday! - 08-09-2019 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? RE: Sega Arcade sprite interleaving problem - Akaiji - 08-10-2019 (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"/> 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 RE: Sega Arcade sprite interleaving problem - AFruitaday! - 08-10-2019 Thank you so much! Now I can find both the graphics and palette! And understand how to interleave them correctly! RE: Sega Arcade sprite interleaving problem - AFruitaday! - 08-10-2019 But wait, what do you mean by creating a script on python? RE: Sega Arcade sprite interleaving problem - Akaiji - 08-10-2019 (08-10-2019, 02:52 PM)AFruitaday! Wrote: But wait, what do you mean by creating a script on python? Write a script using Python to interleave the files. This is just faster for me but if you know other programming language or software that interleaves, use it. RE: Sega Arcade sprite interleaving problem - AFruitaday! - 08-10-2019 I know Notepad++, can that interleave the files? RE: Sega Arcade sprite interleaving problem - AFruitaday! - 08-10-2019 oh ok then. RE: Sega Arcade sprite interleaving problem - AFruitaday! - 08-14-2019 Ok, now I got python downloaded, what script should I write? |