Been remastering with a php script for a few years now...
yas... i script with php
anyways, thought i'd clean it up and share it.
https://github.com/HotNoob/TinyCore-Remaster-PHPto build your image:
php -f build-tinycore.php
add your extensions to the extensions.txt to auto-fetch. can also just put your own tcz files in by adding them to the extensions folder of your build folder.
whatever you put in the files folder will be overwrite whatever is in the iso; i put a few files in there as an example.
combine this with wsl, lets you build tinycore while on windows O.O