You are not logged in.

#1 2006-09-09 17:35:35

Ole Erik
Member
Registered: 2006-08-06
Posts: 85

Stepmania

hello.. It seems like the packages on aur is broken.. Except the stepmania-bin.. When i installed stepmania-bin I cant find how to add songs etc.. And i cant install stepmania-extras.. Maybe because the package is broken?

Anyone?  8)

Offline

#2 2006-09-09 17:45:51

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Stepmania

I forgot about that program...  I have noticed the packages are currently orphaned.  Later tonight, I'll see if I can cobble together working PKGBUILDs for it, and if I can I'll take over as maintainer.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#3 2006-09-09 17:48:17

Ole Erik
Member
Registered: 2006-08-06
Posts: 85

Re: Stepmania

Thank you! I will remember you as a hero if you do that smile

Need good luck? smile

Btw.. Do I have to remove the stepmania-bin? If yes; how?

Offline

#4 2006-09-09 18:04:50

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Stepmania

It looks pretty easy to do, although I'm just gonna do the binary version, I'm too lazy to do the source version.  Get what you pay for wink  I'm also gonna make it so it comes with the four PlagueMix song packs (one, two, three, and antique).

Just to "pacman -Rs stepmania-bin", should be enough.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#5 2006-09-09 18:25:57

Ole Erik
Member
Registered: 2006-08-06
Posts: 85

Re: Stepmania

Thank you smile How do I add songs? tongue

Offline

#6 2006-09-09 18:50:57

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Stepmania

Copy them to the Songs/ dir in the stepmania root.  You have to make a folder for each "series", then a folder for each song, and then put the files for each song in it's folder.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#7 2006-09-09 20:13:33

Ole Erik
Member
Registered: 2006-08-06
Posts: 85

Re: Stepmania

chrismortimore wrote:

Copy them to the Songs/ dir in the stepmania root.  You have to make a folder for each "series", then a folder for each song, and then put the files for each song in it's folder.

Where is the stepmania root? :oops:

Offline

#8 2006-10-11 05:14:19

Ryochan7
Member
From: Peoria, IL
Registered: 2006-01-02
Posts: 45
Website

Re: Stepmania

The StepMania root directory is /opt/stepmania. As for the stepmania-extras package, the only way that package would be broken would be if one of the urls for the content changed so I would assume that is what has happened. It's too bad that nobody has adopted the packages and tried to fix what is broken and what needs to be updated.

I used to be the maintainer of the StepMania packages for Arch. I quit using Arch shortly after the testing move and I couldn't find any solution to the problems that I was having with StepMania when compiled with gcc 4.1. I had spent a lot of time trying to make working PKGBUILDs for stepmania and worrying about maintaining compatibility after the testing move was too much; I had made patches to fix problems with sdl 1.2.10 and lua 5.1 though.

I switched to Suse Linux 10.1 and I had to learn how to make RPMs because there were no Suse packages for StepMania; the only version of StepMania that I make rpms for is StepMania 4.0 CVS. The build instructions in the spec files for the rpms are similar to the old PKGBUILDs but some things are slightly different and I finally got a chance to make a patch that would allow configuration files to be saved to the user's home directory and allow for additional content to be added in a seperate directory from the stepmania root directory. Because Suse 10.1 comes with gcc 4.1, I compile the 10.1-compatible StepMania rpms with a Suse 10.0 setup using y2pmbuild.

If someone would update any stepmania PKGBUILD, I would suggest that someone at least update the stepmania-bin package to version 3.9a. The ffmpeg problem that the old 3.9 binary had has been fixed; the problem only took a recompile to fix.

http://prdownloads.sourceforge.net/step … z?download

Offline

#9 2006-11-10 06:56:22

Ryochan7
Member
From: Peoria, IL
Registered: 2006-01-02
Posts: 45
Website

Re: Stepmania

I am checking out Arch again and I have adopted my old StepMania packages. I will attempt to fix and update the StepMania packages over the next few weeks. There has been a workaround found by the Gentoo community on how to get StepMania to work properly when compiled with gcc 4.1.

http://bugs.gentoo.org/show_bug.cgi?id=148781

