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
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
I try to use this way to listing all files but i get no output , can any one help me?
Citer : Posté le 12/12/2023 07:57 | #
Nope. Many people are wondering on Github. Someone has to delve into the code. First step is to get a reproducible error.
Any Help Admin?
Citer : Posté le 13/12/2023 21:19 | #
I found a method to make it work ! Unfortuneatly, it dosen't work on graph 35+e II
you just need to start a new game, move a few blocks, and then save the game. Then, when you load the game, it dosen't make the error any more! but you need to save the game after about ten to twenty minutes, because it may recrash.
Joyful_Diamo Invité
Citer : Posté le 30/05/2024 06:06 | #
Hi...
I am trying to play your game, I can do everything but when I save and then re enter the world it has failed to save any blocks and I just die
Is there any way to fix this?
Joyful_Diamo Invité
Citer : Posté le 30/05/2024 06:08 | #
Also, I am on a 'graph 35+e II' (casio fx-9860giii).
Citer : Posté le 09/10/2024 15:33 | #
Hello, i keep crashing randomly without really getting to play, and i would like to know how to fix this issue.
I'm on a Graph 35 + E II, if that helps.
Also little side-note, im not sure but i think im crashing when an ennemy enters the screen, since i once saw a vulture before crashing.
Citer : Posté le 09/10/2024 15:36 | #
Le jeu ne marche pas sur G35+EII, je crois qu'il utilise des zones mémoires additionelles qui ne sont pas dispo dessus
Edit : Le jeu a été laissé dans un état incomplet donc c'est plutôt ça...
Caltos : G35+EII, G90+E (briquée )
Citer : Posté le 09/10/2024 15:40 | #
It's indeed never been really stable on that platform...
Citer : Posté le 25/10/2024 13:47 | #
La seule solution que j'ai trouvé étais d'utiliser Ftune2 pour l'underclockée et éviter les crash.
Le jeu n'est pas temps ralenti, et on ne vois que peut de différences de vitesse (sauf pour le chargement de la map) mais, pour ma part le jeu ne crash plus depuis.
PS: ne l'underclocké pas trop sinon vous finirez bloquer sur l'inventaire
Edit: Pour ceux qui ont besoins voici les réglages que j'ai mis pour Ftune2
PPL:x28 412.88MHz
IFC:/16CPU 25.80MHz
SFC:/16RoR 25.80MHz
BFC:/16RaR 25.80MHz
PFC:/16RaW 25.80MHz
tt_thoma Invité
Citer : Posté le 25/10/2024 15:45 | #
Underclocké à cmb à peu près ?