08 March 2008, 23:27 | #1 |
Registered User
|
Changing WinUAE Setting from whithin the emulated enviroment?
Is it possible to change ceartain settings from inside the emulation and have them take effect immediatly?
The reason i'm asking is i want to change sound settings (emulated vs 100% compatible) and the frameskip as my 666mhz amd laptop stutters horribly when trying to use octamed soundstudio. Also why is frameskip 10 the highest you can go? Is implementing an autoframeskip function to have better sound a bad or next to impossible idea? Last edited by smoorke; 12 March 2008 at 11:02. |
11 March 2008, 14:25 | #2 | |||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,595
|
Quote:
Quote:
(btw, you do know RTG modes never frameskip) Quote:
Buy a new PC! |
|||
11 March 2008, 22:23 | #3 |
Registered User
|
I'm not sure how uae-configuration is suppossed to work. All i can make it do is output a list of the current configuration. Any options (eg. uae-control ?) i try result in a warn (rc=5)
edit: looking at the source tells me uae-configuration isn't even handling any arguments (if my understanding of c code isn't leading me astray). So how am i supposed to change the WinUAE config with uae-configuration? Perhaps you are using a diffrent version than what i have? The source is dated 2004 Last edited by smoorke; 11 March 2008 at 22:34. |
12 March 2008, 08:06 | #4 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,595
|
Quote:
uae-configuration <config entry name> = output value of <config entry name> uae-configuration <config entry name> <value> [<another config entry> <another value>] = change config entry/entries. |
|
12 March 2008, 08:44 | #5 |
Registered User
|
Geez i feel stupid. When i tried changing the option i used an equal sign.
Anyways thanks toni and if i do more dumb things i'll keep you posted. |
24 June 2008, 15:30 | #6 | |
Banned
|
Quote:
However, I think a few "external" shortcuts (activated by pressing a key -say, a F key) like - switching to normal speed & - disabling JIT would be especially useful for capturing videos without having to display the options screens of WinUAE. Here is the rationale : I usually boot with JIT on, and turn it off afterwards. Switching to normal emulation speed on the fly allows some games not to go berserk, since not all of them can be run at full speed. |
|
24 June 2008, 16:30 | #7 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,595
|
Quote:
Input-panel, select event you want to map to some custom event, select "custom event" from event list. Format is "<config file entry>=<value>" "<second config file entry>=<value>" ("infinite" amount of entries accepted) '"' is required. for example: in slot 1: "cachesize=0" (turn JIT off) This is "press" event. in slot 2: empty This is "release" event in slot 3: "cachesize=8192" (turn JIT on) This is "secondary press" event in slot 4: empty This is "secondary release" event First press = slot 1 is executed First release = slot 2 is executed Second press = slot 3 is executed (or slot 1 if both 3 and 4 are empty) Second release = slot 4 is executed (or slot 2 if both 3 and 4 were empty) Third = slot 1 and so on.. |
|
27 June 2008, 13:19 | #8 |
Banned
|
Thanks. Well... I would need to setup WinUAE to work with the UAE-Configuration tool first, obviously.
For those interested in disabling JIT or switching to normal speed from the workbench, it seems the Green Alien Guide, wb 3.1, has some insights about it : http://guide.abime.net/home3.htm I wasn't aware of such a deep and complete guide on how to use WinUAE to WHDload via AmigaOS. 'tis really an Amiga emulator fan dream come true ! I will surely report if I manage to make my way out among all that stuff. This said, I wouldn't mind if you clarified things a little. Does the above explanation somehow supersedes whdload tooltype tweaking ? |
28 June 2008, 20:44 | #9 |
Banned
|
After some intense thinking, I am getting somewhere.
The following is for the dumb to average WinUAE user : I am used to programs with an icon, so I had to figure out the tiny uae-configuration file was indeed the program. For some reason the source code was in the same folder, only adding to the confusion. - Copied it to C: - Edited the whdload prefs with those two lines : ExecuteStartup=uae-configuration cpu_speed real cachesize 0 ExecuteCleanup=uae-configuration cpu_speed max cachesize 8192 Added to the end of the file. - Like my friend smoorke, typed uae-configuration in a shell, and got the whoopy config list. - Then... Will try to apply Toni's instructions and check if my WHDload games load without JIT some other day. I am sure this tool could benefit from having a basic GUI (and... an icon ? Oh no, please don't throw stones at me !) I know you have reasons to be fed up with WinUAE user's whining for more features and usability, still, I am asking for a good Samaritan to code a very basic GUI for uae-configuration, if that's feasible. (at first, I thought this was integrated in WinUAE, so I was kinda hoping for an input-panel tab to pop-up !) |
29 June 2008, 04:29 | #10 |
Banned
|
Since I can't seem to find a readme for the uae-configuration tool, here is the best definition I might think of (written by Toni, slightly edited by me) :
What is "uae-configuration" ? uae-configuration is an AmigaOS shell command program which allows UAE settings to be queried and modified from within the emulation environment. It can - List current configuration (easily) - Send any input event on the fly (using the input tab) - Change some configuration parameters (Good luck !) The "input-panel" evoked by Toni is indeed the input tab from WinUAE. It is used to setup the <value> which should be assigned to a key. That's the feature I am going to focus on, since I don't really get what to do from command line in order to change some settings. Choose configuration #1 and keyboard Start editing the custom event as explained above : Choose a key (I choose F10) In slot 1, choose an Event (custom event if you need to enter a value) enter "cpu_speed=real" and in slot 3 enter "cpu_speed=max" These are simply taken from my config So pressing F10 sets normal speed, and pressing that key again sets full speed. You can see it works by pressing F12, the corresponding param is ticked. Press the button gently, it's not a toy ! As a general rule, we might say that using the whole 8MB of JIT - Boosts the boot process tremendously (safe) - Boosts the workbench processes (not so safe) - Boosts some AGA games (see for yourself) here are a few games that only work properly in normal A500 speed (there are many) : - Ballistix - Carrier Command - Conqueror - Slam Tilt (even though it's AGA) - Defender of the Crown - Stunt Car Racer ... I can list some more games, if you really insist ! Just to let you know, I am planning to write some kind of appendix to the existing WinUAE/AmogaOS guides, if that's OK with the Team. (and may be later establish a french translation) |
29 June 2008, 16:47 | #11 |
The 1 who ribbits
|
ya more documentation for winuae
|
29 June 2008, 20:37 | #12 |
Banned
|
It's me again .
F10 is sometimes used for quitting whdload games and the first F keys are used in many games. So here is how I assigned keys : - F9 for disabling JIT - F8 for normal speed - F6 for setting up JIT again - F7 for max speed By the way, if you want to assign the same key to multiple event, be sure to use conf#2 for slot 2, conf#3 for slot 3 and conf#4 for slot 4, in the drop-down list. This said, you can setup all custom events in conf#1, like I did, except if you're really short on hot keys. Toni, feel free to add my explanations in the uae proggies readme for next release, if they're worth something. |
30 June 2008, 15:28 | #13 |
Banned
|
Personally, I put the games that require normal speed in a separate folder.
I like to have two virtual Amiga machines, one top-notch -Shell enhanced, 32-bit graphics (typically, to load AGA games) and one with more conservative settings (for the bunch of ECS games). @Toni : What if the drop-down lists from the input tab would change in a synchronous manner : For example, when changing to config#2, slot 2 would be displayed ? I think the fact that the slot drop-down list is independent from the config one could lead to errors. Last edited by NewDeli; 30 June 2008 at 17:07. |
30 June 2008, 17:25 | #14 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,595
|
Quote:
Last edited by Toni Wilen; 30 June 2008 at 17:43. |
|
30 June 2008, 17:53 | #15 |
Banned
|
When in conf#1 & keyboard for example, all slot 2,3 and 4 Input targets are empty, whereas all keys from slot 1 are mapped.
Could you please explain this to me ? |
30 June 2008, 18:05 | #16 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,595
|
Quote:
Note that "custom event" is a very special case. |
|
30 June 2008, 18:21 | #17 |
Banned
|
By special, you mean it's a "misc" feature, something not widely used ?
I managed to map 4 custom events to F keys within the config#1, as mentioned above, so I am glad it exists ! Just repeating myself from the bug report thread, sorry, but it seems that the mapping of other slots are not saved when saving the config. Last edited by NewDeli; 30 June 2008 at 18:30. |
30 June 2008, 20:50 | #18 |
Registered User
|
If i'm not mistaken the special case Toni is reffering to is that the 'custom event' slots can be set up to make them function as toggle switches.
While for other events the slots are all executed at the same time. |
24 January 2009, 14:25 | #19 |
Moon 1969 = amiga 1985
Join Date: Apr 2007
Location: belgium
Age: 48
Posts: 3,914
|
Can we set cycle-exact or match a500 speed with uae-control ?
is there a list of command for uae-configuration ? edited : i suppose i can use all command like in a cong file ? Last edited by turrican3; 24 January 2009 at 14:48. |
24 January 2009, 15:22 | #20 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,875
|
This is a nice little tool I never knew about just tryed typing the following in shell
uae-configuration cachesize 0 uae-configuration cachesize 8192 and Jit turned off and on The Green Alien Guide got a good guide for setting up WHDload to turn off Jit |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What Enviroment is installed here? | W4r3DeV1L | support.Apps | 7 | 03 November 2008 19:38 |
Changing WinUAE Keys | Basquemactee1 | support.WinUAE | 2 | 04 July 2007 06:16 |
Is winuae able to detect emulated (Amiga) output resolution? | ceztko | support.WinUAE | 5 | 11 March 2007 23:36 |
Changing in game keys with Winuae help | constantconfusi | support.WinUAE | 2 | 21 March 2006 15:12 |
Winuae and Catweasel in emulated HDD | stainy | support.WinUAE | 0 | 09 November 2005 14:04 |
|
|