Re: Stumped on a Cartridge Repair
Posted: Mon Feb 10, 2025 6:16 pm
Interesting, as 3D-Slime is a supercharged SuperBASIC program (as far as I know). Would be interesting to see, how the author has managed a protection scheme.
RIP Sir Clive Sinclair 1940 - 2021
https://theqlforum.com/
It’s made up of several files and I suspect only the main game file is supercharged. This snippet isn’t from the main game file. I don’t even know for sure it relates to the protection but it is a starting point as it seems oddRalfR wrote: Mon Feb 10, 2025 6:16 pm Interesting, as 3D-Slime is a supercharged SuperBASIC program (as far as I know). Would be interesting to see, how the author has managed a protection scheme.
I wondered if it was reading the 16 bytes sector header then the 64 bytes of the first entry to make 80 (so 16+64 rather than 64+16)tofro wrote: Mon Feb 10, 2025 7:08 pm Your code simply reads the first 80bytes of the mdv1_ directory (what's a bit weird is that it's reading 1 1/3 file headers from there, so only the first 64 bytes are really useful.)
Nope. FS.LOAD doesn't touch any low-level structures like headers. What you get ist the contents of the file or directory.t0nyt wrote: Mon Feb 10, 2025 7:16 pmI wondered if it was reading the 16 bytes sector header then the 64 bytes of the first entry to make 80 (so 16+64 rather than 64+16)tofro wrote: Mon Feb 10, 2025 7:08 pm Your code simply reads the first 80bytes of the mdv1_ directory (what's a bit weird is that it's reading 1 1/3 file headers from there, so only the first 64 bytes are really useful.)
I haven’t worked out what it does with whatever it reads yet, I guess that’s my next bit of disassembly to look at then
Not the cartridge from Chr$: https://qxl.win/3d_slime.htmXorA wrote: Mon Feb 10, 2025 9:17 pm3D slime copy protection is based purely on the funny characters in filename!
Code: Select all
❯ ls -l 3dslime/
.rw-r--r-- 25k graeme 10 Feb 21:46 '-noASCII-!Game_bIN A!Maps_BIN'
.rw-r--r-- 640 graeme 10 Feb 21:46 -noASCII-A
.rw-r--r-- 26k graeme 10 Feb 21:46 3Dslime_pic
.rw-r--r-- 380 graeme 10 Feb 21:46 boot
.rw-r--r-- 22k graeme 10 Feb 21:46 Game_EXE
.rw-r--r-- 20k graeme 10 Feb 21:46 Game_red
.rw-r--r-- 112 graeme 10 Feb 21:46 h_s__dl1
.rw-r--r-- 46k graeme 10 Feb 21:46 QLG1_OBJ_V24