Welcome, Guest. Please login or register.

Author Topic: More seamless e-uae integration with Linux  (Read 8358 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline runequester

  • It\'s Amiga time!
  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 3695
    • Show only replies by runequester
Re: More seamless e-uae integration with Linux
« Reply #14 on: May 28, 2010, 06:51:56 PM »
I imagine the simplest would either be some sort of "system select" screen, or just have different executables.
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #15 on: May 28, 2010, 07:30:34 PM »
Well I don't want to have a menu but I suppose I could. Maybe the options could be:
1) A2000 68030 KS 1.3 ECS
2) A4000 68040 KS 3.2 AGA

Global options could be kept in /usr/local/e-uae/var/uaerc and platform-specific options would be appended to the command string, based on your selection.
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #16 on: May 28, 2010, 07:35:29 PM »
@AmigaHeretic
I have down a way to select the disks I want to use. So now if you doubleclick on any of the three disks from a set, they're all mounted with disk 1 going in df0.
 

Offline vidarh

  • Sr. Member
  • ****
  • Join Date: Feb 2010
  • Posts: 409
    • Show only replies by vidarh
Re: More seamless e-uae integration with Linux
« Reply #17 on: May 28, 2010, 07:59:16 PM »
Quote from: gdanko;561373
Would anybody be interested in testing this? For now you have to manually do the mapping of the .adf file type to the launch.sh script. I am going to find out how to do this and make it automatic.


Sounds great. I'd definitively like to test this.
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #18 on: May 28, 2010, 08:03:52 PM »
Quote from: vidarh;561723
Sounds great. I'd definitively like to test this.


I'll implement the menu runequester suggested, iron out a couple kinks, and post both 32 and 64 bit versions.
 

Offline desiv

  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 1270
    • Show only replies by desiv
Re: More seamless e-uae integration with Linux
« Reply #19 on: May 28, 2010, 09:40:39 PM »
What you might want to do is have the option for a config file, if found, to be read that can have some other options.
So, if your first disk is Pirates_disk1.adf, you could create a file called Pirates_disk1.cfg that would have game specific configs. (Which kickstart, PAL/NTSC, memory, etc..)
Then, your script could just do something like:
if [ -f "$filename".cfg ]
..and you can load the options if they exist.

That way, most of your games would work with the defaults (KS 1.3, 512K chip, 512K fast), but you can add configs for the games that need it.

An nicer way might be a database with pre-configured options, based on tosec names probably.  
And a web service for said configs would be REALLY nice, but I'm thinking that's WAY too complicated...  :-)

desiv
« Last Edit: May 28, 2010, 09:43:48 PM by desiv »
Amiga 1200 w/ ACA1230/28 - 4G CF, MAS Player, ext floppy, and 1084S.
Amiga 500 w/ 2M CHIP and 8M FAST RAM, DCTV, AEHD floppy, and 1084S.
Amiga 1000 w/ 4M FAST RAM, DUAL CF hard drives, external floppy.
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #20 on: May 28, 2010, 10:51:05 PM »
Quote from: gdanko;561727
I'll implement the menu runequester suggested, iron out a couple kinks, and post both 32 and 64 bit versions.


There is some weird bug in Ubuntu Lucid that will not let me run:
gnome-terminal -x "/path/to/my/script.pl"

I will not keep fighting this. For now I will create launch_a2000.pl and launch_a4000.pl. You right click and select the one you want.

Once Ubuntu gets their act together I will create a menu.
 

Offline kolla

Re: More seamless e-uae integration with Linux
« Reply #21 on: May 28, 2010, 11:11:57 PM »
Quote from: gdanko;561769
There is some weird bug in Ubuntu Lucid that will not let me run:
gnome-terminal -x "/path/to/my/script.pl"

I will not keep fighting this. For now I will create launch_a2000.pl and launch_a4000.pl. You right click and select the one you want.

Once Ubuntu gets their act together I will create a menu.


What do you need gnome-terminal for?
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #22 on: May 28, 2010, 11:15:21 PM »
Quote from: kolla;561773
What do you need gnome-terminal for?


To launch a menu, the action for .adf files would be:

gnome-terminal -t "E-UAE Launcher" -x "/usr/local/e-uae/scripts/launch.pl"

You have to tell Gnome to launch the terminal, otherwise you'd never see any of the output of the script.
 

Offline TheBilgeRat

  • Hero Member
  • *****
  • Join Date: May 2010
  • Posts: 1657
    • Show only replies by TheBilgeRat
Re: More seamless e-uae integration with Linux
« Reply #23 on: May 28, 2010, 11:16:57 PM »
Quote from: gdanko;561774
To launch a menu, the action for .adf files would be:

gnome-terminal -t "E-UAE Launcher" -x "/usr/local/e-uae/scripts/launch.pl"

You have to tell Gnome to launch the terminal, otherwise you'd never see any of the output of the script.


When you create a launcher, just tell it to "run in terminal".  There's a checkbox for it.
 

Offline kolla

Re: More seamless e-uae integration with Linux
« Reply #24 on: May 29, 2010, 12:55:41 AM »
Quote from: TheBilgeRat;561775
When you create a launcher, just tell it to "run in terminal".  There's a checkbox for it.


And as a bonus it works with other desktops than gnome. But I still dont see the point, why would I want to see output in a terminal window?
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #25 on: May 29, 2010, 06:42:07 AM »
Almost ready!  I have both 2000 and 4000 launch scripts. I test "UFO - Enemy Unknown" which is a four disk AGA game. I right clicked on disk 3 and UAE was launched with all 4 disks mounted in order. The game came up perfectly.

Last things I want to do:
* Clean up the method of scanning for all disks.
* Create an install script.
* Optimize uae command line switches.

I will be ready to send this out to folks. If interested, tell me if you want 32 or 64 bit.
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #26 on: May 29, 2010, 09:33:54 PM »
64 bit build + install script is ready. This is a test version but so far works okay.
 

Offline runequester

  • It\'s Amiga time!
  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 3695
    • Show only replies by runequester
Re: More seamless e-uae integration with Linux
« Reply #27 on: May 29, 2010, 11:09:32 PM »
Im on 64 bit ubuntu Lucid, and I am dying to give this a swirl :)
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #28 on: May 29, 2010, 11:22:41 PM »
Quote from: runequester;561957
Im on 64 bit ubuntu Lucid, and I am dying to give this a swirl :)


It's a 3.3m tgz. I will try to send it.
Be aware you still need to manually map .adf files to the scripts. You can right click, get properties, and click open with. Add both uae_A2000.pl and uae_4000.pl.
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #29 from previous page: May 29, 2010, 11:25:16 PM »
Ugh I cannot send a file. PM me your email address and I will email it.