Otaku's Dream Forums

Otaku's Dream => StepMania Discussion => Topic started by: Sargon on October 31, 2011, 10:06:36 AM

Title: Stepmania Songlist Generator
Post by: Sargon on October 31, 2011, 10:06:36 AM
(http://i47.photobucket.com/albums/f173/tunsz555/smgen2.png)

Download (New version) here -> http://www.mediafire.com/?uynxvz02zt71oy2 (http://www.mediafire.com/?uynxvz02zt71oy2)

A personal project programmed for my solo pack but might be some use to others so I decided to share :P

This program will automatically scan your pack folder and generate a songlist image from it. Should improve the stepmania appetite when saw. :) And you can see overview of charts available in the pack too.

You can also create text version like this :
1. (Gundam-Dude) Astrosexy / m-flo
2. (leonid) Back Alley Spiders / MintJam
3. (Yume) Bamhanului Fantasy / zest_rave
4. (Yume) Beat U Down / Makou
5. (Sensationer) Best friends / Kurosaki Maon

Or a template for reviewing like this :
(Gundam-Dude) Astrosexy -
(leonid) Back Alley Spiders -
(Yume) Bamhanului Fantasy -
(Yume) Beat U Down -
(Sensationer) Best friends -

Great when you want to list a song and lazy to type out :D

- And this program can't destroy your song packs because it only reads, not write. Play with other features yourself.
- When using you should follow from 1 2 3 and up to down otherwise the program will crash and burn lol.
- If banner isn't appearing you should check if the text in .sm match the file.
- And there is a sorting bug when having non-english title but can be remedy by choose to use translited title first. Another bug is complex folder name like stacked parenthesis or brackets which the program WILL fail to retrieve step charter name.

Updated
- For this new version it has support for folder which have only .dwi file as well.
- And now you can arrange the text version format to your liking. Separate words with vertical bar character  |   and special commands available is #no #charter #songname and #artist Just look at the default example and you'll get it :)
- If there is an .avi banner provided in .sm file or there is no banner file matching the ones provided in .sm file the program will try it's best to find any rectangular shaped image file instead of crashing.
(Update!) Now support /: and /; in Stepmania 5 which will be converted to : and ; on the image.

Enjoy :)
Title: Re: Stepmania Songlist Generator
Post by: MAHOU★SHOUJO MADOKA CHUU on October 31, 2011, 11:05:19 AM
amzin
Title: Re: Stepmania Songlist Generator
Post by: Ciunek on October 31, 2011, 11:05:30 AM
I just tried it with ODMix, got the out of memory error

error
[close]

Worked fine for smaller pack like Nick's Mix though
Click to Reveal
[close]
Text + template generator works fine in everything though and that's what I'd use mostly if I was still to judge anything so it's pretty awesome :)

ps I went from 1 to 3 for generating templates/text only, nothing burned ;)
Title: Re: Stepmania Songlist Generator
Post by: Gundam-Duder on October 31, 2011, 01:53:04 PM
you're a champion
Title: Re: Stepmania Songlist Generator
Post by: Sargon on October 31, 2011, 02:27:15 PM
Thanks for testing :) But I can do ODMIX though...

Click to Reveal
[close]

Out of memory happen to me too if I run the program when my computer is laggy :P
Title: Re: Stepmania Songlist Generator
Post by: Itsugo on November 01, 2011, 12:04:54 AM
I´ve tried a lot of times but nothing...... it´s says error file it can´t read  :mad:

BTW your program is awesome :D
 
