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

detain

New Member
OP
Newbie
Joined
Jan 14, 2019
Messages
3
Trophies
0
Age
42
Location
Ephrata, PA
Website
www.interserver.net
XP
438
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

  • download_sxos_cheats.sh.txt
    1.7 KB · Views: 2,091
Last edited by detain,

matias3ds

Well-Known Member
Member
Joined
Oct 25, 2017
Messages
3,670
Trophies
1
Age
38
XP
9,321
Country
Argentina
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 ?
 

matias3ds

Well-Known Member
Member
Joined
Oct 25, 2017
Messages
3,670
Trophies
1
Age
38
XP
9,321
Country
Argentina
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 ?
 

DaBlackDeath

.::[ lone wolf ]::.
Member
Joined
Dec 22, 2007
Messages
928
Trophies
2
XP
4,454
Country
Germany
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,

matias3ds

Well-Known Member
Member
Joined
Oct 25, 2017
Messages
3,670
Trophies
1
Age
38
XP
9,321
Country
Argentina
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
 

DaBlackDeath

.::[ lone wolf ]::.
Member
Joined
Dec 22, 2007
Messages
928
Trophies
2
XP
4,454
Country
Germany
Last edited by DaBlackDeath,

wurstpistole

GBAtemp MVP
Member
Joined
Nov 19, 2015
Messages
4,654
Trophies
1
XP
5,410
Country
United Kingdom
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
 

DaBlackDeath

.::[ lone wolf ]::.
Member
Joined
Dec 22, 2007
Messages
928
Trophies
2
XP
4,454
Country
Germany
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,

matias3ds

Well-Known Member
Member
Joined
Oct 25, 2017
Messages
3,670
Trophies
1
Age
38
XP
9,321
Country
Argentina
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

crazy_p

Well-Known Member
Member
Joined
Sep 3, 2016
Messages
1,348
Trophies
1
XP
8,194
Country
Thailand
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

  • download_sxos_cheats.7z
    848 bytes · Views: 411

matias3ds

Well-Known Member
Member
Joined
Oct 25, 2017
Messages
3,670
Trophies
1
Age
38
XP
9,321
Country
Argentina
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

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,285
Trophies
2
XP
18,105
Country
Sweden
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

General chit-chat
Help Users
    ButterScott101 @ ButterScott101: +1