View Full Version : mame default theme use swf ???
HI
I wonder whether it is possible to use animation. Swf files in the default theme for the artwork 1 2 3 4
This is my basic idea, but lack of animation I would like to add some effects
SophT
05-12-2009, 07:34 AM
you can use swf (actionscript 3.0) on any layer including background. Just remember to set it to 120fps.
that looks like some cool artwork.
hum!!!
I do not understand
here it is the default theme MAME
I tried to use one. swf files in the artwork1 folder, i also the settings in the Default.xml but it does not work.
I am told that my swf file did not qualify to be displayed, so I used this file on a game theme (killer instinct).
that has worked perfectly.
Why it does not work on the default theme mame "?????
May be a configuration parameter is missing?
Sorry for my english
BadBoyBill
05-12-2009, 09:26 AM
Probably the wrong version of flash.
Probably the wrong version of flash.
I do not think so, because my animations work very well on the MAME game theme.
but does not work on the "default MAME theme"
I used the files (swf) of other themes
ex (samsho.swf, marble.swf etc etc......)...... also do not operate on a "default MAME theme"
:stupid: :banghead:
help me
BadBoyBill
05-12-2009, 10:38 AM
is the file named default.swf?
yes!!!
All default.swf file that I use does not work, but if I use this file in mame game theme then it works perfectly.
I think something is wrong in the settings section MAME
My MAME.ini:
[themes]
themes_only = false
animate_out_default = true
[wheel]
alpha=0.4
style = normal
speed = high
vert_wheel_position = center
text_with_images = true
text_width=640
text_font=Style4
small_text_width=240
large_text_width=400
text_stroke_size=7
text_stroke_color=0x0000CC
text_color1=0x00FF00
text_color2=0x00FF00
text_color3=0x009900
color_ratio=44
shadow_distance=5
shadow_angle=45
shadow_color=0x000000
shadow_alpha=0.7
shadow_blur=5
[pointer]
x = 965
y = 384
[video defaults]
path = C:\Hyperspin\Media\MAME\Video\
width = 650
height = 360
x = 345
y = 445
rotation = 0
animation_time = .3
animation_type = fade
animation_start = none
border_color = 0x000000
border_size = 0
border_color2 = 0X000000
border_size2 = 0
border_color3 = 0X000000
border_size3 = 0
forceaspect = horizontal
belowwheel = true
[sounds]
game_sounds = true
wheel_click = true
[navigation]
game_jump = 50
sort_by_name = false
remove_info_wheel = false
remove_info_text = false
use_parent_vids = true
use_parent_themes = false
[artwork1 defaults]
x = 380
y = 120
rotation = 0
animation_time = .5
animation_type = ease
animation_start = top
animation_rest = none
[artwork2 defaults]
x = 200
y = 500
rotation = 0
animation_time = .5
animation_type = ease
animation_start = right
animation_rest = none
[artwork3 defaults]
x = 200
y = 500
rotation = 0
animation_time = .5
animation_type = ease
animation_start = left
animation_rest = none
[artwork4 defaults]
x = 512
y = 500
rotation = 0
animation_time = .5
animation_type = ease
animation_start = none
animation_rest = none
[Special Art A]
default = true
active = true
x = 512
y = 720
in = .4
out = .4
length = 3
delay = .1
type = normal
start = bottom
[Special Art B]
default = true
active = true
x = 512
y = 740
in = .4
out = .4
length = 3
delay = .1
type = fade
start = none
[Game Text]
game_text_active = true
show_year = true
show_manf = true
show_description = true
text_color1 = 0xffffff
text_color2 = 0x0099cc
stroke_color = 0x000000
text_font = Style1
text1_textsize = 26
text1_strokesize = 7
text1_x = 32
text1_y = 610
text2_textsize = 36
text2_strokesize = 8
text2_x = 30
text2_y = 640
[Genre Screen]
allgames_title = All Games
text_color = 0x000000
text_x = 150
text_y = 200
stroke_color = 0xffffff
stroke_size = 7
My default.xml:
<Theme>
<video w="410"
h="305"
x="265"
y="386"
r="0"
below="no"
forceaspect="none"
time="1"
delay="0.5"
bsize="0"
bsize2="0"
bsize3="0"
bcolor="0"
bcolor2="0"
bcolor3="0"
bshape="round"
type="grow bounce"
start="none"/>
<artwork3 x="442" y="478" time="1" delay ="0.5" type="none" start="none" rest="none"/>
<artwork2 x="243" y="48" time="1" delay ="0.5" type="fade" start="none" rest="pulse"/>
<artwork4 x="265" y="385" time="1" delay ="0.5" type="none" start="none" rest="none"/>
</Theme>
My media
artwork 2 use default.png
artwork 3 use default.swf
artwork 4 use default.png
backgrounds use default.png
BadBoyBill
05-12-2009, 11:19 AM
Ok, I bet its because of the location , its probably off the screen, swf's dont always act according to the location because it depends on where the first frame of the animation is, have you tried your theme inside of hypertheme to get the exact x and y coordinates.
have you tried your theme inside of hypertheme to get the exact x and y coordinates.
yes
I think I will install properly Hyperspin and see if this bug persists
neonnets
05-12-2009, 07:23 PM
BBB & Lole,
I ran into the same thing when trying to create multiple .swf with the default MAME theme for my X-Arcade theme. The Background.swf worked fine but could'nt make any other artwork layers .swf's. I just scrapped the idea. :)
Not sure if it was me or a bug.
Bill... I'm pretty sure that this is being caused by a pre-existing bug that hasn't been fixed. I recall this being on my list of features/fixes that I sent you before you started the HyperPin project.
BadBoyBill
05-12-2009, 10:12 PM
Ok, so default swfs dont work for themes, I'll fix it on the next build.
BBB & Lole,
I ran into the same thing when trying to create multiple .swf with the default MAME theme for my X-Arcade theme. The Background.swf worked fine but could'nt make any other artwork layers .swf's. I just scrapped the idea. :)
Not sure if it was me or a bug.
I is exactly the same result
Ok, so default swfs dont work for themes, I'll fix it on the next build.
Is a very good idea......thanks
But be careful, the wheel of MAME is still incomplete, using too much animation to the default theme will seriously slow the flow :turtle:
It will take creative moderate amount of animation :deal:
neonnets
05-14-2009, 06:15 AM
BBB,
I can live with the bug. No worries no troubles.
Its a small price to pay for overall perfection. ;)