Rename to ITGmania

- executable name:
  - linux: itgmania
  - windows: ITGmania.exe
  - macOS: ITGmania.app
- config path:
  - linux: ~/.itgmania
  - windows; %AppData%\ITGmania
  - macOS: ~/Library/Application Support/ITGmania
This commit is contained in:
Martin Natano
2022-03-30 22:54:25 +02:00
committed by teejusb
parent a8b9c1da09
commit 02008eb469
14 changed files with 97 additions and 104 deletions
+7 -7
View File
@@ -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
+8 -9
View File
@@ -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()
+3 -3
View File
@@ -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}")
+1 -1
View File
@@ -209,7 +209,7 @@
<xsl:template match="sm:Lua">
<div>
<div id="header">
<h2><a href="https://github.com/stepmania/stepmania/">StepMania 5</a> Lua Information</h2><br/>
<h2><a href="https://github.com/itgmania/itgmania/">ITGmania</a> Lua Information</h2><br/>
<small>A collection of Lua bindings which can be used in themes for StepMania 5.</small>
</div>
<table id="sections">
+11 -11
View File
@@ -156,7 +156,7 @@ save yourself some time, copy this for undocumented things:
</Function>
<Function name='convert_xml_bgs' return='' arguments='string dir'>
Recursively searches <code>dir</code> for xml files of actors and converts them to equivalent lua files.
See <a href="https://github.com/stepmania/stepmania/blob/HEAD/Docs/Themerdocs/XmlToLua.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/XmlToLua.txt</a>.
See <a href="https://github.com/itgmania/itgmania/blob/HEAD/Docs/Themerdocs/XmlToLua.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/XmlToLua.txt</a>.
</Function>
<Function name='create_bezier' return='RageBezier2D' arguments=''>
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']
</Function>
<Function name='diffuseblink' return='void' arguments=''>
Makes the Actor switch between two colors immediately.
See <a href="https://github.com/stepmania/stepmania/blob/HEAD/Docs/Themerdocs/effect_colors.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/effect_colors.txt</a>
See <a href="https://github.com/itgmania/itgmania/blob/HEAD/Docs/Themerdocs/effect_colors.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/effect_colors.txt</a>
for an example.
</Function>
<Function name='diffusebottomedge' return='void' arguments=''>
@@ -1195,7 +1195,7 @@ local n = r['PlayerNumber_P2']
</Function>
<Function name='diffuseramp' return='void' arguments=''>
Makes the Actor switch between two colors, jumping back to the first after reaching the second.
See <a href="https://github.com/stepmania/stepmania/blob/HEAD/Docs/Themerdocs/effect_colors.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/effect_colors.txt</a>
See <a href="https://github.com/itgmania/itgmania/blob/HEAD/Docs/Themerdocs/effect_colors.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/effect_colors.txt</a>
for an example.
</Function>
<Function name='diffuserightedge' return='void' arguments='color c'>
@@ -1203,7 +1203,7 @@ local n = r['PlayerNumber_P2']
</Function>
<Function name='diffuseshift' return='void' arguments=''>
Makes the Actor shift between two colors smoothly.
See <a href="https://github.com/stepmania/stepmania/blob/HEAD/Docs/Themerdocs/effect_colors.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/effect_colors.txt</a>
See <a href="https://github.com/itgmania/itgmania/blob/HEAD/Docs/Themerdocs/effect_colors.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/effect_colors.txt</a>
for an example.
</Function>
<Function name='diffusetopedge' return='void' arguments='color c'>
@@ -1363,17 +1363,17 @@ local n = r['PlayerNumber_P2']
</Function>
<Function name='glowblink' return='void' arguments=''>
Makes the Actor glow between two colors immediately.
See <a href="https://github.com/stepmania/stepmania/blob/HEAD/Docs/Themerdocs/effect_colors.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/effect_colors.txt</a>
See <a href="https://github.com/itgmania/itgmania/blob/HEAD/Docs/Themerdocs/effect_colors.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/effect_colors.txt</a>
for an example.
</Function>
<Function name='glowramp' return='void' arguments=''>
Makes the Actor glow between two colors smoothly, jumping back to the first at the end.
See <a href="https://github.com/stepmania/stepmania/blob/HEAD/Docs/Themerdocs/effect_colors.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/effect_colors.txt</a>
See <a href="https://github.com/itgmania/itgmania/blob/HEAD/Docs/Themerdocs/effect_colors.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/effect_colors.txt</a>
for an example.
</Function>
<Function name='glowshift' return='void' arguments=''>
Makes the Actor glow between two colors smoothly.
See <a href="https://github.com/stepmania/stepmania/blob/HEAD/Docs/Themerdocs/effect_colors.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/effect_colors.txt</a>
See <a href="https://github.com/itgmania/itgmania/blob/HEAD/Docs/Themerdocs/effect_colors.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/effect_colors.txt</a>
for an example.
</Function>
<Function name='halign' return='void' arguments='float fAlign'>
@@ -5147,19 +5147,19 @@ Details of the <code>event</code> table:
</Function>
<Function name='HasteAddAmounts' return='{float}' arguments='{float}'>
This is part of the system for controlling how haste behaves. <br />
See <a href="https://github.com/stepmania/stepmania/blob/HEAD/Docs/Themerdocs/haste.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/haste.txt</a>.
See <a href="https://github.com/itgmania/itgmania/blob/HEAD/Docs/Themerdocs/haste.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/haste.txt</a>.
</Function>
<Function name='HasteLifeSwitchPoint' return='float' arguments='float'>
This is part of the system for controlling how haste behaves. <br />
See <a href="https://github.com/stepmania/stepmania/blob/HEAD/Docs/Themerdocs/haste.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/haste.txt</a>.
See <a href="https://github.com/itgmania/itgmania/blob/HEAD/Docs/Themerdocs/haste.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/haste.txt</a>.
</Function>
<Function name='HasteTimeBetweenUpdates' return='float' arguments='float'>
This is part of the system for controlling how haste behaves. <br />
See <a href="https://github.com/stepmania/stepmania/blob/HEAD/Docs/Themerdocs/haste.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/haste.txt</a>.
See <a href="https://github.com/itgmania/itgmania/blob/HEAD/Docs/Themerdocs/haste.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/haste.txt</a>.
</Function>
<Function name='HasteTurningPoints' return='{float}' arguments='{float}'>
This is part of the system for controlling how haste behaves. <br />
See <a href="https://github.com/stepmania/stepmania/blob/HEAD/Docs/Themerdocs/haste.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/haste.txt</a>.
See <a href="https://github.com/itgmania/itgmania/blob/HEAD/Docs/Themerdocs/haste.txt" target="_blank" rel="noopener noreferrer">Docs/Themerdocs/haste.txt</a>.
</Function>
<Function name='SetNewScreen' return='void' arguments='string s'>
Sets the next Screen to be loaded.
+1 -1
View File
@@ -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")
+1 -1
View File
@@ -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"
#
+3 -4
View File
@@ -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
+15 -15
View File
@@ -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
"$<TARGET_FILE_DIR:StepMania>/../Resources"
"$<TARGET_FILE_DIR:ITGmania>/../Resources"
COMMAND ${CMAKE_COMMAND} -E copy
"${SM_XCODE_DIR}/smicon.icns"
"$<TARGET_FILE_DIR:StepMania>/../Resources/"
"$<TARGET_FILE_DIR:ITGmania>/../Resources/"
COMMAND ${CMAKE_COMMAND} -E copy
"${SM_XCODE_DIR}/Hardware.plist"
"$<TARGET_FILE_DIR:StepMania>/../Resources/")
"$<TARGET_FILE_DIR:ITGmania>/../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
+4 -6
View File
@@ -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
+5 -8
View File
@@ -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
+1 -1
View File
@@ -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" );
+8 -8
View File
@@ -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"
+29 -29
View File
@@ -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