Giter VIP home page Giter VIP logo

t64conv's Introduction

T64conv

This gem provides a cli wrapper around c1541 provided with the vice emulator.

Execution will look recursively inside a directory (specified by --source-dir/-s, by default ./) for T64 files to convert to D64 files.

It will look for T64 files as plain files and also look inside any zip files to see if they contain a T64, a D64, or another zip file (if they do it will be unzipped into a temporary directory to operate on.)

A new directory (specified by --output-dir/-o, by default ./C64DISKS will be created, or reused if it already exists.

Every T64 file found will have a new directory made which has the same name as the T64 file (if it is SHOWDOWN.T64 a directory SHOWDOWN created), placed into a subdirectory which is the same of the first letter (uppercased) of the T64 filename (so as to alphabetise them) and have any .nfo file found in the same location as the T64 placed into the same directory.

All of the files in the output directory will be created with uppercase names.

So in the following structure:

.
└── tape_images
    └── showdown
        ├── SHOWDOWN.T64
        └── VERSION.nfo

Would produce

.
├── C64DISKS
│   └── S
│       └── SHOWDOWN
│           ├── SHOWDOWN.D64
│           └── VERSION.nfo
└── tape_images
    └── showdown
        ├── SHOWDOWN.T64
        └── VERSION.nfo

Note in the above example the showdown directory could be a zip file named showdown.zip instead of a directory and the same result would be produced (utilising a temporary directory to perform the extraction).

Installation

Install this gem so it provides the executable to your system

gem install t64conv

Usage

You must have the c1541 utility installed to use this gem.

t64conv --source-dir c64/ --output-dir sd2iec/

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jfharden/t64conv. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the T64conv project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.