Skip to content

Commit

Permalink
[ADD] Chaos 3.0: Now a C project with a standalone executable, comple…
Browse files Browse the repository at this point in the history
…te code/practices documentation, README, deprecated code update, code cleaning and a new hot keys feature !
  • Loading branch information
NairodGH committed May 26, 2024
1 parent 14eebdc commit ceee04a
Show file tree
Hide file tree
Showing 11 changed files with 768 additions and 536 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.vs*
Chaos
x64
*.aps
470 changes: 470 additions & 0 deletions Chaos.c

Large diffs are not rendered by default.

342 changes: 0 additions & 342 deletions Chaos.cpp

This file was deleted.

Binary file added Chaos.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions Chaos.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Chaos.rc
//
#define IDB_BITMAP1 101
#define IDB_BITMAP2 102
#define IDB_BITMAP3 103
#define IDI_ICON1 104

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 105
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
Binary file added Chaos.rc
Binary file not shown.
318 changes: 164 additions & 154 deletions Chaos.vcxproj

Large diffs are not rendered by default.

80 changes: 45 additions & 35 deletions Chaos.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -1,36 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Chaos.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<Image Include="Chaos.ico">
<Filter>Resource Files</Filter>
</Image>
<Image Include="ChaosStop.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="ChaosStart.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="ChaosBackground.bmp">
<Filter>Resource Files</Filter>
</Image>
</ItemGroup>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Chaos.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<Image Include="Chaos.ico">
<Filter>Resource Files</Filter>
</Image>
<Image Include="ChaosStop.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="ChaosStart.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="ChaosBackground.bmp">
<Filter>Resource Files</Filter>
</Image>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Chaos.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Chaos.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>
10 changes: 5 additions & 5 deletions Chaos.vcxproj.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>true</ShowAllFiles>
</PropertyGroup>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>true</ShowAllFiles>
</PropertyGroup>
</Project>
Binary file modified ChaosBackground.bmp
Binary file not shown.
61 changes: 61 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# <p align="center">🕹️ Chaos ⚡</p>

<p align="center">
<img src="Chaos.gif">
</p>

## 📋 Table of contents
<details>
<summary>Click to reveal</summary>

- [About](#-about)
- [Requirements](#-requirements)
- [Building](#-building)
- [Usage](#-usage)
- [Author](#-author)

</details>

## 🔍 About

Chaos is a personal C windows project I've started back in 2022 summer vacations for school.\
It is a [Yuzu](https://en.wikipedia.org/wiki/Yuzu_(emulator)) [Super Smash Bros. Ultimate](https://en.wikipedia.org/wiki/Super_Smash_Bros._Ultimate) cheat application that allows you to increase/decrease the damage taken/shield regeneration of fighters.\
The goal was to learn more about [reverse engineering](https://en.wikipedia.org/wiki/Reverse_engineering) and [Win32](https://en.wikipedia.org/wiki/Windows_API) while working with a game I like.\
It never was to be able to cheat online, it's not possible to use it with nintendo servers but it is somewhat possible to do so with [Parsec](https://parsec.app) as host.\
I've decided to make the repository public due to:
- having refactored/documented all of my code and practices (easy for people to learn from it)
- Super Smash Bros. Ultimate getting its last 13.0.2 update in 2024 after Director Masahiro Sakurai semi-retired in 2023
- Yuzu definitely stopping development at version 1734 after a $2.4 million lawsuit by Nintendo

making Chaos, tested on those latest versions with Windows 11 x64, stable for a while.\
The name Chaos refers to the player responsible for the [Pichugate](https://www.ssbwiki.com/Super_Pichu_cheating_scandal) incident where he modified his setup to buff his swimming goggles Pichu, hence the design.

## 💻 Requirements

You will need:
- [Visual Studio](https://visualstudio.microsoft.com) 2022 (or any other way to build a C file into an executable on Windows)
- Yuzu 1734 (might not work on earlier versions, you'll have to find it online among the DMCAs)
- Super Smash Bros. Ultimate 13.0.1 (probably works on 13.0.2, you'll have to find it on Nintendo Switch NSP/XCI sites)

## 🔧 Building

Setup visual studio and build the project so that the executable is ready to launch.\
Setup yuzu so that it can launch Super Smash Bros. Ultimate (https://github.com/Abd-007/Switch-Emulators-Guide/blob/main/Yuzu.md).

## 🎮 Usage

Chaos was made for 1v1s but can work with more players depending on their fighters (read the app for more info).\
Drag the slider thumbs to modify their respective cheats' values for each fighter from -100% to +100%.\
Click on the hot key buttons to record a key for their respective cheat (only 1 key, no duplicates, blocks them from any other use, detects from any window).\
Click them again (or unfocus from them) to validate.

Everytime you want to play and use Chaos:
- run the Chaos executable
- run Super Smash Bros. Ultimate from Yuzu

Everytime you start a new match on Super Smash Bros. Ultimate:
- click the start button (or release the associated hot key that you defined), the first start will take longer

## 🤝 Author

[Nairod](https://github.com/NairodGH)

0 comments on commit ceee04a

Please sign in to comment.