Jump to content
wcasner

running atr files from command line

Recommended Posts

I am trying to learn to program in Python(Ubuntu). I am writing a front end for atari800 emulator. To do this, the program will create a command line with options to run the selected game. The problem is I can not get any of the atr files to run from the command line. I have tried several different options(-atari,-xl, etc). It always get 'error loading file'. The games run from within the Atari800 program. Also, my bin version of star raiders(32k) will run from the atari800 program but not from the command line although other bin files do run from the command line. I have done the extract from cartridge and create cartridge on all these files. Am I missing something to run these from the command line? Any help would be appreciated...

Share this post


Link to post
Share on other sites

atr files are not executeable images. They are floppy disk images, and you must have them loaded as a aprticular disk drive in the emulator ( d1:, d2:, etc. ), and perhaps a DOS up and running (unless they are autoboot disks ) before you can run things from them. Normally I run the emulator, then load them as a disk.

 

That said, I think there are some utilities to convert .atr files to .xex files, which are auto-executable. I also think there are ways to specify a particular .atr file as an auto-assign to d1: in the emulator, and so if they also are normally autobooting then that would automate the process. I'm short on details, but I think that's the general process.

Share this post


Link to post
Share on other sites
I am trying to learn to program in Python(Ubuntu). I am writing a front end for atari800 emulator. To do this, the program will create a command line with options to run the selected game. The problem is I can not get any of the atr files to run from the command line. I have tried several different options(-atari,-xl, etc). It always get 'error loading file'. The games run from within the Atari800 program. Also, my bin version of star raiders(32k) will run from the atari800 program but not from the command line although other bin files do run from the command line. I have done the extract from cartridge and create cartridge on all these files. Am I missing something to run these from the command line? Any help would be appreciated...

 

Atari800Win+ uses most if not all of the same flags and my frontend (also written in python) launches games like this:

 

Atari800Win.exe -atari <filename>

 

Not sure if that helps at all. I'd start first with just a basic 90k ATR file. Make sure you are handling spaces in filenames. Also what python call are you using to launch atari800? popen, system, etc?

 

Mine is located here if you are looking for ideas etc

http://home.comcast.net/~bsturk/myprog.html#frontend

 

~telengard

Edited by telengard

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...