{"id":15394732,"url":"https://github.com/bensuperpc/gtasa_alternative_code","last_synced_at":"2026-01-26T21:50:01.503Z","repository":{"id":37868114,"uuid":"376948733","full_name":"bensuperpc/GTASA_alternative_code","owner":"bensuperpc","description":"Find alternative cheat code in Grand Theft Auto San Andreas (2004) by bruteforce (CLI and GUI), C++17, Qt 6 and CUDA 11","archived":false,"fork":false,"pushed_at":"2024-12-30T19:42:51.000Z","size":873,"stargazers_count":11,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-21T02:36:54.560Z","etag":null,"topics":["alternative","arm64","bruteforce","cheat","cmake","cmake-toolchain","cpp","crc32","cross-platform","dockcross","docker","gta","gtasa","linux","qt","windows"],"latest_commit_sha":null,"homepage":"https://github.com/bensuperpc/scripts","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bensuperpc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"bensuperpc"}},"created_at":"2021-06-14T20:32:01.000Z","updated_at":"2024-07-28T07:56:38.000Z","dependencies_parsed_at":"2023-11-29T08:25:13.655Z","dependency_job_id":"5f9bd10a-4376-4470-b83c-484befc5d646","html_url":"https://github.com/bensuperpc/GTASA_alternative_code","commit_stats":{"total_commits":359,"total_committers":2,"mean_commits":179.5,"dds":0.04456824512534818,"last_synced_commit":"206e55ba99d36fbe73b30dc09b4ed3e951aa8fe3"},"previous_names":["bensuperpc/gtasa_alternative_code"],"tags_count":53,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bensuperpc%2FGTASA_alternative_code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bensuperpc%2FGTASA_alternative_code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bensuperpc%2FGTASA_alternative_code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bensuperpc%2FGTASA_alternative_code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bensuperpc","download_url":"https://codeload.github.com/bensuperpc/GTASA_alternative_code/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239946904,"owners_count":19723014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alternative","arm64","bruteforce","cheat","cmake","cmake-toolchain","cpp","crc32","cross-platform","dockcross","docker","gta","gtasa","linux","qt","windows"],"created_at":"2024-10-01T15:24:19.650Z","updated_at":"2025-10-14T12:04:17.794Z","avatar_url":"https://github.com/bensuperpc.png","language":"C++","readme":"# GTA_SA_cheat_finder\n\n## _Find alternate cheat codes in Grand Theft Auto San Andreas by hash collision_\n\n[![Continuous Integration](https://github.com/bensuperpc/GTA_SA_cheat_finder/actions/workflows/ci.yml/badge.svg)](https://github.com/bensuperpc/GTA_SA_cheat_finder/actions/workflows/base.yml) [![Dockcross CI](https://github.com/bensuperpc/GTA_SA_cheat_finder/actions/workflows/dockcross.yml/badge.svg)](https://github.com/bensuperpc/GTA_SA_cheat_finder/actions/workflows/dockcross.yml) [![tagged-release](https://github.com/bensuperpc/GTA_SA_cheat_finder/actions/workflows/release.yml/badge.svg)](https://github.com/bensuperpc/GTA_SA_cheat_finder/actions/workflows/release.yml) [![linux](https://github.com/bensuperpc/GTA_SA_cheat_finder/actions/workflows/linux.yml/badge.svg)](https://github.com/bensuperpc/GTA_SA_cheat_finder/actions/workflows/linux.yml)\n\n![GitHub top language](https://img.shields.io/github/languages/top/bensuperpc/GTA_SA_cheat_finder) ![GitHub](https://img.shields.io/github/license/bensuperpc/GTA_SA_cheat_finder) ![GitHub all releases](https://img.shields.io/github/downloads/bensuperpc/GTA_SA_cheat_finder/total) ![GitHub Release Date](https://img.shields.io/github/release-date/bensuperpc/GTA_SA_cheat_finder) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/bensuperpc/GTA_SA_cheat_finder) [![codecov](https://codecov.io/gh/bensuperpc/GTA_SA_cheat_finder/branch/main/graph/badge.svg?token=34WAC5P9TR)](https://codecov.io/gh/bensuperpc/GTA_SA_cheat_finder)\n\n [![Twitter](https://img.shields.io/twitter/follow/Bensuperpc?style=social)](https://img.shields.io/twitter/follow/Bensuperpc?style=social) [![Youtube](https://img.shields.io/youtube/channel/subscribers/UCJsQFFL7QW4LSX9eskq-9Yg?style=social)](https://img.shields.io/youtube/channel/subscribers/UCJsQFFL7QW4LSX9eskq-9Yg?style=social) \n\n## New Features\n\n- Multi-plateform build: AMD64, I386, ARM64, ARMv7, ARMv7a, ARMv6, ARMv5, RISC-V 32/64, PPC64le, Mips, Windows 32/64, Android (Exec only), m68k... Thanks [dockcross](https://github.com/dockcross/dockcross) and [crosstool-ng](https://github.com/crosstool-ng/crosstool-ng)\n- Add Qt GUI (Qt 6.6.0 and Qt Quick)\n- Add CUDA support (tested with NVIDIA RTX 2070 and 3070)\n\n\n## Usage (GUI)\n\n```sh\n./GTA_SA_cheat_finder\n```\n\n## Usage (CLI)\n\n```sh\n./GTA_SA_cheat_finder --min 0 --max 60000000 # (Searches codes from index 0 to 60000000, from A to: BYKYLXA alphabetic sequence)\n```\n\n```sh\n./GTA_SA_cheat_finder --min 50 --max 58800000 # (Searches codes from index 50 to 58800000, from XA to: LFLQXD Alphabetic sequence)\n```\n\n```sh\n./GTA_SA_cheat_finder -h # Get help (or with --help)\n```\n\n## Example\n\n```sh\n./GTA_SA_cheat_finder --min 0 --max 600000000\n```\n\n**You should get this result:**\n\n```bash\nNumber of calculations: 600000000\n\nFrom: A to: BYKYLXA Alphabetic sequence\n\nIter. N°         Code           JAMCRC value   \n20810792         ASNAEB         0x555fc201       \n75396850         FHYSTV         0x44b34866       \n147491485        LJSPQK         0xfeda77f7       \n181355281        OFVIAC         0x6c0fa650       \n181961057        OHDUDE         0xe958788a       \n198489210        PRIEBJ         0xf2aa0c1d       \n241414872        THGLOJ         0xcaec94ee       \n289334426        XICWMD         0x1a9aa3d6       \n299376767        YECGAA         0x40cf761        \n311365503        ZEIIVG         0x74d4fcb1       \n370535590        AEDUWNV        0x9a629401       \n380229391        AEZAKMI        0xe1b33eb9       \n535721682        ASBHGRB        0xa7613f99       \nTime: 1.19597 sec\nThis program execute: 501.684973 MOps/sec\n```\n\n## Benchmark\n\n### CPU\n\nOn AMD R7 5800H (clang 16)\n\n```bash\n5429503678976 = ~4h\n208827064576 = ~8 min\n8031810176 = ~20 min\n1544578880 = ~3 sec\n308915776 = 0.6 sec\n```\n### GPU\n\nOn NVIDIA RTX 3070 (clang 16 and CUDA 11.3)\n\n```bash\n5429503678976 = ~45min\n208827064576 = ~1 min\n8031810176 = ~2 sec\n1544578880 = ~0.3 sec\n308915776 = 0.06 sec\n```\n\n\n### How does it work ?\n\n- The algorithm will generate sequences of characters (A, B, C... AA, AB, AC...)\n- It will then calculate hash (**JAMCRC**) from series of characters\n- It will compare hashes, if they are equal to one of the hashes of one of the official cheat codes, this will save the sequence of characters\n- When it is finished it displays the results and each code found can work as a alternative cheat code for GTA SA\n\nMore information on this video:\n\n[![GTA SA - Alternative Cheats - Feat. Badger Goodger](https://yt-embed.herokuapp.com/embed?v=W_eFZ4HzU7Q)](https://youtu.be/W_eFZ4HzU7Q \"GTA SA - Alternative Cheats - Feat. Badger Goodger\")\n\n## Building and installing\n\nSee the [BUILDING](BUILDING.md) document.\n\n## Contributing\n\nSee the [CONTRIBUTING](CONTRIBUTING.md) document.\n\n## Open source projects used\n\n- [Stbrumme CRC32](https://github.com/stbrumme/crc32)\n- [dockcross](https://github.com/dockcross/dockcross)\n- [crosstool-ng](https://github.com/crosstool-ng/crosstool-ng)\n- [git](https://github.com/git/git)\n- [cmake-init](https://github.com/friendlyanon/cmake-init)\n- [buildroot](https://github.com/buildroot/buildroot)\n- [CMake](https://github.com/Kitware/CMake)\n- [llvm-project](https://github.com/llvm/llvm-project)\n- [gcc](https://github.com/gcc-mirror/gcc)\n- [docker](https://github.com/docker/docker)\n- [actions](https://github.com/actions/virtual-environments)\n\n## Licensing\n\n[MIT License](LICENSE)\n","funding_links":["https://github.com/sponsors/bensuperpc"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbensuperpc%2Fgtasa_alternative_code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbensuperpc%2Fgtasa_alternative_code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbensuperpc%2Fgtasa_alternative_code/lists"}