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 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.
 

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 #30 on: 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 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 #31 on: May 30, 2010, 08:23:35 PM »
SKR would refer to the group that cracked that particular version of the game.
The a usually just indicates a different version of the same disks.
 
And yes, only 4 floppy drives possible.
 
Quote from: gdanko;562099
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?
 

Offline CSixx

  • Sr. Member
  • ****
  • Join Date: Jan 2006
  • Posts: 315
    • Show only replies by CSixx
Re: More seamless e-uae integration with Linux
« Reply #32 on: May 31, 2010, 12:33:32 AM »
There are multi-disk games that will only use df0 also.
I remember this being an annoyance back in the day. May need to keep the UI around for this.
 

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 #33 on: May 31, 2010, 01:36:08 AM »
Quote from: CSixx;562149
There are multi-disk games that will only use df0 also.
I remember this being an annoyance back in the day. May need to keep the UI around for this.

This is true. Psygnosis seems to have been particularly bad about this
 

Offline TheBilgeRat

  • Hero Member
  • *****
  • Join Date: May 2010
  • Posts: 1657
    • Show only replies by TheBilgeRat
Re: More seamless e-uae integration with Linux
« Reply #34 on: May 31, 2010, 03:17:17 AM »
Quote from: runequester;562159
This is true. Psygnosis seems to have been particularly bad about this


Also bad when using adfblitz to move games back to floppy. :(
 

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 #35 on: May 31, 2010, 03:25:27 AM »
Quote from: TheBilgeRat;562172
Also bad when using adfblitz to move games back to floppy. :(

It gives trouble with that ? Any ways around it?
 

Offline amigadave

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Jul 2004
  • Posts: 3836
    • Show only replies by amigadave
    • http://www.EfficientByDesign.org
Re: More seamless e-uae integration with Linux
« Reply #36 on: May 31, 2010, 04:44:06 AM »
Hello Gary,

Great to see you still interested in the Amiga.  I was afraid that you were losing all interest in it. UAE of any flavor sure takes a lot less space than all the Classic hardware that you used to have (thanks again).

I hope you and your family (or without them if they do not want to come with you) can make it up to my place some time over the 24th & 25th of July to celebrate the 25th Anniversary of the Amiga's presentation at the Lincoln Center in 1985.

Edit: Almost forgot, congratulations on your work with E-UAE mentioned in this thread.  I would love to have you e-mail me both the 32bit and 64bit versions once you are done working on them.
How are you helping the Amiga community? :)
 

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 #37 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 adolescent

  • Hero Member
  • *****
  • Join Date: Sep 2003
  • Posts: 3056
    • Show only replies by adolescent
Re: More seamless e-uae integration with Linux
« Reply #38 on: June 01, 2010, 03:51:28 PM »
Should also try PUAE as E-UAE is not updated.
Time to move on.  Bye Amiga.org.  :(
 

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 #39 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 only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #40 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 only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #41 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 only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #42 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 only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #43 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 only replies by gdanko
Re: More seamless e-uae integration with Linux
« Reply #44 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.