English Amiga Board


Go Back   English Amiga Board > Main > Retrogaming General Discussion

 
 
Thread Tools
Old 24 February 2021, 09:11   #1
chip
Registered User
 
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,942
Two questions on C64 emulation

Hi guys

Sometimes i use to emulate also the C64 ..... just for fun

Anyway i have two technical questions about C64 world

I have some PRGs which contains cracked games

There's a way (a tool ?) to extract the cracktro from the file PRG ?

I have also some games on D64s files, which actually are just PRGs on the disk

Again, there's a (Windows) tool to extract the PRGs from D64 files ?

Thanks in advance, chip

Last edited by chip; 24 February 2021 at 09:18.
chip is offline  
Old 24 February 2021, 09:54   #2
drHirudo
Amiga user
 
drHirudo's Avatar
 
Join Date: Nov 2008
Location: Sofia / Bulgaria
Posts: 455
VICE has all the tools you need.

For extracting files from D64 on Amiga you can use http://aminet.net/disk/misc/d64_fs.lha
D64 file system.
Or UnD64
http://aminet.net/misc/emu/und64.lha
drHirudo is offline  
Old 24 February 2021, 10:01   #3
chip
Registered User
 
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,942
Thanks, i have WinVICE

Which exactly are the tools you are referring to ?
chip is offline  
Old 24 February 2021, 10:34   #4
drHirudo
Amiga user
 
drHirudo's Avatar
 
Join Date: Nov 2008
Location: Sofia / Bulgaria
Posts: 455
In WinVICE:

bin/c1541
drHirudo is offline  
Old 24 February 2021, 10:47   #5
chip
Registered User
 
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,942
Thanks again ..... i see

Question is mandatory :

what syntax i must use to extract the cracktro from PRG file .... is that possible ?
chip is offline  
Old 24 February 2021, 11:18   #6
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Quote:
Originally Posted by chip View Post
what syntax i must use to extract the cracktro from PRG file .... is that possible ?
When you have the PRG file on your local disk you will use a 6502 disassembler and your own 6502 skills to extract it.
phx is offline  
Old 24 February 2021, 11:29   #7
chip
Registered User
 
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,942
Ahhh, so that's really easy

Seriously, there's no tool to do that ?
chip is offline  
Old 24 February 2021, 11:37   #8
jayminer
Registered User
 
jayminer's Avatar
 
Join Date: Jun 2015
Location: UmeƄ / Sweden
Posts: 266
No, there's no tool for that. How would a tool be able to know what code is a cracktro and what code is the actual game? The only ways I can think of to get rid of a cracktro is to either find a version without a cracktro, remove it yourself with a machine code monitor or you could simulate a cartridge with freezer functionality and freeze and then dump the memory just after you've skipped the cracktro.
jayminer is offline  
Old 24 February 2021, 11:55   #9
StatMat
Code Fiddler
 
StatMat's Avatar
 
Join Date: Apr 2016
Location: UK
Age: 48
Posts: 81
As others have said, it isn't really possible to automagically remove intros and such. The best way is using the machine code monitor in an emulator to find the games actual entry point after the intros and such have been displayed and dumping at that point. And of course freezers can be used, but this is just plain ugly imho.

Having said that, sometimes the unp64 tool can be used for this purpose (http://iancoog.altervista.org/C/unp64_236.7z). But you still have to know what to do with the resulting unpacked PRGs (i.e. add a boot routine etc).

However, it should be noted that distributing games extracted from scene releases is quite rightly frowned upon. This is why I created the OneLoad64 Games Collection, which now has over 1000 quick-booting games in Magic Desk CRT format which have been dumped from images of the original media (i.e. the process does not involve removing intros from scene releases). There's a thread on this forum [here] about the collection. Should be a lot easier than trying to do it yourself.

And for working with D64s under Windows (i.e. extracting PRGs and such), you can't go far wrong with the excellent [DirMaster].

Last edited by StatMat; 24 February 2021 at 12:11.
StatMat is offline  
Old 24 February 2021, 12:08   #10
chip
Registered User
 
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,942
Ok guys, thanks for the replies

No, i am not going to learn machine code for C64 ..... it was just for curiosity
chip is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amiga Emulation Beginner: Questions beaglelover New to Emulation or Amiga scene 1 18 February 2016 04:11
Questions over Serial emulation and Net-Play suggestion R-TEAM support.FS-UAE 6 24 March 2014 22:55
68k emulation questions PiCiJi Coders. General 28 20 May 2013 15:08
Amiga/C64 Emulation site Relaunched (Games Coffer) markpjd Amiga scene 7 09 August 2012 20:27
Random emulation questions rhester72 support.WinUAE 5 14 December 2011 19:41

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:35.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11612 seconds with 13 queries