User guide
Everything the app can do, and every setting. New here? Start with the README.
The main window and the tray
Section titled “The main window and the tray”The main window shows the game status, XP, player, template and language, with buttons for settings, progress, phone and the content pack. A ⭐ icon also sits in the tray (bottom right): left-click it to open the window again, right-click for a quick menu (choose pack, settings, open the log, hide or show XP, quit). Closing the window keeps the app running next to your game; turn off Open the main window when the app starts in settings if you prefer it to wait quietly.
Language: العربية / English at the top of the main window switches the app’s windows. If you study an example pack, you also get the example in that language; your own packs stay as they are.
Make a pack from my notes
Section titled “Make a pack from my notes”اصنع حزمة من ملاحظاتي / Make a pack from my notes in the main window (or the tray menu) turns your own notes into a pack, with no command line:
- Paste your notes, or Choose a file… (
.md,.txt, or a.pdfof up to 30 pages). Lines that start with##begin a new part; long notes are split into lessons of a few hundred words. - Optional: a title, the language of the notes (العربية / English), and who will study it (age, grade).
- The first time, paste your own Gemini key (free from Google AI Studio). It is saved encrypted on this PC (Windows protects it for your Windows user) in its own file in the app’s config folder, never in
settings.jsonand never in the log. Change or Remove the key at any time. Developers can setGEMINI_API_KEYin the environment instead. - Press Make it. The app runs the same AI steps as
pnpm pipeline all: reading → finding the facts → writing the lessons → checking the lessons → writing the questions → checking the questions. It takes a few minutes (about 1.5 to 3 minutes for a page of notes); Cancel stops at once and keeps nothing. Questions the check marks as seriously wrong are taken out. - The result shows the lessons, facts and questions (by type) and what the checks found. Study this pack now switches to it (the app restarts); Open folder shows its files.
Packs you made are listed under My packs in the main window: press Study to switch between them. They live in %APPDATA%\game-learning\packs\. Reading questions aloud is off by default: for English packs you can tick it (Gemini voice, free, slower); for Arabic packs it appears only when a Sawtak voice is configured (SAWTAK_API_KEY, SAWTAK_VOICE). A parent’s PIN locks making and switching packs. What is sent: see PRIVACY.md.
Import flashcards (Anki, Quizlet, CSV)
Section titled “Import flashcards (Anki, Quizlet, CSV)”Already have cards? Turn them into a pack without any AI:
pnpm import-deck my-deck.apkg --out packs/spanish # Anki export (.apkg)pnpm import-deck words.csv --out packs/words --typed # CSV/TSV: question, answer[, deck]Each card becomes a fact and a question: multiple choice (wrong choices come from other cards in the deck), or a typed answer with --typed and for Anki cloze cards. Each deck becomes a unit. Quizlet’s export (term TAB definition) works as is. Media (pictures, sounds) are not imported; pnpm pipeline audio -p <pack> can add voice.
Weekly summary
Section titled “Weekly summary”Once a week the app opens a short summary by itself (tray icon → Weekly summary… any time): answers and accuracy, minutes played, days played, days with the daily goal met, facts learned this week and facts to practise next. It stays on this PC.
Phone as an answer pad
Section titled “Phone as an answer pad”Tray icon → Phone as answer pad → Connect a phone… shows a QR code. Scan it with a phone on the same Wi-Fi: questions then also appear on the phone, and you can answer there (handy from the sofa, or when the game is in full screen). Each phone gets its own key; Forget all phones removes them. Details: docs/PLATFORMS.md.
Progress report
Section titled “Progress report”See what was learned, fact by fact: strong (remembered over time), learning, weak (last answer wrong or under 60% right) and not seen.
pnpm report # the pack the app studies (from settings.json)pnpm report --pack <dir> --all # also list learning and strong factspnpm report --json # for other toolsVoice answers
Section titled “Voice answers”Answer by speaking, in Arabic or English. Turn on Answer by voice in Settings (group Voice answers).
- On the question card: press Say it (or Ctrl+Shift+V), then say the answer. Recording stops by itself when you stop talking (press again to stop early).
- When the game shows the question (Hollow Knight with
questionScreen: game): press Ctrl+Shift+V and speak. The app listens and answers for you, like a click would. - A small badge at the top of the screen shows Listening…, then what it heard. If it is not sure, it sends nothing and says Didn’t catch that, try again.
What you can say:
| Question | English | Arabic |
|---|---|---|
| Multiple choice | The choice itself (“Jupiter”, “I think it’s Jupiter”), or “two”, “number 2”, “second”, “B” | الاختيار نفسه (“المشتري”)، أو “الثاني”، “الخيار الثاني”، “رقم اثنين”، “اثنين”، “ب” |
| True or false | true, yes, right, correct / false, no, wrong, not true | صح، صحيح، نعم، أجل / خطأ، غلط، لا، غير صحيح |
| Typed answer | The answer (“The answer is Mars” sends “Mars”); it is graded like typed text | الإجابة (“الجواب هو المريخ” تُرسل “المريخ”) |
| Ordering, matching | Not by voice yet: use the number keys or click | ليس بالصوت بعد |
With number choices (“4”, “8”), a bare number means the value (“eight” picks “8”); “number two” or “the second one” means the position.
Privacy: speech is recognised on this PC by a small Whisper model; no sound or text leaves the computer. When you turn voice answers on, the app downloads the model once from Hugging Face (about 80 MB for the default base model) into %APPDATA%\game-learning\models\; after that it works offline. Windows must let desktop apps use the microphone (Windows Settings → Privacy & security → Microphone). Details: PRIVACY.md.
Speed: on a typical PC the base model needs about 2 seconds to understand a short answer (tiny: about 1 second but less accurate, especially in Arabic; small: about 10 seconds, best for Arabic). The model loads in the background when the app starts.
Settings
Section titled “Settings”Tray icon → Settings… opens a settings window (it is generated from the settings schema, so new settings appear there automatically). Saving applies the changes at once, while you play; only the content pack, the language, where questions appear and the readable font restart the app. Advanced: the same values live in %APPDATA%\game-learning\settings.json.
Parent lock: in the settings window, Lock with a PIN (4 to 8 digits). Then the settings, templates, players, content pack and phones can only be changed after entering the PIN. It is a soft lock: someone who can edit files on the PC can still change settings.json by hand.
Players (profiles): tray icon → Player switches between people sharing the PC; each has their own settings and progress. Add or rename players in the settings window.
The easiest way is a template for your goal (in the settings window, or tray icon → Template), then change any single setting. Values written in the file win over the template.
Template (preset) |
For |
|---|---|
gentle: Learn while having fun |
The default: questions after deaths and at benches, facts while loading |
student: Serious study |
+ warm-up, a short lesson at benches, new areas, every 10 minutes |
exam: Exam prep |
+ before bosses, every 5 minutes, a 5-question warm-up |
language: Language practice |
Frequent short questions with voice, words while loading |
child: Child (calm) |
Fewer questions, bigger rewards, bigger text, no timer |
challenge |
Before bosses and in new areas, smaller rewards |
hardcore |
Everything on, no wait between questions |
Your own templates: save your settings as a template in the settings window, export it as a file, and import one someone shared (a teacher with a class).
More settings (time limits, penalties, typed answers) will join the presets as they are built (ADR 0008).
| Setting | Default | What it does |
|---|---|---|
preset |
gentle |
A bundle of the values below: gentle, student, challenge or hardcore |
cooldownSeconds |
30 |
Minimum seconds between two questions after deaths |
askOnDeath |
true |
Ask after a death |
askAtBench |
true |
Ask when resting at a bench (at most once a minute) |
askOnNewArea |
false |
Ask on entering a new region of the game |
askBeforeBoss |
false |
Ask just before a boss fight (Hollow Knight: an enemy with 200+ health) |
askEveryMinutes |
0 |
Ask every N minutes of play; 0 = never |
currencyReward |
50 |
Geo (in-game money) for a right answer |
knowledgeBonus |
false |
Geo grows with your answer streak (up to x2) and with what you know long-term (up to x2 more). On in Challenge |
rewardsInGame |
true |
false keeps rewards in the companion (XP only) |
voice |
true |
Read questions aloud when the pack has audio (pnpm pipeline audio) |
xpBadge |
always |
XP badge: always, with-questions (only while a question shows) or never. Ctrl+Shift+H hides or shows it any time |
textScale |
1 |
Text size in every window of the app and on the in-game question card (1.5 = 50% bigger) |
highContrast |
false |
Solid black cards, white text, a bright highlight (app and game) |
readableFont |
false |
Easy-to-read font (Atkinson Hyperlegible) for Latin letters; Arabic keeps Noto Sans Arabic |
sounds, soundVolume |
true, 0.6 |
Short sounds for right and wrong answers and rewards (made by the app, no sound files) |
autoUpdate |
true |
Download new versions from GitHub in the background; they install when the app closes |
reduceMotion |
false |
No sliding or fading cards |
feedbackSeconds |
8 |
How long the answer stays on screen after answering |
questionScreen |
game |
Where questions appear: game (drawn by the game’s mod: full screen and controller) or overlay (the app’s window) |
studyBreakEveryMinutes |
0 |
Study break: pause play every N minutes of play (0 = never). Serious study and Exam prep use 25 |
studyBreakUnlock |
right-answers |
What ends the break: right-answers, questions or minutes |
studyBreakAmount |
5 |
How many of them |
studyBreakSkippable |
true |
Whether the player may end the break early (false for a parent-set break) |
npcFacts |
sometimes |
Talking to a character sometimes shows a fact next to the conversation: off, sometimes, often |
answerSeconds |
0 |
Seconds to answer, with a countdown (0 = no limit); running out counts as wrong. Exam prep 30, Hardcore 20 |
hints |
0 |
Hints per question (0–3): grey out a wrong choice, a first letter or first item, then the lesson part. A right answer after a hint earns half. Serious study 1, Language and Child 2 |
games |
— | Settings for one game only, e.g. { "hollow-knight": { "hints": 2 } }. Easiest in the settings window: Settings for → Hollow Knight. With its own preset, the game starts from that template |
dailyGoal |
10 |
Questions per day; the badge shows today’s progress, My progress shows the streak and a calendar (0 = no goal) |
warmUpQuestions |
0 |
Review questions in a row when the game starts |
lessonAtBench |
false |
At a bench, a short lesson section before the question |
factsOnLoading |
true |
A fact from your material while the game loads (games that support it) |
companion |
true |
The companion character: a small friend who reacts to your answers (COMPANION.md) |
companionInGame |
true |
Games that can draw the companion (Hollow Knight) show it next to your character, in full screen too; the app’s window then hides its own. false: the app’s window shows it (borderless mode only) |
companionPlace |
follow |
Where a game that draws the companion (Hollow Knight) puts it: follow (behind your character), corner (small, bottom-left of the screen) or hidden (no companion at all; the app’s window does not show its own either). Also in the game’s menu |
companionPowers |
true |
The companion’s powers for a right answer, in games that support them (Hollow Knight: 33 soul and a 5-second shield) |
uiLanguage |
auto |
Language of the app’s windows: auto (the pack’s language), ar or en. Easiest: Language at the top of the main window |
voiceAnswers |
false |
Answer by voice (multiple choice, true/false, typed). Speech is recognised on this PC; the first use downloads the speech model once. See Voice answers |
voiceModel |
base |
Speech model: tiny (about 40 MB, fastest), base (about 80 MB) or small (about 250 MB, best for Arabic, about 4 times slower) |
voiceHotkey |
CommandOrControl+Shift+V |
Hotkey to answer by voice; it is only taken while a question waits, so it does not block other programs. Empty = no hotkey (the mic button still works) |
packDir |
(none) | Folder of the content pack to study |
The pack can also be chosen with --pack=<folder> or the GL_PACK variable. If a value has a mistake, the app tells you in its log and uses the default for that value only.