Skip to content

Instantly share code, notes, and snippets.

@Mat1az
Created April 20, 2024 15:21
Show Gist options
  • Save Mat1az/41be9fbcd9296f30b7f1997267a2c6f5 to your computer and use it in GitHub Desktop.
Save Mat1az/41be9fbcd9296f30b7f1997267a2c6f5 to your computer and use it in GitHub Desktop.
PS2 - GTA SA SFX Modding
  1. Open the original WAV file using MFAudio or Audacity.
    • Copy the Frequency Hz and paste it into Notepad.
  2. Open the original WAV file with a Hex Editor.
    • Copy the first 44 HEX values and paste them into Notepad.
    • Copy the last 16 HEX values and paste them into Notepad.
  3. Open your modified WAV file with Audacity.
    • Go to Edit > Preferences > Audio Settings > Quality.
    • Set the Project Sample Rate to paste the Frequency Hz from your original WAV.
    • Make sure the duration of your modified WAV file is the same as or shorter than the original WAV.
    • Save and Replace.
  4. Open the modified WAV file with MFAudio.
    • Convert it into RAW - Raw Sound Data - Compressed ADPCM.
  5. Open the modified WAV file with a Hex Editor.
    • Insert the original first 44 HEX values at the beginning of the modified WAV.
    • Remove the last 32 HEX values from the end of the modified WAV.
    • Insert the original last 16 HEX values at the end of the modified WAV.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment