Better e-uae integration
  • Caterpillar
    Caterpillar
    gdanko
    Posts: 28 from 2010/6/8
    I had set out to better integrate e-uae with Linux/Gnome. The requirements were:

    1) Ability to launch either an a500 or a1200 from the adf's context menu in Nautilus.
    2) The file action would find all disks in the set and attach the first four to uae. If the adf file name does not adhere to TOSEC naming standard (Filename (Disk x of y).adf), thae single disk would still be attached to uae and you would have to manually select the others as needed.
    3) The GUI would never be seen. Once you double click your adf, the game would appear in a window. Once you exit the game you see nothing more.

    I was able to accomplish this with some Perl magic and a custom build of uae. MorphOS is already to launch adfs via double click but it does not find the other disks in the set (Disk x of y)... I am wondering if something like this can be done in ARexx? I don't know if it supports regex or not. If anyone would like to take this on I could send you the perl code and perhaps it can be done in ARexx. Who knows.. Just a thought. :)
  • »13.06.10 - 04:49
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    found the issue in the rexx file, (renamed to mymorphos: instead of system, but now got black screen with this in the shellE-UAE 0.8.29-WIP4
    Build date: Mar 28 2007 20:39:48
    Opening cfgfile '.uaerc'...failed
    Opening cfgfile 'mymorphos:amigaemulation/e-uae/conf/A500-hires.conf'...okay.
    Timebase frequency: 41.502394 MHz
    Port "UAE" already exists!
    Building CPU table for configuration: 68000 prefetch 24-bit addressing
    1866 CPU functions
    Building CPU function table, 44736 opcodes (0 1 1).
    cgxvideo.library >= 43.6 detected, using doublebuffer
    AMIGFX: Using a 16-bit true-colour display.
  • »30.07.10 - 22:32
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    ok, pop the champagne i finally got it. The only issue now is that the script hangs in an open window when switching back to morphos, and iconifying. this brings up the hour glass icon. no quit? and Can anyone tell how to use p.2 so the mouse is free, i do have multiple usb joypad, but only 1 plays under uae.

    thanks for the 2-3 day marathon Fab
  • »30.07.10 - 22:59
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    amigadave
    Posts: 2795 from 2006/3/21
    From: Northern Calif...
    Okay xyphoid,

    Congratulations on your success. If you could write a detailed step-by-step guide for others to follow the steps which were successful for you to get it all working, I will put it in the MorphZone Library for others to read and learn from your difficult path to the right answers. In fact I will use it myself and test it out before I publish it in the Library to make sure it works.

    Edit: Articles written by users that have less knowledge and experience can sometimes be better as they remember their mistakes and can express which parts of the process to be careful with, where someone with too much experience will sometimes overlook a little step here or there as it is easy for them to do and they do not understand how less experienced users can not know what they already know and therefore, not make the simple mistakes.

    [ Edited by amigadave on 2010/7/30 21:34 ]
    MorphOS - The best Next Gen Amiga choice.
  • »31.07.10 - 03:30
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    Can anyone confirm that the script picks up up to four .adf I have tried monday night football, worms directors cut and in the case of worms it says "ok where's disk three then? after loading. MNF will play off disk 1-2, but then I get in punt/field goal, or it may be the cheer girls, it requests for disk 3. All others I've used are 1 of 2 .adf, an work fine.

    gdanko wrote
    Quote:


    TOSEC naming standard (Filename (Disk x of y).adf), thae single disk would still be attached to uae and you would have to manually select the others as needed.


    how do you manually select the other disks in mid game?

    is this line universal?

    call writeln('FH', timestamp "Mapping" filename "to dh"counter-1)
  • »08.08.10 - 05:25
    Profile
  • szt
  • Cocoon
    Cocoon
    szt
    Posts: 53 from 2004/10/9
    From: Hungary
    I added these lines to *.conf files:

    nr_floppies=4
    floppy2type=0
    floppy3type=0

    After that for me worked 4 drives.

    [ Edited by szt on 2010/8/8 10:19 ]
    MorphOS 3.9
    PowerMac 7,3, 1,8GHz,
    Radeon 9600
    300 GB SeagateHDD, 120 GB Samsung SSD
    LGM2382D, Canon MG7550
  • »08.08.10 - 07:19
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    you added this to which conf files (a1200.conf/a500.conf) and not the uae.rexx file.
    exactly at which line is this command placed?
    thanks!
  • »08.08.10 - 18:55
    Profile
  • szt
  • Cocoon
    Cocoon
    szt
    Posts: 53 from 2004/10/9
    From: Hungary
    I added these lines to both .conf files which I use: a1200-hires.conf and a500-hires.conf at the end of the files.
    MorphOS 3.9
    PowerMac 7,3, 1,8GHz,
    Radeon 9600
    300 GB SeagateHDD, 120 GB Samsung SSD
    LGM2382D, Canon MG7550
  • »08.08.10 - 19:26
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    thanks then, I'll give it a try now..
  • »08.08.10 - 19:37
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    @szt
    that did the trick for me too
    Thanks!!
  • »08.08.10 - 20:17
    Profile