Thread Like Summary
MrBogi, R. Belmont
Total Likes: 3
Original Post (Thread Starter)
by Golden Child
Golden Child
Hi all,

I was trying to override the artwork so I didn't have to compile every time I made a change, but -override_artwork didn't seem to be working.

So I analyzed the code and what it's looking for is:


So for example:

-override_artwork lchicken

will look in artwork/lchicken/lchicken.lay

(or even a zipfile at artwork/ with lchicken.lay inside.)

The command line options page doesn't give much info on the subject.


Specifies override artwork for external artwork and internal driver layout.


mame galaga -override_artwork puckman

Now I can make changes and see them immediately on launching mame. Much faster than compiling.
Liked Replies
by Golden Child
Golden Child
And adding a spring effect with f = -kx for a little bounce. If you change the constants the bouncing can get really wild.

leaderx = scale(depthtable[(machine.output:get_value("motor_pos")+radiustableoffset)%100+1],0,300,0,.05)

followerx = followerx or 0
velocity = velocity or 0
mass = 2.6 
k = .25  
force = -k*(followerx-leaderx)
accel = force / mass

velocity = velocity + accel
followerx = followerx + velocity

damping = .05

followerx = followerx * (1-damping)

if followerx < -1.0 then followerx = -1.0 end
if followerx > 1.0 then followerx = 1.0 end

			return b

1 member likes this
by Golden Child
Golden Child

Yes, I was planning on removing the square, possibly just making it invisible. It seems that svgs "auto-size" themselves to the bounding box so I need a box around it, but it shouldn't be hard to set the alpha to zero. Once I do that, you should just see the chicken. The other strategy would be to put a same color box underneath so you wouldn't see the bottom edge moving.

I also added a rotational spring so that it wiggles a bit rotationally.
1 member likes this
by Golden Child
Golden Child
Playing around with inkscape

[Linked Image from]
1 member likes this
Who's Online Now
2 members (Pernod, 1 invisible), 21 guests, and 2 robots.
Key: Admin, Global Mod, Mod
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by