Les membres ayant 30 points peuvent parler sur les canaux annonces, projets et hs du chat.
La shoutbox n'est pas chargée par défaut pour des raisons de performances. Cliquez pour charger.

Forum Casio - Vie communautaire


Index du Forum » Vie communautaire » MPM : Mod add-ins Math+
Lephenixnoir Hors ligne Administrateur Points: 25438 Défis: 174 Message

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

  1. Brancher la calculatrice en mode mise à jour de l'OS. Si vous utilisez une VM, attachez la calto à la VM.
  2. Lancer mpm-installer-1.0bw.exe depuis cmd. Un échange se fait.
  3. 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.
  4. Ensuite suivez les instructions sur la calto, en gros TOOLS puis SETTINGS et RESTART.
  5. Transférez mpm.bin dans la mémoire de stockage.
  6. 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


Précédente 1, 2, 3 ··· 8, 9, 10, 11, 12 Suivante


foxfire Invité

Citer : Posté le 17/09/2025 13:28 | #


thx i'll try with another one cuz i actually used the one for my mic so


foxfire Invité

Citer : Posté le 17/09/2025 13:54 | #


so i retried with another USB cable first try it seemed to be freezing on the loading menu but all the other times it just did the same thing over and over again though i filmed it in case you have something i can send you a video of it
Lephenixnoir Hors ligne Administrateur Points: 25438 Défis: 174 Message

Citer : Posté le 17/09/2025 14:02 | #


A freeze after "Press OK to continue" is the most common issue, even I have it sometimes... and I don't actually know why it happens? It seems to happen when I take too long to press OK (I often use a virtual machine and attaching the USB device to the virtual machine can take a couple seconds). Since usually you just need to try again, I never bothered digging into it... x_x

Since it's still stuck for you I would like a video please, yes.
Mon graphe (27 Juin): (MQ || Rogue Life) ; serial gint ; passe gint 3 ; Azur ; ...) || (shoutbox v5 ; v5)


foxfire Invité

Citer : Posté le 18/09/2025 16:27 | #


i can't send you the video, it's too big, btw srry didn't see ur message, so if you got something i can send it to you like a discord or something
Lephenixnoir Hors ligne Administrateur Points: 25438 Défis: 174 Message

Citer : Posté le 18/09/2025 16:31 | #


You can send it here (file hosting managed by a site member): https://t.breizh.pm/
Mon graphe (27 Juin): (MQ || Rogue Life) ; serial gint ; passe gint 3 ; Azur ; ...) || (shoutbox v5 ; v5)


foxfire Invité

Citer : Posté le 18/09/2025 16:47 | #


finally got it there you go https://t.breizh.pm/f3bAyYmjR9/VID_20250917_135115%20%281%29.mp4


foxfire Invité

Citer : Posté le 18/09/2025 16:51 | #


ok idk what happened but this one works https://t.breizh.pm/KBsm6oCRA9/VID_20250917_135115%20%281%29.mp4
Lephenixnoir Hors ligne Administrateur Points: 25438 Défis: 174 Message

Citer : Posté le 18/09/2025 17:25 | #


Ok, it's easy actually. You're on OS 1.00 but MPM only supports OS 2.00. First upgrade to OS 2 with the official OS updater.
Mon graphe (27 Juin): (MQ || Rogue Life) ; serial gint ; passe gint 3 ; Azur ; ...) || (shoutbox v5 ; v5)


foxfire Invité

Citer : Posté le 19/09/2025 19:26 | #


on my calculator i suppose ok but how do i do that


foxfire Invité

Citer : Posté le 19/09/2025 19:52 | #


master, i am proud to tell you that after 3 infinite days of searching and digging i have finally done it, and all because of you and your help.

THANK YOU
Lephenixnoir Hors ligne Administrateur Points: 25438 Défis: 174 Message

Citer : Posté le 19/09/2025 20:12 | #


Nice!! Enjoy the couple of add-ins that are already available!
Mon graphe (27 Juin): (MQ || Rogue Life) ; serial gint ; passe gint 3 ; Azur ; ...) || (shoutbox v5 ; v5)


