O que é o formato de ficheiro G3FC?
Um arquivo .g3fc é um pacote no formato Generation 3 File Container, um formato de arquivo aberto publicado pela G3Pix (Lucas Guimarães) em 2025. Ele agrupa um ou mais arquivos em um único contêiner e os compacta com Zstandard, o mesmo algoritmo rápido por trás do formato .zst. Além da compressão, o G3FC adiciona dois recursos raramente encontrados juntos em um formato de arquivo de consumo: criptografia autenticada opcional AES-256-GCM e a correção de erros direta (Forward Error Correction) Reed-Solomon opcional, que permite que um arquivo sobreviva à degradação de dados (bit rot) durante o armazenamento de longo prazo.
O formato inicia cada arquivo com a assinatura ASCII G3FC e termina com um rodapé de 40 bytes cujo magic byte é G3CE. Esse rodapé aponta para um índice codificado em CBOR, para que um leitor possa listar e pesquisar o conteúdo sem escanear o arquivo inteiro, o que é mais rápido do que as leituras sequenciais que um arquivo .tar exige. Os valores são armazenados em little-endian, o texto é UTF-8 e a integridade é protegida por somas de verificação CRC-32. A especificação é aberta, com ferramentas de referência em Rust, Go, C# e Python lançadas sob a GNU General Public License v2.0.
Segurança e proteção
RISCO: 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.
Detalhes do formato
em resumo- 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.
Programas que abrem arquivos G3FC
Detalhes técnicos
especificação profunda| 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. |
| Lançado | 2025 |
| Versão mais recente | Format version 1.0 (tooling v1.1.3, August 2025) |
| Padrão aberto | Sim · livre de royalties |
| Especificação | github.com |
Conversões de G3FC
Perguntas e Respostas da Comunidade
perguntado por usuáriosAinda não há perguntas - seja o primeiro a perguntar sobre arquivos G3FC.