DC-SWAT Forum
can neo4all standalone config.cfg add editing controls? - Версия для печати

+- DC-SWAT Forum (http://www.dc-swat.ru/forum)
+-- Форум: Sega Dreamcast (/forum-2.html)
+--- Форум: English section (/forum-29.html)
+--- Тема: can neo4all standalone config.cfg add editing controls? (/thread-3613.html)



can neo4all standalone config.cfg add editing controls? - aldair - 01.08.2019 15:12

[Изображение: kUbnuYh.png]
[Изображение: DUyaFiB.jpg]


RE: can neo4all standalone config.cfg add editing controls? - megavolt85 - 01.08.2019 17:17

use normal text editor
geany, akelpad, etc


RE: can neo4all standalone config.cfg add editing controls? - aldair - 01.08.2019 19:21

(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


RE: can neo4all standalone config.cfg add editing controls? - megavolt85 - 01.08.2019 19:52

Код:
                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


RE: can neo4all standalone config.cfg add editing controls? - aldair - 02.08.2019 10:57

(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!


RE: can neo4all standalone config.cfg add editing controls? - megavolt85 - 02.08.2019 13:35

rc4 source code don't build with new KOS


RE: can neo4all standalone config.cfg add editing controls? - aldair - 02.08.2019 15:09

(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.


RE: can neo4all standalone config.cfg add editing controls? - megavolt85 - 02.08.2019 17:06

it is not interesting to me


RE: can neo4all standalone config.cfg add editing controls? - aldair - 02.08.2019 20:39

(02.08.2019 17:06)megavolt85 писал(а):  it is not interesting to me
ok