Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show only replies by gdanko
More seamless e-uae integration with Linux
« on: May 27, 2010, 07:17:48 PM »
My goal was to be able to play my old games pretty seamlessly without having to mess with .uaerc, GUI configs, etc. I wanted to be able to doubleclick on an .adf image and start playing my game.  Using OS4 would require an expensive investment in hardware and software. MorphOS is not ready for day to day use and I can't justify 150 EU for it.

This is what I've gotten so far.

I created a custom build of uae, both 32 and 64 bit,  that does not include the GUI. What I noticed is that if I close the UAE window when I am finished with the game the GUI would pop up. I don't want this.

I configured Gnome to open .adf files with /usr/local/e-uae/scripts/launch.sh. The name of the adf is passed to the shell script. The shell script then looks at the filename and maps it to df0. It looks for any other disks of the same name (Disk 1, Disk 2, etc) and maps them to df1, df2, etc.

Common configuration options (cpu, memory, etc) are set as variables in the script.

Your game is launched with all of the drives mounted and you can play away. When you're finished with your game you close the UAE window and you're all finished.

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.
 

Offline koshman

  • Sr. Member
  • ****
  • Join Date: Nov 2009
  • Posts: 445
    • Show only replies by koshman
Re: More seamless e-uae integration with Linux
« Reply #1 on: May 27, 2010, 07:49:41 PM »
You bet we we would be interested. This sounds awesome. Great work!
- Radim
 
A600 - 68020/33, 10MB RAM, 3.1, 2GB SD
 

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 #2 on: May 27, 2010, 07:52:57 PM »
Quote from: koshman;561385
You bet we we would be interested. This sounds awesome. Great work!


Thanks, koshman. Once I am confident the multi disk thing is working correctly I will create an install script and make both versions available. I will have a shell script installer so I don't have to maintain packages for every distro out there.

I think it's basically how AROS and MorphOS handle it. I am told you have to install e-uae on MorphOS to be able to play the old games. This is kind of silly. I had been led to believe the support existed and all you had to do was 2x click the game's binary.

Send me a PM if interested in getting a copy.
 

Offline Amiga_Nut

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 926
    • Show only replies by Amiga_Nut
Re: More seamless e-uae integration with Linux
« Reply #3 on: May 27, 2010, 09:08:01 PM »
Fantastic work, sounds like a fantastic idea :)

I'd offer to help but I don't have a Linux box now.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: More seamless e-uae integration with Linux
« Reply #4 on: May 27, 2010, 09:21:11 PM »
Quote from: gdanko;561386
I am told you have to install e-uae on MorphOS to be able to play the old games. This is kind of silly.
Do you have any suggestion on as how this should be handled by MorphOS itself? Mind you, KS ROM is copyrighted material so even if UAE was included in the OS itself you still wouldn't be able to run any old games out of the box.
Quote
I had been led to believe the support existed and all you had to do was 2x click the game's binary.
You can easily configure E-UAE so that doubleclicking the adf launches the game.

Wait, doesn't that sound exactly like what you're doing for linux here? How silly!
« Last Edit: May 27, 2010, 09:29:33 PM by Piru »
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: More seamless e-uae integration with Linux
« Reply #5 on: May 27, 2010, 09:27:31 PM »
Quote from: Piru;561407
Do you have any suggestion on as how this should be handled by MorphOS itself? Mind you, KS ROM is copyrighted material so even if UAE was included in the OS itself you still wouldn't be able to run any old games out of the box.


Isn't there an open kickstart replacement being developed as part of the AROS project?
int p; // A
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: More seamless e-uae integration with Linux
« Reply #6 on: May 27, 2010, 09:28:32 PM »
Quote from: Karlos;561410
Isn't there an open kickstart replacement being developed as part of the AROS project?
Not that I am aware. It has been planned for a decade I bet.
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: More seamless e-uae integration with Linux
« Reply #7 on: May 27, 2010, 09:31:13 PM »
Quote from: Piru;561411
Not that I am aware. It has been planned for a decade I bet.


I dunno, I recall someone talking about it, though I can't recall who or how long ago. Getting old sucks :lol:
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
int p; // A
 

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 #9 on: May 27, 2010, 09:44:35 PM »
Quote from: Piru;561407
You can easily configure E-UAE so that doubleclicking the adf launches the game.

Wait, doesn't that sound exactly like what you're doing for linux here? How silly!



I tried that, it did not work. I was told by a MorphOS developer that you have to do a few things in order for this work. Even moreso than simply associated .adf files with e-uae. Also, how do I suppress the GUI? How do I get e-uae to mount all the other disks? I am open to your suggestions as it would seem you one up on all of us here. :P
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: More seamless e-uae integration with Linux
« Reply #10 on: May 27, 2010, 10:11:05 PM »
Quote from: gdanko;561414
I tried that, it did not work

I bet you'll make it work every time out of the box in no time. Have fun with end-users :-)
 

Offline AmigaHeretic

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 821
    • Show only replies by AmigaHeretic
Re: More seamless e-uae integration with Linux
« Reply #11 on: May 27, 2010, 10:41:25 PM »
Quote from: gdanko;561414
I tried that, it did not work. I was told by a MorphOS developer that you have to do a few things in order for this work. Even moreso than simply associated .adf files with e-uae. Also, how do I suppress the GUI? How do I get e-uae to mount all the other disks? I am open to your suggestions as it would seem you one up on all of us here. :P


I may be way off base and don't know cmd line options of euae so if I sound like an idiot ignore this post.


What I would think is a small script xIcon style or something.  Take Agony, for example, which I think was 4 disks?

something like, e-uae -ECS  -1megchip -1megfast -windowed -640x400 -disk1=agony1.adf -disk2=agony2.adf -disk3=agony3.adf -disk4=agony4.adf


Obviously those arguments of completely made up, but I'd imagine there is something close.  Make an icon for the script and have the adf's in the same drawer and bam!  Just double click to run Agony.  

This would require a script file for each game, so maybe you are thinking of something not so tedious?  I like to do stuff the hardware I suppose.  :-)
A3000D (16mhz, 2MB Chip, 4MB Fast, SCSI (300+MB), SuperGen Genlock, Kick 3.1)
Back in my day, we didn\'t have water. We only had Oxygen and Hydrogen, and we\'d just have to shove them together.
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: More seamless e-uae integration with Linux
« Reply #12 on: May 28, 2010, 12:10:18 AM »
@gdanko

did you read my reply? Yahoo works perfectly on OWB http://www.amiga.org/forums/showpost.php?p=560904&postcount=11
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

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 #13 on: May 28, 2010, 06:26:31 PM »
At this point everything is working. If I doubleclick on, say, "Pirates! Gold (Disk 1 of 2).adf", the script goes and finds all of the other disks and adds them to the list of disks to open. The game fires up and all the disks are there.

I am having one small hurdle that I would appreciate input on. Some games are using WB 1.3 so KS 3.1 will not work. I could assume AGA globally and it should be able to play ECS games (or can it?). In a MorphOS or even OS 4.1 scenario, how do you accommodate the myriad of combinations?

Perhaps I can have something like launch13.pl and launch31.pl. Both could be associated with type .adf and you could choose the one you think you need? Hmmm...
« Last Edit: May 28, 2010, 06:27:34 PM by gdanko »
 

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.