Forums » General Questions » SM3.9 BGAnimations To Work On SM5

1
First off, I noticed someone had asked something similar, but i didn't want to hijack that thread

Secondly this is my dilemma, and something that I want to know if there's an easy fix for. As you can see, this is a sm file that was made for 3.9



The script for the bganimations in the sm file look like this...

#BGCHANGES:16.000=v2=2.000=1=0=1

,20.000=v2-2=2.000=1=0=1
,24.000=v2=2.000=0=0=1
,28.000=v2-2=2.000=0=0=1
,30.000=v1=2.000=1=0=1
,63.000=val-logo.avi=2.000=0=0=0
,64.000=v3=2.000=0=0=1
,126.000=val-logo.avi=2.000=0=0=1
,128.000=v1=1.000=0=0=1
,160.000=v5=2.000=0=0=1
,176.000=val-logo.avi=2.000=0=0=1
,192.000=valp.avi=1.000=1=0=1
,222.000=val-logo.avi=2.000=0=0=1
,224.000=v3=1.000=1=0=1
;


And inside the V1 through V5-2 folders, theres stuff like this...



As you can see, the file names are the commands that tell SM what action to perform on the images. Normally, it'll work fine on 3.9, but on SM5, some actions work and some actions don't work (or they will only half work). In this case in the image above for SM5, "1 StretchSpin.png" won't animate like it's supposed to, and "2 Add StretchScrollDown.png" will animate (I.E. scroll down like it's supposed to), but not only is that file no longer transparent, but it doesn't stretch to the entire screen. My questions are as follows...

1. What commands no longer work on SM5?
2. For the commands that still work, do I have to add anything to the file name to get them working to perfection?
3. Are these commands obsolete, and SM5 uses entirely different commands for BGAnimations? If so, what are they?

Also sometimes these animations will have .ini files with code like this...

 [Layer1]

File=./1 6x1.png
Type=0
Command=zoomtowidth,640;zoomtoheight,480;

[Layer2]
File=./2 Add StretchScrollDown.png
Type=0
Command=zoomtowidth,640;zoomtoheight,480;blend,add;y,-480;accelerate,0.5;y,960;


I know the .ini files have to be converted to either .lua or .xml and I'm guessing the code would be different as well, so I'd like to know exactly what changes I'd have to make in this instance
Reply
File names are not treated as commands in SM5.
Read Docs/Userdocs/bgchanges_format.txt for some rough info.
The entry in the bgchanges line tells stepmania what file to use from the BackgroundEffects folder.
The files and colors are passed to the background effect file, which loads the files as actors and applies the colors.
Each background effect file does its own thing.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply