0 Members and 1 Guest are viewing this topic.
Hayleia, what do you mean with graph function. This? :Code: [Select]Pt-On((12*8)-A,(J*8)+R,GetCalc("appvGreyMap",{(J*15)+12+Y+GDB1}*8+Pic2)Also which kind of appvar? I'm not so used to the 83+. A GDB?
Pt-On((12*8)-A,(J*8)+R,GetCalc("appvGreyMap",{(J*15)+12+Y+GDB1}*8+Pic2)
If you simply want to read data from an archived appvar, then you could copy it to a file.GetCalc("appvAPPVAR",File)Where File is the token for a Y-Var (Y0-Y9).Once the appvar is copied to a file, you can read from it like a pointer.GetCalc("appvAPPVAR",Y0){Y0}?A
bigger than 32k
But what kind of file?
Quote from: Stefan Bauwens on October 14, 2011, 02:48:30 pmbigger than 32k If it is bigger than 32k, you can't create it (it won't fit in your RAM). But you can split into 2 appvars .Quote from: Stefan Bauwens on October 14, 2011, 02:48:30 pmBut what kind of file?An appvar is a .8xv file that contains only data.The appvar creator should look like this (it is an example that I got from my Pokemon):Spoiler For Spoiler: .GETTYPE[050000]→GDB1[000000][060400][030A00][020A00][060000][0A0000][080200][070800][010A00][030807][020A00][090000][060500][040A00][060500][000000][070000][020600][080304].60 bytes of Data.create the appvarGetCalc("appvPokeType",60)->A.fill it with the dataFor(r1,0,59){GDB1+r1}→{A+r1}EndBut you'll not name your appvar PokeType -.-°Then, at the beginning of the game you doGetCalc("appvGreyMap",Y0) (you can name your appvar otherly, and use Y1 as well )Then you access your map with the pointer Y0, so the first byte of your map is at {Y0}
How do you edit such a file? Trough the computer or do you let an axe program create it?
Quote from: Stefan Bauwens on October 15, 2011, 06:46:19 amHow do you edit such a file? Trough the computer or do you let an axe program create it?With an Axe prog. In the spoiler of my previous post, I gave you an example of how to create an appvar filled with data.
Yes, but when I run an axe prog it must be unarchived right? And my map is so big...Maybe I should do it like this:First send maphalf1 to your calc. This runs and creates the appvar and archives it. Then you delete maphalf1.Then You sent maphalf2 to your calc and do the same. Then I sent Grey itself to the calc?
Y(incremented or decremented with getkeys 1 and 4) * (the number of columns of the entire map)->B
(number of columns) - X(incremented or decremented with getkeys 2 and 3)->A
{B+A+GDB0}
What do you mean by drawing the whole map? Do you mean by drawing entire tilemap data instead of only displaying 12x8 portion of the map?