DC-SWAT Forum

Полная версия: can neo4all standalone config.cfg add editing controls?
Вы просматриваете yпpощеннyю веpсию форума. Пеpейти к полной веpсии.
[Изображение: kUbnuYh.png]
[Изображение: DUyaFiB.jpg]
use normal text editor
geany, akelpad, etc
(01.08.2019 17:17)megavolt85 писал(а): [ -> ]use normal text editor
geany, akelpad, etc
Now how do I make the controls commands using text in config.cfg?
# Sound: OFF / ON (default)
sound=on

# Accurate (synchonized CPUs): ON / OFF (default)
accurate=off

# CDDA: OFF / ON (default)
cdda=off

# Frameskip: 0..9 or auto (default)
frameSkip=auto

# M68K CPU clock, default=12000000 (12 MHz).
m68k=12000000

# Z80 CPU clock, default=4000000 (4 MHz).
z80=4000000

(01.08.2019 17:17)megavolt85 писал(а): [ -> ]use normal text editor
config.cfg
# Sound: OFF / ON (default)
sound=on

# Accurate (synchonized CPUs): ON / OFF (default)
accurate=ON

# CDDA: OFF / ON (default)
cdda=ON

# Frameskip: 0..9 or auto (default)
frameSkip=0

# M68K CPU clock, default=12000000 (12 MHz).
m68k=12000000

# Z80 CPU clock, default=4000000 (4 MHz).
z80=4000000
Код:
                if (!strcmp(buf,"FRAMESKIP"))
                {
                    if (val[0]>='0' && val[0]<='9')
                        fs=val[0]-'0';
                }
                else
                if (!strcmp(buf,"M68K"))
                {
                    m68k_spd=(atoi(val))/60;
                }
                else
                if (!strcmp(buf,"Z80"))
                {
                    z80_spd=(atoi(val))/60;
                }
                else
                if (!strcmp(buf,"REGION"))
                {
                    if (!strcmp(val,"JAP"))
                        neogeo_region=REGION_JAPAN;
                    else
                    if (!strcmp(val,"USA"))
                        neogeo_region=REGION_USA;
                    else
                    if (!strcmp(val,"EUR"))
                        neogeo_region=REGION_EUROPE;
                }
                else
                if (!strcmp(buf,"SOUND"))
                {
                    if (!strcmp(val,"OFF"))
                        neogeo_sound_enable=0;
                }
                else
                if (!strcmp(buf,"ACCURATE"))
                {
                    if (!strcmp(val,"ON"))
                        neogeo_accurate=1;
                }
#ifndef AES
                else
                if (!strcmp(buf,"CDDA"))
                {
                    if (!strcmp(val,"OFF"))
                        cdda_disabled=1;
                    else
                        cdda_disabled=0;
                }
#endif

FRAMESKIP
M68K
Z80
REGION
SOUND
ACCURATE
CDDA

it's all what you can change
(01.08.2019 19:52)megavolt85 писал(а): [ -> ]
FRAMESKIP
M68K
Z80
REGION
SOUND
ACCURATE
CDDA

it's all what you can change
But can it be modified in neo4all rc4 source code? Dreamcast joystick is great, I wanted more button options in the emulator!
rc4 source code don't build with new KOS
(02.08.2019 13:35)megavolt85 писал(а): [ -> ]rc4 source code don't build with new KOS
OK! But can you make it 100% compatible with GDemu?
With game loaded it freezes back to the neo4all rc3 and rc4 emulator menu, the others is 100% GDEMU compatible.
it is not interesting to me
(02.08.2019 17:06)megavolt85 писал(а): [ -> ]it is not interesting to me
ok
URL ссылки