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 - Projets de programmation


Index du Forum » Projets de programmation » Terrario, a Terraria rewrite for the calculator
Kbd2 Hors ligne Membre Points: 269 Défis: 0 Message

Terrario, a Terraria rewrite for the calculator

Posté le 10/07/2020 16:05

2021 Casio Awards winner, thanks everyone!

Hi. I noticed a while ago there weren't any games like Terraria or Minecraft available for Casio calculators. For the past while I've been working on rewriting Terraria in C for the SH4 calculators using gint. I'm not sure when if ever I'll finish it, since it is a fairly big project, so I've decided to put it here for now.

Here are a few screenshots of the progress so far (some may be out-of-date):
Main menu


Gameplay


Inventory


Crafting


Equipment


A visualisation of a generated world (click for full detail)



The game runs at 30FPS. Worlds are 1000x250 tiles large (640x250 on the 35+E II / GIII).

The control scheme and a crafting guide can be found in the game's About menu.

This forum page is updated regularly with the latest release of the game, as well as a changelog in the comments.

If you aren't sure what an item does, feel free to search it up on the official Terraria wiki.

Most recent update:
Jungle and a bunch of content.

Up next:
Who knows?

The attached file contains the latest build of the game, as well as instructions and a screenshot compiling script and map tool.

The source code repository as well as early builds of the game can be found at this GitHub repo and its Gitea mirror. Obviously, expect bugs in these early builds, though I take care to remove the major ones I find before releasing.

Due to the very large world, the save files for this game are big. Make sure you have at least 450kB of storage space before installing the addin (300kB on Graph 35+E II), and try to keep at least 300kB free afterwards. Tampering with the files in the TERRARIO folder will corrupt the save, so don't do that. The game will warn you if you have low storage space available, so that you can optimise your storage.

NOTE: You must have a Graph 35+ E, Graph 35+E II, fx9860GII, or fx9750GIII model calculator to run this game.

Fichier joint


Précédente 1, 2, 3 ··· 6, 7, 8, 9, 10 Suivante


tt_thoma Invité

Citer : Posté le 01/06/2023 08:45 | #


Nevermind
Fries Hors ligne Membre Points: 88 Défis: 0 Message

Citer : Posté le 31/08/2023 08:37 | #


every couple minutes when i play in a new world it unexpectadly crashes and asks me to reset the calc...
Fries Hors ligne Membre Points: 88 Défis: 0 Message

Citer : Posté le 31/08/2023 08:54 | #


nevermind.... i meant every minute, i would try dig some dirt or use the sword and it crashes...


Skouidy Invité

Citer : Posté le 02/09/2023 21:25 | #


Bonjour/Hi

The game keep crashing after few minuts moving around,, asking me to reset the calculator, I'm on Graph E+ II, How can I fix it ?
Fcalva Hors ligne Membre Points: 520 Défis: 9 Message

Citer : Posté le 02/09/2023 21:37 | #


It seems like the game is still in beta/alpha even (Latest is V0.10.0), that seems to not have been updated since november 2021...
Even if it's a bit sad, this is pretty much just a project in an unfinished state, so don't except a very good experience
Pc master race - Apréciateur de Noctua moyen
Caltos : G90+E, FX-92+ (x2)
Fries Hors ligne Membre Points: 88 Défis: 0 Message

Citer : Posté le 02/09/2023 23:46 | #


nooooo...... it would have been so good
Fries Hors ligne Membre Points: 88 Défis: 0 Message

Citer : Posté le 02/09/2023 23:47 | #


i hope they successfully continue to finish it but as you said, it has not been updated since 2021 so my hopes aren't really high...
Fries Hors ligne Membre Points: 88 Défis: 0 Message

Citer : Posté le 02/09/2023 23:52 | #


do you have any games that you recommend for fx-9860giii or graph35+eii? so far, i have wolfenstein, fruit ninja, geometry dash and the partially working terrario...
Fries Hors ligne Membre Points: 88 Défis: 0 Message

Citer : Posté le 03/09/2023 02:05 | #


wait, i got it to kinda work... which button do you use to use the workbench in terrario
Fries Hors ligne Membre Points: 88 Défis: 0 Message

Citer : Posté le 03/09/2023 02:06 | # | Fichier joint


the terraria version in this worked for me and didnt crash every minute


Skouidy Invité

Citer : Posté le 03/09/2023 14:00 | #


Fries a écrit :
the terraria version in this worked for me and didnt crash every minute


Wich one it is ?
Tituya Hors ligne Administrateur Points: 2141 Défis: 26 Message

Citer : Posté le 03/09/2023 14:05 | #


Maybe the one he linked to his message ?
Bretagne > Reste du globe
(Et de toute façon, vous pouvez pas dire le contraire)
Projet en cours : Adoranda

