conversion problem

Started by sgn15, February 07, 2011, 10:42:56 AM

Previous topic - Next topic

sgn15

http://elecbyte.com/wiki/index.php/Updating_to_1.0

so i tried converting my winmugen pack to 1.0 (stable, not RC). i followed all instructions for updating motifs but i found the last one hard to understand

QuoteThere are some "D4" (aka hi-res) motifs made for the 2002 version of MUGEN that require the "Doubleres = 4" parameter in mugen.cfg. Since 1.0 deprecated the Doubleres functionality in favor of coordinate spaces, you will need to update these motifs. Mostly, you may notice that the fonts are drawn too large. In fight.def and system.def, edit or add a scale parameter to all elements that are drawn too large. e.g. nothing -> "p1.name.scale = .5, .5" or "p1.name.scale = .5, .5" -> "p1.name.scale = .25, .25"

the error appearing is this
QuoteError message: Can't load video config: [video]
Error reading data/mugen.cfg

i am using mugen ax screenpack by ares ax. help please

sgn15

sorry for double post. no one knows how to fix this?  :(

-True-

is difficult to guess, the error
so we ask that you upload your CFG please.  :)

Como Hacia Hitler Mijo

sgn15

the mugen ax screenpack (that im trying to convert) only consists of the ff files:
Quoteselect.def
system.def
system.sff
system.snd

so im using the default mugen.cfg that comes with the mugen 1.0 stable version

i did the instructions there
Quote* Add the following lines to the [Info] section of system.def.

versiondate = 01,30,2010  ;Version date of motif (MM,DD,YYYY or X.XX) (replace with actual date)
mugenversion = 1.0        ;Version of M.U.G.E.N this motif works on (1.0)
localcoord = 320,240      ;Local coordinate space width and height

    * Add the following section to fight.def, e.g. after the [Files] section.

[FightFx]
scale = 1

but i dont understand this last one
QuoteThere are some "D4" (aka hi-res) motifs made for the 2002 version of MUGEN that require the "Doubleres = 4" parameter in mugen.cfg. Since 1.0 deprecated the Doubleres functionality in favor of coordinate spaces, you will need to update these motifs. Mostly, you may notice that the fonts are drawn too large. In fight.def and system.def, edit or add a scale parameter to all elements that are drawn too large. e.g. nothing -> "p1.name.scale = .5, .5" or "p1.name.scale = .5, .5" -> "p1.name.scale = .25, .25"

anyway, here is the mugen.cfg [video] section contents anyway (default)
Quote;-------------------------------------------------------
[Video]
;The video resolution defaults to the same as the game resolution.
;You can force an alternate resolution by uncommenting the lines
;below.
;Width  = 1280
;Height = 720

;This is the color depth at which to run MUGEN.
;Only 16 is supported at this time.
Depth = 16

;Set to 1 to enable vertical retrace synchronization. Do not enable
;if BlitMode = PageFlip.
;Not supported in 1.0.
VRetrace = 0

;Set to 1 to enable fullscreen mode, 0 for windowed.
FullScreen = 0

;Drawing mode
;Choose from Normal (fast) and PageFlip (less image "tearing")
BlitMode = Normal

;Screen rendering mode.
;System - default SDL rendering mode (e.g. windib in Windows)
;DirectX - DirectX 5 renderer
;OpenGLScreen - hack that allows window resizing but could be slow
RenderMode = System

-True-

no error in the video section, check the
;-------------------------------------------------------
[Config]
;Set the game speed here. The default is 60 frames per second. The
;larger the number, the faster it goes. Don't use a value less than 10.
GameSpeed = 60

;Game native width and height.
;Recommended settings are:
;  640x480   Standard definition 4:3
; 1280x720   High definition 16:9
; 1920x1080  Full HD 16:9
GameWidth  = 640
GameHeight = 480

;Preferred language (ISO 639-1), e.g. en, es, ja, etc.
;See http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
Language = "en"

;Set to 1 to draw shadows (default). Set to 0 if you have a slow
;machine, and want to improve speed by not drawing shadows.
DrawShadows = 1

;Number of simultaneous afterimage effects allowed.
;Set to a lower number to save memory (minimum 1).
AfterImageMax = 16

;Maximum number of layered sprites that can be drawn.
;Set to a lower number to save memory (minimum 32).
LayeredSpriteMax = 256

;Size of sprite decompression buffer in KB. Increasing this number may help
;if you experience slow performance when there are many sprites and/or large
;sprites shown over a short period of time.
;Minimum 256 for acceptable performance.
;If you set this too large you may also experience performance degredation.
SpriteDecompressionBufferSize = 16384

;Maximum number of explods allowed in total. Note that hitsparks
;also count as explods.
;Set to a lower number to save memory (minimum 8).
ExplodMax = 256

;Maximum number of system explods allowed.
;Set to a lower number to save memory (minimum 8).
SysExplodMax = 128

;Maximum number of helpers allowed in total.
;Set to a lower number to save memory (minimum 4, maximum 56).
HelperMax = 56

;Maximum number of projectiles allowed per player.
;Set to a lower number to save memory (minimum 5).
PlayerProjectileMax = 32

;This is 1 the first time you run MUGEN.
FirstRun = 0
1.0 mugen now there is another parameter to change the resolution, you may need to place that, that error does not occur.
if so,it says there an error in the Video, because the parameters (width and height), are being ignored by him ;

Como Hacia Hitler Mijo

sgn15

there is no error with the mugen 1.0 now. it opens but the screenpack is still the same (default mugen 1.0 motif)

just to be sure, i tried overwriting the system (def, snd, and sff) and select.def files of the mugen 1.0 with those of the ax motif and still the same problem

Riptide

Well first did you end up with fonts that are too large. if you did everything but the doubleres thing that is what you should see.
Maybe you made a typo some how.

sgn15

so yeah just in case i did something that i overlooked myself.

from system.def
Quote[Info]
name =Mugen Ax;Name of motif
author =Ares Ax
versiondate = 01,30,2010  ;Version date of motif (MM,DD,YYYY or X.XX) (replace with actual date)
mugenversion = 1.0        ;Version of M.U.G.E.N this motif works on (1.0)
localcoord = 320,240      ;Local coordinate space width and height

from fight.def
Quote[Files]
sff = fight.sff
snd = fight.snd
font1 = jg.fnt
font2 = num1.fnt
font3 = name1.fnt
fightfx.sff = fightfx.sff
fightfx.air = fightfx.air
common.snd = common.snd

;-----------------------------------------------------------
[FightFx]
scale = 1

it still looks like the default motif for 1.0 stable version