15 December 2019, 23:24 | #1 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
My new script causes some demos to run at a slow crawl
I have attached the enclosed screenshot of a script to an icon and used IconX to run it directly for all archives dragged into RDH0:, but whilst most demos run fine, some run at a snail's pace and I cannot figure out why. It seems that the stack size has nothing to do with it. So what is the problem?
EDIT: Mods, please move to Support.Apps Last edited by Foebane; 15 December 2019 at 23:31. |
16 December 2019, 01:55 | #2 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
|
16 December 2019, 07:17 | #3 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
I found the solution by putting each SPat command into separate scripts, seems there was a conflict of some kind.
|
16 December 2019, 08:20 | #4 |
Registered User
Join Date: Feb 2008
Location: RNO
Posts: 1,007
|
Maybe because you use the "Run" command for executables, and Run puts them as background processes and let the shell continue immediately. So, if a directory has several executables (or both exe and script) and they multitask (or do some precalc or something before opening screens or disabling the multitask), they all run at the same time which of course leaves much less CPU time for each and makes them crawl.
|
16 December 2019, 10:55 | #5 | |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
Quote:
And I had to use Run as I needed to use SPat, and SPat required a command to work with the wildcard. |
|
16 December 2019, 12:16 | #6 |
Registered User
Join Date: Feb 2008
Location: RNO
Posts: 1,007
|
|
16 December 2019, 18:47 | #7 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running WHDLoad games and demos from script | Foebane | support.Apps | 4 | 09 May 2019 23:12 |
Original EA demos that run on 27.3 | tschak | request.Demos | 1 | 16 September 2014 23:00 |
HD demos don't run from within Gamebase - but why exactly? | andreas | support.Demos | 1 | 25 October 2010 22:02 |
Help getting these two demos to run | anj | support.Demos | 5 | 02 May 2005 05:51 |
Demos slow after Picasso96 | prismra | support.WinUAE | 4 | 30 March 2004 20:40 |
|
|