diff --git a/changelog.txt b/changelog.txt index dc56cb33..190b7030 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,4 @@ +08-may-2010 - ugetab - Added emu.addgamegenie() and emu.delgamegenie() LUA functions. 07-may-2010 - ugetab - Win32 - Added context menu to Cheat Dialog Cheat Listbox, populated list with Toggle Cheat, Poke Cheat Value, and Goto In Hex Editor 07-may-2010 - ugetab - Win32 - Made enabling/disabling cheats no longer deselect the selected cheat. 06-may-2010 - ugetab - win32 - Add Cheat buttons for Ram Search and Ram Watch diff --git a/vc/archive.bat b/vc/archive.bat index 22d0b887..f941aa58 100644 --- a/vc/archive.bat +++ b/vc/archive.bat @@ -1,7 +1,7 @@ del /s fceux.zip copy ..\output\fceux.exe . upx ..\output\fceux.exe -IF ERRORLEVEL 1 GOTO UPXFailed +IF ERRORLEVEL 1 IF NOT ERRORLEVEL 2 GOTO UPXFailed cd ..\output ..\vc\zip -X -9 -r ..\vc\fceux.zip fceux.exe fceux.chm 7z.dll *.dll palettes luaScripts move /y ..\vc\fceux.exe . diff --git a/vc/defaultconfig/MakeDownloadHTML.bat b/vc/defaultconfig/MakeDownloadHTML.bat new file mode 100644 index 00000000..ee5282f0 --- /dev/null +++ b/vc/defaultconfig/MakeDownloadHTML.bat @@ -0,0 +1,19 @@ +@ECHO OFF +CLS +ECHO. +IF EXIST makedownload goto delfile +IF NOT EXIST makedownload goto makefile + +:delfile +del makedownload +ECHO DISABLED download.html file generation(for the web page) +GOTO end + +:makefile +echo. > makedownload +ECHO ENABLED download.html file generation(for the web page) +:end +ECHO. +ECHO This is used to show the interim revision number on the website. +ECHO If enabled, it will be kept up-to-date whenever a release version is compiled. +PAUSE diff --git a/vc/defaultconfig/SubWCRev.bat b/vc/defaultconfig/SubWCRev.bat index 07fb657a..370eaddc 100644 --- a/vc/defaultconfig/SubWCRev.bat +++ b/vc/defaultconfig/SubWCRev.bat @@ -1,2 +1,4 @@ defaultconfig\SubWCRev.exe ..\.. ".\defaultconfig\svnrev_template.h" ".\userconfig\svnrev.h" +IF NOT EXIST defaultconfig\makedownload exit 0 +defaultconfig\SubWCWeb.exe ..\.. "..\..\web\download.html" ".\userconfig\download.html" exit 0 \ No newline at end of file diff --git a/vc/defaultconfig/SubWCWeb.exe b/vc/defaultconfig/SubWCWeb.exe new file mode 100644 index 00000000..55443fdf Binary files /dev/null and b/vc/defaultconfig/SubWCWeb.exe differ diff --git a/vc/upload.bat b/vc/upload.bat index 17d7f5d6..31c1cd94 100644 --- a/vc/upload.bat +++ b/vc/upload.bat @@ -1 +1,5 @@ -pscp -pw %1 fceux.zip fceux@www.pi-r-squared.com:web/zip/fceux.zip \ No newline at end of file +pscp -pw %1 fceux.zip fceux@www.pi-r-squared.com:web/zip/fceux.zip +IF NOT EXIST fceux.zip GOTO end +IF NOT EXIST defaultconfig\makedownload GOTO end +pscp -pw %1 .\userconfig\download.html fceux@www.pi-r-squared.com:web/web/download.html +:end \ No newline at end of file