I really want it for my Pack please help!!!
Title: Re: Stepmania Songlist Generator
Post by: Sargon on November 01, 2011, 05:19:55 AM
Thanks for bug report I've uploaded a new version. Your pack has video banner hence it's try to load that into memory and crash XD
(And you should use [] for the charter wrapper and search from the front if you're generating your pack.)

Change log :
Click to Reveal
[close]
Title: Re: Stepmania Songlist Generator
Post by: 7121DSP on November 01, 2011, 08:16:35 AM
can anyone re-upload to another host like megaupload or any
cause i cannot open Mediafire at moment

edit: now i downloading

also, is any installation or file needed like runtime because i tried and cannot open the program?
Title: Re: Stepmania Songlist Generator
Post by: Sargon on November 01, 2011, 09:08:18 AM
This is written on C# so you need .NET Framework 2.0 installed which most computer came with. On rare case that you didn't have this you can get it here..
http://www.microsoft.com/download/en/details.aspx?id=19 (http://www.microsoft.com/download/en/details.aspx?id=19)
Title: Re: Stepmania Songlist Generator
Post by: 7121DSP on November 01, 2011, 08:36:02 PM
This is written on C# so you need .NET Framework 2.0 installed which most computer came with. On rare case that you didn't have this you can get it here..
http://www.microsoft.com/download/en/details.aspx?id=19 (http://www.microsoft.com/download/en/details.aspx?id=19)
don't forget to install 3.5 too
www.microsoft.com/download/en/details.aspx?id=25150 (http://www.microsoft.com/download/en/details.aspx?id=25150)
Title: Re: Stepmania Songlist Generator
Post by: Jubo on November 09, 2011, 02:21:06 AM
mmm kool... Is there a way to read .zip/.smzip packs?
Title: Re: Stepmania Songlist Generator
Post by: aloola on March 13, 2012, 11:38:10 PM
 See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: IComparer (or the IComparable methods it relies upon) did not return zero when Array.Sort called x. CompareTo(x). x: 'Orange'  x's type: 'String' The IComparer: 'SMSongListGenerator.Form1+CustCompare'.
   at System.Array.SorterObjectArray.QuickSort(Int32 left, Int32 right)
   at System.Array.Sort(Array keys, Array items, Int32 index, Int32 length, IComparer comparer)
   at System.Array.Sort(Array keys, Array items, IComparer comparer)
   at SMSongListGenerator.Form1.ScanPack(String path)
   at SMSongListGenerator.Form1.button2_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
SMSongListGenerator
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Users/Rokugen%20Alice/Downloads/Programs/SMSonglistGenerator.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5453 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5420 built by: Win7SP1
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Title: Re: Stepmania Songlist Generator
Post by: Sargon on March 14, 2012, 12:15:18 AM
Quote
************** Exception Text **************
System.ArgumentException: IComparer (or the IComparable methods it relies upon) did not return zero when Array.Sort called x. CompareTo(x). x: 'Orange'  x's type: 'String' The IComparer: 'SMSongListGenerator.Form1+CustCompare'.

Hmm.. never encounter this before. Can you send me the files required to reproduce this error so I can fix it? (I think it's associate with some file with the name 'Orange' I might left some hole in the sorting algorithm.)

Before that please try this update : http://www.mediafire.com/?fbacvl1zi23mksr (http://www.mediafire.com/?fbacvl1zi23mksr)
Title: Re: Stepmania Songlist Generator
Post by: aloola on March 14, 2012, 12:46:49 AM
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: IComparer (or the IComparable methods it relies upon) did not return zero when Array.Sort called x. CompareTo(x). x: 'Scarlet Bomb!'  x's type: 'String' The IComparer: 'SMSongListGenerator.Form1+CustCompare'.
   at System.Array.SorterObjectArray.QuickSort(Int32 left, Int32 right)
   at System.Array.Sort(Array keys, Array items, Int32 index, Int32 length, IComparer comparer)
   at System.Array.Sort(Array keys, Array items, IComparer comparer)
   at SMSongListGenerator.Form1.ScanPack(String path)
   at SMSongListGenerator.Form1.button2_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
SMSongListGenerator
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///G:/Dropbox/Stepmania/Program/SMSonglistGenerator.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5453 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5420 built by: Win7SP1
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.




I moved those 2 to diffirent folder and it worked






okay I found it, one simfile without title, artist, sub  and one or more simfiles has all in same group cause that crash
Title: Re: Stepmania Songlist Generator
Post by: aloola on March 31, 2012, 12:23:48 PM
can you fix this sagon ?

(http://dl.dropbox.com/u/27136238/Photo/Untitled.jpg)
(http://dl.dropbox.com/u/27136238/Photo/123.png)

in stepmania, \; => ;, \: -> :

Title: Re: Stepmania Songlist Generator
Post by: Sargon on March 31, 2012, 02:00:51 PM
I've fixed this bug but I'm not sure this will create another bug or not lol. All \: and \; will be replaced with : and ; respectively.
http://www.mediafire.com/?uynxvz02zt71oy2 (http://www.mediafire.com/?uynxvz02zt71oy2)
Title: Re: Stepmania Songlist Generator
Post by: aloola on March 31, 2012, 02:08:00 PM
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.IOException: The filename, directory name, or volume label syntax is incorrect.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   at SMSongListGenerator.Form1.ScanPack(String path)
   at SMSongListGenerator.Form1.button1_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
SMSongListGenerator
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///E:/Games/Stepmania%205/Program/SMSonglistGenerator.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5453 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5420 built by: Win7SP1
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

lol  :rolleyes:


it worked with another folder w/o \; \:
Title: Re: Stepmania Songlist Generator
Post by: Sargon on March 31, 2012, 02:45:56 PM
In this new version you can have only one : in any fields so #BANNER:amuletbn.png:; will not work  :cool:
The program will get amuletbn.png: as a file name then crash and burn because it can't find any.
Title: Re: Stepmania Songlist Generator
Post by: aloola on April 02, 2012, 08:37:46 AM
I want to request new feature sargon

subtitle in picture and an |#subtitle| would be nice