דף 1 מתוך 1

סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 6:07 pm
על ידי dj_anubis
אני משתמש בדוסבוקס גרסה 0.65 כדי לשחק בהוגו 1, זה דוסבוקס שיש לי ממזמן ועובד מצוין

בשלב מתחת לפני המים הסאונד במשחק מקוטע, במיוחד מבחינת "המוזיקה" (הקולות של המים והבועות) זה נשמע כאילו הדיסק קופץ

בשלב עם הסקטבורד זה עובד מצוין המוזיקה והסאונד אפקטס עובדים מצוין, בגלל זה אני נוטה לחשוב שהבעיה לא בדוסבוקס... :scratch:

כדי למנוע שאלות מיותרות, אני מצרף פה את הקובץ DOSBOX.CONF,

קוד: בחירת הכל

[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullresolution -- What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
# windowresolution -- Scale the window to this size IF the output device supports hardware scaling.
# output -- What to use for output: surface,overlay,opengl,openglnb,ddraw.
# autolock -- Mouse will automatically lock, if you click on the screen.
# sensitiviy -- Mouse sensitivity.
# waitonerror -- Wait before closing the console if dosbox has an error.
# priority -- Priority levels for dosbox: lowest,lower,normal,higher,highest.
#             Second entry behind the comma is for when dosbox is not focused/minimized.
# mapperfile -- File used to load/save the key/event mappings from.
# usescancodes -- Avoid usage of symkeys, might not work on all operating systems.

fullscreen=true
fulldouble=true
fullresolution=original
windowresolution=original
output=overlay
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
usescancodes=true

[dosbox]
# language -- Select another language file.
# memsize -- Amount of memory dosbox has in megabytes.
# machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
# captures -- Directory where things like wave,midi,screenshot get captured.

language=
machine=vga
captures=capture
memsize=16

[render]
# frameskip -- How many frames dosbox skips before drawing one.
# aspect -- Do aspect correction, if your output method doesn't support scaling this can slow things down!.
# scaler -- Scaler used to enlarge/enhance low resolution modes.
#           Supported are none,normal2x,normal3x,advmame2x,advmame3x,advinterp2x,advinterp3x,tv2x,tv3x,rgb2x,rgb3x,scan2x,scan3x.

frameskip=0
aspect=false
scaler=normal2x

[cpu]
# core -- CPU Core used in emulation: simple,normal,full,dynamic.
# cycles -- Amount of instructions dosbox tries to emulate each millisecond.
#           Setting this higher than your machine can handle is bad!
#           You can also let DOSBox guess the correct value by setting it to auto.
#           Please note that this guessing feature is still experimental.
# cycleup   -- Amount of cycles to increase/decrease with keycombo.
# cycledown    Setting it lower than 100 will be a percentage.

core=normal
cycles=20000
cycleup=500
cycledown=20

[mixer]
# nosound -- Enable silent mode, sound is still emulated though.
# rate -- Mixer sample rate, setting any devices higher than this will
#         probably lower their sound quality.
# blocksize -- Mixer block size, larger blocks might help sound stuttering
#              but sound will also be more lagged.
# prebuffer -- How many milliseconds of data to keep on top of the blocksize.

nosound=false
rate=22050
blocksize=2048
prebuffer=10

[midi]
# mpu401      -- Type of MPU-401 to emulate: none, uart or intelligent.
# device      -- Device that will receive the MIDI data from MPU-401.
#                This can be default,alsa,oss,win32,coreaudio,none.
# config      -- Special configuration options for the device. In Windows put
#                the id of the device you want to use. See README for details.

mpu401=intelligent
device=default
config=

[sblaster]
# sbtype -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# sbbase,irq,dma,hdma -- The IO/IRQ/DMA/High DMA address of the soundblaster.
# mixer -- Allow the soundblaster mixer to modify the dosbox mixer.
# oplmode -- Type of OPL emulation: auto,cms,opl2,dualopl2,opl3.
#            On auto the mode is determined by sblaster type.
#            All OPL modes are 'Adlib', except for CMS.
# oplrate -- Sample rate of OPL music emulation.

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

[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# gusbase,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the 
#            Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# gusrate -- Sample rate of Ultrasound emulation.
# ultradir -- Path to Ultrasound directory.  In this directory
#             there should be a MIDI directory that contains
#             the patch files for GUS playback.  Patch sets used
#             with Timidity should work fine.

gus=true
gusrate=22050
gusbase=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND

[speaker]
# pcspeaker -- Enable PC-Speaker emulation.
# pcrate -- Sample rate of the PC-Speaker sound generation.
# tandy -- Enable Tandy Sound System emulation (off,on,auto).
#          For auto Tandysound emulation is present only if machine is set to tandy.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# disney -- Enable Disney Sound Source emulation.

pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

[bios]
# joysticktype -- Type of joystick to emulate: none, 2axis, 4axis,
#                 fcs (Thrustmaster) ,ch (CH Flightstick).
#                 none disables joystick emulation.
#                 2axis is the default and supports two joysticks.

joysticktype=none

[serial]
# serial1-4 -- set type of device connected to com port.
#              Can be disabled, dummy, modem, directserial.
#              Additional parameters must be in the same line in the form of
#              parameter:value. Parameters for all types are irq, startbps, bytesize,
#              stopbits, parity (all optional).
#              for directserial: realport (required).
#              for modem: listenport (optional).
#              Example: serial1=modem listenport:5000

serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support (false,true,max).

xms=true
ems=true
umb=true

[ipx]
# ipx -- Enable ipx over UDP/IP emulation.

ipx=false

[autoexec]
mount c "D:\Games\Hugo\4hugo"
c:
hugo.exe
exit
בבקשה תגידו לי אם אצלכם זה גם ככה?
האם אתם שמים לב למשהו לא בסדר בהגדרות אצלי שגורם לסאונד הזה?

המון תודה מראש

Re: סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 6:11 pm
על ידי Gordi
סתם שאלה,
ניסית עם גרסה חדשה יותר של דוסבוקס? יש סיבה מיוחדת שאתה נשאר עם הגרסה הישנה?

Re: סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 6:16 pm
על ידי dj_anubis
ניסיתי גם בגרסה 0.74 וגם שם זה ככה...לא ניסיתי במעודכנת יותר

Re: סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 6:17 pm
על ידי Radioactive Grandpa
:?

Re: סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 6:46 pm
על ידי Og
Radioactive Grandpa כתב: :?
:?:

אנוביס: נסה לשים הCYCLES על MAX ואת CORE על DYNAMIC.

Re: סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 6:52 pm
על ידי Radioactive Grandpa
Og כתב:
Radioactive Grandpa כתב: :?
:?:
"נערך ע"י...." (לפני כן היה שם משהו כמו, "לא נסיתי, עצלות")

Re: סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 7:07 pm
על ידי Og
אנוביס: לא יפה.
פעם זה היה לא מקובל כאן, היום, עם שינוי הדביקים והחוקים החדשים, זה פשוט אסור בפירוש. אנא אל תעשה זאת בעתיד.

Re: סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 7:46 pm
על ידי dj_anubis
מה לא לעשות? לא הבנתי? לא הייתי פה הרבה זמן...

Re: סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 7:58 pm
על ידי Og
הנושא הדביק של חוקי הפורום כתב:נא לא לערוך באופן בוטה את ההודעות של עצמכם (כלומר, מעבר לשינוי קל בניסוח או תיקון שגיאות דפוס/כתיב, אלו רצויים). אם יש לכם מידע נוסף שאתם רוצים להוסיף, או שכבר פתרתם את הבעיה שבגינה נכתבה ההודעה - נא לעדכן בנוסף ולא על חשבון מה שנכתב, ולציין שההודעה נערכה.

Re: סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 8:03 pm
על ידי dj_anubis
אני לא רוצה שנסטה מהנושא....
דבר ראשון הבנתי
דבר שני שום דבר לא נעשה בזדון
דבר שלישי בפעם הראשונה באמת התעצלתי ואז בכל זאת ניסיתח וחשבתי שזה מידע חשוב...

לא משנה...יש פתרון? או שזה אצל כולם ככה?

Re: סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 8:10 pm
על ידי Og
דבר ראשון יופי.
דבר שני למי אכפת אם עשית בזדון או לא? התוצאה היא זו שחשובה וכפי שאמרת, זה לא יקרה שוב אז הכל בסדר :)
דבר שלישי כפי שכתוב בציטוט, זה שניסית זה טוב, זה שחשבת שזה חשוב זה טוב, זה שמחקת את מה שהיה כתוב שם לפני כן זה לא טוב.
dj_anubis כתב: לא משנה...יש פתרון? או שזה אצל כולם ככה?
תתיחס למה שרשמתי מעל להודעה של R.G. אולי פיספסת את זה.

Re: סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 9:52 pm
על ידי dj_anubis
כשניסיתי את מה שאמרת אם CORE = DYNAMIC, CYCLES = MAX

זה משום מה בקושי זז, ניסיתי לשחק עם זה קצת אני חושב שDYNAMIC טיפה עזר...CYCLES אני משאיר על 20000

זה עדיין לא מושלם...עוד רעיונות?

Re: סאונד מקוטע בהוגו שאלה

נשלח: ש' אוגוסט 06, 2011 10:43 pm
על ידי Og
תפעיל את המשחק בדוסבוקס 0.74 עם כל ברירות המחדל. רק תוודא שהקול מוגדר נכון (תריץ את SNDSETUP).

Re: סאונד מקוטע בהוגו שאלה

נשלח: א' אוגוסט 07, 2011 12:38 am
על ידי dj_anubis
DOSBOX 0.74 באמת משפר משמעותית :P
אבל
CYCLES = MAX זה מאוד מהיר, כמה CYCLES לעשות שזה יהיה הכי קרוב למקור?

עריכה...

מצאתי את הקישור הזה
http://archive.theguiblog.com/index.php ... =5&id=1186" target="_blank

ושם נאמר:

קוד: בחירת הכל

Ok I made a benchmark app that is quite simple and only tests addition speed. I tested the machines a few a couple times and the results were very similar. Then I tested DOSBox, I tested on a P3 Win98 Laptop and a Athlon 64 X2 Linux machine to ensure accuacy. I am quite suprized. My Pentium 166Mhz is like DOSBox at 78,000 cycles , my Cyrix MediaGXmmx 233Mhz = 85,000 cycles, my AMD 486DX2 = 20,000 cycles and my Celeron 333 gets so many I didn't even try to try it.

LOL, we are developing at 25,000 thats like a 486!! My recommendation is to develop at about 10,000 for uni-tasking and about 50,000 for a scripter.
אז כנראה ש:20000 זאת התשובה...למרות שעדיין שהסאונד עדיין קצת מקוטע :scratch:

עריכה 2:
הבעיה נפתרה :P
CYCLES=30000
עכשיו הסאונד ללא קפיצות