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 gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show all replies
Re: More seamless e-uae integration with Linux
« Reply #14 from previous page: May 30, 2010, 06:15:07 PM »
The scripts are now in Perl because of some bash limitations. Here are my two biggest issues.
1) Some games have > 4 disks so my goal of dumping the GUI completely may be compromised since uae only allows you to mount 4 drives. I am guessing the Amigas only allowed df0-df3. This is particularly frustrating to me because when you close a game, even with the gui disabled in uaerc, the GUI still comes up. Is there a way to suppress the GUI from coming up after closing the game's windows?

2) I unpacked all my TOSEC stuff to start testing, but their naming conventions don't make sense to me. For example, Silent Service II is two disks but on TOSEC I see this:

Silent Service II (1990)(MicroProse)(Disk 1 of 2).adf
Silent Service II (1990)(MicroProse)(Disk 2 of 2).adf
(original uncracked game?)

Silent Service II (1990)(MicroProse)[a](Disk 1 of 2).adf
Silent Service II (1990)(MicroProse)[a](Disk 2 of 2).adf
(what is [a]?)

Silent Service II (1990)(MicroProse)[cr Paxnt Box].adf
(no idea what this means)

Silent Service II (1990)(MicroProse)[cr SKR](Disk 1 of 2).adf
Silent Service II (1990)(MicroProse)[cr SKR](Disk 1 of 2)[a].adf
Silent Service II (1990)(MicroProse)[cr SKR](Disk 1 of 2)[m TSB].adf
Silent Service II (1990)(MicroProse)[cr SKR](Disk 2 of 2).adf
Silent Service II (1990)(MicroProse)[cr SKR][a2](Disk 1 of 2).adf
Silent Service II (1990)(MicroProse)[cr SKR][a2](Disk 2 of 2).adf
Silent Service II (1990)(MicroProse)[cr SKR][a](Disk 1 of 2).adf
Silent Service II (1990)(MicroProse)[cr SKR][a](Disk 2 of 2).adf
Silent Service II (1990)(MicroProse)[cr SKR][h LGD].adf

(what is all the SKR stuff???)

If I can better understand what all of this means I can make the routines to find the necessary disks a little more sane.

Any ideas?
« Last Edit: May 30, 2010, 06:17:27 PM by gdanko »
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show all replies
Re: More seamless e-uae integration with Linux
« Reply #15 on: June 01, 2010, 03:46:43 PM »
I am going to adhere to the TOSEC naming convention and leave it up to the user to properly organize things. I will search for (Disk x of x).adf at the end of the filename. If that exists, the rest will be the basis for which I will add disks.

It's a pain to try and cover every possible scenario. Perhaps I can modify the uae source and have it NOT call up the configurator when the game window closes.

Hmmmmm
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show all replies
Re: More seamless e-uae integration with Linux
« Reply #16 on: June 01, 2010, 03:52:16 PM »
Quote from: amigadave;562180
Hello Gary,

Great to see you still interested in the Amiga.  I was afraid that you were losing all interest in it.


No, you saw my garage. I had to organize it.
I am keeping a 3500, 1200, 600, 2500 (loaded), TT030, Falcon.
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show all replies
Re: More seamless e-uae integration with Linux
« Reply #17 on: June 01, 2010, 04:52:34 PM »
No luck with puae:

root@gdanko-desktop:/usr/local/puae/bin# ./uae -f ../var/uaerc
------------------------------------------------------------------------------------
P-UAE 2.2.0
Build date: Jun  1 2010 08:23:56
------------------------------------------------------------------------------------
Copyright 1995-2002 Bernd Schmidt
          1999-2010 Toni Wilen
          2003-2007 Richard Drummond
          2006-2010 Mustafa Tufan

See the source for a full list of contributors.
This is free software; see the file COPYING for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
------------------------------------------------------------------------------------
Found 0 joystick(s)
X11GFX: Raw key-mapping disabled.
X11GFX: Initialized.
Max Z3FastRAM 1536M. Total physical RAM 2005 0M
Found 0 joystick(s)
X11GFX: Raw key-mapping disabled.
Opening cfgfile '/home/gdanko/.uaerc': failed
failed to load config '/home/gdanko/.uaerc'
Found 0 joystick(s)
X11GFX: Raw key-mapping disabled.
Opening cfgfile '.uaerc': failed
Opening cfgfile '../var/uaerc': okay.
Opening cfgfile '../var/uaerc': okay.
Testing the RDTSC instruction ... done.
TSC frequency: 2394.000000 MHz
Found 0 joystick(s)
X11GFX: Raw key-mapping disabled.
Xlib:  extension "RANDR" missing on display ":1.0".
NATMEM: Our special area: 0x0xa781e000-0x0xb781e000 (10000000 256M)
shmget of size 65536 (64k) for rtarea
SHMAddr rtarea 0xf00000 = 0x0xa871e000 - 0x0xa781e000
VirtualAlloc 00F00000 - 00F10000 10000 (64k) ok
Segmentation fault
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show all replies
Re: More seamless e-uae integration with Linux
« Reply #18 on: June 11, 2010, 04:46:25 PM »
Sorry guys for lagging. Been playing with MorphOS 2.5 on my Mini. Here is the udpate.

* I've worked with Fab1 to get some nice custom a500 and a1200 configs.
* The scripts now work this way: When you double click on a file, the script looks for "(Disk x of y).adf" at the very end. If that string exists, the script will hunt for all files in the disk set. ie; "Silent Service 2 (Disk 1 of 2).adf", "Silent Service 2 (Disk 2 of 2).adf", etc. If you have a non-standard disk filename "Silent Service 2 Disk 1.adf" then only THAT disk will be mounted. I wanted to conform to TOSEC's naming convention.. Deal with it. :)
* The install script is ready. It will detect 32 and 64 bit and install the correct version.
* I still have not scripted the mapping of the adf files to the perl scripts yet. Been busy.

I've sent the 32 bit version to a couple folks to test. If you would like to try it out, PM me.
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show all replies
Re: More seamless e-uae integration with Linux
« Reply #19 on: June 13, 2010, 04:39:09 AM »
I was able to patch e-uae so that when you close a game, the GTK GUI configurator doesn't come up. If your game takes more than four disks you can still use F12 - F[1-4] to switch disks into DF[0-3]. We're almost ready for prime time.
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show all replies
Re: More seamless e-uae integration with Linux
« Reply #20 on: June 13, 2010, 05:55:52 AM »
I have a new 64 bit tarball ready. It includes the latest scripts, timestamps for the log, and an install script. Monday morning I will build a 32 bit binary and add it to the tarball. Anyone who wants to try the 64 bit binary, PM me and I will send it off. No more stupid GUI to deal with. Double click your ADF and go.
 

Offline gdankoTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 776
    • Show all replies
Re: More seamless e-uae integration with Linux
« Reply #21 on: June 14, 2010, 04:53:13 PM »
A have put a tarball online with both 32 and 64 bit binaries.
The install script determines your arch with uname -m. i386 or i686 = 32 bit. x86_64 = 64 bit. If you have a different 32 bit uname -m output then let me know and I will add it in. I should have put in i586, too. Anyway.

http://www.gdanko.net/uae-linux.tgz

DNS is still propagating so if you get a timeout add a hosts entry with the IP: 208.179.76.5

Let me know how it works for you. Don't forget, you need to add your own ROMs.
kick13.rom for A500 and kick.rom for A1200.