diff --git a/.gitignore b/.gitignore index 9c154549b6..a0ce5755d7 100644 --- a/.gitignore +++ b/.gitignore @@ -12,8 +12,8 @@ CPackConfig.cmake CPackSourceConfig.cmake # The following are generated from CMake, and thus should be stopped. .codelite/ -StepMania.project -StepMania.workspace +ITGmania.project +ITGmania.workspace version.hpp Build/* Build/*/* @@ -21,8 +21,8 @@ Debug/ Release/ Contents/ verdata.* -StepMania-debug -stepmania-debug +ITGmania-debug +itgmania-debug Xcode/Info.StepMania.plist Xcode/plistHelper.hpp src/version_updater/VersionUpdater @@ -94,7 +94,7 @@ nsis_strings_temp.inc # Linux General Files .dirstamp Makefile -stepmania +itgmania Makefile.in config.status _build/* @@ -107,7 +107,7 @@ src/Makefile src/config.h src/config.h.in src/stamp-h1 -StepMania +ITGmania core # Version control specific. @@ -164,7 +164,7 @@ ffmpeg-* Data/SpeedMods.txt crashinfo.txt Utils/temp* -Program/StepMania*.lib +Program/ITGmania*.lib # Unknown File Types *.dia diff --git a/CMake/CPackSetup.cmake b/CMake/CPackSetup.cmake index 4f0c29b23e..f3c221f585 100644 --- a/CMake/CPackSetup.cmake +++ b/CMake/CPackSetup.cmake @@ -5,28 +5,28 @@ else() endif() set(CPACK_PACKAGE_NAME "${SM_EXE_NAME}") -set(CPACK_PACKAGE_VENDOR "StepMania") +set(CPACK_PACKAGE_VENDOR "ITGmania") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Rhythm Game Simulator") set(CPACK_PACKAGE_VERSION_MAJOR "${SM_VERSION_MAJOR}") set(CPACK_PACKAGE_VERSION_MINOR "${SM_VERSION_MINOR}") set(CPACK_PACKAGE_VERSION_PATCH "${SM_VERSION_PATCH}") set(CPACK_PACKAGE_VERSION "${SM_VERSION_TRADITIONAL}") -set(CPACK_NSIS_HELP_LINK "https://github.com/stepmania/stepmania/issues") +set(CPACK_NSIS_HELP_LINK "https://github.com/itgmania/itgmania/issues") set(CPACK_NSIS_PACKAGE_NAME "${SM_EXE_NAME} ${NSIS_VERSION_FINAL}") -set(CPACK_NSIS_URL_INFO_ABOUT "http://www.stepmania.com/") +set(CPACK_NSIS_URL_INFO_ABOUT "https://www.itgmania.com/") set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON) set(CPACK_RESOURCE_FILE_README "${SM_ROOT_DIR}/README.md") set(CPACK_RESOURCE_FILE_LICENSE "${SM_CMAKE_DIR}/license_install.txt") -set(CPACK_PACKAGE_EXECUTABLES "${SM_EXE_NAME}" "StepMania ${SM_VERSION_MAJOR}") +set(CPACK_PACKAGE_EXECUTABLES "${SM_EXE_NAME}" "ITGmania ${SM_VERSION_MAJOR}") set(CPACK_NSIS_MUI_ICON "${SM_INSTALLER_DIR}/install.ico") set(CPACK_NSIS_MUI_UNIICON "${SM_INSTALLER_DIR}/uninstall.ico") set(CPACK_NSIS_COMPRESSOR "/SOLID lzma") # Custom items for nsis go here. -set(CPACK_SM_NSIS_REPOSITORY "https://github.com/stepmania/stepmania") +set(CPACK_SM_NSIS_REPOSITORY "https://github.com/itgmania/itgmania") set(CPACK_SM_NSIS_ROOT_DIR "${SM_ROOT_DIR}") set(CPACK_SM_NSIS_PRODUCT_ID - "StepMania ${SM_VERSION_MAJOR}.${SM_VERSION_MINOR}") + "ITGmania ${SM_VERSION_MAJOR}.${SM_VERSION_MINOR}") set(CPACK_SM_NSIS_PRODUCT_VERSION "${SM_VERSION_TRADITIONAL}.0") set(CPACK_SM_NSIS_HEADER_BITMAP "${SM_INSTALLER_DIR}/header-sm5.bmp") set(CPACK_SM_NSIS_WELCOME_BITMAP "${SM_INSTALLER_DIR}/welcome-sm5.bmp") @@ -50,9 +50,8 @@ if(WIN32) # major.minor.patch" is lost. This is currently done to maintain backwards # compatibility. However, removing these two will allow for multiple versions # of StepMania to be installed relatively cleanly. - set(CPACK_PACKAGE_INSTALL_DIRECTORY - "StepMania ${SM_VERSION_MAJOR}.${SM_VERSION_MINOR}") - set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "StepMania ${SM_VERSION_MAJOR}") + set(CPACK_PACKAGE_INSTALL_DIRECTORY "ITGmania") + set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "ITGmania") set(CPACK_NSIS_EXECUTABLES_DIRECTORY "Program") set(CPACK_NSIS_INSTALL_ROOT "C:\\\\Games") endif() diff --git a/CMake/SMDefs.cmake b/CMake/SMDefs.cmake index 811fa40586..81e438e144 100644 --- a/CMake/SMDefs.cmake +++ b/CMake/SMDefs.cmake @@ -1,7 +1,7 @@ # Set up version numbers according to the new scheme. -set(SM_VERSION_MAJOR 5) -set(SM_VERSION_MINOR 1) -set(SM_VERSION_PATCH 0) +set(SM_VERSION_MAJOR 0) +set(SM_VERSION_MINOR 5) +set(SM_VERSION_PATCH 1) set(SM_VERSION_TRADITIONAL "${SM_VERSION_MAJOR}.${SM_VERSION_MINOR}.${SM_VERSION_PATCH}") diff --git a/Docs/Luadoc/Lua.xsl b/Docs/Luadoc/Lua.xsl index b655c3a95e..8100e6fa57 100644 --- a/Docs/Luadoc/Lua.xsl +++ b/Docs/Luadoc/Lua.xsl @@ -209,7 +209,7 @@
diff --git a/Docs/Luadoc/LuaDocumentation.xml b/Docs/Luadoc/LuaDocumentation.xml index 06ab807a47..9734c4bc2b 100644 --- a/Docs/Luadoc/LuaDocumentation.xml +++ b/Docs/Luadoc/LuaDocumentation.xml @@ -156,7 +156,7 @@ save yourself some time, copy this for undocumented things: Recursively searches dir for xml files of actors and converts them to equivalent lua files. - See Docs/Themerdocs/XmlToLua.txt. + See Docs/Themerdocs/XmlToLua.txt. Creates a RageBezier2D for you to use. Make sure you destroy the RageBezier2D when you're done with it, or you will have a memory leak. @@ -1175,7 +1175,7 @@ local n = r['PlayerNumber_P2'] Makes the Actor switch between two colors immediately. - See Docs/Themerdocs/effect_colors.txt + See Docs/Themerdocs/effect_colors.txt for an example. @@ -1195,7 +1195,7 @@ local n = r['PlayerNumber_P2'] Makes the Actor switch between two colors, jumping back to the first after reaching the second. - See Docs/Themerdocs/effect_colors.txt + See Docs/Themerdocs/effect_colors.txt for an example. @@ -1203,7 +1203,7 @@ local n = r['PlayerNumber_P2'] Makes the Actor shift between two colors smoothly. - See Docs/Themerdocs/effect_colors.txt + See Docs/Themerdocs/effect_colors.txt for an example. @@ -1363,17 +1363,17 @@ local n = r['PlayerNumber_P2'] Makes the Actor glow between two colors immediately. - See Docs/Themerdocs/effect_colors.txt + See Docs/Themerdocs/effect_colors.txt for an example. Makes the Actor glow between two colors smoothly, jumping back to the first at the end. - See Docs/Themerdocs/effect_colors.txt + See Docs/Themerdocs/effect_colors.txt for an example. Makes the Actor glow between two colors smoothly. - See Docs/Themerdocs/effect_colors.txt + See Docs/Themerdocs/effect_colors.txt for an example. @@ -5147,19 +5147,19 @@ Details of the event table: This is part of the system for controlling how haste behaves.
- See Docs/Themerdocs/haste.txt. + See Docs/Themerdocs/haste.txt.
This is part of the system for controlling how haste behaves.
- See Docs/Themerdocs/haste.txt. + See Docs/Themerdocs/haste.txt.
This is part of the system for controlling how haste behaves.
- See Docs/Themerdocs/haste.txt. + See Docs/Themerdocs/haste.txt.
This is part of the system for controlling how haste behaves.
- See Docs/Themerdocs/haste.txt. + See Docs/Themerdocs/haste.txt.
Sets the next Screen to be loaded. diff --git a/StepmaniaCore.cmake b/StepmaniaCore.cmake index 99d5a36a92..a9012da08c 100644 --- a/StepmaniaCore.cmake +++ b/StepmaniaCore.cmake @@ -17,7 +17,7 @@ set(SM_DOC_DIR "${CMAKE_CURRENT_LIST_DIR}/Docs") set(SM_ROOT_DIR "${CMAKE_CURRENT_LIST_DIR}") # TODO: Reconsile the OS dependent naming scheme. -set(SM_EXE_NAME "StepMania") +set(SM_EXE_NAME "ITGmania") # Some OS specific helpers. if(CMAKE_SYSTEM_NAME MATCHES "Linux") diff --git a/Themes/_fallback/metrics.ini b/Themes/_fallback/metrics.ini index f16f802218..98897752a9 100644 --- a/Themes/_fallback/metrics.ini +++ b/Themes/_fallback/metrics.ini @@ -1892,7 +1892,7 @@ ChoiceContinue="screen,ScreenContinue;text,Continue?" ChoiceOnline="screen,ScreenNetworkOptions;text,Play Online" ChoiceGameSelect="screen,ScreenSelectGame;text,Select Game" ChoiceJukebox="screen,ScreenJukeboxMenu;text,Jukebox" -ChoiceReportBug="urlnoexit,https://github.com/stepmania/stepmania/issues;text,Report Bug" +ChoiceReportBug="urlnoexit,https://github.com/itgmania/itgmania/issues;text,Report Bug" ChoiceIRC="urlnoexit,http://chat.mibbit.com/?server=chat.freenode.net&channel=%23stepmania-devs&nick=StepMania_player;text,Chat on IRC" ChoiceSandbox="screen,ScreenTest;text,Sandbox" # diff --git a/stepmania.desktop b/itgmania.desktop similarity index 80% rename from stepmania.desktop rename to itgmania.desktop index 4e3fb8ee74..e3ddd8c3a3 100644 --- a/stepmania.desktop +++ b/itgmania.desktop @@ -1,10 +1,9 @@ - [Desktop Entry] Encoding=UTF-8 -Name=StepMania +Name=ITGmania GenericName=Rhythm and dance game -TryExec=stepmania -Exec=stepmania +TryExec=itgmania +Exec=itgmania Terminal=false Icon=stepmania-ssc Type=Application diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cc18e53c04..a32b69d307 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -53,15 +53,15 @@ if(NOT APPLE) endif() if(MSVC OR APPLE) - set(SM_NAME_RELEASE "StepMania") - set(SM_NAME_DEBUG "StepMania-debug") - set(SM_NAME_MINSIZEREL "StepMania-min-size") - set(SM_NAME_RELWITHDEBINFO "StepMania-release-symbols") + set(SM_NAME_RELEASE "ITGmania") + set(SM_NAME_DEBUG "ITGmania-debug") + set(SM_NAME_MINSIZEREL "ITGmania-min-size") + set(SM_NAME_RELWITHDEBINFO "ITGmania-release-symbols") else() - set(SM_NAME_RELEASE "stepmania") - set(SM_NAME_DEBUG "stepmania-debug") - set(SM_NAME_MINSIZEREL "stepmania-min-size") - set(SM_NAME_RELWITHDEBINFO "stepmania-release-symbols") + set(SM_NAME_RELEASE "itgmania") + set(SM_NAME_DEBUG "itgmania-debug") + set(SM_NAME_MINSIZEREL "itgmania-min-size") + set(SM_NAME_RELWITHDEBINFO "itgmania-release-symbols") endif() # Configure generated files here. @@ -322,20 +322,20 @@ elseif(APPLE) "${SM_ROOT_DIR}/${SM_APP_RELEASE_NAME}.app" .\; cd ${SM_ROOT_DIR}\; hdiutil create "${SM_DMG_RELEASE_NAME}" -VOLNAME - "StepMania ${SM_DMG_VERSION}" -SRCFOLDER + "ITGmania ${SM_DMG_VERSION}" -SRCFOLDER "dmgtmpdir/${SM_NAME_VERSION}/" -OV\; rm -fR dmgtmpdir\; popd\;) # Add the ability to copy the resource file. add_custom_command(TARGET "${SM_EXE_NAME}" POST_BUILD COMMAND ${CMAKE_COMMAND} -E make_directory - "$/../Resources" + "$/../Resources" COMMAND ${CMAKE_COMMAND} -E copy "${SM_XCODE_DIR}/smicon.icns" - "$/../Resources/" + "$/../Resources/" COMMAND ${CMAKE_COMMAND} -E copy "${SM_XCODE_DIR}/Hardware.plist" - "$/../Resources/") + "$/../Resources/") else() # Linux set_target_properties("${SM_EXE_NAME}" PROPERTIES RUNTIME_OUTPUT_DIRECTORY @@ -613,7 +613,7 @@ else() # Unix / Linux TODO: Remember to find and locate the zip archive files. list(APPEND SMDATA_LINK_LIB ${PULSEAUDIO_LIBRARY}) # PACKAGE_NAME and PACKAGE_VERSION are only used in this scenario. Why is # not clear. TODO: Remove this silliness. - target_compile_definitions("${SM_EXE_NAME}" PRIVATE PACKAGE_NAME="StepMania") + target_compile_definitions("${SM_EXE_NAME}" PRIVATE PACKAGE_NAME="ITGmania") set(PACKAGE_VERSION "${SM_VERSION_MAJOR}.${SM_VERSION_MINOR}") target_compile_definitions("${SM_EXE_NAME}" PRIVATE PACKAGE_VERSION="${PACKAGE_VERSION}") @@ -730,7 +730,7 @@ target_include_directories("${SM_EXE_NAME}" PUBLIC ${SM_INCLUDE_DIRS}) if(WIN32) set(SM_INSTALL_DESTINATION ".") else() - set(SM_INSTALL_DESTINATION "stepmania-5.1") + set(SM_INSTALL_DESTINATION "itgmania") endif() if(NOT APPLE) @@ -754,7 +754,7 @@ if(NOT APPLE) DESTINATION "${SM_FULL_INSTALLATION_PATH}") install(FILES "${SM_PROGRAM_DIR}/swscale-2.dll" DESTINATION "${SM_FULL_INSTALLATION_PATH}") - install(FILES "${SM_PROGRAM_DIR}/StepMania.vdi" + install(FILES "${SM_PROGRAM_DIR}/ITGmania.vdi" DESTINATION "${SM_FULL_INSTALLATION_PATH}") # foreach(SM_WINDOW_DLL "${SM_WINDOWS_PROGRAM_DLLS}") install(FILES diff --git a/src/ProductInfo.h b/src/ProductInfo.h index 75002f97d4..5347f435aa 100644 --- a/src/ProductInfo.h +++ b/src/ProductInfo.h @@ -5,10 +5,8 @@ /** * @brief A friendly string to refer to the product in crash dialogs, etc. - * - * As an example, use "StepMania" here, not "StepMania4". */ -#define PRODUCT_FAMILY_BARE StepMania +#define PRODUCT_FAMILY_BARE ITGmania /** * @brief A unique name for each application that you might want installed side-by-side with other applications. @@ -16,7 +14,7 @@ * As an example, use "StepMania4" here, not "StepMania". * It would cause a conflict with older versions such as StepMania 3.X. */ -#define PRODUCT_ID_BARE StepMania 5.1 +#define PRODUCT_ID_BARE ITGmania // These cannot be #undef'd so make them unlikely to conflict with anything #define PRODUCT_STRINGIFY(x) #x @@ -27,8 +25,8 @@ #define VIDEO_TROUBLESHOOTING_URL "http://old.stepmania.com/stepmaniawiki.php?title=Video_Driver_Troubleshooting" /** @brief The URL to report bugs on the program. */ -#define REPORT_BUG_URL "https://github.com/stepmania/stepmania/issues" -#define SM_DOWNLOAD_URL "https://www.stepmania.com/download/" +#define REPORT_BUG_URL "https://github.com/itgmania/itgmania/issues" +#define SM_DOWNLOAD_URL "https://www.itgmania.com/" #define CAN_INSTALL_PACKAGES true diff --git a/src/ProductInfo.inc b/src/ProductInfo.inc index 96518b6ab6..50c90b4e14 100644 --- a/src/ProductInfo.inc +++ b/src/ProductInfo.inc @@ -2,18 +2,15 @@ ; Don't forget to also change ProductInfo.h! ; a friendly string to refer to the product -!define PRODUCT_FAMILY "StepMania" - -; PRODUCT_ID must NOT be "StepMania" unless you want people to uninstall 3.9 -; when they install StepMania 5. (not recommended) -!define PRODUCT_ID "StepMania 5.1" +!define PRODUCT_FAMILY "ITGmania" +!define PRODUCT_ID "ITGmania" ; TODO: This needs to be updated with the git rev hash -!define PRODUCT_VER "5.1-UNKNOWN" +!define PRODUCT_VER "0.5.1" !define PRODUCT_DISPLAY "${PRODUCT_FAMILY} ${PRODUCT_VER}" !define PRODUCT_BITMAP "sm5" -!define PRODUCT_URL "https://www.stepmania.com/" -!define UPDATES_URL "https://www.stepmania.com/download/" +!define PRODUCT_URL "https://www.itgmania.com/" +!define UPDATES_URL "https://www.itgmania.com/" ;!define INSTALL_EXTERNAL_PCKS ;!define INSTALL_INTERNAL_PCKS diff --git a/src/arch/ArchHooks/ArchHooks_Unix.cpp b/src/arch/ArchHooks/ArchHooks_Unix.cpp index c23d66aea7..ecd6a66404 100644 --- a/src/arch/ArchHooks/ArchHooks_Unix.cpp +++ b/src/arch/ArchHooks/ArchHooks_Unix.cpp @@ -412,7 +412,7 @@ void ArchHooks::MountUserFilesystems( const RString &sDirOfExecutable ) * Lowercase the PRODUCT_ID; dotfiles and directories are almost always lowercase. */ const char *szHome = getenv( "HOME" ); - RString sUserDataPath = ssprintf( "%s/.%s", szHome? szHome:".", "stepmania-5.1" ); //call an ambulance! + RString sUserDataPath = ssprintf( "%s/.%s", szHome? szHome:".", "itgmania" ); FILEMAN->Mount( "dir", sUserDataPath + "/Announcers", "/Announcers" ); FILEMAN->Mount( "dir", sUserDataPath + "/BGAnimations", "/BGAnimations" ); FILEMAN->Mount( "dir", sUserDataPath + "/BackgroundEffects", "/BackgroundEffects" ); diff --git a/src/archutils/Win32/WindowsResources.rc b/src/archutils/Win32/WindowsResources.rc index f01250791f..e76e6e316e 100644 --- a/src/archutils/Win32/WindowsResources.rc +++ b/src/archutils/Win32/WindowsResources.rc @@ -198,14 +198,14 @@ BEGIN BEGIN BLOCK "040904b0" BEGIN - VALUE "CompanyName", "StepMania Team \n http://www.stepmania.com/" - VALUE "FileDescription", "StepMania" - VALUE "FileVersion", "5, 0, 0, 0" - VALUE "InternalName", "StepMania 5" - VALUE "LegalCopyright", "Copyright © 2001-2014" - VALUE "OriginalFilename", "StepMania.exe" - VALUE "ProductName", "StepMania" - VALUE "ProductVersion", "5, 0, 0, 0" + VALUE "CompanyName", "ITGmania Team \n http://www.itgmania.com/" + VALUE "FileDescription", "ITGmania" + VALUE "FileVersion", "0, 5, 1, 0" + VALUE "InternalName", "ITGmania" + VALUE "LegalCopyright", "Copyright © 2022" + VALUE "OriginalFilename", "ITGmania.exe" + VALUE "ProductName", "ITGmania" + VALUE "ProductVersion", "0, 5, 1, 0" END END BLOCK "VarFileInfo" diff --git a/stepmania.nsi b/stepmania.nsi index 086d5e2f40..67528d2058 100644 --- a/stepmania.nsi +++ b/stepmania.nsi @@ -42,7 +42,7 @@ ; don't forget to change this before releasing a new version. ; wish this could be automated, but it requires "X.Y.Z.a" format. -aj - VIProductVersion "5.0.0.5" + VIProductVersion "0.5.1.0" VIAddVersionKey "ProductName" "${PRODUCT_ID}" VIAddVersionKey "FileVersion" "${PRODUCT_VER}" VIAddVersionKey "FileDescription" "${PRODUCT_ID} Installer" @@ -98,7 +98,7 @@ # These indented statements modify settings for MUI_PAGE_FINISH !define MUI_FINISHPAGE_NOAUTOCLOSE - !define MUI_FINISHPAGE_RUN "$INSTDIR\Program\StepMania-SSE2.exe" + !define MUI_FINISHPAGE_RUN "$INSTDIR\Program\ITGmania-SSE2.exe" !define MUI_FINISHPAGE_RUN_NOTCHECKED !define MUI_FINISHPAGE_RUN_TEXT "$(TEXT_IO_LAUNCH_THE_GAME)" @@ -163,7 +163,7 @@ ; generate, then include installer strings ;!delfile "nsis_strings_temp.inc" - !system '"Program\StepMania.exe" --ExportNsisStrings' + !system '"Program\ITGmania.exe" --ExportNsisStrings' !include "nsis_strings_temp.inc" ;------------------------------------------------------------------------------- @@ -210,10 +210,10 @@ Section "Main Section" SecMain WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\${PRODUCT_ID}" "" "$INSTDIR" WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_ID}" "DisplayName" "$(TEXT_IO_REMOVE_ONLY)" WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_ID}" "DisplayVersion" "$(PRODUCT_VER)" - WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_ID}" "Comments" "StepMania 5 is a rhythm game simulator." - WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_ID}" "Publisher" "StepMania Team" - WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_ID}" "URLInfoAbout" "http://www.stepmania.com/" - WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_ID}" "URLUpdateInfo" "http://code.google.com/p/stepmania/" + WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_ID}" "Comments" "ITGmania 5 is a rhythm game simulator." + WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_ID}" "Publisher" "ITGmania Team" + WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_ID}" "URLInfoAbout" "http://www.itgmania.com/" + WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_ID}" "URLUpdateInfo" "https://github.com/itgmania/itgmania" WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_ID}" "UninstallString" '"$INSTDIR\uninstall.exe"' !endif @@ -231,16 +231,16 @@ Section "Main Section" SecMain !ifdef ASSOCIATE_SMZIP WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\smzipfile" "" "$(TEXT_IO_SMZIP_PACKAGE)" - WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\smzipfile\DefaultIcon" "" "$INSTDIR\Program\StepMania.exe,1" - WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\smzipfile\shell\open\command" "" '"$INSTDIR\Program\StepMania.exe" "%1"' + WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\smzipfile\DefaultIcon" "" "$INSTDIR\Program\ITGmania.exe,1" + WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\smzipfile\shell\open\command" "" '"$INSTDIR\Program\ITGmania.exe" "%1"' WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\.smzip" "" "smzipfile" !endif !ifdef ASSOCIATE_SMURL - WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\stepmania" "" "StepMania protocol handler" - WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\stepmania" "URL Protocol" "" - WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\stepmania\DefaultIcon" "" "$INSTDIR\Program\StepMania.exe" - WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\stepmania\shell\open\command" "" '"$INSTDIR\Program\StepMania.exe" "%1"' + WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\itgmania" "" "ITGmania protocol handler" + WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\itgmania" "URL Protocol" "" + WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\itgmania\DefaultIcon" "" "$INSTDIR\Program\ITGmania.exe" + WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Classes\itgmania\shell\open\command" "" '"$INSTDIR\Program\ITGmania.exe" "%1"' !endif !ifdef INSTALL_NON_PCK_FILES @@ -427,11 +427,11 @@ Section "Main Section" SecMain SetOutPath "$INSTDIR\Program" !ifdef INSTALL_EXECUTABLES ; normal exec - File "Program\StepMania.exe" - File "Program\StepMania.vdi" + File "Program\ITGmania.exe" + File "Program\ITGmania.vdi" ; sse2 exec - File "Program\StepMania-SSE2.exe" - File "Program\StepMania-SSE2.vdi" + File "Program\ITGmania-SSE2.exe" + File "Program\ITGmania-SSE2.vdi" ; other programs File "Program\Texture Font Generator.exe" ; AJ can never get this built properly: @@ -489,11 +489,11 @@ Section "Main Section" SecMain CreateDirectory "$SMPROGRAMS\${PRODUCT_ID}\" ; todo: make desktop shortcut an option !ifdef MAKE_DESKTOP_SHORTCUT - CreateShortCut "$DESKTOP\$(TEXT_IO_RUN).lnk" "$INSTDIR\Program\StepMania-SSE2.exe" + CreateShortCut "$DESKTOP\$(TEXT_IO_RUN).lnk" "$INSTDIR\Program\ITGmania-SSE2.exe" !endif - CreateShortCut "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_RUN).lnk" "$INSTDIR\Program\StepMania-SSE2.exe" - CreateShortCut "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_RUN_WITHOUT_SSE2).lnk" "$INSTDIR\Program\StepMania.exe" + CreateShortCut "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_RUN).lnk" "$INSTDIR\Program\ITGmania-SSE2.exe" + CreateShortCut "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_RUN_WITHOUT_SSE2).lnk" "$INSTDIR\Program\ITGmania.exe" !ifdef MAKE_OPEN_PROGRAM_FOLDER_SHORTCUT CreateShortCut "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_OPEN_PROGRAM_FOLDER).lnk" "$WINDIR\explorer.exe" "$INSTDIR\" @@ -511,8 +511,8 @@ Section "Main Section" SecMain !ifdef MAKE_UPDATES_SHORTCUT CreateShortCut "$SMPROGRAMS\${PRODUCT_ID}\$(TEXT_IO_CHECK_FOR_UPDATES).lnk" "${UPDATES_URL}" !endif - CreateShortCut "$INSTDIR\${PRODUCT_ID}.lnk" "$INSTDIR\Program\StepMania-SSE2.exe" - CreateShortCut "$INSTDIR\${PRODUCT_ID} (non-SSE2).lnk" "$INSTDIR\Program\StepMania.exe" + CreateShortCut "$INSTDIR\${PRODUCT_ID}.lnk" "$INSTDIR\Program\ITGmania-SSE2.exe" + CreateShortCut "$INSTDIR\${PRODUCT_ID} (non-SSE2).lnk" "$INSTDIR\Program\ITGmania.exe" !endif IfErrors do_error do_no_error @@ -587,7 +587,7 @@ Function LeaveAutorun GoTo proceed play: - Exec "$INSTDIR\Program\StepMania-SSE2.exe" + Exec "$INSTDIR\Program\ITGmania-SSE2.exe" IfErrors play_error quit @@ -679,7 +679,7 @@ Function PreInstall !endif !else ; Check that full version is installed. - IfFileExists "$INSTDIR\Program\StepMania.exe" proceed_with_patch + IfFileExists "$INSTDIR\Program\ITGmania.exe" proceed_with_patch MessageBox MB_YESNO|MB_ICONINFORMATION "$(TEXT_IO_FULL_INSTALL_NOT_FOUND)" IDYES proceed_with_patch Abort proceed_with_patch: @@ -741,7 +741,7 @@ Section "Uninstall" !endif !ifdef ASSOCIATE_SMURL - DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Classes\stepmania" + DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Classes\itgmania" !endif !ifdef INSTALL_NON_PCK_FILES @@ -834,10 +834,10 @@ Section "Uninstall" !endif !ifdef INSTALL_EXECUTABLES - Delete "$INSTDIR\Program\StepMania.exe" - Delete "$INSTDIR\Program\StepMania.vdi" - Delete "$INSTDIR\Program\StepMania-SSE2.exe" - Delete "$INSTDIR\Program\StepMania-SSE2.vdi" + Delete "$INSTDIR\Program\ITGmania.exe" + Delete "$INSTDIR\Program\ITGmania.vdi" + Delete "$INSTDIR\Program\ITGmania-SSE2.exe" + Delete "$INSTDIR\Program\ITGmania-SSE2.vdi" Delete "$INSTDIR\Program\tools.exe" Delete "$INSTDIR\Program\Texture Font Generator.exe" !endif