Great
I should have said two RAM arrays. The original file is loaded into the first array which is limited to 10Mb (and the file size is remembered),
then the parser part writes the new file into the second array which is also size limited, but the second file will always be smaller than the first.
IIRC, about 3 values are required as input from the user to be inserted into fixed locations in the new file (so also fairly easy).
The most it does is convert ASCII coordinates to 32 bit binary float values to save the microcontroller having to do that at execution time.
Making the file smaller also has the side effect of making if faster for the microcontroller to search the file, and render the map screen.
If more than one person is willing to have a crack at it, I’ll just make a zip package of some input and output files,
along with the Xcode (C) source I have, and anyone can have a crack at it. I’d do it myself if I had an uninfected copy of Borland
Hopefully I’ll have that sorted some time next week.
Thanks for the replies also, I appreciate the interest