Too many files open...

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
ZtarDubs
Posts: 1
Joined: Thu Dec 02, 2021 7:30 pm

Too many files open...

Post by ZtarDubs »

Hello
i am trying to adapt exult to make it works on a calculator (TI-nspire Cx-II CAS).
at now: the menu launches, it plays the introductory videos of the games, it's a good start!

it does not go further: the calculator is limited in the number of files open simultaneously (a little less than 10)
start a game -> "Too many files open" error raised.

as the calculator has enough memory I thought to load all the used files in memory
open_file () load_into_buffer () close_file ()

is there an easy way to do this without modifying the files too much?
for example replace all "IFileDataSource" by "IExultDataSource"

All the Bests
Locked