mirror of
https://github.com/deunix-educ/aventuriers-des-mots.git
synced 2026-11-26 21:29:42 +01:00
Compare commits
3 Commits
97351c40a6
..
v0.9.4
| Author | SHA1 | Date | |
|---|---|---|---|
| 675068126f | |||
| 29b3bdd359 | |||
| d734d603c5 |
@@ -79,13 +79,14 @@ screenshot: import ## Capture une scene (SCENE=... OUT=... ARGS=...)
|
||||
RELEASE_ENV ?= $(HOME)/.config/aventuriers-des-mots/release.env
|
||||
ANDROID_DEBUG_KEYSTORE ?= $(HOME)/.local/share/godot/keystores/debug.keystore
|
||||
|
||||
export-android: import ## Exporte l'APK Android / ChromeOS dans build/android/
|
||||
export-android: import ## Exporte les APK Android (arm64+x86_64, et arm64 seul < 30 Mo) dans build/android/
|
||||
mkdir -p build/android
|
||||
set -a; [ -f "$(RELEASE_ENV)" ] && . "$(RELEASE_ENV)"; set +a; \
|
||||
GODOT_ANDROID_KEYSTORE_RELEASE_PATH="$${GODOT_ANDROID_KEYSTORE_RELEASE_PATH:-$(ANDROID_DEBUG_KEYSTORE)}" \
|
||||
GODOT_ANDROID_KEYSTORE_RELEASE_USER="$${GODOT_ANDROID_KEYSTORE_RELEASE_USER:-androiddebugkey}" \
|
||||
GODOT_ANDROID_KEYSTORE_RELEASE_PASSWORD="$${GODOT_ANDROID_KEYSTORE_RELEASE_PASSWORD:-android}" \
|
||||
$(GODOT_BIN) --headless --path . --export-release "Android" build/android/aventuriers_des_mots.apk
|
||||
export GODOT_ANDROID_KEYSTORE_RELEASE_PATH="$${GODOT_ANDROID_KEYSTORE_RELEASE_PATH:-$(ANDROID_DEBUG_KEYSTORE)}"; \
|
||||
export GODOT_ANDROID_KEYSTORE_RELEASE_USER="$${GODOT_ANDROID_KEYSTORE_RELEASE_USER:-androiddebugkey}"; \
|
||||
export GODOT_ANDROID_KEYSTORE_RELEASE_PASSWORD="$${GODOT_ANDROID_KEYSTORE_RELEASE_PASSWORD:-android}"; \
|
||||
$(GODOT_BIN) --headless --path . --export-release "Android" build/android/aventuriers_des_mots.apk && \
|
||||
$(GODOT_BIN) --headless --path . --export-release "Android arm64" build/android/aventuriers_des_mots_arm64.apk
|
||||
|
||||
export-macos: import ## Exporte l'application macOS (zip) dans build/macos/
|
||||
mkdir -p build/macos
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
An educational French-language game for 7-11 year olds (French grades CE1 to CM2): an offline 2D adventure with an explorable map, a guide character, and grammar, spelling, and dictation exercises.
|
||||
|
||||
Open source project, in development. Current status: version 0.9.2, playable offline on Linux, Android and in a web browser (hand-tested), with Windows, macOS and ChromeOS exports not yet tested on real hardware — profiles, saves (with export and restore in the adult area), stars and an item collection, sound effects and music, settings (volumes, text size, animations), a progress dashboard for adults, three exercise types (multiple choice, sentence correction, dictation), CE1, CE2, CM1 and CM2 in three boards each (homophones, verbs, word spelling), 111 missions. All pedagogical content is still `draft` (awaiting validation) and dictation voices are placeholders (see `assets/CREDITS.md`; see `docs/specs/decisions.md` for scoping decisions and `docs/specs/cahier-des-charges.md` for the full specification, both in French — this is a French-curriculum product).
|
||||
Open source project, in development. Current status: version 0.9.4, playable offline on Linux, Android and in a web browser (hand-tested), with Windows, macOS and ChromeOS exports not yet tested on real hardware — profiles, saves (with export and restore in the adult area), stars and an item collection, sound effects and music, settings (volumes, text size, animations), a progress dashboard for adults, three exercise types (multiple choice, sentence correction, dictation), CE1, CE2, CM1 and CM2 in three boards each (homophones, verbs, word spelling), 111 missions. All pedagogical content is still `draft` (awaiting validation) and dictation voices are placeholders (see `assets/CREDITS.md`; see `docs/specs/decisions.md` for scoping decisions and `docs/specs/cahier-des-charges.md` for the full specification, both in French — this is a French-curriculum product).
|
||||
|
||||
## Download
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Jeu éducatif de français du CE1 au CM2 (7-11 ans) : une aventure 2D hors ligne, avec une carte à explorer, un personnage guide, et des exercices de grammaire, d'orthographe et de dictées.
|
||||
|
||||
Projet open source, en développement. Statut actuel : version 0.9.2, jouable hors ligne sur Linux, Android et dans un navigateur (versions testées à la main), avec des exports Windows, macOS et ChromeOS non encore testés sur matériel — profils, sauvegardes (avec export et restauration dans l'espace adulte), étoiles et collection d'objets, sons et musique, réglages (volumes, taille du texte, animations), tableau de progrès pour l'adulte, trois types d'exercices (choix multiple, correction de phrase, dictée), CE1, CE2, CM1 et CM2 en trois tableaux chacun (homophones, verbes, orthographe des mots), 111 missions. Contenu pédagogique entièrement en brouillon (`draft`, à valider) et voix des dictées provisoires (voir `assets/CREDITS.md` ; voir `docs/specs/decisions.md` pour les décisions de cadrage et `docs/specs/cahier-des-charges.md` pour la spécification complète).
|
||||
Projet open source, en développement. Statut actuel : version 0.9.4, jouable hors ligne sur Linux, Android et dans un navigateur (versions testées à la main), avec des exports Windows, macOS et ChromeOS non encore testés sur matériel — profils, sauvegardes (avec export et restauration dans l'espace adulte), étoiles et collection d'objets, sons et musique, réglages (volumes, taille du texte, animations), tableau de progrès pour l'adulte, trois types d'exercices (choix multiple, correction de phrase, dictée), CE1, CE2, CM1 et CM2 en trois tableaux chacun (homophones, verbes, orthographe des mots), 111 missions. Contenu pédagogique entièrement en brouillon (`draft`, à valider) et voix des dictées provisoires (voir `assets/CREDITS.md` ; voir `docs/specs/decisions.md` pour les décisions de cadrage et `docs/specs/cahier-des-charges.md` pour la spécification complète).
|
||||
|
||||
## Télécharger
|
||||
|
||||
|
||||
@@ -70,7 +70,9 @@ func load_from_disk() -> void:
|
||||
if FileAccess.file_exists(SETTINGS_PATH):
|
||||
var file := FileAccess.open(SETTINGS_PATH, FileAccess.READ)
|
||||
if file != null:
|
||||
raw = JSON.parse_string(file.get_as_text())
|
||||
var json := JSON.new()
|
||||
if json.parse(file.get_as_text()) == OK:
|
||||
raw = json.data
|
||||
var clean := AppSettings.sanitize(raw)
|
||||
volume = clean["volume"]
|
||||
music_volume = clean["music_volume"]
|
||||
|
||||
@@ -6,9 +6,12 @@ toute demande.
|
||||
|
||||
## Ce que fournit le dépôt
|
||||
|
||||
- **L'APK seul dans chaque Release** : `aventuriers-des-mots-X.Y.Z-android.apk`
|
||||
(en plus de l'archive `android.zip`), signé avec la clé de publication
|
||||
(`make release`). Les dépôts tiers lisent ce fichier directement.
|
||||
- **L'APK seul dans chaque Release** : `aventuriers-des-mots-X.Y.Z-android-arm64.apk`
|
||||
(arm64 uniquement, environ 28 Mo : IzzyOnDroid refuse au-delà de 30 Mo), signé
|
||||
avec la clé de publication (`make release` vérifie signature et taille). L'APK
|
||||
arm64 + x86_64 reste dans `android.zip`. Marge faible : si le contenu grossit
|
||||
(plus de dictées), l'APK dépassera 30 Mo : compresser davantage l'audio ou
|
||||
demander une dérogation.
|
||||
- **Métadonnées de magasin** dans `fastlane/metadata/android/fr-FR/` : titre,
|
||||
descriptions courte et longue, icône 512 px, quatre captures d'écran, notes
|
||||
de version par `versionCode` (`changelogs/903.txt` pour la 0.9.3). C'est le
|
||||
@@ -26,9 +29,10 @@ dans les Releases GitHub. Pas de frais, pas de recompilation, mise à jour
|
||||
automatique quand un tag et une Release portant un APK sont publiés.
|
||||
|
||||
1. Avoir au moins une Release avec l'APK (voir plus haut) : publier la 0.9.3.
|
||||
2. Ouvrir une demande d'inclusion sur le suivi des demandes d'IzzyOnDroid
|
||||
(hébergé sur Codeberg ; adresse sur izzyondroid.org, page « App Inclusion
|
||||
Policy »), avec l'adresse du dépôt GitHub.
|
||||
2. Ouvrir un ticket sur https://codeberg.org/IzzyOnDroid/repodata/issues (compte
|
||||
Codeberg gratuit ; page « New app inclusions » du site). Brouillon prêt dans
|
||||
`docs/distribution/izzyondroid-request.md`, avec la mention du développement
|
||||
assisté par IA (leur politique rejette les apps « vibe-coded »).
|
||||
3. Les utilisateurs ajoutent ensuite le dépôt IzzyOnDroid dans le client
|
||||
F-Droid (ou Droid-ify, Neo Store) et installent l'application.
|
||||
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
# Demande d'inclusion IzzyOnDroid (brouillon du ticket)
|
||||
|
||||
À déposer par le propriétaire du dépôt sur https://codeberg.org/IzzyOnDroid/repodata/issues
|
||||
(compte Codeberg gratuit), après avoir publié la Release (`make release`).
|
||||
Texte en anglais, langue du suivi. Il mentionne volontairement le développement
|
||||
assisté par IA : leur politique rejette les applications « vibe-coded », il vaut
|
||||
mieux le dire et laisser les mainteneurs trancher.
|
||||
|
||||
---
|
||||
|
||||
**Title:** New app: Les Aventuriers des mots (offline French spelling and grammar game for kids)
|
||||
|
||||
**Repository:** https://github.com/deunix-educ/aventuriers-des-mots
|
||||
**Latest release (APK attached):** https://github.com/deunix-educ/aventuriers-des-mots/releases/latest
|
||||
(or the tag page, e.g. `v0.9.3`: the release is marked "pre-release" because the educational content is still being reviewed by teachers)
|
||||
|
||||
**What it is:** a free educational game (French school years CE1 to CM2, ages 7 to 11)
|
||||
made with Godot 4: an offline 2D adventure with exercises on spelling, homophones,
|
||||
verb forms and dictations. No account, no ads, no analytics, no network permission
|
||||
(`INTERNET` is not requested), all data stays on the device.
|
||||
|
||||
**Package name:** `org.deunix.aventuriersdesmots`
|
||||
|
||||
**License:** AGPL-3.0-or-later for code and original assets; Atkinson Hyperlegible
|
||||
font under OFL-1.1; synthetic dictation voice generated offline with Piper
|
||||
(`fr_FR-siwis-medium`, SIWIS corpus, CC BY 4.0, attribution in `assets/CREDITS.md`).
|
||||
|
||||
**APK:** `aventuriers-des-mots-<version>-android-arm64.apk`, arm64-v8a only,
|
||||
about 28 MB (under your 30 MB limit), signed with the project's own release key,
|
||||
attached to each GitHub release. Tags are `v<versionName>`.
|
||||
|
||||
**Metadata:** Fastlane structure in the repository
|
||||
(`fastlane/metadata/android/fr-FR/`: title, short and full description, icon,
|
||||
screenshots, changelogs named by versionCode).
|
||||
|
||||
**Proprietary components:** none intended. The app is built with the stock Godot
|
||||
4.6 Android export template, which contains the small inactive
|
||||
`com.android.vending.licensing` stub from the Android template; there is no
|
||||
Google Play Services or Firebase code.
|
||||
|
||||
**AI disclosure:** the code and content were written with the help of an AI coding
|
||||
assistant (Claude Code), under human direction and review: a written specification,
|
||||
a decision log (`docs/specs/decisions.md`), 214 automated tests, and a content
|
||||
review process in which all educational content is marked `draft` until teachers
|
||||
validate it. I am telling you up front because of your policy on AI-generated
|
||||
apps; I understand if this makes the app ineligible.
|
||||
|
||||
Thanks for considering it.
|
||||
|
||||
---
|
||||
|
||||
## Avant de déposer
|
||||
|
||||
- La Release la plus récente porte bien l'APK arm64 ; `make release` vérifie la
|
||||
signature de publication et la taille (< 30 Mo).
|
||||
- Remplacer « 214 tests » et « about 28 MB » par les valeurs de la version publiée.
|
||||
- Ne rien promettre sur l'acceptation : en cas de refus, voie 2 (dépôt F-Droid
|
||||
personnel) dans `docs/distribution/fdroid.md`.
|
||||
@@ -455,3 +455,5 @@ Les corrections et les dictées CE1/CE2 n'ont pas révélé d'autre problème ;
|
||||
**Google Play (0.9.3)** — décision de l'utilisateur : viser Google Play, principalement pour les Chromebooks scolaires. Côté dépôt : preset « Android Play » (Gradle, App Bundle `.aab`, arm64 + x86_64, minSdk 24, cible Android 16) et cibles `make android-template` / `make export-play` ; le bundle est signé avec la clé de publication (refus sans elle). `android/` (modèle Gradle) est ignoré par git. La publication elle-même (compte, fiche, public « enfants », politique de confidentialité) relève du propriétaire : guide dans `docs/distribution/play-store.md`. **Non vérifié** : aucun envoi à la Play Console, installation du bundle non testée.
|
||||
|
||||
**Retrait de Google Play, passage à F-Droid (0.9.3)** — décision de l'utilisateur : pas de frais Google. Le preset « Android Play », `make export-play` et `make android-template` (ajoutés puis retirés le même jour) sont supprimés ; l'APK reste l'artefact Android. Pour F-Droid : métadonnées `fastlane/metadata/android/fr-FR/` (ignorées de Godot et des exports), APK publié seul dans chaque Release en plus de `android.zip`, guide `docs/distribution/fdroid.md`. Voie recommandée : dépôt IzzyOnDroid (APK du développeur, depuis les Releases) ; F-Droid officiel (recompilation de Godot depuis les sources) reporté. **Non vérifié** : aucune demande déposée ; les Chromebooks scolaires gérés restent un cas ouvert (web, Linux ou APK selon l'établissement).
|
||||
|
||||
**IzzyOnDroid et APK arm64 (0.9.3)** — décision de l'utilisateur : tenter IzzyOnDroid, avec dépôt F-Droid personnel en secours. IzzyOnDroid plafonne les APK à 30 Mo : un second preset « Android arm64 » produit un APK arm64 seul (≈ 28,4 Mo), publié seul dans la Release (`…-android-arm64.apk`) ; l'APK arm64 + x86_64 reste dans `android.zip`. `make release` refuse un APK de plus de 30 000 000 octets (marge actuelle : environ 190 Ko seulement). Demande : ticket sur le suivi Codeberg d'IzzyOnDroid ; brouillon dans `docs/distribution/izzyondroid-request.md`, qui déclare le développement assisté par IA (leur politique rejette les applications « vibe-coded » : refus possible, à assumer). Le dépôt F-Droid personnel n'est pas encore mis en place. **Non vérifié** : acceptation, installation via un client F-Droid.
|
||||
|
||||
+42
-4
@@ -71,8 +71,8 @@ gradle_build/use_gradle_build=false
|
||||
package/unique_name="org.deunix.aventuriersdesmots"
|
||||
package/name="Les Aventuriers des mots"
|
||||
package/signed=true
|
||||
version/code=903
|
||||
version/name="0.9.3"
|
||||
version/code=904
|
||||
version/name="0.9.4"
|
||||
architectures/armeabi-v7a=false
|
||||
architectures/arm64-v8a=true
|
||||
architectures/x86=false
|
||||
@@ -107,8 +107,8 @@ script_export_mode=2
|
||||
|
||||
binary_format/architecture="universal"
|
||||
application/bundle_identifier="org.deunix.aventuriersdesmots"
|
||||
application/short_version="0.9.3"
|
||||
application/version="0.9.3"
|
||||
application/short_version="0.9.4"
|
||||
application/version="0.9.4"
|
||||
application/min_macos_version_x86_64="10.12"
|
||||
application/min_macos_version_arm64="11.0"
|
||||
codesign/codesign=1
|
||||
@@ -139,3 +139,41 @@ variant/thread_support=false
|
||||
vram_texture_compression/for_desktop=true
|
||||
vram_texture_compression/for_mobile=false
|
||||
progressive_web_app/enabled=false
|
||||
|
||||
[preset.5]
|
||||
|
||||
name="Android arm64"
|
||||
platform="Android"
|
||||
runnable=true
|
||||
advanced_options=false
|
||||
dedicated_server=false
|
||||
custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter="tests/*, addons/gut/*, fastlane/*"
|
||||
export_path="build/android/aventuriers_des_mots_arm64.apk"
|
||||
patches=PackedStringArray()
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
encrypt_pck=false
|
||||
encrypt_directory=false
|
||||
script_export_mode=2
|
||||
|
||||
[preset.5.options]
|
||||
|
||||
gradle_build/use_gradle_build=false
|
||||
package/unique_name="org.deunix.aventuriersdesmots"
|
||||
package/name="Les Aventuriers des mots"
|
||||
package/signed=true
|
||||
version/code=904
|
||||
version/name="0.9.4"
|
||||
architectures/armeabi-v7a=false
|
||||
architectures/arm64-v8a=true
|
||||
architectures/x86=false
|
||||
architectures/x86_64=false
|
||||
screen/immersive_mode=true
|
||||
screen/support_small=true
|
||||
screen/support_normal=true
|
||||
screen/support_large=true
|
||||
screen/support_xlarge=true
|
||||
permissions/internet=false
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
APK arm64 seul de moins de 30 Mo pour les dépôts F-Droid tiers ; lecture silencieuse des fichiers corrompus.
|
||||
+1
-1
@@ -11,7 +11,7 @@ config_version=5
|
||||
[application]
|
||||
|
||||
config/name="Les Aventuriers des mots"
|
||||
config/version="0.9.3"
|
||||
config/version="0.9.4"
|
||||
run/main_scene="res://scenes/boot/boot.tscn"
|
||||
config/features=PackedStringArray("4.6", "Forward Plus")
|
||||
config/icon="res://icon.svg"
|
||||
|
||||
@@ -87,7 +87,12 @@ static func _read_raw_json(path: String) -> Variant:
|
||||
var text := file.get_as_text()
|
||||
if text.strip_edges().is_empty():
|
||||
return null
|
||||
return JSON.parse_string(text)
|
||||
# JSON.new().parse : un fichier corrompu est un cas normal (repli sur la
|
||||
# copie de secours), pas une erreur moteur a journaliser.
|
||||
var json := JSON.new()
|
||||
if json.parse(text) != OK:
|
||||
return null
|
||||
return json.data
|
||||
|
||||
|
||||
static func _copy_file(from_path: String, to_path: String) -> void:
|
||||
|
||||
@@ -94,7 +94,6 @@ func test_corrupted_main_file_falls_back_to_backup() -> void:
|
||||
main_file.close()
|
||||
|
||||
var read_back: Variant = SaveIO.read(profile_id, save_schema)
|
||||
assert_engine_error("Parse JSON failed")
|
||||
assert_not_null(read_back)
|
||||
assert_eq(int(read_back["session_count"]), 1)
|
||||
|
||||
|
||||
+4
-2
@@ -120,8 +120,10 @@ WEB
|
||||
&& zip -qr "${CHROMEOS}.zip" "${CHROMEOS}")
|
||||
# L'APK est aussi publie seul : les depots F-Droid tiers (IzzyOnDroid) le lisent
|
||||
# directement dans la Release, sans archive.
|
||||
cp build/android/aventuriers_des_mots.apk "dist/${ANDROID}.apk"
|
||||
# Version arm64 seule (moins de 30 Mo, plafond d'IzzyOnDroid) ; l'APK arm64 + x86_64
|
||||
# reste dans l'archive android.zip.
|
||||
cp build/android/aventuriers_des_mots_arm64.apk "dist/${ANDROID}-arm64.apk"
|
||||
(cd dist && sha256sum "${LINUX}.tar.gz" "${WINDOWS}.zip" "${ANDROID}.zip" \
|
||||
"${ANDROID}.apk" "${MACOS}.zip" "${CHROMEOS}.zip" > SHA256SUMS)
|
||||
"${ANDROID}-arm64.apk" "${MACOS}.zip" "${CHROMEOS}.zip" > SHA256SUMS)
|
||||
rm -rf "dist/${LINUX}" "dist/${WINDOWS}" "dist/${ANDROID}" "dist/${MACOS}" "dist/${CHROMEOS}"
|
||||
ls -lh dist
|
||||
|
||||
+6
-3
@@ -55,7 +55,7 @@ ARCHIVES=(
|
||||
"dist/aventuriers-des-mots-${VERSION}-linux-x86_64.tar.gz"
|
||||
"dist/aventuriers-des-mots-${VERSION}-windows-x86_64.zip"
|
||||
"dist/aventuriers-des-mots-${VERSION}-android.zip"
|
||||
"dist/aventuriers-des-mots-${VERSION}-android.apk"
|
||||
"dist/aventuriers-des-mots-${VERSION}-android-arm64.apk"
|
||||
"dist/aventuriers-des-mots-${VERSION}-macos-universal.zip"
|
||||
"dist/aventuriers-des-mots-${VERSION}-chromeos.zip"
|
||||
)
|
||||
@@ -69,7 +69,10 @@ APKSIGNER="$(ls -d "${ANDROID_HOME:-${HOME}/Android/Sdk}"/build-tools/*/apksigne
|
||||
[ -x "${APKSIGNER}" ] || fail "apksigner introuvable (Android SDK build-tools)"
|
||||
TMP="$(mktemp -d)"
|
||||
trap 'rm -rf "${TMP}"' EXIT
|
||||
CERTS="$("${APKSIGNER}" verify --print-certs "dist/aventuriers-des-mots-${VERSION}-android.apk")"
|
||||
# IzzyOnDroid n'accepte pas d'APK de plus de 30 Mo.
|
||||
APK_SIZE="$(stat -c %s "dist/aventuriers-des-mots-${VERSION}-android-arm64.apk")"
|
||||
[ "${APK_SIZE}" -le 30000000 ] || fail "l'APK arm64 depasse 30 Mo (${APK_SIZE} octets)"
|
||||
CERTS="$("${APKSIGNER}" verify --print-certs "dist/aventuriers-des-mots-${VERSION}-android-arm64.apk")"
|
||||
if grep -q "${DEBUG_CERT_DN}" <<<"${CERTS}"; then
|
||||
fail "l'APK est signe avec la cle de debogage Godot : verifier ${RELEASE_ENV}"
|
||||
fi
|
||||
@@ -86,7 +89,7 @@ les voix des dictées sont provisoires (synthèse vocale).
|
||||
| Plateforme | Archive | Testé à la main |
|
||||
|---|---|---|
|
||||
| Linux | \`linux-x86_64.tar.gz\` | oui |
|
||||
| Android | \`android.apk\` (ou \`android.zip\` avec notice) | oui |
|
||||
| Android | \`android-arm64.apk\` (téléphones et tablettes ARM) ou \`android.zip\` (arm64 + x86_64, avec notice) | oui |
|
||||
| Navigateur / ChromeOS | \`chromeos.zip\` (version web + APK) | web : oui |
|
||||
| Windows | \`windows-x86_64.zip\` | non |
|
||||
| macOS | \`macos-universal.zip\` | non |
|
||||
|
||||
Reference in New Issue
Block a user