because spring install puts rapid in the subdir rapid.
All rapid commands should be:
rapid\rapid.exe <args>
The package format is excellent. You just aren't using it correctly.
If you want people to be able to get at the source, that's easy.
Code: Select all
TITLE Gundam Sauce Extractor
IF EXIST %CD%\games\gundamsauce.sdd (
rapid\rapid.exe clean-upgrade -y
cls
echo The source has already been unpacked. Deleting and rebuilding, please wait:
del /Q "%CD%\games\gundamsauce.sdd\*.*"
cls
rapid\rapid.exe make-sdd gundam:prerelease gundamsauce.sdd
cls
echo The sauce is ready for you to use!
pause
) else (
echo Building source, please wait:
rapid\rapid.exe make-sdd gundam:prerelease gundamsauce.sdd
cls
echo The sauce is ready for you to use!
)
start http://www.smoth.net/how-to-use-the-gundam-source
exit
^^ that should do what you need. Putting it in a menu would be pretty easy. Might wanna check that delete path command though. It might not be valid to delete it remotely (in other words the command line might need to be in that directory to delete it, in which case, that's a simple fix).