Skip to content

I ONLY Need File I/O To Finish My Game! #71

@crait

Description

@crait

Hey, I really like this library a lot. Some of the missing features are okay by me because I am using it as a base to port over some of my game engine code to get some of my games on the PicoSystem, which is a great system!

However, to finish porting my game, Circuit Dude (and maybe Treasure Chasers), I am pretty much all set for everything! I just need simple file I/O working for saving the game's progress and reading the progress into memory (as well as making a directory for them).

It would be cool if you could add some functions such as...
bool directory_exists(string path)
bool file_exists(string filename)
bool create_directory(string path)
bool create_file(string filename)
bool save_data(string filename, ??)
bool read_data(string filename, ??)

My use cases are:

  • Saving a single int to a file.
  • Reading the file into an int.
  • Saving a byte[] to a file.
  • Reading a file into a byte[].

I dunno. Maybe you could also make some functions for reading/saving strings, too, for simple text files.

Anyway, like I said, I only need these to finish my game!! 🤗

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions