ROM Hack Download All Cheats from max-cheats (Bash Shell Script)

  • Thread starter Thread starter detain
  • Start date Start date
  • Views Views 47,976
  • Replies Replies 37
  • Likes Likes 7

detain

New Member
Newbie
Joined
Jan 14, 2019
Messages
3
Reaction score
7
Trophies
0
Age
45
Location
Ephrata, PA
Website
www.interserver.net
XP
468
Country
United States
Here is a simple script which will parse all the regions from max-cheats loading all the pages for each one grabbing all of the cheats available. It grabs the Title ID and Build ID for each one and places the cheats files in a directory structure based on the requirements for SX OS. When I ran it earlier today it loaded 217 different cheat files for 97 titles with a total of 853 cheats.

Note: script is included as a file, couldn't inline the script due to url like content in the script with my current user privs.
 

Attachments

Last edited by detain,
Here is a simple script which will parse all the regions from max-cheats loading all the pages for each one grabbing all of the cheats available. It grabs the Title ID and Build ID for each one and places the cheats files in a directory structure based on the requirements for SX OS. When I ran it earlier today it loaded 217 different cheat files for 97 titles with a total of 853 cheats.

Note: script is included as a file, couldn't inline the script due to url like content in the script with my current user privs.
Where could we paste this to donwload all ?
 
In a linux shell or cygwin/mingw in windows or the linux subsystem for windows shell
So basically for what i have read i have to install a program to run in windows to load linux to paste the .txt and with that i will be able to donwload the entire max cheats database cheat , right ?
 
how to run this though
you posted a script and didn't say much else lol
If you have Windows you could try my Windows Version. I used the original script by detain. Just combined my files into one file with BoxedApp.
Well, actually I've made this just for myself but if it's help you ... fine.

::edit::
Download removed - too many false-positive warnings
 
Last edited by DaBlackDeath,
If you have Windows you could try my Windows Version. I used the original script by detain. Just combined my files into one file with BoxedApp.
Well, actually I've made this just for myself but if it's help you ... fine.

Hey @DaBlackDeath i try to use it first i got a ,essage of wrong destination folder and the a warning and inmidiate delete of the file with the message Win32:Malware-Gen
 
Last edited by DaBlackDeath,
Well, actually I've made this just for myself but if it's help you ... fine.


Huh.
https://www.virustotal.com/#/file/a...f53f3d93c527cad5719d5903b0c60c0488a/detection

--------------------- MERGED ---------------------------

usage: sh download_sxos_cheats.sh
or just run sh.exe and then type download_sxos_cheats.sh
bash$ sh download_sxos_cheats.sh
Nintendo Switch Cheats Downloader v1.0
download_sxos_cheats.sh: grep: command not found
download_sxos_cheats.sh: sed: command not found
 
I don't know why BoxedApp Packager is detected as virus. Guess I should remove the download. Sorry for trouble

--------------------- MERGED ---------------------------

Huh.
https://www.virustotal.com/#/file/a...f53f3d93c527cad5719d5903b0c60c0488a/detection

--------------------- MERGED ---------------------------


bash$ sh download_sxos_cheats.sh
Nintendo Switch Cheats Downloader v1.0
download_sxos_cheats.sh: grep: command not found
download_sxos_cheats.sh: sed: command not found
strange, I have this sh.exe from an old winbash archive.
Try a search on google for WinBash or something like that (I cannot remember the real filename) and you should find it.

::edit::
found it: https://datapacket.dl.sourceforge.net/project/win-bash/shell-complete/latest/shell.w32-ix86.zip
 
Last edited by DaBlackDeath,
I don't know why BoxedApp Packager is detected as virus. Guess I should remove the download. Sorry for trouble

--------------------- MERGED ---------------------------


strange, I have this sh.exe from an old winbash archive.
Try a search on google for WinBash or something like that (I cannot remember the real filename) and you should find it.

::edit::
found it: https://datapacket.dl.sourceforge.net/project/win-bash/shell-complete/latest/shell.w32-ix86.zip
download_sxos_cheats.sh: download_sxos_cheats.sh: No such file or directory

Sure im missing something i just dont know what :-)
 
  • Like
Reactions: crazy_p
download_sxos_cheats.sh: download_sxos_cheats.sh: No such file or directory

Sure im missing something i just dont know what :-)

Hi you can create an new empty textfile and paste :

sh download_sxos_cheats.sh

Then save it as ex. Download Cheats.bat
Put your Download Cheats.bat File in the same Folder as download_sxos_cheats.sh.
When you execute your Download Cheats.bat File it will create a sxos Folder and download the latest Cheats.
 

Attachments

Hi you can create an new empty textfile and paste :

sh download_sxos_cheats.sh

Then save it as ex. Download Cheats.bat
Put your Download Cheats.bat File in the same Folder as download_sxos_cheats.sh.
When you execute your Download Cheats.bat File it will create a sxos Folder and download the latest Cheats.
Now ive got this :
bash$ sh download_sxos_cheats.sh
Nintendo Switch Cheats Downloader v1.0
download_sxos_cheats.sh: curl: command not found
0 Cheats Loaded
bash$

At least it seems like an improvement :-)
 
  • Like
Reactions: crazy_p
Works fine, but you guys need to rename it to .sh
do: chmod +x on the file
then run it with ./filename
 

Site & Scene News

Popular threads in this forum