Giter VIP home page Giter VIP logo

yarg's Introduction

Warning

YARG is not done yet! Expect incomplete features and bugs!


๐Ÿ‘‰ Disclaimer

We DO NOT encourage, advocate, or promote PIRATING of songs, or of anything else. This game's intended use is for you, the player, to play songs that you already own. This means, ripping songs of a game YOU OWN for YOURSELF for PERSONAL USE, or downloading creative commons/public domain songs off of the internet.

YARG has nothing to do with pirates. It stands for "Yet Another Rhythm Game."

๐Ÿ“ƒ Table of Contents

๐Ÿ“ฅ Downloading and Playing

An official installation video is available here.

A community made one is available as well.

Windows

  1. Go to the latest release and click on the "Assets" dropdown, then click on YARG_vX.X.X-Windows-x64.zip to download.
  2. Extract the contents of the zip file by right clicking it and pressing "Extract All..."
  3. Choose where you want to extract it to, then click "Extract".
  4. Open the extracted folder and double-click YARG.exe (if you don't have file extensions on, it is called just YARG)
  5. You may get a "Windows protected your PC" warning. This is because not many people have run YARG before, so Windows does not know if it is harmful or not. Click on "More info" and then "Run anyway" to run it anyways. If you don't trust me, please feel free to scan the folder with an anti-virus, and remember that false positives can still happen.

Mac

  1. Go to the the latest release and click on the "Assets" dropdown, then click on YARG_vX.X.X-MacOS-Universal.dmg to download.
  2. Open the downloaded .dmg and drag the YARG app to your Apps folder.
  3. Double-click the YARG app to run it.

Linux

  1. Go to the latest release and click on the "Assets" dropdown, then click on YARG_vX.X.X-Linux-x86_64.zip to download.
  2. Extract the zip to the location of your choosing.
  3. Inside the folder you extracted the game to, open a terminal and run chmod +x ./YARG.x86_64 to give the game executable permission.
  4. You can now double-click the YARG.x86_64 file or use ./YARG.x86_64 in a terminal to run the game, however there are some dependencies that will be needed for HID devices (such as PS3 and Wii instruments).
  5. Next, install hidapi and libudev:
  • (Package names may differ depending on package repositories.)
  • On apt-based distros (such as Ubuntu or Debian), use sudo apt install libhidapi-hidraw0 libudev1.
  • On pacman-based distros (such as Arch Linux), use pacman -S hidapi systemd-libs.
  • On Fedora, use dnf install hidapi systemd-libs.
  1. Finally, create a new udev rules file called 69-hid.rules inside of /etc/udev/rules.d/ or /usr/lib/udev/rules.d/, with the following contents:
KERNEL=="hidraw*", TAG+="uaccess"
  • Without this file, YARG will not be able to access HID devices without special permissions such as being run with sudo, which is not recommended.
  • The file name may differ if desired, but it must come before 73-seat-late.rules!
  1. Reboot your system to apply the new udev rule, then you should be all good to go!

In-Game Setup

  • Set up your song folders:
    1. From the main menu, click on "SETTINGS", then click on "Open Song Folder Manager"
    2. Next, click on "Add Folder." A new entry should pop-up.
    3. Click on the folder icon to open a folder picker, then choose the folder your songs are stored in.
    4. Repeat the previous two steps for each of your song folders.
    5. Now, click on "Refresh All Caches" to make YARG scan that folder for songs. Doing this may take a while depending on the amount of songs you have. If you ever add more songs, be sure to come back here and click on "Refresh All Caches".
  • Set up your controllers:
    1. From the main menu, click on "ADD/EDIT PLAYERS".
    2. Click "Add Player" and select the controller you wish to use for that player (or select "Create a BOT" to create a bot player).
    3. Enter in a name for this player, and select what type of instrument you will be playing from the dropdown below it (i.e. "Five Fret", "Microphone", etc.).
    4. Depending on the instrument type, you may have to bind some controls. To do this, click on each mapping and press the control you want to map to it.
  • Finally, click on "QUICKPLAY" to enter the song list.

Have fun!

๐Ÿ”จ Building

โš ๏ธ If you wish to contribute, use the dev branch. Your PR will NOT be merged if it's on master. โš ๏ธ

Setup Instructions

Warning

If you would like to build the game yourself, please follow these instructions.

If you don't follow these instructions, YOU WILL NOT BE ABLE TO RUN THE GAME.

  1. Make sure you have the latest version of Blender installed. This is for loading models, even if you don't plan on editing them.
  2. Clone the repository. If you don't know how to do this:
  3. Download Git. Be sure it is added to system path.
  4. Open the command prompt in the directory you want to store the repository.
  5. Type in git clone https://github.com/YARC-Official/YARG.git.
  6. Install Unity Hub and Unity 2021.3.21f1 (LTS).
  7. Download and install Unity Hub.
  8. Sign-in/create an account with a personal license (free).
  9. In Unity Hub, click on "Install Editor" and select 2021.3.21f1 (LTS). It may be favourable to unselect Visual Studio if you are not using it.
  10. Click "Install"
  11. Open the project in Unity (select "Open" and select YARG's repo's folder).
  12. Load in without entering safe mode. Click "Ignore".
  13. (You may need to) click on NuGet on the menu bar, then click on Restore Packages.
  14. You're ready to go!

Unity YAML Merge Tool

Sometimes merge conflicts may happen between Unity scenes. These can be much more difficult to resolve than other merge conflicts, so we recommend using the Unity YAML merge tool to resolve these instead of attempting to do so manually.

Setup:

  1. Open a command prompt to the repository (on VS Code you can do Terminal > New Terminal)
  2. Type in git config --local --edit
  3. In the file that gets opened, go to the bottom and paste this in:
[merge]
    tool = unityyamlmerge
[mergetool "unityyamlmerge"]
    trustExitCode = false
    cmd = 'C:\\Program Files\\Unity\\Hub\\Editor\\2021.3.21f1\\Editor\\Data\\Tools\\UnityYAMLMerge.exe' merge -p "$BASE" "$REMOTE" "$LOCAL" "$MERGED"
  • You may need to change the file path depending on where you installed Unity to.
  1. Save and close the file.

Resolving conflicts:

  1. Start the merge/cherry-pick which is causing conflicts.
  2. If the conflict doesn't resolve automatically, open the command prompt and use git merge-tool.
  3. Verify that the conflict was resolved correctly, then commit/continue the merge.

โœ๏ธ Contributing

If you want to contribute, please feel free! Please join our Discord if you want your PR/Art merged.

๐Ÿ›ก๏ธ License

YARC Launcher is licensed under the YARG License - see the LICENSE file for details. Essentially, you can do whatever you want with any of the code, except for YARG (and related) logos. You DO NOT have permission to redistribute any YARG branding.

๐Ÿงฐ External Licenses

Some libraries/assets are packaged with the source code have licenses that must be included.

Library License
NuGet for Unity MIT
Unity Standalone File Browser MIT
Discord GameSDK Licenseless
Lucide ISC
DtxCS Licenseless
Moonscraper BSD 3-Clause License

Please note that other libraries are not packaged within the source code, and are to be install by NuGet.

BASS is the audio library for YARG. It has it's own license for release. BASS is free for non-commercial use, ensure you have the correct license if you intend to distribute YARG (and therefore BASS) commercially.

๐Ÿ“ฆ External Assets and Libraries

Link Type Use
Unbounded Font Combo/Multipier Meter
Barlow Font UI Font
Material Symbols Icons UI Icons
Lucide Icons UI Icons
PolyHaven Assets Textures and Models
PlasticBand Reference Controller Support Info
PlasticBand-Unity Library GH/RB Controller Support
HIDrogen Library Linux HID Controller Support
GuitarGame_ChartFormats Reference File Format Documentation
NuGet for Unity Library NuGet Packages in Unity
EliteAsian's Unity Extensions Library Utility
Unity Standalone File Browser Library "Browse" Button
FuzzySharp Library Search Function
ini-parser Library Parsing song.ini Files
DryWetMidi Library Parsing .mid Files
TagLibSharp Library Finding Audio Metadata
Minis Library MIDI Input for Unity
Discord GameSDK Library Discord Rich Presence
DtxCS Library Parsing .dta Files
Moonscraper Library Parsing .chart Files
DOTween Library Animation Utility
UniTask Library Async Library
unity-toolbar-extender Library Unity Editor Stuff

๐Ÿ’ธ Donate

Some people have expressed interest in donating. This is an open-source project and therefore donating is not required. If you do want to still help out, spread the word or contribute!

yarg's People

Contributors

eliteasian123 avatar thenathannator avatar rileythefox avatar thefatbastid avatar raphaelgoulart avatar jnackmclain avatar muskit avatar rjkiv avatar jaydiddythagoat avatar berthrage avatar kaduwaengertner avatar escapenumber001 avatar nevespt avatar samuelpalma avatar jtanan44 avatar santorfo avatar llysix avatar roystermeat avatar thoudankeykang avatar pantotone avatar nyxtheshield avatar localh avatar grishhung avatar sonicfind avatar neomattgz avatar narriksynthfox avatar eckerj avatar pikminguts92 avatar exoticri avatar kernaltrap8 avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.