2022-01-04 19:47:04 +08:00
# YimMenu made possible by [BigBaseV2](https://github.com/Pocakking/BigBaseV2)
2019-06-24 04:00:18 +08:00
A mod menu base for Grand Theft Auto V.
Strictly for educational purposes.
2022-01-04 19:47:04 +08:00
## Table of contents
2019-06-24 04:00:18 +08:00
2022-01-04 19:47:04 +08:00
* [How to build ](#how-to-build )
* [Git ](#git )
* [Premake5 ](#premake5 )
* [Cloning and generating project files ](#cloning-and-generating-project-files )
2022-02-02 01:45:44 +08:00
* [Staying Up To Date ](#staying-up-to-date )
2022-01-05 00:29:31 +08:00
* [Prebuild Binaries ](#prebuild-binaries )
2022-01-04 19:47:04 +08:00
* [Project Structure ](#project-structure )
* [Features ](#features )
* [Contributing ](#contributing )
## How to build
Requirements:
* [git ](#git )
* [premake5 ](#premake5 )
If you have both of the above requirements you can skip to [cloning the git repo and generating the project files ](#cloning-and-generating-project-files ).
### Git
If you haven't installed git on your system go and do so it is **REQUIRED** for setting up a working build environment.
[Download Link ](https://git-scm.com/download/win )
### Premake5
Premake5 is used to generate our project files, if you haven't used it before we will need to download and add it to our [System Path ](https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/ ).
[Download Link ](https://premake.github.io/download/ )
### Cloning and generating project files
2022-02-02 01:45:44 +08:00
Clone the repository including submodules:
```bash
2022-01-29 08:39:50 +08:00
git clone https://github.com/Yimura/YimMenu.git --recursive || echo "You don't have git installed, install it from https://git-scm.com/download/win"
2022-02-02 01:45:44 +08:00
```
Go into the directory you just cloned:
```bash
2022-01-04 19:47:04 +08:00
cd YimMenu
2022-02-02 01:45:44 +08:00
```
Generate project files:
```bash
2022-01-04 19:47:04 +08:00
GenerateProjects.bat
```
2022-02-02 01:45:44 +08:00
2022-01-04 19:47:04 +08:00
Now, you will be able to open the solution, and simply build it in Visual Studio.
2022-02-02 01:45:44 +08:00
## Staying Up To Date
Pull the latest changes from Github:
```bash
git pull
```
Make sure your Visual Studio is closed and regenerate project files:
```bash
GenerateProjects.bat
```
2022-01-04 19:47:04 +08:00
## Project Structure
2021-05-19 06:55:13 +08:00
2021-11-09 08:43:19 +08:00
- `api/` contains some basic example of how I'd make REST api calls
- `backend/` all features that should be ran in a loop are in here sorted by category
- `gui/` includes everything related to UI elements
- `hooks/` function hooks
- `native_hooks/` hooks to natives, currently not implemented
- `services/` service files to interact and maintain stuff
- `util/` general utility functions to keep code as compact and as much in one place as possible
2021-05-19 06:55:13 +08:00
2021-11-09 08:43:19 +08:00
## Features
2022-01-04 19:47:04 +08:00
Below is an incomplete list of feature that I believe are notable to this "base" or menu.
2021-11-09 08:43:19 +08:00
- Return Native spoofing
- Custom [settings ](BigBaseV2/src/core/globals.hpp ) with deep compare if changes were made include auto saving
- Clear and well structured source code
- Includes a thread pool to queue tasks that shouldn't block the game thread, very similar to fiber pool
- Updated natives.hpp from https://nativedb.pieceof.art/natives
- Includes basic code samples to interact with an api
- ReClass.NET structures implemented, accessible from a global called g_local_player defined in `common.hpp`
2019-06-24 04:00:18 +08:00
2022-01-04 19:47:04 +08:00
## Contributing
You're free to contribute to YimMenu as long as the feature are useful, non-toxic and do not contain anything money related that might get the menu targetted by Take2.
2022-01-12 00:50:58 +08:00
Make sure to read the [CONTRIBUTING.md ](CONTRIBUTING.md ) file.