.sgf SGF-record
Tekst & broncode
| MIME-type | application/x-go-sgf |
|---|---|
| Beschrijving | SGF-record |
| Afkorting | SGF – Smart Game Format |
| Categorie | Tekst & broncode |
| Signatuur (magic bytes) | 28 3B 46 46 5B 33 5D ((;FF[3])28 3B 46 46 5B 34 5D ((;FF[4]) |
| Gebaseerd op | text/plain |
Veelgestelde vragen
Wat is een .sgf-bestand?
Een .sgf-bestand is een formaat van het type „SGF-record” (MIME-type application/x-go-sgf). SGF staat voor Smart Game Format.
Waarmee open ik een .sgf-bestand?
Met elke teksteditor – bijvoorbeeld Notepad++, Visual Studio Code of onder Linux gedit en vim. Het bestand bevat leesbare tekst, mogelijk broncode of configuratie.
Hoe herken je een echt .sgf-bestand?
Aan het begin van het bestand, de zogenaamde signatuur (magic bytes): 28 3B 46 46 5B 33 5D ((;FF[3]) en 28 3B 46 46 5B 34 5D ((;FF[4]). Onder Linux en macOS controleert file --mime-type example.sgf het werkelijke type, los van de extensie.
Op welk formaat is .sgf gebaseerd?
Technisch is een .sgf-bestand een subtype van „Plain text document” (text/plain). Programma’s voor dat basisformaat kunnen het bestand daarom vaak ook lezen.
Welk MIME-type hoort bij .sgf?
Het MIME-type is application/x-go-sgf. In de Apache-webserver: AddType application/x-go-sgf .sgf; in nginx: types { application/x-go-sgf sgf; }.