foxfire Invité

Citer : Posté le 19/09/2025 21:02 | #


wassup back... just like that i have a silly question... how do we download games btw


ItsMeSKO Invité

Citer : Posté le 21/09/2025 22:47 | #


Hiya, I'm having trouble with installing it onto the calculator. I run it into cmd but the screen becomes black when it says "Communicating more...". And then does "receive_on_link_medium: Hit a timeout of 20000ms after reading 0/44 bytes.
cahute_receive_on_link: CAHUTE_ERROR_TIMEOUT_START". But when I press the EXE button after "Communicating more...", it just goes "receive_on_link_medium: USB device is no longer available." and the screen goes black. I am on 2.00 and can't figure out the problem.
Lephenixnoir Hors ligne Administrateur Points: 25438 Défis: 174 Message

Citer : Posté le 21/09/2025 22:57 | #


Hi! Does the screen become black on the calculator while you see "Communicating more" on the PC side? The calculator should be displaying "Press OK to continue". Does the calculator reboot at this point in time?

Note that there is a timeout for this communication, so if you get the expected text "Press OK to continue" you should do it within a few seconds.
Mon graphe (27 Juin): (MQ || Rogue Life) ; serial gint ; passe gint 3 ; Azur ; ...) || (shoutbox v5 ; v5)
Lephenixnoir Hors ligne Administrateur Points: 25438 Défis: 174 Message

Citer : Posté le 21/09/2025 22:58 | #


Foxfire a écrit :
wassup back... just like that i have a silly question... how do we download games btw

On program pages on Planète Casio there are icons below the program's main picture. Many programs can be found on topics or Git repos; for these, just look for the "Download here" link for a g3a file.
Mon graphe (27 Juin): (MQ || Rogue Life) ; serial gint ; passe gint 3 ; Azur ; ...) || (shoutbox v5 ; v5)


ItsMeSKO Invité

Citer : Posté le 23/09/2025 01:15 | #


Lephenixnoir a écrit :
Hi! Does the screen become black on the calculator while you see "Communicating more" on the PC side? The calculator should be displaying "Press OK to continue". Does the calculator reboot at this point in time?

Note that there is a timeout for this communication, so if you get the expected text "Press OK to continue" you should do it within a few seconds.


When "Communicating more", the calculator screen becomes black, nothing displays, and I cannot turn it on until I press the restart button on the back.
Lephenixnoir Hors ligne Administrateur Points: 25438 Défis: 174 Message

Citer : Posté le 23/09/2025 10:33 | #


This is really strange. I assume this is a crash even if it doesn't restart automatically. Can you check the device manager to check if the calculator disconnects and/or reconnects around this time?

You may also try on another computer just in case, as Windows is famously finnicky with USB devices. If you have unusual drivers for USB devices installed on your computer (could be random things like game controllers, etc) they might be interfering.
Mon graphe (27 Juin): (MQ || Rogue Life) ; serial gint ; passe gint 3 ; Azur ; ...) || (shoutbox v5 ; v5)


Flymno Invité

Citer : Posté le 10/10/2025 20:14 | #


Hi! I am also having the issue where during the installation, the screen on the calculator turns black and is unable to be turned on until the reset buttone is pressed. I either get the error: "receive_on_link_medium: USB device is no longer available." if I pressed EXE on the calculator after "Communicating more..." or the error "receive_on_link_medium: Hit a timeout of 20000ms after reading 0/44 bytes. cahute_receive_on_link: CAHUTE_ERROR_TIMEOUT_START" if leaving it to timeout. I have tested on 2 machines, both running Windows 11 and am unsure what to try next. Any suggestions?
Lephenixnoir Hors ligne Administrateur Points: 25438 Défis: 174 Message

Citer : Posté le 11/10/2025 10:55 | #


This might be a problem on MPM's end. It's not clear, as there can be issues from Cahute, from the MPM installer, and from Windows, and these are tricky to work out.

