MPM : Mod add-ins Math+
Posté le 02/12/2024 12:36

MPM est un mod communautaire de la Math+ remettant le support des add-ins, développé par Planète Casio.
Version actuelle : bêta
Instruction d'utilisation
- Brancher la calculatrice en mode mise à jour de l'OS. Si vous utilisez une VM, attachez la calto à la VM.
- Lancer mpm-installer-1.0bw.exe depuis cmd. Un échange se fait.
- Quand l'installeur affiche "Communicating more..." la calto se reconnecte. (Si vous utilisez une VM, attachez la calto à la VM. J'utilise une fonction naïve pour la reconnexion donc vous avez genre 10 secondes.) Attendez une seconde et appuyez sur EXE pour continuer.
- Ensuite suivez les instructions sur la calto, en gros TOOLS puis SETTINGS et RESTART.
- Transférez mpm.bin dans la mémoire de stockage.
- Dans le menu principal, appuyez sur TOOLS pour accéder au menu des add-ins (inactif en mode examen).
État actuel du support (2025-02-19)
- Les add-ins compilés avec la branche dev de gint doivent marcher normalement.
- Les add-ins gint non recompilés marcheront mais le clavier sera en désordre et tout retour au menu / accès système de fichiers / autre syscall plantera.
- Les add-ins PrizmSDK ne marcheront pas parce qu'ils utilisent des syscalls partout (pas encore émulés)
- Tous les add-ins modifiés pour remplacer les syscalls par des adresses explicites si les syscalls ont le même code marcheront (... tant que y'a pas en plus des fonctionnalités spécifiques aux modèles dans l'appli).
Liste de préoccupations
- Compatibilité binaire :
Pas encore clair
Si on peut l'avoir, c'est super. Sinon, y'a un casse-tête à attendre pour traquer quels add-ins sont compatibles. L'absence de table de syscalls est le principal souci ici, ce qui peut peut-être se contourner avec un coup d'UBC pour intercepter les appels.
- Compatibilité de la disposition clavier :
Pire cas, en recompilant
Syscalls + GetKey() : les codes sont adaptés, certaines touches disparaissent, d'autres sont nouvelles.
gint sans recompiler : j'ai un trick en tête mais il vaut mieux imaginer que ça va donner des mauvais résultats.
gint en recompilant : la compatibilité sera assurée.
- Reste du matériel :
Quasiment garanti identique
Il faudrait qu'un truc très gros m'ait échappé.
- RAM étendue :
Probablement OK
Il y a de la mémoire après les 2 premiers Mo, pas sûr cependant de si l'utiliser interférera avec l'opération normale de l'OS.
- Récupérer 16 Mo de mémoire de stockage :
Pas clair
Il faut que ça marche en pratique et c'est dur d'écarter tous risques de brick. Et je sais pas comment faire techniquement parlant.
Post original
Cliquez pour enrouler
Comme annoncé pour le
Puzzle de l'Avent, un mod Math+ non-officiel est en cours de développement pour permettre d'écrire des add-ins sur la Math+.
Le mod n'est pas encore public du fait qu'il n'y a pas encore les sécurités nécessaires pour bien empêcher qu'on en abuse. Mais les questions techniques sont partiellement résolues et on commence à avoir une vue raisonnable de ce qu'on va pouvoir, ou pas, faire sur la Math+.
La préoccupation principale est
si les .g3a existants vont marcher tels quels, ou
compatibilité binaire. Ce serait le pied, mais c'est pas encore clair si on peut parce que la table des syscalls n'existe plus.
Par ce topic je souhaiterais savoir ce que la communauté voudrait voir dans un tel mod et discuter de la faisabilité technique. Y a-t-il des choses qui posaient problèmes sur la 90 que vous voudriez améliorer ? Des soucis attendus avec la Math+ que vous voulez voir adressés ? J'ai déjà quelques idées en tête, mais je vous laisse vous exprimer.
Fichier joint
Citer : Posté le 12/11/2025 22:10 | #
I would love a VirtualBox image, yes! How to transfer it depends on the size. Breizh_craft hosts a local file transfer tool for anything up to 5 gigs, though I suppose even compressed the image would be larger. In that case any online file transfer utility would do (not like it's sensitive data anyway). In that case I'll send you some email by PM; let me know.
Flymno Invité
Citer : Posté le 13/11/2025 19:28 | #
Hello I have exported the Virtual Machine and am able to share it through google drive, It is roughly 6GB in size
Citer : Posté le 13/11/2025 19:31 | #
Perfect! I realize you don't have an account so no PM. Please send the link or the invite to contact@ this website!
Flymno Invité
Citer : Posté le 13/11/2025 19:41 | #
Yeah I was not able to make an account for some reason it never emailed me, this works fine though
Here you go!
https://drive.google.com/file/d/1H3PQ1qgnpERf5bCDDZYecmMCrJgwYUmV/view?usp=sharing
Citer : Posté le 13/11/2025 19:47 | #
Thanks, I'm downloading that and I'll look... as soon as I have some time.
I would like to know why you can't register though. We've only had a couple email sending failures this month (all to addresses that like don't exist), and if something's preventing people from registering that's a problem for us. x)
EOJonas Invité
Citer : Posté le 24/11/2025 22:59 | #
Is there a Linux version available for the installer?
Wouldn't a Linux version stop the "cahute_receive_on_link : CAHUTE_ERROR_GONE" error that a few people are since Cahute has full support on Linux, and that it would not need to go through the driver which is causing the error on Windows.
Thanks
Citer : Posté le 25/11/2025 08:52 | #
The potential problems would indeed be different. We have a Linux-based development build but it's not fully protected/secured like the main one. We'd like to publish it too, eventually.
hydrabomb Invité
Citer : Posté le 25/11/2025 18:40 | #
hi, ive been having an error with the cg00 also, so just trying to help document it. i decided to check event viewer after running the program, adn theres 2 errors the first is:
User Interaction Required while trying to get a token silently. ErrorCode: 0xcaa10001, Error: Need user interaction to continue.
and the second is:
Failed to get auth header with 0x8086000c
Citer : Posté le 25/11/2025 18:44 | #
What are these errors?! Wow. I have no idea which component even emits them. @Cakeisalie5 Any hints?
hydrabomb Invité
Citer : Posté le 25/11/2025 19:40 | #
for what actually happens with the calculator, i run the installer, the communicating step happens fine, but the the screen goes black afterwards with no text. using any of the buttons seems to crash the mpm installer, and it happens faster than i can read the error codes on it, and then i have to manually restart by sticking a needle in the small button on the back of the calculator. from what i can see, the two error codes i found in event viewer are both to do with tokens, but i think i might just be pointing out the obvious
hydrabomb Invité
Citer : Posté le 25/11/2025 19:42 | #
... are both to do with tokens, but i might just be pointing out the obvious (think i ran out of characters for the last msg)
Citer : Posté le 25/11/2025 23:26 | #
Pretty sure these error messages are unrelated to what is actually going on here. It seems as though MPM is waiting for an answer it's not getting from the calc, maybe an unsupported OS version. When and where did you buy your calc? What version is its system?
hydrabomb Invité
Citer : Posté le 26/11/2025 10:04 | #
Bought off of Amazon, it's os is 02.00.0212.
My pc is running on windows 11
Citer : Posté le 26/11/2025 11:36 | #
Bought off of Amazon, it's os is 02.00.0212.
My pc is running on windows 11
Your OS has 1 in the second last digit, which might be treated as an unsupported OS version by MPM installer.
As far as I know MPM works on Graph Math+/fx-CG100 with OS 02.00.X202.
Flymno Invité
Citer : Posté le 26/11/2025 13:31 | #
Your OS has 1 in the second last digit, which might be treated as an unsupported OS version by MPM installer.
As far as I know MPM works on Graph Math+/fx-CG100 with OS 02.00.X202.
Ah that would make sense! My cg100 also has that OS version
hydrabomb Invité
Citer : Posté le 26/11/2025 14:23 | #
Ahhh, is there an old archive anywhere so I can try and install the correct os?
hydrabomb Invité
Citer : Posté le 26/11/2025 18:46 | #
or is it not currently not possible to get mpm on my calculator?
Citer : Posté le 26/11/2025 18:53 | #
If you are not able to patch the OS to get the correct call to MPM, it does not mean anything to try to write MPM.bin on your machine, it will not be able to launch and hence to start addins.
So the process is :
1/ have the machine is OS version 2.00 (seems to be OK)
2/ try up patch the OS with MPM installer as explained in the initial post above.
3/ when successfull, copy MPM.bin at the root of your machine
4/ then you can use it.
Success of 3/ is ùmùandatroy to be able to use MPM.bin
hydrabomb Invité
Citer : Posté le 26/11/2025 19:48 | #
seems to be that at the "communicating more" stage the calculator just crashes instead of restarting, so mpm never gets a response from the calc. tried 5 different devices on windows 10 and 11 with different usbs, so seems to be an issue with the calculator itself that is found in OS 2.00.0212. im not really sure what changed betwee x202 and x212, will try finding some documentation
Citer : Posté le 26/11/2025 20:30 | #
We are not even aware of the existence of 2.00.1. MPM is not compatible and will not be until we get our hands on a copy of this OS.
hydrabomb Invité
Citer : Posté le 26/11/2025 22:32 | #
Alr, is there any way I can help with that?