Mes programmes
Hésite pas à faire un test !




Skouidy Invité

Citer : Posté le 03/09/2023 14:07 | #


Tituya a écrit :
Maybe the one he linked to his message ?


I meant "Wich version it is, with a name and features" maybe I wasn't that obvious x)
Lephenixnoir En ligne Administrateur Points: 24236 Défis: 170 Message

Citer : Posté le 03/09/2023 14:15 | #


The file in the zip has modification time 2020-09-18 and is 83292 bytes. Closest I could find timeline-wise is the following build, which is the first with advertised G-III compatibility: https://www.planet-casio.com/Fr/forums/topic16373-5-terrario-a-terraria-rewrite-for-the-calculator.html#178318

Lack of compatibility prior to then was actually a gint issue that had remained undetected, which I fixed just two days prior.

Note that G-III issues tended to occur due to a lack of memory, because for reasons I'm not going into previous models had more RAM available for add-ins. This is fixable if someone with experience can dive into the code. Kbd2's code is very respectable as far as I remember.
Mon graphe (11 Avril): ((Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; passe gint 3 ; ...) || (shoutbox v5 ; v5)


Skouidy Invité

Citer : Posté le 03/09/2023 14:17 | #


Thank you very much !
Fcalva Hors ligne Membre Points: 520 Défis: 9 Message

Citer : Posté le 03/09/2023 14:43 | #


Kbd2 was apparently aware of the issue https://github.com/KBD2/terrario/issues/1
But he also said this (which i was kind of doubting) so yeah it's abandonware and is likely never going to be complete.
Although maybe someone will pick up from where it's at, given it's under an MIT license and already has a lot of stuff
You could maybe try some earlier builds (they are neatly listed here https://github.com/KBD2/terrario/releases ) but i don't think it will be to much success.
Pc master race - Apréciateur de Noctua moyen
Caltos : G90+E, FX-92+ (x2)
Tuper4 Hors ligne Membre Points: 832 Défis: 19 Message

Citer : Posté le 27/11/2023 19:04 | # | Fichier joint


I have the same problem,(after 1 min of playing it stops and says this add-in crashed and asks me to restart the calculator) so what should I do?

You can look at the picture
Ne vous arrêtez pas quand vous êtes fatigé(e), arrêtez vous quand vous avez terminez.
Tuper4 Hors ligne Membre Points: 832 Défis: 19 Message

Citer : Posté le 11/12/2023 12:57 | #


Does anyone knows how to fix this? I have a graph 35+e and a graph 35+e II. It doesn't bother me if it works just on one of them.
Ne vous arrêtez pas quand vous êtes fatigé(e), arrêtez vous quand vous avez terminez.
Lephenixnoir En ligne Administrateur Points: 24236 Défis: 170 Message

Citer : Posté le 11/12/2023 13:07 | #


Nope. Many people are wondering on Github. Someone has to delve into the code. First step is to get a reproducible error.
Mon graphe (11 Avril): ((Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; passe gint 3 ; ...) || (shoutbox v5 ; v5)
Tuper4 Hors ligne Membre Points: 832 Défis: 19 Message

Citer : Posté le 11/12/2023 14:05 | #


Ok thanks
Ne vous arrêtez pas quand vous êtes fatigé(e), arrêtez vous quand vous avez terminez.


Zaky202 Invité

Citer : Posté le 12/12/2023 06:43 | #


is there any way to listdir the directory im in?

void listdir(uint16_t const *path , list_t* scr, int x_scrl ,int y_scrl) {
    void listdir(uint16_t const *path) {
    int shandle;
    uint16_t foundfile[FILENAME_MAX];
    struct BFile_FileInfo fileinfo;

    // Open a search handle
    int result = BFile_FindFirst(path, &shandle, foundfile, &fileinfo);

    if (result < 0) {
        print_txt(scr,"Error opening directory", x_scrl, y_scrl);
        return;
    }

    // Iterate through the directory entries
    while (result == 0 || result == BFile_EnumerateEnd) {
        print_txt(scr, "F", x_scrl, y_scrl);

        // Continue the search
        result = BFile_FindNext(shandle, foundfile, &fileinfo);

        if (result < 0) {
            print_txt(scr, "Error during enumeration", x_scrl, y_scrl);
            break;
        }
    }

    // Close the search handle
    BFile_FindClose(shandle);
    scroll(scr,x_scrl,y_scrl);
}
}


The function
print_txt
, and the variables
x_scrl , y_scrl
is my way to print in my terminal application
I try to use this way to listing all files but i get no output , can any one help me?
Précédente 1, 2, 3 ··· 6, 7, 8, 9, 10 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 - 2024 | Il y a 54 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