Skip to content

Instantly share code, notes, and snippets.

@karkraeg
Created February 23, 2026 18:45
Show Gist options
  • Select an option

  • Save karkraeg/ce8cd233a644b705d2158e954b9103cd to your computer and use it in GitHub Desktop.

Select an option

Save karkraeg/ce8cd233a644b705d2158e954b9103cd to your computer and use it in GitHub Desktop.
# ICS aiocr Configuration File
# This file contains the prompt and JSON structure for data extraction
# Prompt
default_prompt: |
Extract the following Information of the game from the given Scans:
!!!CRITICAL: If you don't find the information dont hallucinate it, leave it empty!!!
- Title
- Subtitle
- Year of Publication (if multiple use the earlier date)
- Publisher (if multiple, add to array)
- Developer (if multiple, add to array)
- Distributor (if multiple, add to array)
- Languages (only language names)
- System:
* Choose EXACTLY one from the provided list.
* PC specification: Avoid the generic term 'PC'. Instead, look for the lowest system requirement mentioned (e.g., 'Windows 95' instead of 'Windows XP', 'MS-DOS' instead of 'Windows').
* Minimum principle: If a list of operating systems appears (e.g., "Runs on Win 95/98/ME"), extract only the oldest/first system in the chain. * Fallback: Only use 'PC' if absolutely no specific operating system can be identified, but it is clearly a computer game.
* List:
* 3DO
* Amazon Alexa
* Amiga
* Amiga CD32
* Amstrad CPC
* Android
* Apple II
* Apple II GS
* Apple iPhone
* Apple iPod Classic
* Apple iPod Touch
* Apple Mac OS
* Apple Macintosh
* Atari 2600
* Atari 5200
* Atari 7800
* Atari 8-bit
* Atari Jaguar
* Atari Lynx
* Atari ST
* Atari TV Games
* Atari XE
* Blu-ray-Player
* Browser
* Coleco Vision
* Commodore 128
* Commodore 16
* Commodore 64
* Commodore Dragon 32/64
* Commodore PET/CBM
* Commodore VC 20
* Compaq iPAQ
* DVD-Player
* Fairchild ChannelF
* Game Gear
* GFA-Handheld
* Google Stadia
* IBM-Personal Computer
* Intellivision
* Intellivision Amico
* Interton VC4000
* iOS
* Linux
* Mac System 7.5
* Microsoft XBox
* Microsoft XBox 360
* Microsoft Xbox One
* Microsoft Xbox Series X and Series S
* Microvision
* Mophun
* MSX
* N-Gage
* NeoGeo
* NeoGeo CD
* NeoGeo Pocket
* NeoGeo Pocket Color
* NES
* Nintendo 3DS
* Nintendo 64
* Nintendo DS
* Nintendo DSi
* Nintendo GameBoy
* Nintendo GameBoy Advance
* Nintendo GameBoy Color
* Nintendo Gamecube
* Nintendo Switch
* Nintendo Wii
* Nintendo Wii U
* Odyssey
* Odyssey 2
* Ouya
* Palladium Spielkonsole
* Palm OS
* PC
* PC-Booter
* PC-Dos
* PC-FX
* Philips CD-I
* Philips Tele-Spiel ES-2201
* Pocket PC
* Pokemon Mini
* Prof. Weiss - Alles
* Radofin (Modell 1292)
* SANWA 9015
* SEGA 32x
* SEGA CD
* SEGA Dreamcast
* SEGA MasterSystem
* Sega Mega CD
* SEGA Megadrive-Genesis
* SEGA Saturn
* SHG Blackpoint
* Sinclair ZX-Spectrum
* SNES
* Sony Playstation
* Sony Playstation 4
* Sony Playstation 2
* Sony Playstation 3
* Sony Playstation Portable
* Sony Playstation portable go
* Sony Playstation V
* Sony Playstation Vita
* SpectraVideo
* Symbian
* Tele-Fever
* ThomsonT07-70/MO5
* TI Home Computer System
* TRS-80
* TurboGrafXCD
* TV Game
* V.Smile
* Vectrex
* VirtualBoy
* Windows 10
* Windows 11
* Windows 2000
* Windows 3.x
* Windows 7
* Windows 8
* Windows 95
* Windows 98
* Windows 98 NT
* Windows 98 SE
* Windows ME
* Windows Mobile
* Windows Vista
* Windows XP
* WonderSwanColor
* Zodia
- If the Box contains a Compilation mark is_compilation to True and note the contained games comma separated in compilation_contains.
- Inventory Number (if identifiable as one like "CSM 0299111")
- System requirements (System, RAM, Hard Disk space, Type of data carrier and number of carriers, Soundcard, Video card, other information about System requirements - but don't record type of console for console games for instance).
- Extract Number of Players (only integers or ranges of integers)
- Copyright
- Description text (extract the german and english version if present, try to get all text even if the text spans across columns or even images)
- EAN (this should be underneath a barcode most of the time),
- Age rating (USK/PEGI).
- Please also try to find out how many data carriers are available and which ones.
- Please also note if instructions or other extras are included.
- Provide 1–4 highly specific German keywords for a professional archival database. Constraints: Language: Strictly German. Quantity: Maximum 4 keywords. Focus: Identify unique thematic motifs, specific settings, or artistic tropes (e.g., 'Mecha', 'Cyberpunk', 'Postapokalypse', 'Zoomorphismus'). Negative Constraints: Do NOT use generic gameplay verbs or _filler_ terms like 'Kampf', 'Feuerkraft', 'Action', 'Schlachten', 'Spaß', 'Level', or 'Strategie'. Style: Think of 'Iconographic Indexing'. If you see a robot animal, don't write 'Roboter' and 'Tier', write 'Bionik' or 'Technozoologie'."
# JSON Structure for Output
default_json_structure:
title: ""
subtitle: ""
publication_year: ""
publisher: []
developer: []
distributor: []
languages: []
system: ""
is_compilation: false
compilation_contains: []
system_requirements: ""
number_of_players: ""
copyright: ""
inventory_number: ""
ean: ""
age_rating:
USK: ""
PEGI: ""
description:
de: ""
en: ""
keywords: []
number_of_carriers: ""
type_of_carrier: ""
included_extras: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment