![]() |
|
|||||||
| Register | >> Amiga FAQ/Wiki << | Rules & Help | Members List / Moderators List | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
Hi all, i was wondering if anyone could help me with a small problem ive been having with WinUAE.
I have a Workbench (Scalos) installation with many installed Whdload games, some old Amiga 500 and some more modern like Amiga Quake. My "Advanced Jit Settings" are set in favour of Amiga Doom and Amiga Quake etc, and also my Scalos installation which requires these settings, so in order to get the A500 games to work correctly, ive edited the tooltype for each game using the following:- ExecuteStartup=uae-configuration cpu_speed real cachesize 0 ExecuteCleanup=uae-configuration cpu_speed max cachesize 8192 This fixes the timing issue ok for the A500 games and resets everything back to normal for Desktop when quitting except one thing, which is the "Direct/Indirect" option under Advanced Jit Settings. I need it to go back to "Direct" without having to re-load WinUAE. Is there someway to alter this setting through the "Startup-sequence" file. Ive already added this line:- uae-configuration cpu_speed max cachesize 8192 But this also didn't work. |
|
|
|
|
|
#2 | |
|
WHAaaaaa!!
|
Quote:
ExecuteStartup=C:UAE cachesize 0 finegrain_cpu_speed 1024 cpu_compatible true ExecuteCleanup=C:UAE cachesize 8192 cpu_speed max win32.cpu_idle 30 comp_trustbyte direct comp_trustword direct comp_trustlong direct comp_trustnaddr direct
__________________
Amiga A1200T - BPPC 040/25 603/175 96mb Ram - Bvision, CGX v4 RTG. OS3.9 + OS4 dual boot. Last edited by Graham Humphrey; 14 June 2009 at 20:16. Reason: Quote tag fixed |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Unfortunately there is no rule for WHDLoad games under WUAE: it's generally good to disable JIT-caches but some games may require 'immediate_blits false/true' etc...
I use in S:WhdLoad_cleanup (will be executed when a game exits, no need* to specify for each one ExecuteCleanup=...): C:uae-configuration immediate_blits true cachesize 8192 cpu_speed max comp_trustbyte direct comp_trustword direct comp_trustlong direct or that from Mad-Matt is equally very good. In S:WHDLoad_startup: C:uae-configuration cachesize 0 as a general rule... but as I said above some games require a proper ExecuteStartup=... (specifying this tooltype the S:WHDLoad_startup will be ignored) where I enable caches for slow games, immediate blitter off, or I use WUAE's option 'finegrain_cpu_speed xxxx', 'cpu_speed real' etc... *obviously you have to edit S:WHLoad.prefs: ... ExecuteStartup=S:WHDLoad_start ;command to execute on WHDLoad startup ExecuteCleanup=S:WHDLoad_cleanup ;command to execute on WHDLoad exit ...
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! Last edited by hexaae; 14 June 2009 at 20:55. |
|
|
|
|
|
#4 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,941
|
I thought this was fixed long time ago. Apparently not
![]() In next version old "direct" mode setting will be remembered when switching JIT off. |
|
|
|
|
|
#5 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
Thanks to all for ya help, but what i need is a command to put in the startup-sequence to set the "direct/indirect" option to direct, just this. Ive tried to incorporate these commands you guys have shown me but when editing the startup sequence, it only allows the lines to be so long before starting a new line meaning im limited to how many commands i can put on one line, so it needs to be short and precise.
|
|
|
|
|
|
#6 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Just don't use AmigaOS std C:Ed that truncates long lines but any other ASCII text editor from Aminet... like this one: http://aminet.net/text/edit/Annotate.lha
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jul 2006
Location: Italy
Age: 37
Posts: 622
|
Great! So we can finally forget those 'comp_trustbyte direct...' commands if we switch off and then on JIT!
__________________
Real A1200, OS3.9 (BB2+OS39_update_patches), Blizzard1260 at 66Mhz, 64MB fast, AGA-only Multiscan 656x492x7bit WB, FBlit 3.79a, BlazeWCP 1.74, FText 1.7, Scandex external scandoubler, PCMCIA Genius ME3000II etc. WinUAE. Laptop GX660-262it (i5),Windows 7 HP x64 original. http://www.kickstarter.com/projects/...lite-dangerous backer! |
|
|
|
|
|
#8 | |
|
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 8,696
|
Quote:
![]() |
|
|
|
|
|
|
#9 |
|
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 35
Posts: 314
|
Is it possible for someone to put an example of this procedure?
I don't quite understand how it works (please, provide specific locations and instructions; e.g. where to put, what tooltype, exactly what directory I need to refer to etc). |
|
|
|
|
|
#10 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
Thanks for everybody's help, thanks to you ive sorted it. on the games tooltype ive got:-
ExecuteStartup=uae-configuration cpu_speed real cachesize 0 ExecuteCleanup=uae-configuration cpu_speed max cachesize 8192 I just added this to the end of second line:- comp_trustbyte direct Now when i quit back to workbench, the cpu is set back to direct. The other problem i had was when a game is loaded, and you do an amiga reset, the second line in the whdload tooltype gets skipped meaning that the emulator is still set in A500 mode which is too slow to run Scalos workbench. I fixed this by putting the following in the Startup-sequence:- uae-configuration cachesize 8192 cpu_speed max win32.cpu_idle 0 uae-configuration comp_trustbyte direct This fixes it so that everythings resets back to my default winUAE cpu settings. Thanks again. |
|
|
|
|
|
#11 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
Hi Nikvest, i will get back to you on detailed instructions so keep checking back.
|
|
|
|
|
|
#12 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
This is to Nikvest.(Or anyone who might need it).
To edit a games "Tooltype", load up Workbench, left click once on a games picture icon, then hold right mouse button down and hover mouse pointer over "Icons" option at the top of the screen, move mouse pointer down to "Information" and let go of button. A menu will pop up, in the menu click on "Tooltypes" tab and in the window there might already be some tooltype commands, if there is click on the last one and then click on "New" to enter a new one. Next to where you clicked "New" you will see "(new)" in the window, delete this and type the following:- ExecuteStartup=uae-configuration cpu_speed real cachesize 0 Then press Return and the Tooltype will appear in the window under the others. This sets the hardware for running A500 games, now we need to make sure that the hardware is set back when we quit the game, so type this :- ExecuteCleanup=uae-configuration cpu_speed max cachesize 8192 comp_trustbyte direct Then press Return. This command will execute on exiting the game, unless you do an Amiga Reset while the game is running, in which case the second line will be skipped but i'll get to that in a moment. Once you've finished entering the lines, hold right mouse button down and select "Save" from the top left menu list. The tooltype is now saved. As i mentioned above, when doing an Amiga Reset while game is running, the Cleanup process is skipped meaning that your WinUAE CPU settings will not be returned, this means your workbench won't be able to load back, especially if your using a modern Workbench installation or replacement. To fix this problem you need to edit the Workbench's "Startup-sequence", to do this load Workbench and double click on the "System" drive, or whatever you've called it, then double click on the "System" folder, then double click the "Shell" icon to load the shell. A small window will open and you will be prompted to enter text so type the following at the prompt:- ed s:startup-sequence The "Startup-sequence" file will open in a text window, all entries that start with ";" are not actually commands but just notes or reminders, so at the start of the text, directly underneath any of these notes, type the following:- uae-configuration cpu_speed max cachesize 8192 uae-configuration comp_trustbyte direct The second line will switch the "Direct/Indirect" option under Advanced Jit Settings back to "Direct". I am of course assuming that this is what your CPU settings are set to, to be honest, if you are using a modern Workbench installation, i would recommend these settings as you will benefit from them if your PC is good. Hope this helps in some way, also, look over the posts that other's have put here, you might find some useful info. |
|
|
|
|
|
#13 |
|
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 8,696
|
Thanks for that great effort, markpage!
![]() |
|
|
|
|
|
#14 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
Your welcome.
|
|
|
|
|
|
#15 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
To any newcomers looking to install Workbench on a virtual amiga hardrive, check out this address, this is where i learnt to do it.
http://guide.abime.net/wbsetup.htm It will show you a lot of great things, if any of the links give you a problem, try finding what you need at:- http://aminet.net/ Everything needed for this tutorial is freeware, except Workbench Disk images, your on your own for that one im afraid as i think they are still copyright protected. Hope this is helpful. Last edited by markpage; 15 June 2009 at 23:09. |
|
|
|
|
|
#16 |
|
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 35
Posts: 314
|
Thank you very much for your help.
I will start redoing my game collection... NOW ![]() . |
|
|
|
|
|
#17 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
Here's a great trick i came up with for all you with an Amiga Workbench installation, assuming your using WinUAE of course.
Creating Desktop Executable for Amiga Workbench =============================================== This will take just a few seconds, at the end you will be able to double click the desktop shortcut to load Amiga Workbench rather than keep loading WinUAE and double clicking the config. Go into your "WinUAE/configurations" folder and right click on the configuration.uae text file and select "Properties". Next to where it says "Opens With", click "Change" Button and select the "WinUAE" executable then click "OK". Now right click again on the configuration.uae file and this time select "Create Shortcut". Now right click the shortcut and select "Properties", now click the "Change Icon" button and then click on "Browse" and browse your way to the "WinUAE" executable and double click it to select it's icon, then click "OK" and drag the shotcut to the desktop and rename it "Amiga" or whatever you want. Now double click to boot Amiga Workbench. Easy peasy, no more loading WinUAE. |
|
|
|
|
|
#18 |
|
Moderator
Join Date: Sep 2006
Location: Germany
Age: 35
Posts: 22,459
|
In the newer versions of WinUAE, .uae files are already associated with WinUAE, so no need to create the association yourself. Just creating the shortcut is enough. Make sure that in your config the checkbox 'Show GUI on startup' on the 'Miscellaneous' panel is not set.
|
|
|
|
|
|
#19 | |
|
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 35
Posts: 314
|
Quote:
![]() ![]() By the way, I don't need noob tutorial with such extreme detail . I know a thing or two about Amiga and Workbench. It's just... this tooltype thing isn't working for me. I tried to create ExecuteStartup and ExecuteCleanup in S: as well, but then a get information that it is impossible to complete the tasks I stated in those scripts.I actually wanted you to give me a clear example of one game. Meaning: if the game is Apidya, am I: - supposed to use ExecuteStartup=uae-configuration or ExecuteStartup=Apidya in the tooltype itself - should I make any specific configurations within WinUAE itself (I used 68040 processor, with JIT already enabled) - what is this talk about C:UAE somewhere up this topic... am I supposed to state actual PC directory structure or what?? Bottom line... it doesn't work for me yet. I need a clear example for one game. |
|
|
|
|
|
|
#20 |
|
WHAaaaaa!!
|
unless you really want to set settings on a per game basis, id stick to using s:whdload.prefs just to keep things simple.
C:UAE is just renamed uae-configuration in C dir, just to keep things simple ...for me ![]() theres a very short limit on how much you can parse to whdload so it helps to keep text short as possible
__________________
Amiga A1200T - BPPC 040/25 603/175 96mb Ram - Bvision, CGX v4 RTG. OS3.9 + OS4 dual boot. |
|
|
|
|
|
#21 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
Hey, very sorry Nikvest, was just trying to help. The tutorial couldn't be any clearer, it works with any A500 game, i'm not sure what workbench version you are using, i'm using workbench 3.1 with workbench replacement Scalos.
Editing WHDload.Prefs is all very well, but then the more demanding games won't run properly, i have AGA,CD and things like AlienBreed 3D, Breathless, Amiga Doom and Amiga Quake installed which is why i use this method. This way, the A500 games run perfectly, and so do the more demanding games. Your the one that needs to be more specific on what you have, i need full detail's of what workbench version you are using, and if you are using anything below 3.1, it's time to upgrade. Last edited by markpage; 16 June 2009 at 17:31. |
|
|
|
|
|
#22 |
|
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 35
Posts: 314
|
You did help
![]() ![]() . I found out about this possibility.I am sorry if I sounded rude . It was not my intention. |
|
|
|
|
|
#23 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
That's alright mate, sorry for taking offence... must be the heat.
Just checked menu options using a quick Workbench 3.1 installation, and although slightly different to Scalos, they are pretty similar, the tooltype edit option is still there. Also :- ExecuteStartup= & ExecuteCleanup= Are only understood by WHDload Software and not Amiga e.g. ExecuteStartup=uae-configuration cpu_speed real cachsize 0 this is understood by WHDload, not amiga. uae-configuration cpu_speed real cachesize 0 this is understood by amiga, not WHDload. The WHDload commands will only work on a game that's been installed using WHDload. |
|
|
|
|
|
#24 |
|
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 35
Posts: 314
|
I have a suggestion: Could you take ANY game (it doesn't matter which one) that uses this method, pack its directory and post it in the Zone? That way I'll get to try it, and see exactly how it should look like...
Thanks, Nikola |
|
|
|
|
|
#25 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
I don't know if that's allowed, but i could put a link to a torrent if i'm allowed to do so.
|
|
|
|
|
|
#26 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
Does anyone know how i can create multiple info files for multiple folders that don't have them, is there any amiga software that can do this.
|
|
|
|
|
|
#27 | ||
|
UltimateAmiga Ruler
|
Quote:
This is how I have done it in the past. Proberly not the right thing to do, but thats the way I worked it out, way back when I was 12, .
__________________
Quote:
Customer Help & Support: http://www.amigakit.com/help www.amigakit.com - the Amiga store new products |
||
|
|
|
|
|
#28 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
Doesn't work, I don't know if it's something to do with Scalos, but i already tried it, also tried re-installing NewIcons and that didn't work either.
|
|
|
|
|
|
#29 | |
|
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 35
Posts: 314
|
Quote:
WHDLoad packages are available on multiple sites. I don't see anything wrong in posting one directory here. |
|
|
|
|
|
|
#30 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
I Don't have permission to access the zone for some reason, maybe cos i'm new.
|
|
|
|
|
|
#31 |
|
Moderator
Join Date: Sep 2006
Location: Germany
Age: 35
Posts: 22,459
|
No, it's because you haven't read through 'Rules & Help' : http://eab.abime.net/faq.php?faq=vb_...ezone_faq_item
![]() |
|
|
|
|
|
#32 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
NikVest, you'll find BubbleBobble zip in the zone. Read the readme file attached, it may help.
|
|
|
|
|
|
#33 |
|
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 35
Posts: 314
|
Thank you, Mark. Your help is really appreciated.
![]() |
|
|
|
|
|
#34 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
No Problemo, just let me know if you need any more help. Also let me know if you've got how it works.
|
|
|
|
|
|
#35 |
|
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 35
Posts: 314
|
Well, to tell you the truth... it doesn't work on my system unless I put WhdLoad_startup and WhdLoad_cleanup in S:. I can't explain why, so I am currently playing with my old configurations (I manually turn off JIT by hitting F12).
I will look into this some more over weekend, because I didn't have too much time to do it today. However, I am really grateful for your help . |
|
|
|
|
|
#36 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
If i could zip up my modified workbench directory and zone it, i would, but is most likely against the rules as i think they are still copyright protected.
|
|
|
|
|
|
#37 |
|
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 35
Posts: 314
|
Yes, I think they are
![]() . But I'm actually not sure.Look, it's not big deal, I just tried this new idea. I will try it again over the weekend... |
|
|
|
|
|
#38 |
|
MarkPage
Join Date: Jun 2009
Location: Wells/Somerset
Age: 39
Posts: 53
|
I can give you this address, have a look at it, the software needed for this is freeware as well, so i can zone it all for you. If your interested let me know and i'll zone the files.
http://guide.abime.net/wbsetup.htm |
|
|
|
|
|
#39 |
|
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 35
Posts: 314
|
My fantastic wisdom and infinite experience stopped me from doing one obvious thing:
- copy Amiga Programs:uae-configuration to C: - However... It works fine from S:WHDLoad.prefs, but not from tool types!!! What am I doing wrong??? Last edited by nikvest; 20 June 2009 at 04:26. |
|
|
|
|
|
#40 |
|
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 35
Posts: 314
|
Well, I sorted everything out
.Turned out I was using too old WHDLoad package. Thanks for help, Mark . |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem booting with JIT... | Leo42 | support.WinUAE | 3 | 15 June 2009 21:25 |
| Jit Error | CPC464 | support.WinUAE | 0 | 19 August 2002 12:12 |
| JIT problem | Unregistered | support.WinUAE | 0 | 19 July 2002 06:00 |
| JIT problems | Ckukmale | support.WinUAE | 9 | 08 July 2002 02:55 |
| JIT Emulation | Doozy | support.WinUAE | 2 | 17 January 2002 07:14 |