View Single Post
Old 15 June 2009, 21:07   #12
markpage
MarkPage
 
markpage's Avatar
 
Join Date: Jun 2009
Location: Wells/Somerset
Age: 50
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.
markpage is offline  
 
Page generated in 0.04303 seconds with 11 queries