Open 10522 opened 1 year ago
@israpps, i created a simple launcher to select Cheat Database (link). It contains cheats for NTSC, NTSC J, PAL and even PS1 (POPS) games. But is it possible to combine all these cheats into one Cheat Database or add support for several Cheat Databases to a Cheat Device?
The main classic cheat database file is deprecated in favor of having zip files with individual text files inside for each game
Also since you wanted to make a launcher I made a quick untested update, which should allow you to override the configuration for Database vía argument passing https://github.com/israpps/CheatDevicePS2/pull/5
@israpps, i created this launcher because i couldn't make a Cheat Database with all the cheats at once. How is it possible that individual Cheat Databases work, but all together do not work?
The main classic cheat database file is deprecated in favor of having zip files with individual text files inside for each game
Also since you wanted to make a launcher I made a quick untested update, which should allow you to override the configuration for Database vía argument passing #5
There's no documentation on the new format. What do we name them? Do we use the included "extra_cheats" zips instead now?
This indication would have been nice to know. I'm having trouble using this fork as I have the settings pointed to CheatDevice.zip (included in the repo) and it doesn't load any of them. I'd assume this is because it's a single text file.
The main classic cheat database file is deprecated in favor of having zip files with individual text files inside for each game Also since you wanted to make a launcher I made a quick untested update, which should allow you to override the configuration for Database vía argument passing #5
There's no documentation on the new format. What do we name them? Do we use the included "extra_cheats" zips instead now?
This indication would have been nice to know. I'm having trouble using this fork as I have the settings pointed to CheatDevice.zip (included in the repo) and it doesn't load any of them. I'd assume this is because it's a single text file.
current cheat device will only accept the content of a zipfile or standalone file if its extension is .txt
or .cht
Check how the new cheats packages are prepared.
The main classic cheat database file is deprecated in favor of having zip files with individual text files inside for each game
The situation now is this program's default configuration is to use the old CheatDatabase.zip
that you say is deprecated. It's deprecated but it's the default.
What's inside extra_cheats/
seems to have more codes and you say it's the new way so I tride combining the codes in this directory to get the new Cheat Database.
I create a new .zip
file containing the contents of WIDESCREEN.zip
, NTSC_CHEATS.zip
and MASTERCODES.zip
, so that in this new .zip
file contains a lot of .txt
and .cht
files at the root level. When Cheat Device starts it reads from the USB much longer than using the default CheatDatabase.zip
: 57 seconds instead of 3 seconds. And then it hangs on a screen that says "Please wait...". I think the extra loading time is because it's a lot more performant to read 1 large .txt
file inside a .zip
than 6,000 small .txt
files in a .zip
, so you may want to reconsider the preference for many small files.
So how can we make a combined Cheat Database from the codes in extra_cheats/
? A hint would be helpful :) Because we want to play a game in widescreen, with some cheat code, and of course you need a master code as well.
Also, if the "main classic cheat database" is deprecated, why is it used by the default configuration and still exists in this repo?
I also tried concatenating all the .txt
files in NTSC_CHEATS.zip
so it's a single .txt
file, and combining that with WIDESCREEN.txt
, but CheatDevice is again stuck on "Please wait...".
At least that read from USB in 5 seconds rather than ~57 seconds when there are 6,000 files in the .zip
.
Something is crashing on the zip manager...
Will take a look in some time
You can do whatever you want.
One monstrous TXT is hard AF to maintain
I already updated the cheats for NTSC games by copying them from here, but when I copied all the cheats for PAL games from here, CheatDatabase.txt gave an error. Is it possible to update CheatDatabase.txt so that it contains all the cheats for NTSC and PAL games?