ROM Hack Spa Files

Auryn

Well-Known Member
Member
Joined
Jul 21, 2011
Messages
559
Trophies
1
Age
51
XP
706
Country
Swaziland
Does someone know how to open spa files or what compression they use?

The only thing I know is that the files contain particles (effects like snow and rain). And when I open the file with crystal tile, I can see a little bit the textures.

Download: http://florian.nouwt...ssionEffect.spa

If you open them with CT2, why you not take a look at the icon before the file that tells you if it's compressed or not??
 

rastsan

8 baller, Death Wizard,
Member
Joined
May 28, 2008
Messages
1,002
Trophies
1
Location
toronto
Website
rastsan.wordpress.com
XP
413
Country
Canada
Okay there is multiple file headers so for sure there could be compression. I am sure I am seeing a palette at the end of that file. What might be nice is if you screen shot-ed/uploaded another file of the same type for comparison sake.
I would recommend grabbing a memory snapshot also of the file from an emulator. So you might possibly find it decompressed.

While playing the game on your computer attach crytaltile2 to the emulator, then search for the file name. you might hit the fat file but you will also get results for the file as it is in memory (hopefully decompressed). It will be a simple matter to copy paste that from the memory snapshot and compare it to the other file that is (possibly) compressed. The differences, if their are any, are what you base a decompressor off of.

Also might be nice if you told us the name of the game you are looking into. So anyone interested could take a look...
 

jjjewel

Well-Known Member
Member
Joined
Dec 17, 2009
Messages
1,010
Trophies
0
XP
522
Country
United States
The file is not compressed. You can view Tile and see pictures. The only problem is to figure out the offset for the palettes and each picture.
(From my experience, if you see a bunch of value 00 in the file, it's less likely that the file is compressed. Most compression method eliminates the repetitive values, so you wouldn't see a lot of the same values in there.)

By the way, you said that the files contain particles (effects like snow and rain). I wonder why you want to do anything with it. (Usually, it's something nobody would edit. Except you want to make the rain drop looks different or change the snowflake's shapes, etc. :D)

Edited: You can look for " TPS" (20 54 50 53) in the file. I think it's related to where each picture is located.

(This one used CrystalTile2's default palette, the color is off. But you can see a picture perfectly.
spacd.png
 

Gericom

Well-Known Member
OP
Member
Joined
Jun 30, 2011
Messages
1,383
Trophies
2
Age
25
XP
4,735
Country
Netherlands
I have got something:
The file starts with:
offset - length - comment
0x00 - 0x04 - APS - 0x20415053 (Standard Particle Assignment)
0x04 - 0x04 - Unknown
0x08 - 0x02 - Unknown
0x0A - 0x02 - TPS count
0x0C - 0x0C - Unknown
0x18 - 0x04 - Offset to start of first TPS

The TPS starts with a 0x20 long header (it is little endian):
offset - length - comment
0x00 - 0x04 - TPS - 0x20545053 (Standard Particle Texture)
0x04 - 0x04 - Unknown
0x08 - 0x04 - Number of bytes in image
0x0C - 0x04 - Unknown
0x10 - 0x04 - BPP
0x14 - 0x08 - Unknown
0x1C - 0x04 - Total size


Then there is the image.
 
  • Like
Reactions: Poudink

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Julie_Pilgrim @ Julie_Pilgrim:
    im sure half the responses won't be literal racial slurs or "drop table" jokes
  • Veho @ Veho:
    Look, it's China. They know what it's like when you give a poll to half a billion trolls.
    +1
  • K3Nv2 @ K3Nv2:
    How much dollar do you think it is?
  • Veho @ Veho:
    ONE MILLION DOLLA
    +1
  • Veho @ Veho:
    I know the pricing of electronics nowadays isn't "how much it actually costs" but "how much we can get away with", but putting up a poll is just cynical.
    +1
  • K3Nv2 @ K3Nv2:
    Probably $150 someone said Anbernic said around the same price as rg556
  • Julie_Pilgrim @ Julie_Pilgrim:
    you know which game i wish they would rerelease
  • Julie_Pilgrim @ Julie_Pilgrim:
    sonic unleashed
  • K3Nv2 @ K3Nv2:
    Make it a happy meal toy
  • Julie_Pilgrim @ Julie_Pilgrim:
    that game's engine is really fucking intensive so it runs like literal shit on xbox 360 and ps3
  • Veho @ Veho:
    Nah I'm getting value creep again. I look at a $50 console "but for just a few more dollars you could get XYZ" and I end up considering the Steam Deck.
    +1
  • Julie_Pilgrim @ Julie_Pilgrim:
    like the lighting in that game was genuinely so good
  • Veho @ Veho:
    Not getting dragged into that again.
  • Julie_Pilgrim @ Julie_Pilgrim:
    i dont get why they didn't port the one game that ran the worst on consoles, to pc
  • Julie_Pilgrim @ Julie_Pilgrim:
    like you port everything to pc except the one game where it would make the most sense. why. what do you gain from this
  • Julie_Pilgrim @ Julie_Pilgrim:
    is sega just personally fucking with me? are they laughing while watching me through my kinect camera as i get up to restart my xbox for the third time because the game froze again
  • K3Nv2 @ K3Nv2:
    Buy handhelds from five below better quality
  • K3Nv2 @ K3Nv2:
    Valve probably going to do another refresh of the deck this fall with rog ally like specs tbh
    +1
  • Veho @ Veho:
    A smaller form factor would be nice too.
    +1
  • K3Nv2 @ K3Nv2:
    A shield portable 2 would be nice aye Nvidia
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    The big leap in all things tech is when carbon based chips start hitting.
  • Psionic Roshambo @ Psionic Roshambo:
    Longer battery life cooler temps and faster! What's not to like lol (probably expensive as hell)
  • AncientBoi @ AncientBoi:
    [checks my dildo(s) batteries, coolant and lube] :O [promptly replaces them] :D
    AncientBoi @ AncientBoi: [checks my batteries, coolant and lube] :O [promptly replaces them] :D