DescriptionIf you use the default Smile Tool map editor, you'll know it saves large files. This program aims to take individual map layers and export them into PRG3 as DATA instructions with the "WriteMap" function and redraw the entire map with that DATA in the "DrawMap" function. This saves half as much space of SC saves from the Smile Tool and produces the same results. All layer data can be exported into one file as well.
In the future, I wish to add a map editor integrated with these functions to reduce the amount of manual work to write DATA from map files.Instructions1. Copy DAT:SC_ saves from the Smile Tool into this program folder.
2. Run the program READMAP
3. You will be prompted to first name the layer (the name creates the @label in PRG3).
4. Select the DAT:SC_ file that you copied into this program folder.
5. The map data will be written to PRG3 and you may choose to export another layer or quit.
6. You will have to manually save the file in PRG3 if you wish to use it later.1. Copy READMAP file and the newly saved map file into your program folder.
2. Open READMAP and set value of CONVERT (line 8) to 0 and save the file.
3. At the beginning of your program, typeEXEC "PRG1:READMAP":LOAD "PRG3:NEWMAPFILE"
4. You may now create maps by using this function/arguments:DrawMap "@label", layer number, 64I've included sample map files for you to test these functions if you wish, but in order for it to work, you must follow these steps.
1. Run EX file from the MAP_TO_DATA folder.
2. Run through the steps seen from WriteMap spoiler above, except name each layer as "LAYER_"+layer number as shown in the DAT:SC_ files.
3. Repeat step 2 until you have exported all 4 layers and then press B to quit when prompted.
4. The map will draw and you can use the left stick to scroll around.
Note: You can use this file to test your own exported maps but will need to rename the "@label" arguments in the DrawMap function of EX file.NotesThe DrawMap function is a little slow and I have not tested this on O3DS. However, I imagine using transitions like FADE, etc. will cover the map as it draws.