From: Alberto G. <be...@ig...> - 2021-10-29 12:14:42
|
Snapshots don't store information about those options. You could store them permanently using Options -> Save from the menu, but if you do that you should also disable joystick emulation in Options -> Josticks -> Keyboard when you are not playing a game. About the extensions, use .szx. Berto On Tue, Oct 26, 2021 at 08:28:46PM +0200, Adam Sulmicki wrote: > Hello Alberto. > > Thank you very much for your help. > > I followed your directions and it did help me. > > However it seems that the command line options are not preserved when > saving and then restoring snapshot. After the restore the keys does > not work anymore. > > PS: What extension should have the snapshot files ? > > Sincerely, > Adam Sulmicki > > On 10/26/21, Alberto Garcia <be...@ig...> wrote: > > On Tue, Oct 26, 2021 at 05:50:21AM +0200, Adam Sulmicki wrote: > >> I am trying to play : Three Weeks in Paradise > >> > >> https://www.worldofspectrum.org//pub/sinclair/games/t/ThreeWeeksInParadise128(different).tzx.zip > >> > >> I can't seem to get arrow keys working in the game. Any help? > > > > Hi! > > > > This list is for discussions about the development of the emulator, > > not about general usage. You can use the Help forums for that: > > https://sourceforge.net/p/fuse-emulator/discussion/ > > > > But I think we actually have a bug, so I'll take the opportunity to > > share the details :-) > > > > First, the answer for your question: > > > > Three Weeks in Paradise does not support the cursor keys or cursor > > joystick, but you can emulate a joystick using your computer's arrow > > keys: > > > > $ fuse --kempston --joystick-keyboard-output 2 --joystick-keyboard-up 256 > > --joystick-keyboard-down 257 --joystick-keyboard-left 258 > > --joystick-keyboard-right 259 --joystick-keyboard-fire 32 -m 128 > > ThreeWeeksInParadise.tzx > > > > Once the game is loaded, select "2. KEMPSTON" from the game menu. The > > controls are the arrow keys and space to jump. > > > > Now, for the rest of the team: > > > > The "Configure joystick" dialog allows mapping Spectrum keys (enum > > keyboard_key_name) to the joystick controls but then the native keys > > (enum input_key) are the ones actually used. > > > > Two ways to see that: > > > > 1) Emulate a cursor joystick and use code 274 (INPUT_KEY_F8) for the > > fire button: > > > > $ fuse --joystick-keyboard-output 1 --joystick-keyboard-fire 274 > > > > Press F8 and you'll see joystick fire ("0") on the screen, although > > F8 is not a Spectrum key. > > > > 2) Open Options -> Joysticks -> Keyboard, select "Cursor" type and > > Button for FIRE -> Enter. > > > > Now if you press ENTER you should see joystick fire ("0"). Instead > > you'll only see that if you press Arrow Up. > > > > And this is because INPUT_KEY_Up == KEYBOARD_Enter == 0x100 > > > > Ideally for joystick emulation it would be more natural for the user > > to choose native keys but that's not what the dialog shows. > > > > Berto |