| View previous topic :: View next topic |
| Author |
Message |
Über Groupie

Joined: 08 Jan 2006 Age: 41 Posts: 309 Location: Clarksville, TN
|
Posted: Mon Feb 13, 2012 1:04 am Post subject: OpenCBM Archiver |
|
|
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 |
|
 |
Forum Junkie


Joined: 01 Jul 2004 Age: 43 Posts: 569 Location: The Netherlands
|
Posted: Mon Feb 13, 2012 3:26 pm Post subject: |
|
|
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 |
|
 |
Über Groupie

Joined: 08 Jan 2006 Age: 41 Posts: 309 Location: Clarksville, TN
|
Posted: Mon Feb 13, 2012 3:42 pm Post subject: |
|
|
| 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 |
|
 |
Forum Junkie


Joined: 01 Jul 2004 Age: 43 Posts: 569 Location: The Netherlands
|
Posted: Mon Feb 13, 2012 3:52 pm Post subject: |
|
|
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 |
|
 |
Über Groupie

Joined: 08 Jan 2006 Age: 41 Posts: 309 Location: Clarksville, TN
|
Posted: Mon Feb 13, 2012 4:15 pm Post subject: |
|
|
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 |
|
 |
Forum Junkie


Joined: 01 Jul 2004 Age: 43 Posts: 569 Location: The Netherlands
|
Posted: Mon Feb 13, 2012 11:04 pm Post subject: |
|
|
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 |
|
 |
Über Groupie

Joined: 08 Jan 2006 Age: 41 Posts: 309 Location: Clarksville, TN
|
Posted: Mon Feb 13, 2012 11:13 pm Post subject: |
|
|
No worries!
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 |
|
 |
Groupie


Joined: 23 Nov 2005 Posts: 237 Location: San Francisco, California
|
Posted: Fri Feb 17, 2012 9:59 pm Post subject: |
|
|
You should add support for nibread, including the -s flag. It's much faster and archives copy protections. |
|
| Back to top |
|
 |
Über Groupie

Joined: 08 Jan 2006 Age: 41 Posts: 309 Location: Clarksville, TN
|
Posted: Fri Feb 17, 2012 10:03 pm Post subject: |
|
|
| 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 |
|
 |
|