Currently we are storing the default driver lists as a macro, and splitting them into RString vectors every time they are needed. This commit changes the macros in `arch_default.h` into vectors of RStrings, so that they do not need to be split each time. I have updated all references where the default driver lists are being called so that the vector is used directly. A new function is added to RageUtil to make a compatible vector of RStrings from user input which may be separated with a comma. RageSoundDriver was refactored to check user input in Preferences.ini against the default driver list, and in case of incorrect spelling or failure, provides a detailed error message (including a list of valid options) in logs so the user can resolve the problem. `fix_bogus_sound_driver_pref` is no longer needed, since we are now telling the user what their valid options are if the user provides an incorrect entry for the `SoundDrivers` preference, instead of silently attempting to guess what the user wanted. Since I think it's rare that someone wants to specify a driver to begin with, we should let them know their exact options if they put something wrong here, instead of silently failing or using an unwanted driver. I tested this on Windows by specifying `DirectSound-sw` in Preferences.ini, and it worked as expected. I also tried putting an unusable value in, and got the error in logs letting me know what my valid driver options were. Of course, input and movies all work as expected too.
ITGmania
ITGmania is a fork of StepMania 5.1, an advanced cross-platform rhythm game for home and arcade use.
Changes to StepMania 5.1
- Built-in network functionality
- Fully 64-bit, optimized for modern OSes
- Reload new songs from within the song select screen
- The mine fix applied (courtesy of DinsFire64)
- Held misses tracked in the engine for pad debugging
- Fixed overlapping hold bug
- Per-player visual delay
- Per-player disabling of timing windows
- New preference to control note render ordering
- Increased the Stats.xml file size limit to 100MB
- Changed the default binding for P2/back from hyphen to backslash
Installation
You can choose between using the installer or using the portable build. Using the installer is recommended, because it makes upgrading to new versions easier.
Windows
Windows 7 is the minimum supported version.
- You will likely have to manually allow the installer to start.
macOS
macOS users need to have macOS 11 (Big Sur) or higher to run ITGmania.
-
Move ITGmania.app to the Applications folder, and then run the following command in Terminal:
xattr -dr com.apple.quarantine /Applications/ITGmania
-
You should then add ITGmania to the "Input Monitoring" section of System Preferences (under Security & Privacy)
Linux
Linux users should receive all they need from the package manager of their choice.
-
Debian-based:
sudo apt install libgdk-pixbuf-2.0-0 libgl1 libglvnd0 libgtk-3-0 libusb-0.1-4 libxinerama1 libxtst6
-
Fedora-based:
sudo yum install gdk-pixbuf2 gtk3 libusb-compat-0.1 libXinerama libXtst
-
Arch Linux:
sudo pacman -S mesa gtk3 libusb-compat libxinerama libxtst llvm-libs
-
OpenSUSE:
- OpenSUSE comes with everything you need pre-installed.
Build From Source
ITGmania can be compiled using CMake. More information about using CMake to build ITGmania can be found in both the Build directory and CMake's documentation.
Resources
- ITGmania Website
- StepMania 5.1 to ITGmania Migration Guide
- Lua for ITGmania
- Lua API Documentation can be found in the Docs folder.
Licensing Terms
ITGmania, as well as the Simply Love theme, are both under the GPLv3 license, or at your option, any later version.
If ITGmania code is used in your project, we would also appreciate it if you link back to ITGmania as well as StepMania.
For specific information/legalese:
- All of our source code is under the GPLv3 license.
- Songs included within the 'StepMania 5' folder are under the CC-NC license.
- Simply Love is licensed under the GPLv3, or, at your option, any later version.
- The copyright for songs in the 'Club Fantastic' folders rests with the original authors. The content is explicitly NOT placed under a Creative Commons license (or similar license), but has been provided free of charge, for personal or public use, including online broadcasting, tournaments, and other purposes. Go to the Club Fantastic website for more information.
- The MAD library and FFmpeg codecs when built with our code use the GPL license.
Credits
ITGmania Team
- Martin Natano (natano)
- teejusb
Contributors
- Club Fantastic
- DinsFire64 (Mine Fix)
- EvocaitArt (Enchantment NoteSkin)
- jenx (Fast Profile Switching)
- LightningXCE (Cyber NoteSkin)
- MegaSphere (Note/Rainbow/Vivid NoteSkins)
- StepMania 5
- Old StepMania Team