Skip to content

Instantly share code, notes, and snippets.

View blueskythlikesclouds's full-sized avatar

Skyth (Asilkan) blueskythlikesclouds

  • Turkey
  • 17:13 (UTC +03:00)
View GitHub Profile
@blueskythlikesclouds
blueskythlikesclouds / SFPac.md
Last active January 15, 2023 14:32
Sonic Forces PAC Packer/Unpacker

EXE Release

Download here.

Python Script

The script is attached to the gist.
You need Python 2.7.14 to run the script.
If you don't know what Python is, or simply don't want to install it, use the EXE version.

Notice

SFPac is very old and works only on Sonic Forces. I recommend using HedgeArcPack instead. It has better performance and supports more games.

@blueskythlikesclouds
blueskythlikesclouds / clang.asm
Last active October 31, 2022 16:14
Vectorization & unrolling test among compilers through Compiler Explorer
; -O3 -mavx2 -ffast-math
VectorizationTest(Vector<float, 3> const&, Vector<float, 3> const&): # @VectorizationTest(Vector<float, 3> const&, Vector<float, 3> const&)
vmovaps xmm0, xmmword ptr [rdi]
vmovaps xmm1, xmmword ptr [rsi]
vrcpps xmm2, xmm1
vmulps xmm3, xmm0, xmm2
vmulps xmm4, xmm1, xmm3
vsubps xmm4, xmm0, xmm4
vmulps xmm2, xmm2, xmm4
@blueskythlikesclouds
blueskythlikesclouds / maniaAnim.py
Last active February 23, 2018 14:47
Sonic Mania Sprite Ripper
# Written by Skyth
import struct
import os
import sys
from PIL import Image
import images2gif
def mkdir(path):