XIV Dev Wiki
  • Welcome
  • Community Projects
  • Game Data
    • Visual Effects
      • AVFX Files
      • Global Parameters
      • Schedulers
      • Particles
      • Emitters
      • Timelines
      • Effectors
      • Binders
      • Object Life
    • File Formats
      • Excel
    • Character Data Files
      • Character Creator Preset
      • Character data folder
        • Chat Log (.log)
  • Data Files
    • ZiPatch
      • SQPK
    • SqPack
  • Network
    • Packet Structure
    • Channels
    • Ping
  • Game Internals
    • Actions
      • Animation Lock
    • World
      • Coordinate System
      • Weather
    • RSV
    • RSF
  • SqexArg
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Game Internals

RSF

PreviousRSVNextSqexArg

Last updated 2 years ago

Was this helpful?

RSF is very similar to except it works on file level.

Pseudocode

The procedure to generate a RSF file is as follows:

def create_rsf(plaintext):
    deflated_bytes = zlib.compress(plaintext, level=9)
    
    # Server stores this part and will send it to the client when zoning-in
    header = deflated_bytes[:64]
    
    # Client stores this part
    body = deflated_bytes[64:]
RSV