G3FC ファイル形式とは?
.g3fc ファイルは、2025年に G3Pix (Lucas Guimarães) によって公開されたオープンアーカイブ形式である Generation 3 File Container 形式のアーカイブです。1つ以上のファイルを単一のコンテナにパックし、.zst 形式でも採用されている高速なアルゴリズムである Zstandard で圧縮します。圧縮に加えて、G3FC はコンシューマー向けアーカイブ形式では珍しい2つの機能を備えています。1つはオプションの AES-256-GCM 認証付き暗号化、もう1つは長期保存中のビット腐敗(データ劣化)からアーカイブを保護できるオプションの Reed-Solomon 前方誤り訂正(FEC)です。
この形式は、各ファイルの先頭が ASCII シグネチャ G3FC で始まり、末尾がマジックバイト G3CE を持つ40バイトのフッターで終わります。そのフッターは CBOR エンコードされたインデックスを指しているため、リーダーはファイル全体をスキャンすることなく内容をリスト化して検索できます。これは .tar アーカイブが必要とするシーケンシャル読み取りよりも高速です。値はリトルエンディアンで保存され、テキストは UTF-8、整合性は CRC-32 チェックサムによって保護されています。仕様は公開されており、Rust、Go、C#、Python によるリファレンスツールが GNU General Public License v2.0 の下でリリースされています。
セキュリティと安全性
リスク: 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.
形式の詳細
概要- 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.
G3FC ファイルを開くプログラム
技術的詳細
詳細仕様| 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. |
| リリース日 | 2025 |
| 最新バージョン | Format version 1.0 (tooling v1.1.3, August 2025) |
| オープンスタンダード | はい · ロイヤリティフリー |
| 仕様書 | github.com |
G3FC の変換
コミュニティ Q&A
ユーザーからの質問まだ質問はありません。G3FC ファイルについて最初の質問をしてみましょう。
よくある質問
.g3fc ファイルを開くにはどうすればよいですか?
g3fc extract yourfile.g3fc を実行してください。どちらも公式の GitHub プロジェクトから入手できます。