The page talks about problems with StepMania 3.9 when compiled with gcc 4.1 but I'm sure the same workaround could work for the couple of problems that occur with 4.0. If I can't get the problems fixed within the next couple of weeks, I will orphan the packages again so that somebody else can try to fix the problem.

Offline

#10 2006-11-11 03:48:43

Ugge
Member
Registered: 2006-11-11
Posts: 9

Re: Stepmania

This game is awesome!

Why are you trying to compile 3.9? Its unmaintained and outdated. (Because its stable?)

Use Stepmaina 4.0 from the CVS instead, i successfully compiled it 5 minutes ago. As you probably know, youll need lua 5.0 though =/, current arch package is 5.1...
There are however a few bugs in CVS 4.0, but those are mostly related to the editor.


On a side note: I'd like to believe im pretty good at this game big_smile
screen00149ob6.th.jpg screen00184mr1.th.jpg

Last edited by Ugge (2007-10-07 18:23:23)

Offline

#11 2006-11-11 05:45:38

Ryochan7
Member
From: Peoria, IL
Registered: 2006-01-02
Posts: 45
Website

Re: Stepmania

Ugge wrote:

This game is awesome!

Why are you trying to compile 3.9? Its unmaintained and outdated. (Because its stable?)

The Gentoo Bugzilla page that I linked to was referring to bugs experienced in StepMania 3.9 when compiled with gcc 4.1. I was only mentioning that StepMania 4.0 CVS has a couple of problems related to being compiled with gcc 4.1 as well so maybe the workaround that was posted for 3.9 might work for StepMania 4.0. The biggest bug with 4.0 when compiled with gcc 4.1 is that hitting the 2nd player start button, no matter what key the button is mapped to, on any of the main menu options will cause StepMania 4.0 to crash; this bug doesn't get noticed by most people because most people play as the 1st player.

Besides, there are some people who would rather use a stable release of StepMania rather than the developmental version; personally, I prefer 4.0 because of StepMania Online support.

Ugge wrote:

Use Stepmaina 4.0 from the CVS instead, i successfully compiled it 5 minutes ago. As you probably know, youll need lua 5.0 though =/, current arch package is 5.1...
There are however a few bugs in CVS 4.0, but those are mostly related to the editor.


On a side note: I'd like to believe im pretty good at this game big_smile

I will be compiling StepMania 4.0 soon and the PKGBUILD for StepMania 4.0 is the first one that I will update on the AUR. It is a shame that nobody had adopted any of the StepMania packages on the AUR and tried to fix them over the months that I was using Suse; in case anyone is curious, I was working on StepMania rpms for Suse during the time I was a Suse user. Anyway, before I quit Arch, I added a patch to the StepMania packages that would allow StepMania to work with lua 5.1 so having lua 5.0 is not necessary.

Offline

#12 2006-11-11 15:35:07

Ugge
Member
Registered: 2006-11-11
Posts: 9

Re: Stepmania

Okay, that clear things up. smile

Offline

#13 2006-11-18 23:35:50

Ryochan7
Member
From: Peoria, IL
Registered: 2006-01-02
Posts: 45
Website

Re: Stepmania

All the stepmania packages have now been fixed and updated. The one major development with the stepmania and stepmania-cvs packages are that they no longer require the use of older ffmpeg libraries in order to compile. They both now work with the ffmpeg package in extra. One other major development with stepmania-cvs is that the games group is no longer used. Save data is stored in "~/.StepMania CVS/" and extra game data can be loaded from "~/StepMania CVS/". Both versions required a lot of patches in order to compile properly.

Offline

#14 2006-11-21 03:58:23

Ugge
Member
Registered: 2006-11-11
Posts: 9

Re: Stepmania

I haven't tried your packages yet, but I did download the source and all the patches and compiled it myself. I found a huge bug though, after I finish a song the song would restart over and over again like it was endless mode (even though its regular event mode). I never got to see the result screen...

Does your package have this bug? If so, i made a patch for it. I haven't tested the patch on -real- endless mode nor course mode yet but ill probably do that tomorrow.

