ColinBuckler
February 19th, 2018, 23:44
Having a requirement to create several maps modules I decided to write a routine to automate the creation process and to share with the FG community. Therefore attached is a zip file which contains a .exe routine I have created which will generate a .mod file for images (png/jpg).
The fields are:
Map Module Name: This is the name of the Modulefile (minus the .mod extension)
Category: Category the map file will sit within on FG
Author: Your name
Image Folder: The folder containing jpg/png you want to make a module containing (no ending "\")
Module Folder: The folder the module should be saved in when creating (no ending "\")
Enclosed is an example of the completed fields - you will need to change these to reflect your system/configuration.
The program will also add a thumbnail image to the final module if a "thumbnail.png" is included in the Image Folder.
The program is written in PureBAsic which is free for upto 800 lines and cheap (79 euros). The program also contains compilers for Windows/Linux/Mac OS (you could amend the code and compile it natively to your OS if you wish). As an added bonus I have included the source code if you wish to modify or make use of the program for your own needs. Purebasic can be downloaded from: https://www.purebasic.com/
The fields are:
Map Module Name: This is the name of the Modulefile (minus the .mod extension)
Category: Category the map file will sit within on FG
Author: Your name
Image Folder: The folder containing jpg/png you want to make a module containing (no ending "\")
Module Folder: The folder the module should be saved in when creating (no ending "\")
Enclosed is an example of the completed fields - you will need to change these to reflect your system/configuration.
The program will also add a thumbnail image to the final module if a "thumbnail.png" is included in the Image Folder.
The program is written in PureBAsic which is free for upto 800 lines and cheap (79 euros). The program also contains compilers for Windows/Linux/Mac OS (you could amend the code and compile it natively to your OS if you wish). As an added bonus I have included the source code if you wish to modify or make use of the program for your own needs. Purebasic can be downloaded from: https://www.purebasic.com/