Hi I'm using Mateo's C sdk to make a game however I cannot find anywhere which explains how to keep game data, graphics etc in Appvars.
Can anyone explain this or provide some code to show me?
Thankyou
You may have to create your own manually...
Are you familiar with the VAT? It stores the location, name and size (along with a few other things)
You may have to create your own entry in it. That would be worst case though...
https://www.omnimaga.org/axe-language/vat-tutorial/
That is how the VAT is structured... In b/w 84s though.
From what I've seen the VAT should be the same for both.
I'd use this as a last resort. There probably are easier ways to do this.
https://www.cemetech.net/forum/viewtopic.php?t=12725&highlight=
I did not mean to just post that link, sorry. :/
That link has information about storing data to appvars using the C library, and some other useful code snippets about debugging.
You really dont need to know the vat structure unless your writing a shell :P
Ime not sure, but it think C has libs for file IO.
Quote from: c4ooo on August 16, 2016, 06:45:56 PM
Ime not sure, but it think C has libs for file IO.
ha ha! yes you are right