News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: compressed data to uncompressed data  (Read 1827 times)

Penta Penguin

  • Jr. Member
  • **
  • Posts: 21
    • View Profile
compressed data to uncompressed data
« on: August 15, 2011, 11:55:59 am »
I was wondering, is there a way you can change compressed data into uncompressed (meaning you have the uncompressed data on the rom and it still works)? I've seen it used on Copa Libertadores 3 (Super Formation Soccer II hack) and I was wondering if it was possible as long as you knew where the pointer was? Sorry if I couldn't word it any better.

Penta Penguin

RedComet

  • Hero Member
  • *****
  • Posts: 3163
    • View Profile
    • Twilight Translations
Re: compressed data to uncompressed data
« Reply #1 on: August 15, 2011, 12:12:33 pm »
You can rewrite the code to load uncompressed data instead of compressed data. Simply changing the compressed data into uncompressed data without altering the code won't do anything but result in (most likely) garbage being decompressed.
Twilight Translations - More than just Dragonball Z. :P

FinS

  • Full Member
  • ***
  • Posts: 192
    • View Profile
    • nothing much
Re: compressed data to uncompressed data
« Reply #2 on: August 15, 2011, 06:48:59 pm »
Yeah, what RC says.  I can think of an example where the compressed data has a 4 byte header and if the header is filled with zeros then it's loaded as uncompressed data.  You would have to look at the routine in each particular case to see what it does and how to work around it.