Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

South Park: The Stick of Truth Prototype Red Sprites

Featured Replies

  • Localization

Hello, I'm trying to get sprites from the eraislet prototype of the game, South Park: The Stick of Truth (https://hiddenpalace.org/South_Park:_The_Stick_of_Truth_(Feb_22,_2012_prototype)). I was able to get the .gfx files from the files and open them in JPEXS; however, a lot of the sprites come out red. I wanted to ask if anyone could somehow help me figure out a way to get the ssprties back to their original color. In the .zip is the .gfx for the rat seen in the image.

image.png

rat.zip

  • 2 weeks later...

Is this "CFX" a vector format? I see the header information here. Decompressing the bytes after the first 8 bytes of the header, we see reasonable decompressed output, but it doesn't appear to be raster format (and alas I know very little about Flash/SWF vector graphics, but maybe some else coming across this thread later does).

import zlib

inputFilename = "rat.gfx"
fileOffset = 8
with open(inputFilename, 'rb') as f:
    compressedData = f.read()[fileOffset:]
    decompressedData = zlib.decompress(compressedData)
#endwith

outputFilename = inputFilename + ".dat"
with open(outputFilename, 'wb') as f:
    f.write(decompressedData)
#endwith

 

Edited by piken

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.