VOGONS


Sango2 keyboard problem

Topic actions

First post, by i8893021

User metadata
Rank Newbie
Rank
Newbie

Sango2 keyboard problem
hi i am new to here. i am a chinese ,so my english sux,plz forgive me
there's a fighting game dos game called sango2 .
the problem happens while i holding the backward key (either left arrow or right arrow key on keyboard) for a long time (because i keep blocking the com's attack).After holding the backward key for a long time(around 5-8 sec), i release that, it should stop blocking, but the character on screen keep moving back (i.e blocking).i can sense that the computer seems still pressing/holding the backward key down.after a while (1-3 sec ),everything comes fine and back to normal again.
anyone have the same problem in other games?
btw i use dosbox0.72 ver & D.O.G frontend
here's my config file
-------------------------------------------------------------------------
################################################
# DosBox 0.66 Configuration file #
# Generated by ErikGG's D.O.G. DosBox FrontEnd #
################################################

[sdl]
fullscreen=false
fulldouble=false
fullresolution=1024x768
windowresolution=1024x768
output=overlay
autolock=true
sensitivity=100
waitonerror=true
priority=lowest,lowest
mapperfile=
usescancodes=true

[dosbox]
language=
machine=vga
captures=d:\program files\dosgame\games\sango2\capture\
memsize=63

[render]
frameskip=0
aspect=false
scaler=super2xsai

[cpu]
core=full
cycles=max

[mixer]
nosound=false
rate=22050
blocksize=2048
prebuffer=10

[midi]
mpu401=intelligent
device=default
config=

[sblaster]
sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[gus]
gus=true
gusrate=22050
gusbase=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=

[speaker]
pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

[bios]
joysticktype=auto
timed=false
autofire=false
swap34=false
buttonwrap=false

[serial]
serial1=disabled
serial2=disabled
serial3=disabled
serial4=disabled

[dos]
xms=true
ems=true
umb=true
keyboardlayout=none

[ipx]
ipx=false

[autoexec]
mount y "d:\program files\dosgame\games\"
Y:
cd/
cd sango2
CPLAY.EXE
exit

Reply 1 of 6, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Probably a problem with how fast DOSBox can read from the keyboard.

Tried changing usescancodes=true to usescancodes=false ?
Tried changing priority=lowest,lowest to priority=highest,lowest ?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 2 of 6, by doomer

User metadata
Rank Member
Rank
Member

You should try minimax's suggestions, but am afraid some problems will remain as sango fighter 2 indeed contains such issues even on original dos. Among the other keyboard problems that I can list is the inability to perform special magic attacks even when pressing the exact combination. Sometimes the character launches the attack, sometimes they don't. Having playing the game on a real dos and now playing it on dosbox, I think, that those isssues are not related to dosbox. Sango2 just contains such bugs. Nevertheless I look past those issues, and greatly enjoy the game because it is fun.

By the way don't use core=full, use dynamic. And I just tested the game, I can confirm the issue but as I said, I don't think it's a dosbox problem because I remember them occurring on real dos too. Maybe you can try with a joystick.

Reply 3 of 6, by i8893021

User metadata
Rank Newbie
Rank
Newbie

thx for replying my post, u guys are very helpful indeed.

I've tried minimax 's sugesstion. Actually it doesn't help much(even get worse than b4, it makes delay at each time i pressed a button.)
BUT ANYWAY THX TO U

i 've tried using joysticks,IT SOLVE THE ORIGINAL PROBLEM MENTIONED IN 1ST POST,BUT i 've met some problems on it.let me explain it in details.
After using a joystick, sometimes the cursor in main menu seems out of control.(i.e. In the main menu,i pressed left, but the cursor move to left 1 step then right for 2 steps.....BUT it's lucky that in the gameplay, there's no such problem.)

Again i think it's the game's problem,, not dosbox problem 😀
Thx for answering my post again. 😊

Reply 4 of 6, by doomer

User metadata
Rank Member
Rank
Member

I've just tried the game with a joystick as well and I indeed exprerienced the jumpy cursor. It seems, however, that the problem is related to the cycles=max setting. After setting cycles=9000 and core=dynamic the cursor in the main menu is working properly. So you should try setting the cycles to 9000 and core to dynamic, it solved the problem here.

Reply 5 of 6, by i8893021

User metadata
Rank Newbie
Rank
Newbie

i 've changed to my setting to yr suggestion. it fixed it , but i don't know is it really fixed it because the "jumpy" cursor problem seems like a random error, sometimes i restart the dosbox fixed it...ANYWAY THX YR SUGGESTION AGAIN 😁
BTW WHERE R U FROM ? sango 2 is a "3 kingdoms" story based game, i think the players are chinese only.I Guess u are a chinese.. 😅

Reply 6 of 6, by doomer

User metadata
Rank Member
Rank
Member

Hehe 😀 I am not a Chinese. I am from Bulgaria 😀 I know the game is only in Chinese.. but by trial and error I managed to learn what button does what and I've been enjoying the game for a long time 😀 I managed to do all modes, including the conquest campaign without knowing Chinese. And I really like the game, the characters, the music, and the special grab attacks. I think it's a lot of fun 😀

And make sure the cycles settings is saved, because if your restart dosbox and don't change the setting in dosbox.conf it will reset to what's in the config file. So you either change cycles to 9000 every time in dosbox prompt or change that setting in dosbox.conf file. I tried several dosbox restarts, making sure the setting is 9000 and it didn't exhibit that problem any more.