"receive_on_link_medium: USB device is no longer available." means "the" USB device we're talking to is gone. Now the reason there are two steps and you have to press OK to continue is because the calculator disconnects and then later reconnects with a new identity. So either:

1. The installer still thinks the old identity of the calculator is there, tries to talk to it again, and obviously fails
2. It connects to the new calculator, and then communication fails at a low level and Windows treats the device as gone

If you can check the device manager during/after the failure we might be able to distinguish these cases.

Please also try to press OK after like 10 seconds, not long enough to time out, but long enough to make sure the program is aware that the "old" calculator has disconnected.

For reference, I have notes about a previous bug with similar symptoms at this very step. We worked around it with a delay, which we can always try to increase.
Mon graphe (27 Juin): (MQ || Rogue Life) ; serial gint ; passe gint 3 ; Azur ; ...) || (shoutbox v5 ; v5)


Flymno Invité

Citer : Posté le 11/10/2025 12:47 | #


Ok

Testing with device manager:
When connected in OS Update mode, the calculator originally appears as a "CASIO ColorGraph USB Device" in Disk Drives
After "Communicating more..." in the installer, the calculator's screen turns black, "Press OK to continue" never appears, and the calculator appears to reconnect to the computer this time as "CASIO fx-CG family on gint" in Universal Serial Bus devices
Pressing OK on the calculator at this point will disconnect it from the PC and cause the error: "receive_on_link_medium: USB device is no longer available." Trying to reconnect the calculator by removing and replacing the cable at this point nothing will happen.
Leaving the program to timeout, the calculator will still show as connected as "CASIO fx-CG family on gint". Removing and replacing the cable the calculator will reconnect to the PC as "CASIO fx-CG family on gint".
Calculator remains unresponsive and requires a press of the reset button.

The time I press OK appears to have no effect on the outcome, it always disconnects from the PC and throws the error "receive_on_link_medium: USB device is no longer available."


EOJonas Invité

Citer : Posté le 20/10/2025 23:46 | #


On my CG100 when i try and install, everything goes normally and then i get this error:
receive_on_link_medium: USB device is no longer available.
After restarting the calculator MPM hasn't installed. Do you know what could be happening?
Précédente 1, 2, 3 ··· 8, 9, 10, 11, 12 Suivante

LienAjouter une imageAjouter une vidéoAjouter un lien vers un profilAjouter du codeCiterAjouter un spoiler(texte affichable/masquable par un clic)Ajouter une barre de progressionItaliqueGrasSoulignéAfficher du texte barréCentréJustifiéPlus petitPlus grandPlus de smileys !
Cliquez pour épingler Cliquez pour détacher Cliquez pour fermer
Alignement de l'image: Redimensionnement de l'image (en pixel):
Afficher la liste des membres
:bow: :cool: :good: :love: ^^
:omg: :fusil: :aie: :argh: :mdr:
:boulet2: :thx: :champ: :whistle: :bounce:
valider
 :)  ;)  :D  :p
 :lol:  8)  :(  :@
 0_0  :oops:  :grr:  :E
 :O  :sry:  :mmm:  :waza:
 :'(  :here:  ^^  >:)

Σ π θ ± α β γ δ Δ σ λ
Veuillez donner la réponse en chiffre
Vous devez activer le Javascript dans votre navigateur pour pouvoir valider ce formulaire.

Si vous n'avez pas volontairement désactivé cette fonctionnalité de votre navigateur, il s'agit probablement d'un bug : contactez l'équipe de Planète Casio.

Planète Casio v4.3 © créé par Neuronix et Muelsaco 2004 - 2025 | Il y a 203 connectés | Nous contacter | Qui sommes-nous ? | Licences et remerciements

Planète Casio est un site communautaire non affilié à Casio. Toute reproduction de Planète Casio, même partielle, est interdite.
Les programmes et autres publications présentes sur Planète Casio restent la propriété de leurs auteurs et peuvent être soumis à des licences ou copyrights.
CASIO est une marque déposée par CASIO Computer Co., Ltd