Difference between revisions of "Batch to JS conversion guide"
From MSX Game Library
Line 1: | Line 1: | ||
Historically, {{MSXGL}} was designed on Windows PC, for users of this platform. The [[Build tool]] was therefore written in Batch language (<tt>.bat</tt>). | Historically, {{MSXGL}} was designed on Windows PC, for users of this platform. The [[Build tool]] was therefore written in Batch language (<tt>.bat</tt>). | ||
− | To open the library to users of other platforms and overcome the limitations of the Batch language, the Build tool has been entirely rewritten in Java Script and executed via Node.js. | + | To open the library to users of other platforms (Linux and macOS) and overcome the limitations of the Batch language, the Build tool has been entirely rewritten in Java Script and executed via Node.js. |
Everything necessary for the execution of these new scripts being packaged with MSXgl on Windows, the user has no other software to install. For Linux, SDCC and Node.js must be installed separately. | Everything necessary for the execution of these new scripts being packaged with MSXgl on Windows, the user has no other software to install. For Linux, SDCC and Node.js must be installed separately. | ||
This guide is intended for users who have already created an MSXgl project and who would like to convert their project configuration to benefit from the new version of the Build tool (which I strongly recommend). | This guide is intended for users who have already created an MSXgl project and who would like to convert their project configuration to benefit from the new version of the Build tool (which I strongly recommend). |
Revision as of 17:26, 22 December 2022
Historically, MSXGL was designed on Windows PC, for users of this platform. The Build tool was therefore written in Batch language (.bat).
To open the library to users of other platforms (Linux and macOS) and overcome the limitations of the Batch language, the Build tool has been entirely rewritten in Java Script and executed via Node.js. Everything necessary for the execution of these new scripts being packaged with MSXgl on Windows, the user has no other software to install. For Linux, SDCC and Node.js must be installed separately.
This guide is intended for users who have already created an MSXgl project and who would like to convert their project configuration to benefit from the new version of the Build tool (which I strongly recommend).