Oh, I almost forgot, im talking about SM 3.9.

Offline

#15 2006-11-21 04:37:57

Ryochan7
Member
From: Peoria, IL
Registered: 2006-01-02
Posts: 45
Website

Re: Stepmania

Ugge wrote:

Does your package have this bug?

Nope. Applying the patches alone will not make that bug go away. The workaround that the Gentoo community found was to compile StepMania 3.9 with an additional flag to CFLAGS and CXXFLAGS. The flag is -fno-strict-aliasing and I use it in the stepmania PKGBUILD. I will continue to use that workaround until the real bug gets fixed; the bug is listed on the StepMania bug tracker so hopefully it will get fixed.

The bug does not occur in StepMania 4.0 though.

Offline

#16 2006-11-23 03:52:09

Ugge
Member
Registered: 2006-11-11
Posts: 9

Re: Stepmania

I fixed the loop-forever-bug, no more -fno-strict-aliasing
https://sourceforge.net/tracker/index.p … tid=421366

I posted some info and the patch in the comments (im zodijakcyl)

Offline

#17 2006-11-26 03:29:20

Ryochan7
Member
From: Peoria, IL
Registered: 2006-01-02
Posts: 45
Website

Re: Stepmania

The patch works great for that bug but after removing the -fno-strict-aliasing flag from the PKGBUILD and recompiling StepMania, I found out that the 2nd player button bug still exists in 3.9. I always play StepMania as the 2nd player because I like having the arrows on the right side of the screen. I will update the stepmania PKGBUILD to use your patch soon but the -fno-strict-aliasing flag will stay in the PKGBUILD. If I knew how to properly debug a program, I would try to find a solution to that problem.

Edit: I should note that the 2nd player button bug only affects selecting a game mode. In other menus and during gameplay modes like versus, playing as the 2nd player works fine.

Offline

#18 2006-11-26 17:22:18

Ugge
Member
Registered: 2006-11-11
Posts: 9

Re: Stepmania

Noted, Ill give that one a shot also.

Thanks for the feedback.

Edit: I fixed that player 2 bug now, and I made a patch. However I found at least 20 more ways for stepmania to crash due to broken strict-aliasing rules.

I'll fix as much as I can and then release a massive patch for all of it.

Offline

#19 2006-11-27 00:22:27

Ugge
Member
Registered: 2006-11-11
Posts: 9

Re: Stepmania

Heres a new patch, it replaces the old one. Those fixes are included in this one also, as well as the 2p bug and a few other minor fixes.

http://web.telia.com/~u51503597/patches … as-1.patch

Offline

#20 2006-11-29 06:47:52

Ryochan7
Member
From: Peoria, IL
Registered: 2006-01-02
Posts: 45
Website

Re: Stepmania

Ugge wrote:

Noted, Ill give that one a shot also.

Thanks for the feedback.

Edit: I fixed that player 2 bug now, and I made a patch. However I found at least 20 more ways for stepmania to crash due to broken strict-aliasing rules.

I'll fix as much as I can and then release a massive patch for all of it.

That sounds like a lot of work. It's too bad that StepMania 4.0 won't be considered stable for a while because it seems like maintaining 3.9 will be a big hassle. Thanks for the effort that you are putting in to helping. I wouldn't be able to find out how to fix the bugs; although, trying to find out about some of the problems has finally made me understand how to use gdb. I probably won't be able to update the stepmania package with your newest patch until Saturday because I will be preoccupied with school during most of the week.

Offline

#21 2012-02-26 12:57:57

mabier
Member
Registered: 2010-07-20
Posts: 14

Re: Stepmania

Ryochan7 wrote:

The StepMania root directory is /opt/stepmania.

Thank you for letting me know the directory for where I can add songs to !! I am using the stepmania version 5 installed via AUR , formerly I have installed lots of new songs into my home desktop Archlinux, but later when I wanted to install these same new songs into my laptop Archlinux, I forgot where I should put new songs into, I went to Stepmania official website for help,but I could not find answer there.
Now with your help, I successfully installed them into the correct directory! Thanks again!

Offline

Board footer

Powered by FluxBB