| Poster | Thread |
amipal
|  |
UAE and Scripts Posted on 16-Oct-2004 14:48:39
| | [ #1 ] |
|
|
 |
Super Member  |
Joined: 8-Apr-2003 Posts: 1907
From: Saltdean, East Sussex, UK | | |
|
| I had a great idea this afternoon - create scripts to run games on UAE via AmiDock! It seemed so simple. Write out the normal CLI string, save it as an IconX script, attached to AmiDock.
I'm currently in the testing stages, and wrote the following script: Quote:
| Programs:Games/Emulation/UAE/uae floppy0=programs:games/emulation/uae/ADF/hunter.adf kickstart_key_file=Programs:Games/Emulation/UAE/kick31.rom |
This line works via a Shell, so, I figured, should also work from IconX. However, whenever I try to run it, I get the following error:

"You need to have a diskfile in DF0 to use the Kickstart replacement!"
From what I can tell, I do have said diskfile. Any ideas?  Last edited by amipal on 16-Oct-2004 at 02:49 PM.
_________________ After a decade away from the scene, I am back! |
|
| Status: Offline |
|
|
amipal
|  |
Re: UAE and Scripts Posted on 16-Oct-2004 17:10:11
| | [ #2 ] |
|
|
 |
Super Member  |
Joined: 8-Apr-2003 Posts: 1907
From: Saltdean, East Sussex, UK | | |
|
| @amipal
Sorry to bump this, but doesn't anyone have any ideas? _________________ After a decade away from the scene, I am back! |
|
| Status: Offline |
|
|
evilrich
|  |
Re: UAE and Scripts Posted on 16-Oct-2004 18:36:37
| | [ #3 ] |
|
|
 |
Cult Member  |
Joined: 19-Oct-2003 Posts: 534
From: Unknown | | |
|
| @amipal
Try:
Programs:Games/Emulation/UAE/uae -s floppy0=programs:games/emulation/uae/ADF/hunter.adf -s kickstart_rom_file=Programs:Games/Emulation/UAE/kick31.rom
Note that you need the '-s' switch to pass a config option to UAE.
Quote:
| "You need to have a diskfile in DF0 to use the Kickstart replacement!" |
This means that UAE is using the Kickstart emulation - but this only works when booting from a floppy disk. Hence that message.
Cheers, Rich
|
|
| Status: Offline |
|
|
amipal
|  |
Re: UAE and Scripts Posted on 16-Oct-2004 23:52:40
| | [ #4 ] |
|
|
 |
Super Member  |
Joined: 8-Apr-2003 Posts: 1907
From: Saltdean, East Sussex, UK | | |
|
| @evilrich
Thanks! I'll give that a try.  _________________ After a decade away from the scene, I am back! |
|
| Status: Offline |
|
|
Coder
|  |
Re: UAE and Scripts Posted on 17-Oct-2004 7:33:06
| | [ #5 ] |
|
|
 |
Team Member  |
Joined: 15-May-2003 Posts: 4523
From: The Netherlands | | |
|
| Hi,
E-UAE is not up for grabs yet (that's really evil!) so I thought I would grab the latest one. But on Richard's site I see only 1 and that has no sound. Is that true?
Coder
_________________ Can't get enough of me? The Bucket Diary Blog The Bucket Diary Twitter Account |
|
| Status: Offline |
|
|
evilrich
|  |
Re: UAE and Scripts Posted on 17-Oct-2004 8:13:54
| | [ #6 ] |
|
|
 |
Cult Member  |
Joined: 19-Oct-2003 Posts: 534
From: Unknown | | |
|
| @Coder
Quote:
| E-UAE is not up for grabs yet (that's really evil!) |
There isn't an OS4.0 version for download on the main E-UAE page - yet. It'll be going up in an hour or two (fingers crossed).
Cheers, Rich
|
|
| Status: Offline |
|
|
Coder
|  |
Re: UAE and Scripts Posted on 17-Oct-2004 8:34:35
| | [ #7 ] |
|
|
 |
Team Member  |
Joined: 15-May-2003 Posts: 4523
From: The Netherlands | | |
|
| @evilrich
Quote:
| It'll be going up in an hour or two (fingers crossed). |
You sir have made my day! 
(Don't worry, if it does not make it I am not holding it against you)
Coder p.s. As you can see I am HAPPY but NO dancing bananas! _________________ Can't get enough of me? The Bucket Diary Blog The Bucket Diary Twitter Account |
|
| Status: Offline |
|
|
Coder
|  |
Re: UAE and Scripts Posted on 17-Oct-2004 9:24:03
| | [ #8 ] |
|
|
 |
Team Member  |
Joined: 15-May-2003 Posts: 4523
From: The Netherlands | | |
|
| |
| Status: Offline |
|
|
evilrich
|  |
Re: UAE and Scripts Posted on 17-Oct-2004 9:32:09
| | [ #9 ] |
|
|
 |
Cult Member  |
Joined: 19-Oct-2003 Posts: 534
From: Unknown | | |
|
| @Coder
Quote:
| All that refreshing of the site payed of! |

|
|
| Status: Offline |
|
|
abalaban
|  |
Re: UAE and Scripts Posted on 17-Oct-2004 10:56:44
| | [ #10 ] |
|
|
 |
Super Member  |
Joined: 1-Oct-2004 Posts: 1115
From: France | | |
|
| @amipal
Quote:
| Thanks! I'll give that a try. |
Did it worked ? If no try this (I'm always doing it in my own scripts) add a CD to your UAE drawer before calling UAE it may do the trick (if UAE works correctly when you double-click it's icon from WB). Script should look like something like
Quote:
CD Programs:Games/Emulation/UAE/ Programs:Games/Emulation/UAE/uae floppy0=programs:games/emulation/uae/ADF/hunter.adf kickstart_key_file=Programs:Games/Emulation/UAE/kick31.rom |
Regards,
_________________ AOS 4.1 : I dream it, Hyperion did it ! Now dreaming AOS 4.2...  Thank you to all devs involved for this great job ! |
|
| Status: Offline |
|
|
GrumpyOldMan
|  |
Re: UAE and Scripts Posted on 17-Oct-2004 10:59:14
| | [ #11 ] |
|
|
 |
Cult Member  |
Joined: 3-Nov-2003 Posts: 675
From: Haukipudas, Finland | | |
|
| @evilrich
Great work dude 
I think it is time for a little
I am off to download this right away! 
Cheers,
Seppo
_________________ "Those are my principles, and if you don't like them... well, I have others." (Groucho Marx) |
|
| Status: Offline |
|
|
Coder
|  |
Re: UAE and Scripts Posted on 17-Oct-2004 11:06:37
| | [ #12 ] |
|
|
 |
Team Member  |
Joined: 15-May-2003 Posts: 4523
From: The Netherlands | | |
|
| |
| Status: Offline |
|
|
amipal
|  |
Re: UAE and Scripts Posted on 17-Oct-2004 12:16:37
| | [ #13 ] |
|
|
 |
Super Member  |
Joined: 8-Apr-2003 Posts: 1907
From: Saltdean, East Sussex, UK | | |
|
| @abalaban
Quote:
Haven't had the time to try yet! But worry not, I'll keep the CD-thing in mind when I do get around to it. Thanks!  _________________ After a decade away from the scene, I am back! |
|
| Status: Offline |
|
|
amipal
|  |
Re: UAE and Scripts Posted on 18-Oct-2004 22:25:02
| | [ #14 ] |
|
|
 |
Super Member  |
Joined: 8-Apr-2003 Posts: 1907
From: Saltdean, East Sussex, UK | | |
|
| @abalaban
I had to pass it the CD command to get it working. Thanks for your help guys! However, when running, it is now asking for AmiTCP: 
I get the following line in the CLI: Quote:
| Opening cfgfile: AmiTCP:home/amipal/.uaerc...failed. |
I can cancel the "Please insert AmiTCP:" requestor, and UAE will continue to run, but I'm confused why it would ask for this in the first place!_________________ After a decade away from the scene, I am back! |
|
| Status: Offline |
|
|
Toaks
|  |
Re: UAE and Scripts Posted on 18-Oct-2004 23:19:03
| | [ #15 ] |
|
|
 |
Elite Member  |
Joined: 10-Mar-2003 Posts: 8042
From: amigaguru.com | | |
|
| @amipal
why not just do a deficon ?  _________________ See my blog and collection website! . https://www.blog.amigaguru.com |
|
| Status: Offline |
|
|
amipal
|  |
Re: UAE and Scripts Posted on 19-Oct-2004 15:46:26
| | [ #16 ] |
|
|
 |
Super Member  |
Joined: 8-Apr-2003 Posts: 1907
From: Saltdean, East Sussex, UK | | |
|
| @Toaks
I'd need a unique def_icon for every game. With the scripts, I can individually setup the configuration depending on what the game needs e.g. ECS, fast ram, processor type etc.
@All Any clues yet on the AmiTCP thing? _________________ After a decade away from the scene, I am back! |
|
| Status: Offline |
|
|
abalaban
|  |
Re: UAE and Scripts Posted on 19-Oct-2004 17:02:05
| | [ #17 ] |
|
|
 |
Super Member  |
Joined: 1-Oct-2004 Posts: 1115
From: France | | |
|
| @amipal
I think you have a TCP/IP stack running which maybe put a USER env variable to amipal. On Unix'like system conf files are stored in each user home directory named upon its name. I think UAE (which is an Unix soft at the beginning) try to load the config from the USER environment which does not exists... Maybe you could try to make an assign AmiTCP: containing an 'amipal' directory with a link named '.uaerc' pointing to /.uaerc or just copy it there. I should say I prefer the first solution as I've only one file on my partition for UAE config...
Regards, _________________ AOS 4.1 : I dream it, Hyperion did it ! Now dreaming AOS 4.2...  Thank you to all devs involved for this great job ! |
|
| Status: Offline |
|
|
GrumpyOldMan
|  |
Re: UAE and Scripts Posted on 19-Oct-2004 19:54:25
| | [ #18 ] |
|
|
 |
Cult Member  |
Joined: 3-Nov-2003 Posts: 675
From: Haukipudas, Finland | | |
|
| |
| Status: Offline |
|
|
evilrich
|  |
Re: UAE and Scripts Posted on 19-Oct-2004 20:44:05
| | [ #19 ] |
|
|
 |
Cult Member  |
Joined: 19-Oct-2003 Posts: 534
From: Unknown | | |
|
| @abalaban
Quote:
| I think you have a TCP/IP stack running which maybe put a USER env variable to amipal. |
Actually, it's the HOME env variable that's the cause of this. If that exists, then E-UAE will check in the path it contains for a config file.
I can remove this feature in the OS4 build if you like.
Cheers, Rich
|
|
| Status: Offline |
|
|
Coder
|  |
Re: UAE and Scripts Posted on 19-Oct-2004 21:17:49
| | [ #20 ] |
|
|
 |
Team Member  |
Joined: 15-May-2003 Posts: 4523
From: The Netherlands | | |
|
| |
| Status: Offline |
|
|