Update cheats (#467)

This commit is contained in:
Logan McNaughton authored and GitHub committed 2025-07-04 22:13:52 +02:00
1 parent 8f6c6f1b94
commit 7b400a0edc
4 files changed
+18 -76

No files matched your search

Generated
+14 -72
View File
@@ -258,9 +258,9 @@ dependencies = [
[[package]]
name = "async-channel"
version = "2.3.1"
version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a"
checksum = "16c74e56284d2188cabb6ad99603d1ace887a5d7e7b695d01b728155ed9ed427"
dependencies = [
"concurrent-queue",
"event-listener-strategy",
@@ -426,9 +426,9 @@ dependencies = [
[[package]]
name = "avif-serialize"
version = "0.8.4"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19135c0c7a60bfee564dbe44ab5ce0557c6bf3884e5291a50be76a15640c4fbd"
checksum = "2ea8ef51aced2b9191c08197f55450d830876d9933f8f48a429b354f1d496b42"
dependencies = [
"arrayvec",
]
@@ -704,9 +704,9 @@ dependencies = [
[[package]]
name = "cc"
version = "1.2.27"
version = "1.2.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d487aa071b5f64da6f19a3e848e3578944b726ee5a4854b82172f02aa876bfdc"
checksum = "4ad45f4f74e4e20eaa392913b7b33a7091c87e59628f4dd27888205ad888843c"
dependencies = [
"jobserver",
"libc",
@@ -2755,30 +2755,6 @@ version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
[[package]]
name = "jiff"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be1f93b8b1eb69c77f24bbb0afdf66f54b632ee39af40ca21c4365a1d7347e49"
dependencies = [
"jiff-static",
"log",
"portable-atomic",
"portable-atomic-util",
"serde",
]
[[package]]
name = "jiff-static"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03343451ff899767262ec32146f6d559dd759fdadf42ff0e227c7c48f72594b4"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "jni"
version = "0.21.1"
@@ -2885,9 +2861,9 @@ checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
[[package]]
name = "libfuzzer-sys"
version = "0.4.9"
version = "0.4.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf78f52d400cf2d84a3a973a78a592b4adc535739e0a5597a0da6f0c357adc75"
checksum = "5037190e1f70cbeef565bd267599242926f724d3b8a9f510fd7e0b540cfa4404"
dependencies = [
"arbitrary",
"cc",
@@ -3315,18 +3291,6 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8"
[[package]]
name = "nt-time"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f5e71108c089b161344bacb1227dd2124fee63ed1792fdd8308e6689197c2754"
dependencies = [
"chrono",
"jiff",
"rand 0.9.1",
"time",
]
[[package]]
name = "num-bigint"
version = "0.4.6"
@@ -3997,15 +3961,6 @@ dependencies = [
"critical-section",
]
[[package]]
name = "portable-atomic-util"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
dependencies = [
"portable-atomic",
]
[[package]]
name = "postcard"
version = "1.1.2"
@@ -4816,16 +4771,14 @@ dependencies = [
[[package]]
name = "sevenz-rust2"
version = "0.15.3"
version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0613c8bcc0d74f26e4c90c94125703dc87bcb3a95abce3fa606c585cd9cbaa5f"
checksum = "5375315e26d60d20f13d74c5bb0b6b627d334b68aa63f0d6d33d828af499d8d2"
dependencies = [
"bit-set",
"byteorder",
"crc32fast",
"js-sys",
"lzma-rust2",
"nt-time",
"wasm-bindgen",
]
@@ -5377,7 +5330,6 @@ dependencies = [
"powerfmt",
"serde",
"time-core",
"time-macros",
]
[[package]]
@@ -5386,16 +5338,6 @@ version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c"
[[package]]
name = "time-macros"
version = "0.2.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49"
dependencies = [
"num-conv",
"time-core",
]
[[package]]
name = "tiny-skia"
version = "0.11.4"
@@ -5462,9 +5404,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
version = "1.46.0"
version = "1.46.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1140bb80481756a8cbe10541f37433b459c5aa1e727b4c020fbfebdc25bf3ec4"
checksum = "0cc3a2344dafbe23a245241fe8b09735b521110d30fcefbbd5feb1797ca35d17"
dependencies = [
"backtrace",
"bytes",
@@ -7189,9 +7131,9 @@ dependencies = [
[[package]]
name = "zune-jpeg"
version = "0.4.18"
version = "0.4.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7384255a918371b5af158218d131530f694de9ad3815ebdd0453a940485cb0fa"
checksum = "2c9e525af0a6a658e031e95f14b7f889976b74a11ba0eca5a5fc9ac8a1c43a6a"
dependencies = [
"zune-core",
]
+1 -1
View File
@@ -10,7 +10,7 @@ rust-version = "1.88"
dirs = "6.0"
zip = "4.2"
governor = "0.10"
sevenz-rust2 = { version = "0.15", default-features = false }
sevenz-rust2 = { version = "0.16", default-features = false }
chrono = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
+1 -1
View File
@@ -1 +1 @@
{"001A3BD0-AFB3DE1A-C:46":{"Access Level Select":{"note":"On the main menu Scroll down to make CHEATS visible to go into Level Select.For in-Game Cheats,Pause gameplay.","data":["810DD50C 8001"],"options":null},"Have\\All TARZAN Letters":{"note":"","data":["800DD515 00FF"],"options":null},"Have\\Coins Collected 100%":{"note":"","data":["800DD547 0064"],"options":null},"Have\\Full Portrait":{"note":"","data":["800DD514 00FF"],"options":null},"Have\\Level \u0026 Tokens Completed 100%":{"note":"","data":["800DD51F 0000","800DD520 0001","800DD521 0000"],"options":null},"Infinite\\Bonus Timer":{"note":"This is For All Timers on Bonus Levels","data":["801736DE 0025"],"options":null},"Infinite\\Green Weapon":{"note":"","data":["811921F6 0063"],"options":null},"Infinite\\Health":{"note":"","data":["81192320 0120"],"options":null},"Infinite\\Lives":{"note":"","data":["800DD542 00??"],"options":{"3 Lives":"03","99 Lives":"63"}},"Infinite\\Purple Weapon":{"note":"","data":["811921FA 0063"],"options":null},"Infinite\\Red Weapon":{"note":"","data":["811921F8 0063"],"options":null},"Press GS For\\Sabor Attacks\\Sabor 1 Hit Kill":{"note":"","data":["8924A23E 0001"],"options":null}},"0198A651-FC219D84-C:50":{"Team on the left of score board has 0 goals":{"note":"","data":["800375C7 0000"],"options":null},"Team on the left of score board has 15 goals":{"note":"","data":["800375C7 000F"],"options":null},"Team on the right of score board has 0 goals":{"note":"","data":["800375C3 0000"],"options":null},"Team on the right of score board has 15 goals":{"note":"","data":["800375C3 000F"],"options":null}},"02B1538F-C94B88D0-C:45":{"Found All Numbers":{"note":"","data":["810ACFB2 000C"],"options":null},"Have No Numbers":{"note":"Keep you kid busy for hours!!!","data":["810ACFB2 0000"],"options":null},"Infinite Strikes":{"note":"","data":["810A7A76 0000"],"options":null}},"02D8366A-6CABEF9C-C:50":{"Access All Bikes \u0026 Tracks":{"note":"","data":["810A7D16 0063"],"options":null},"Access All Weapons For All Modes":{"note":"","data":["50000E02 0000","811B9EFA 0505"],"options":null},"Always 1st":{"note":"","data":["810D7D96 0000"],"options":null},"Infinite Damage":{"note":"","data":["801C1257 0002"],"options":null},"Infinite Health\\To Bike":{"note":"","data":["811B9BB8 4270"],"options":null},"Infinite Health\\To Character":{"note":"","data":["811C0F90 4489"],"options":null},"Max Cash":{"note":"","data":["810D6FBA FFFF"],"options":null},"No Music Elsewhere":{"note":"","data":["810D61AA 0000"],"options":null},"No Music In Game":{"note":"","data":["810D61AE 0000"],"options":null}},"0304C48E-AC4001B8-C:45":{"Max Score":{"note":"","data":["81158440 05F5","81158442 E0FF"],"options":null},"Play As/Player 1":{"note":"","data":["801514F3 00??"],"options":{"Atomicat":"06","Bob Cat":"04","Hai Jinx":"00","Manx":"02","Muffy Dupont":"03","Pearl":"07","Smokey":"05","Sparky":"01"}},"Play As/Player 2":{"note":"","data":["80151503 00??"],"options":{"Atomicat":"06","Bob Cat":"04","Hai Jinx":"00","Manx":"02","Muffy Dupont":"03","Pearl":"07","Smokey":"05","Sparky":"01"}},"Play As/Player 3":{"note":"","data":["80151513 00??"],"options":{"Atomicat":"06","Bob Cat":"04","Hai Jinx":"00","Manx":"02","Muffy Dupont":"03","Pearl":"07","Smokey":"05","Sparky":"01"}},"Play As/Player 4":{"note":"","data":["80151523 00??"],"options":{"Atomicat":"06","Bob Cat":"04","Hai Jinx":"00","Manx":"02","Muffy Dupont":"03","Pearl":"07","Smokey":"05","Sparky":"01"}}},"033F4C13-319EE7A7-C:45":{"Fail Objectives To Complete Them":{"note":"","data":["810315B8 2402","810315BA 0011"],"options":null},"Go Solo In Multiplayer":{"note":"","data":["D00E0778 0042","801002B7 0001"],"options":null},"Have\\All\\Gadgets":{"note":"","data":["80112F6D 0001"],"options":null},"Have\\All\\Guns On All Levels":{"note":"Once you pick up a Gun You will have all weapons","data":["8105F224 0810","8105F226 0000","8105F228 2442","8105F22A 0001","81400000 3C02","81400002 0100","81400004 2442","81400006 0063","81400008 AE82","8140000A 0288","8140000C AE82","8140000E 0298","81400010 AE82","81400012 02A0","81400014 AE82","81400016 02A8","81400018 AE82","8140001A 02B0","8140001C AE82","8140001E 02C0","81400020 AE82","81400022 02C8","81400024 AE82","81400026 02D0","81400028 AE82","8140002A 02D8","8140002C AE82","8140002E 02E8","81400030 AE82","81400032 02F0","81400034 AE82","81400036 02F8","81400038 AE82","8140003A 0300","8140003C AE82","8140003E 0308","81400040 AE82","81400042 0310","81400044 AE82","81400046 0320","81400048 AE82","8140004A 0330","8140004C AE82","8140004E 0338","81400050 AE82","81400052 0350","81400054 AE82","81400056 0358","81400058 AE82","8140005A 0360","8140005C AE82","8140005E 0370","81400060 AE82","81400062 0378","81400064 AE82","81400066 0380","81400068 AE82","8140006A 0388","8140006C AE82","8140006E 0340","81400070 AE82","81400072 0348","81400074 AE82","81400076 0350","81400078 0801","8140007A 7C8C","8140007C A077","8140007E 01FC"],"options":null},"Have\\All\\Levels Unlocked":{"note":"For Line truncated
{"001A3BD0-AFB3DE1A-C:46":{"Access Level Select":{"note":"On the main menu Scroll down to make CHEATS visible to go into Level Select.For in-Game Cheats,Pause gameplay.","data":["810DD50C 8001"],"options":null},"Have\\All TARZAN Letters":{"note":"","data":["800DD515 00FF"],"options":null},"Have\\Coins Collected 100%":{"note":"","data":["800DD547 0064"],"options":null},"Have\\Full Portrait":{"note":"","data":["800DD514 00FF"],"options":null},"Have\\Level \u0026 Tokens Completed 100%":{"note":"","data":["800DD51F 0000","800DD520 0001","800DD521 0000"],"options":null},"Infinite\\Bonus Timer":{"note":"This is For All Timers on Bonus Levels","data":["801736DE 0025"],"options":null},"Infinite\\Green Weapon":{"note":"","data":["811921F6 0063"],"options":null},"Infinite\\Health":{"note":"","data":["81192320 0120"],"options":null},"Infinite\\Lives":{"note":"","data":["800DD542 00??"],"options":{"3 Lives":"03","99 Lives":"63"}},"Infinite\\Purple Weapon":{"note":"","data":["811921FA 0063"],"options":null},"Infinite\\Red Weapon":{"note":"","data":["811921F8 0063"],"options":null},"Press GS For\\Sabor Attacks\\Sabor 1 Hit Kill":{"note":"","data":["8924A23E 0001"],"options":null}},"0198A651-FC219D84-C:50":{"Team on the left of score board has 0 goals":{"note":"","data":["800375C7 0000"],"options":null},"Team on the left of score board has 15 goals":{"note":"","data":["800375C7 000F"],"options":null},"Team on the right of score board has 0 goals":{"note":"","data":["800375C3 0000"],"options":null},"Team on the right of score board has 15 goals":{"note":"","data":["800375C3 000F"],"options":null}},"02B1538F-C94B88D0-C:45":{"Found All Numbers":{"note":"","data":["810ACFB2 000C"],"options":null},"Have No Numbers":{"note":"Keep you kid busy for hours!!!","data":["810ACFB2 0000"],"options":null},"Infinite Strikes":{"note":"","data":["810A7A76 0000"],"options":null}},"02D8366A-6CABEF9C-C:50":{"Access All Bikes \u0026 Tracks":{"note":"","data":["810A7D16 0063"],"options":null},"Access All Weapons For All Modes":{"note":"","data":["50000E02 0000","811B9EFA 0505"],"options":null},"Always 1st":{"note":"","data":["810D7D96 0000"],"options":null},"Infinite Damage":{"note":"","data":["801C1257 0002"],"options":null},"Infinite Health\\To Bike":{"note":"","data":["811B9BB8 4270"],"options":null},"Infinite Health\\To Character":{"note":"","data":["811C0F90 4489"],"options":null},"Max Cash":{"note":"","data":["810D6FBA FFFF"],"options":null},"No Music Elsewhere":{"note":"","data":["810D61AA 0000"],"options":null},"No Music In Game":{"note":"","data":["810D61AE 0000"],"options":null}},"0304C48E-AC4001B8-C:45":{"Max Score":{"note":"","data":["81158440 05F5","81158442 E0FF"],"options":null},"Play As/Player 1":{"note":"","data":["801514F3 00??"],"options":{"Atomicat":"06","Bob Cat":"04","Hai Jinx":"00","Manx":"02","Muffy Dupont":"03","Pearl":"07","Smokey":"05","Sparky":"01"}},"Play As/Player 2":{"note":"","data":["80151503 00??"],"options":{"Atomicat":"06","Bob Cat":"04","Hai Jinx":"00","Manx":"02","Muffy Dupont":"03","Pearl":"07","Smokey":"05","Sparky":"01"}},"Play As/Player 3":{"note":"","data":["80151513 00??"],"options":{"Atomicat":"06","Bob Cat":"04","Hai Jinx":"00","Manx":"02","Muffy Dupont":"03","Pearl":"07","Smokey":"05","Sparky":"01"}},"Play As/Player 4":{"note":"","data":["80151523 00??"],"options":{"Atomicat":"06","Bob Cat":"04","Hai Jinx":"00","Manx":"02","Muffy Dupont":"03","Pearl":"07","Smokey":"05","Sparky":"01"}}},"033F4C13-319EE7A7-C:45":{"Fail Objectives To Complete Them":{"note":"","data":["810315B8 2402","810315BA 0011"],"options":null},"Go Solo In Multiplayer":{"note":"","data":["D00E0778 0042","801002B7 0001"],"options":null},"Have\\All\\Gadgets":{"note":"","data":["80112F6D 0001"],"options":null},"Have\\All\\Guns On All Levels":{"note":"Once you pick up a Gun You will have all weapons","data":["8105F224 0810","8105F226 0000","8105F228 2442","8105F22A 0001","81400000 3C02","81400002 0100","81400004 2442","81400006 0063","81400008 AE82","8140000A 0288","8140000C AE82","8140000E 0298","81400010 AE82","81400012 02A0","81400014 AE82","81400016 02A8","81400018 AE82","8140001A 02B0","8140001C AE82","8140001E 02C0","81400020 AE82","81400022 02C8","81400024 AE82","81400026 02D0","81400028 AE82","8140002A 02D8","8140002C AE82","8140002E 02E8","81400030 AE82","81400032 02F0","81400034 AE82","81400036 02F8","81400038 AE82","8140003A 0300","8140003C AE82","8140003E 0308","81400040 AE82","81400042 0310","81400044 AE82","81400046 0320","81400048 AE82","8140004A 0330","8140004C AE82","8140004E 0338","81400050 AE82","81400052 0350","81400054 AE82","81400056 0358","81400058 AE82","8140005A 0360","8140005C AE82","8140005E 0370","81400060 AE82","81400062 0378","81400064 AE82","81400066 0380","81400068 AE82","8140006A 0388","8140006C AE82","8140006E 0340","81400070 AE82","81400072 0348","81400074 AE82","81400076 0350","81400078 0801","8140007A 7C8C","8140007C A077","8140007E 01FC"],"options":null},"Have\\All\\Levels Unlocked":{"note":"For Line truncated
+2 -2
View File
@@ -151,12 +151,12 @@ pub fn get_rom_contents(file_path: &std::path::Path) -> Option<Vec<u8>> {
}
} else if file_path.extension().unwrap().eq_ignore_ascii_case("7z") {
let mut archive =
sevenz_rust2::SevenZReader::open(file_path, sevenz_rust2::Password::empty()).unwrap();
sevenz_rust2::ArchiveReader::open(file_path, sevenz_rust2::Password::empty()).unwrap();
let mut found = false;
archive
.for_each_entries(
&mut |entry: &sevenz_rust2::SevenZArchiveEntry, reader: &mut dyn std::io::Read| {
&mut |entry: &sevenz_rust2::ArchiveEntry, reader: &mut dyn std::io::Read| {
let name = entry.name().to_ascii_lowercase();
if !found
&& (name.ends_with("z64") || name.ends_with("n64") || name.ends_with("v64"))