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).