Commodore 64 (C64) Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
OpenCBM Archiver

 
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> New Releases
View previous topic :: View next topic  
Author Message
plbyrd
Über Groupie
Über Groupie


Joined: 08 Jan 2006
Age: 41
Posts: 309
Location: Clarksville, TN

PostPosted: Mon Feb 13, 2012 1:04 am    Post subject: OpenCBM Archiver Reply with quote

Following up on a thread over at CSDb, I've created OpenCBM Archiver. This is a program that automates the calling of D64Copy using a user supplied base name and seed number for image names. Check it out at http://opencbmarchiver.codeplex.com/
Back to top
View user's profile Send private message Visit poster's website
K.C.
Forum Junkie
Forum Junkie


Joined: 01 Jul 2004
Age: 43
Posts: 569
Location: The Netherlands

PostPosted: Mon Feb 13, 2012 3:26 pm    Post subject: Reply with quote

Nice idea, but how is it different/better than a simple batch file like this?
Code:
@echo off
Set Counter=1
Set Prefix=C:\Images\Disk_
Set Extension=D64
Set Drive=8
Set D64Command="C:\Program Files\OpenCBM\Exe\D64COPY.EXE"

:loop
Echo.
Echo insert a new disk...
Echo Disk image to be created: %Prefix%%Counter%.%Extension%
Echo (Press Ctrl+C to quit)
Pause
%D64Command% -w %Drive% "%Prefix%%Counter%.%Extension%"
set /a Counter=%Counter%+1
goto loop


Make changes to the first lines for your particular situation.
* Change the value for Counter to set the number to start from.
* Set the Prefix variable to the Path/Filename to generate
* Set the Extension variable to the extension you want to use
* Set the drive numer with the Drive variable
* Specify the full path/filename to the D64COPY command with the D64Command variable
_________________
Back to top
View user's profile Send private message
plbyrd
Über Groupie
Über Groupie


Joined: 08 Jan 2006
Age: 41
Posts: 309
Location: Clarksville, TN

PostPosted: Mon Feb 13, 2012 3:42 pm    Post subject: Reply with quote

K.C. wrote:
Nice idea, but how is it different/better than a simple batch file like this?


Yes, you can do it with any scripting language. OpenCBMArchiver works with multiple platforms without modification, not just a Windows CMD shell.
Back to top
View user's profile Send private message Visit poster's website
K.C.
Forum Junkie
Forum Junkie


Joined: 01 Jul 2004
Age: 43
Posts: 569
Location: The Netherlands

PostPosted: Mon Feb 13, 2012 3:52 pm    Post subject: Reply with quote

What do you mean with multiple platforms?
I only see Windows binaries on the downloads page, the batch script should work with all versions of Windows that can run OpenCBM...
_________________
Back to top
View user's profile Send private message
plbyrd
Über Groupie
Über Groupie


Joined: 08 Jan 2006
Age: 41
Posts: 309
Location: Clarksville, TN

PostPosted: Mon Feb 13, 2012 4:15 pm    Post subject: Reply with quote

Actually, that's not a Windows binary, that is a .Net 2.0 binary. That means it runs on Windows and any system that supports Mono (including GNU/Linux and Mac OS X).
Back to top
View user's profile Send private message Visit poster's website
K.C.
Forum Junkie
Forum Junkie


Joined: 01 Jul 2004
Age: 43
Posts: 569
Location: The Netherlands

PostPosted: Mon Feb 13, 2012 11:04 pm    Post subject: Reply with quote

I've always thought: .NET is a framework developed by Microsoft, so it's Windows only. Never knew that applications that require .NET framework to be installed would run on other platforms than Windows.
Thanks for clearing that up.
_________________
Back to top
View user's profile Send private message
plbyrd
Über Groupie
Über Groupie


Joined: 08 Jan 2006
Age: 41
Posts: 309
Location: Clarksville, TN

PostPosted: Mon Feb 13, 2012 11:13 pm    Post subject: Reply with quote

No worries! Wink

I've uploaded a new version:

Changes
* Add ability to load flags from configuration file
* Writes seed data to configuration file
* Specifying flags on command line overrides configuration file
* Displays directory before archiving disk
* Changed behavior such that calling with --help displays the help message, you can now run program without parameters.
Back to top
View user's profile Send private message Visit poster's website
nlem
Groupie
Groupie


Joined: 23 Nov 2005
Posts: 237
Location: San Francisco, California

PostPosted: Fri Feb 17, 2012 9:59 pm    Post subject: Reply with quote

You should add support for nibread, including the -s flag. It's much faster and archives copy protections.
Back to top
View user's profile Send private message Visit poster's website
plbyrd
Über Groupie
Über Groupie


Joined: 08 Jan 2006
Age: 41
Posts: 309
Location: Clarksville, TN

PostPosted: Fri Feb 17, 2012 10:03 pm    Post subject: Reply with quote

nlem wrote:
You should add support for nibread, including the -s flag. It's much faster and archives copy protections.


I am thinking about making the command line configurable.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> New Releases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Tip: Get C64 Forever for super-comfy C64 emulation with pre-installed games, demos and other goodies!


Powered by phpBB © 2001, 2005 phpBB Group