I have made the following changes to correct system programs referencing non existent files during -internal compilation. These changes are not reflected in other repositories, However, you are free to apply these changes if you contribute to another repository.
1) change installer to copy gplsrc to /usr/qmsys add after line 90
sudo cp -R gplsrc /usr/qmsys
2) in GPL.BP CPROC change lines 214 & 215 from
$execute 'BASIC REVSTAMP'
$execute 'RUN REVSTAMP'
to
$execute 'BASIC GPL.BP REVSTAMP'
$execute 'RUN GPL.BP REVSTAMP'
3) in GPL.BP ERRGEN line 55 change
openseq 'CSRC', 'err.h' to in.f else abort 'Cannot open CSRC err.h'
to
openseq './gplsrc/err.h' to in.f else abort 'Cannot open gplsrc err.h'
4) in GPL.BP OPGEN line 2 change
* Generate BP OPCODES.H from CSRC equivalent.
to
* Generate GPL.BP OPCODES.H from gplsrc equivalent.
5) in GPL.BP OPGEN lines 32-33 change
openseq 'CSRC', 'opcodes.h' to in.f else stop 'Cannot open CSRC opcodes.h'
openseq 'BP', 'OPCODES.H' to out.f else
to
openseq './gplsrc/opcodes.h' to in.f else stop 'Cannot open gplsrc opcodes.h'
openseq 'GPL.BP', 'OPCODES.H' to out.f else
6) in GPL.BP REVSTAMP line 2 change
* Generate BP REVSTAMP.H from CSRC equivalent
to
* Generate GPL.BP REVSTAMP.H from gplsrc equivalent
7) in GPL.BP REVSTAMP lines 32-33 change
openseq 'CSRC', 'revstamp.h' to in.f else abort 'Cannot open CSRC revstamp.h'
openseq 'BP', 'REVSTAMP.H' to out.f else
to
openseq './gplsrc/revstamp.h' to in.f else abort 'Cannot open gplsrc evstamp.h'
openseq 'GPL.BP', 'REVSTAMP.H' to out.f else
8) added progress messages to the deletesdme.sh file
9) updated sdme.zip file with changes.
The project is available on github at:
https://github.com/dmontaine/ScarletDME64_Installer