Skip to content

kaiserdev59/StellaSora-Metadata-Decrypter

Repository files navigation

StellaSora-MetadataDecryption

A tool to decrypt global-metadata.dat from Stella Sora (IL2CPP Unity game).

📋 Features

  • Decrypts encrypted metadata with custom VM-based protection
  • Validates CODEPHIL signature after decryption
  • Outputs standard IL2CPP metadata (0xFAB11BAF magic)

🔧 Build

Requirements

  • Visual Studio 2022
  • C++20 support

Steps

  1. Open StellaSora-MetadataDecryption.sln
  2. Build in Release x64

📝 Usage

StellaSora-MetadataDecryption.exe <encrypted_metadata.dat> <output_metadata.dat>

Example

StellaSora-MetadataDecryption.exe global-metadata.dat decrypted-metadata.dat

Expected Output

Loaded 28912500 bytes from global-metadata.dat
Encrypted data size: 28912172 bytes
Header size: 328 bytes (0x148)
Data starts at offset: 0x148
Decrypted 28912164 bytes
Decrypted metadata saved to decrypted-metadata.dat
First 4 bytes of decrypted data: 0xfab11baf
AF 1B B1 FA found!

📁 File Structure

Offset Size Description
0x00 4 Magic (0x1357FEDA)
0x04 4 Encrypted data size
0x08 256 Key table
0x108 64 Bytecode (VM opcodes)
0x148 N Encrypted data

🙏 Credits

📄 License

GPL-3.0 - See LICENSE.txt

About

A tool to decrypt global-metadata.dat for Stella Sora (Il2Cpp), bypassing the custom VM encryption/obfuscation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages