Code Monkey home page Code Monkey logo

Comments (4)

bbbradsmith avatar bbbradsmith commented on May 27, 2024

Under windows, a program can only be a GUI application, or a console application, so unfortunately I don't think there is anything I can do to make NSFPlay.exe behave like a console application.

So, yes, something like nsf2wav to make it a separate executable would have to be done. I haven't investigated how to compile nsf2wav on windows.

a command line version of NSFPlay is on my wishlist for NSFPlay 3, but there is no ETA for that at this time.

from nsfplay.

bbbradsmith avatar bbbradsmith commented on May 27, 2024

I have improved the command line interface for NSFPlay a little bit. Now all config entries from in_yansf.cfg can be given a temporary override on the command line (e.g. "-FADE_TIME=300").

Added in: d0d8d70

Additionally, though I cannot output to the command console since this is a GUI application, I added some diagnostic messages to stdout and you can use >logfile.txt on the command line to redirect those to a file and at least get feedback for errors.

I don't yet have a way to override the config file yet, but it should also be possible.

Until this becomes part of an official release, it can be tested here: https://ci.appveyor.com/project/bbbradsmith/nsfplay/branch/master/artifacts

from nsfplay.

bbbradsmith avatar bbbradsmith commented on May 27, 2024

I managed to add a command-line INI file override. You can use -INI=file.ini to override in_yansf.ini and -NSFPLAYINI=file.ini to override nsfplay.ini.

from nsfplay.

bbbradsmith avatar bbbradsmith commented on May 27, 2024

Try this out in 2.6 release

from nsfplay.

Related Issues (20)

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.