Misc - WHDLoad: Using "uae-configuration" and "Tool Types" or "whdload.prefs" to disable JIT in WinUAE

Back to Home | Workbench 3.1 Guide Contents | Site Map

In WinUAE you may find that you have some timing and GFX problems when having JIT enabled. So to save you having to disable JIT each time you run the WHDLoad installed game, you can do this automatically via "uae-configuration" from WinUAE's Amiga programs folder and by adding two lines to "Tool Types" within Icon Information.

1. First find the file uae-configuration from WinUAE's Amiga programs folder (e.g. "C:\Program Files\WinUAE\Amiga Programs") and, if you followed the other chapters in this tutorial, copy to your Programs directory ("C:\Program Files\WinUAE\Hard Disks\Programs") or make a new temp directory, copy uae-configuration to this, and add directory to Hard Drives Properties (See Chapter 1 - Steps 9, 13, 14 & 15).

2. Now launch the WinUAE program, left click the config you made, click the Load button and click OK/Start to start emulation.

3. Double click System, double click the next System drawer in the window that opened, and then double click the Shell program to open Amiga DOS.

4. Now type: copy Programs:uae-configuration C: and press Return/Enter

5. Then, close the shell window by typing in endcli and press Return/Enter

6. Double Click HD-Games

7. Double Click the AlfredChicken drawer

8. Left Click once on AlfredChicken Icon to select

9. Now go to the top of the screen and hold your right mouse button down.

10. Hover your mouse over Icons and then to Information...

11. When Information... is highlighted let go of the right mouse button.

12. When below window opens, click on New and then in the empty box (just to the right of the New button)

13. Next type in: ExecuteStartup=uae-configuration cpu_speed real cachesize 0 and press Return/Enter

14. Click on New again and then in the empty box (just to the right of the New button)

15. Next type in: ExecuteCleanup=uae-configuration cpu_speed max cachesize 8192 and press Return/Enter

16. Click Save


If you want to disable JIT automatically on all WHDLoad installed games (as the default action), then add the same two lines to whdload.prefs - see below.

a. Double click System, double click the next System drawer in the window that opened, and then double click the Shell program to open Amiga DOS. (If you have not done so already, remember to copy uae-configuration to C: by following steps 1, 2, 3 and 4 above)

b. Type: ed S:whdload.prefs and press Return/Enter

c. When below screen opens, add the following to lines to the bottom:

ExecuteStartup=uae-configuration cpu_speed real cachesize 0
ExecuteCleanup=uae-configuration cpu_speed max cachesize 8192

d. Now Save the file. Click the top left square and when you see "File has been changed - type Y to save and exit:" Type: Y and press Return/Enter

e. Then, close the shell window by typing in endcli and press Return/Enter

For more information about WHDLOAD please see Cody's WHDLoad FAQ

Back

Back to Home | Workbench 3.1 Guide Contents | Site Map

Next

Copyright (c) Paul, The Green Amiga Alien. 

Last Updated: August 2004