CPCWiki forum

General Category => Games => Topic started by: pmeier on 14:12, 18 July 20

Title: GX4000 cpr format: Is it possible to extract the files?
Post by: pmeier on 14:12, 18 July 20
Looks like that nocart is a one-way tool, but I'd like to get the files back, because I want to add a trainer menu additionally to the joystick-only patches. Or change some controls... etc...

I started compiling my ultimate personal collection and for the last game I simply diffed snapshots, so that I don't have to find out memory locations. Still a little bit cumbersome.

Is there a better way? Are the changes somewhere documented?
The GX4000 conversion list is pretty overwhelming long. Great job. Could spare me a lot of time...
Title: Re: GX4000 cpr format: Is it possible to extract the files?
Post by: andycadley on 16:50, 18 July 20
From a generic CPR, no because there aren't really any files. From one created using one of the DSK->CPR conversion tools you probably can in theory, although I don't know if anyone has made any specific tools to do so (probably the assumption was they were converted from DSKs already in circulation)
Title: Re: GX4000 cpr format: Is it possible to extract the files?
Post by: pmeier on 19:34, 18 July 20
That's no good news... so if you have any better suggestions for me than comparing binaries...

Let me suggest to publish CPRs and DSKs always together... would you... please???
Title: Re: GX4000 cpr format: Is it possible to extract the files?
Post by: Sykobee (Briggsy) on 11:18, 20 July 20
It depends on whether the CPRs generated from discs have some form of catalogue block or not, to tell the game's loader where each file is in the CPR when loading. I believe that these CPRs are pretty much emulating a disc on the cart so it should have something similar, unless the game is patched to the extent of replacing file loads with cart memory copies.
Title: Re: GX4000 cpr format: Is it possible to extract the files?
Post by: Duke on 11:38, 20 July 20
If you have an M4 board, you can |CD into the CPR disk images and use |DSKX to extract the files.
Title: Re: GX4000 cpr format: Is it possible to extract the files?
Post by: dragon on 22:02, 20 July 20
Quote from: pmeier on 14:12, 18 July 20
Looks like that nocart is a one-way tool, but I'd like to get the files back, because I want to add a trainer menu additionally to the joystick-only patches. Or change some controls... etc...

I started compiling my ultimate personal collection and for the last game I simply diffed snapshots, so that I don't have to find out memory locations. Still a little bit cumbersome.

Is there a better way? Are the changes somewhere documented?
The GX4000 conversion list is pretty overwhelming long. Great job. Could spare me a lot of time...


The mine should be with source code in cpr thread. But if you need someone in particular. I can search it.


Extract the files from dsk don't work with my games, because, some of my games are a mix of basic+assembly code in the dsk+external code in the cartridge. As mostly are made in asm and uses the external storage of nocart.
Title: Re: GX4000 cpr format: Is it possible to extract the files?
Post by: pmeier on 10:30, 21 July 20
Thanks for your hints. Now I can continue with my project...  ;D
But if someone does a nocart reverse tool, I'm user number one.
Powered by SMFPacks Menu Editor Mod