Vad är filformatet G3FC?
En .g3fc-fil är ett arkiv i formatet Generation 3 File Container, ett öppet arkivformat publicerat av G3Pix (Lucas Guimarães) år 2025. Det packar en eller flera filer i en enda behållare och komprimerar dem med Zstandard, samma snabba algoritm som ligger bakom formatet .zst. Utöver komprimering lägger G3FC till två funktioner som sällan hittas tillsammans i ett arkivformat för konsumenter: valfri AES-256-GCM-autentiserad kryptering och valfri Reed-Solomon Forward Error Correction som gör att ett arkiv kan överleva bitröta vid långtidslagring.
Formatet inleder varje fil med ASCII-signaturen G3FC och avslutas med en 40-byte sidfot vars magic bytes är G3CE. Denna sidfot pekar på ett CBOR-kodat index, så att en läsare kan lista och söka i innehållet utan att skanna hela filen, vilket är snabbare än de sekventiella läsningar som ett .tar-arkiv kräver. Värden lagras som little-endian, text är UTF-8 och integriteten skyddas av CRC-32-kontrollsummor. Specifikationen är öppen, med referensverktyg i Rust, Go, C# och Python släppta under GNU General Public License v2.0.
Säkerhet & trygghet
RISK: LOWG3FC is a data archive, not an executable, so opening one does not run code. As with any archive, treat files from unknown senders with caution and scan extracted contents. Encrypted archives require the correct password; AES-256-GCM also authenticates the data, so tampering is detected on extraction.
Formatdetaljer
i ett nötskal- G3F (Guitar Pro 3 / fax G3) - The similar-looking .g3f extension is unrelated and refers to older fax or music-notation files, not the G3FC archive.
Program som öppnar G3FC-filer
Tekniska detaljer
djup specifikation| Encoding | Binary container with a fixed 331-byte header, a data region, a CBOR-serialized file index, an optional FEC region, and a 40-byte footer. |
| Byte order | Little Endian for all multi-byte integers |
| Container | Single-file archive holding one or more member files plus a searchable index |
| Compression | Zstandard (Zstd, RFC 8878); per-file or global mode. CLI default level 6. |
| Encryption | Optional AES-256 in GCM mode. Payload layout: 12-byte nonce, 16-byte auth tag, then ciphertext. Keys derived with PBKDF2-HMAC-SHA256, 32-byte key, recommended 100,000 iterations, using separate 64-byte read and write salts stored in the header. |
| Integrity | CRC-32 (IEEE 802.3 polynomial 0xEDB88320) over file data, the header (bytes 0-276), and the footer (first 32 bytes). Reed-Solomon Forward Error Correction is optional (fec_scheme 1), percentage-based with fec_level 0-50, applied to a Data FEC block and a Metadata FEC block. |
| Typical size | Varies; benchmark compressed roughly 13,000 files (2 GB) into about 1 GB. |
| Structure | Header (magic 'G3FC', version, UUID, timestamps in .NET ticks, index offset/length, compression and encryption flags, salts, KDF iterations, FEC settings, header checksum) -> data region -> file index (CBOR then Zstd, optionally encrypted) -> optional FEC region -> 40-byte footer ending in magic 'G3CE'. |
| Platforms | Windows, macOS, Linux |
| Notes | The index is serialized with CBOR (RFC 8949) and lists per-file path, type, UUID, timestamps, permissions (octal), offsets, sizes, compression flag, and CRC-32. Split archives use block_file_index and chunk grouping fields. Text is UTF-8. Timestamps are 100-nanosecond intervals since 0001-01-01 UTC (.NET ticks). Reference implementations exist in Rust, Go, C#/.NET, and Python. |
| Släppt | 2025 |
| Senaste version | Format version 1.0 (tooling v1.1.3, August 2025) |
| Öppen standard | Ja · royaltyfri |
| Specifikation | github.com |
G3FC-konverteringar
Frågor & svar
frågat av användareInga frågor än - bli den första att fråga om G3FC-filer.