wcasner #1 Posted February 14, 2008 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... Quote Share this post Link to post Share on other sites
danwinslow #2 Posted February 14, 2008 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. Quote Share this post Link to post Share on other sites
Kr0tki #3 Posted February 15, 2008 Typing atari800 file.atr loads file.atr to the D1: disk drive and boots from it. Quote Share this post Link to post Share on other sites
telengard #4 Posted February 16, 2008 (edited) 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 February 16, 2008 by telengard Quote Share this post Link to post Share on other sites