-
Notifications
You must be signed in to change notification settings - Fork 49
/
README
115 lines (93 loc) · 2.79 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
Nofrendo 2.0pre1 - May 5, 2001
Nofrendo (c) Matt Conte
Nofrendo SDL release by Neil Stevens
To compile and install, do configure, then make, then make install
as you would any other GNU automake-using source release. You may
want to try passing --enable-optimize to configure.
SDL 1.2 is required because recent SDL releases can speed nofrendo
a lot on X displays with more colors.
The key to an enjoyable Nofrendo experience is $HOME/.nofrendo. In
there are all the saves, snapshots (still PCX, but that'll be fixed),
and the config.
config is auto-generated, so don't edit it while nofrendo is running.
Do feel free to edit it while nofrendo is not running, however. Comments
are not preserved, but the data is preserved. The enum in src/event.h is
of interest to those who want to configure their joysticks and keyboard
input.
Nope, it's not easy to configure yet, but that will come in time. This
release is long overdue, so a nice UI will have to wait for a later
release.
In the meantime, here are the default controls, and some hints for
joystick configuration. Forgive if they are unclear, for this is hastily
done, and will be improved later.
(KP means numeric keypad. non-KP numbers refer to the numbers above the
letters on a standard keyboard)
Esc - quit
F1 - soft reset
F2 - hard reset
F3 - toggle FPS display
F4 - take snapshot
F6 - toggle sprites
F10 - toggle fullscreen
Pause - Pause emulation
Space - toggle GUI
KP+ - toggle speed regulation
0-9 - set save state 0-9
F5 - save state
F7 - load state
Backspace - display information
q - toggle sound channel 0
w - toggle sound channel 1
e - toggle sound channel 2
r - toggle sound channel 3
t - toggle sound channel 4
y - toggle sound channel 5
a - toggle wave display
s - sound filter off
d - sound filter mode 1
f - sound filter mode 2
KP2 - Joypad 1 down
Down - Joypad 1 down
KP4 - Joypad 1 left
Left - Joypad 1 left
KP6 - Joypad 1 right
Right - Joypad 1 right
KP8 - Joypad 1 up
Up - Joypad 1 up
Return - Joypad 1 Start
Tab - Joypad 1 Select
z - Joypad 1 b
x - Joypad 1 a
c - Joypad 1 Select
v - Joypad 1 Start
Ctrl - Joypad 1 b
Alt - Joypad 1 a
Shift - Joypad 1 a
b - Joypad 2 b
n - Joypad 2 a
m - Joypad 2 Select
, - Joypad 2 Start
Here's an excerpt from Neil's config, for use with an SNES pad:
[sdljoystick0]
button0=45
button1=46
button2=0
button3=0
button4=0
button5=0
button6=48
button7=47
negativeaxis0=51
negativeaxis1=49
positiveaxis0=52
positiveaxis1=50
Your joystick probably varies, so here are the numbers to use, if you're not
comfortable with reading the C code to find them out:
45 - Joypad 1 a
46 - Joypad 1 b
47 - Joypad 1 start
48 - Joypad 1 select
49 - Joypad 1 right
50 - Joypad 1 down
51 - Joypad 1 left
52 - Joypad 1 right