07-6-2013, 09:51 PM | #1 |
no
Join Date: Jan 2004
Age: 33
Posts: 1,850
|
.sm to .dwi converter
current progress:
http://pastebin.com/yf013znn standalone executable: here this script is now fully functional, but assumes you have only tap steps; no special kinds of taps. make sure you have the executable located in the root directory of the files you want to convert. todo: - erroneous .sm file checking. - command line support for more features. known issues: - certain characters in filenames on non-english locales will cause the converter to crash. - converter must be run in administrator mode or a .dwi will not be generated. Last edited by Fission; 08-19-2013 at 10:26 PM.. |
07-6-2013, 09:52 PM | #2 |
ᅠ
Join Date: Aug 2008
Posts: 3,652
|
Re: .sm to .dwi converter
w0.. g00d luke sir
__________________
|
07-6-2013, 10:00 PM | #3 |
no
Join Date: Jan 2004
Age: 33
Posts: 1,850
|
Re: .sm to .dwi converter
i ended up finding a website with better info to get started than the SM website, guess i don't have any questions for now. will post again if anything pops up though.
|
07-7-2013, 11:00 AM | #4 |
no
Join Date: Jan 2004
Age: 33
Posts: 1,850
|
Re: .sm to .dwi converter
http://pastebin.com/YeAFpYfN making some progress. this isn't nearly as hard as i thought it was going to be. lua's string library makes parsing a breeze.
|
07-7-2013, 11:03 AM | #5 |
FFR Player
Join Date: Dec 2008
Age: 33
Posts: 6,205
|
Re: .sm to .dwi converter
take sm
use blank mp3 put in stepmania save once wala u haff dwi (and sm !!)
__________________
|
07-7-2013, 11:03 AM | #6 |
no
Join Date: Jan 2004
Age: 33
Posts: 1,850
|
Re: .sm to .dwi converter
i'm trying to eliminate using stepmania altogether for conversions
|
07-7-2013, 07:58 PM | #7 |
no
Join Date: Jan 2004
Age: 33
Posts: 1,850
|
Re: .sm to .dwi converter
update on what i've done
correct dwi (using carlos' beat it file as reference): http://pastebin.com/nbHqJVzk incorrect dwi (trying to generate from .sm): http://pastebin.com/aVC8KQfF getting there |
07-7-2013, 07:58 PM | #8 |
ᅠ
Join Date: Aug 2008
Posts: 3,652
|
Re: .sm to .dwi converter
yeah i hate turning on sm 3.9 for dwi
__________________
|
07-7-2013, 11:31 PM | #9 |
Expect delays.
Join Date: Mar 2008
Location: Montreal, QC
Age: 31
Posts: 4,121
|
Re: .sm to .dwi converter
Cooooooool!!
|
07-8-2013, 12:45 AM | #10 |
Forum User
Join Date: Jul 2007
Age: 29
Posts: 1,405
|
Re: .sm to .dwi converter
yea this is legit
|
07-8-2013, 10:53 PM | #11 |
new hand moves = dab
Join Date: Dec 2002
Location: he/they
Age: 33
Posts: 10,094
|
Re: .sm to .dwi converter
that's a neat project, haha. sounds like you're making quick progress!
|
07-8-2013, 10:54 PM | #12 |
lol happy
Join Date: Oct 2005
Location: DESTINY
Age: 33
Posts: 12,193
|
Re: .sm to .dwi converter
Good.
Glad to see you're making progress, thanks for doin' this :)
__________________
|
07-8-2013, 10:55 PM | #13 |
Confirmed Heartbreaker
Join Date: Jul 2012
Age: 35
Posts: 5,858
|
Re: .sm to .dwi converter
this is sick and is made iller by the fact that you're using a file of mine as a reference
__________________
|
07-9-2013, 06:55 PM | #14 |
no
Join Date: Jan 2004
Age: 33
Posts: 1,850
|
Re: .sm to .dwi converter
thanks for the support, guys :)
another update, using a file with all different kinds of notes to make sure i have exhaustive enough testing. sooo close, but can't figure out what is wrong atm. here is the note section for two DWIs: correct - http://pastebin.com/Gb5MiB4E mine - http://pastebin.com/SBeRn7s0 keep in mind, the different symbols between both the "correct" version and my version are equivalent. for example, <81> and <A4> are exactly the same thing. |
07-16-2013, 09:04 PM | #15 |
no
Join Date: Jan 2004
Age: 33
Posts: 1,850
|
Re: .sm to .dwi converter
just posting to say that this is still an active project for me.
with the test file i have been using, i have successfully converted a .sm file to a .dwi file with no errors. i am going to do some more extensive testing tomorrow on multiple files to make sure there is still no conversion errors. there is still some work to be to done to get this ready to be distributed as a user-friendly executable though. i need to figure out some way to package this into a single executable as well as convert any .sm file in the same directory, not just one of a specific name. |
07-17-2013, 09:16 PM | #16 |
quit
Join Date: Apr 2005
Location: anywhere but here
Posts: 938
|
Re: .sm to .dwi converter
So I'd actually be doing something with my time, I started going through some lessons in Ruby a few days ago. The first original script I made was to count left- and right-hand arrows in a simfile to check global bias.
Then I saw your Lua script and found it interesting how nice all the stuff with the tables and fields look. I'm wondering, though, what does the most recent version of your script look like? I'd like to see how you fixed the latest version you've linked to. Arf, but, so I thought I'd try to make one in Ruby ... I've worked a couple days, and here's where I am. It looks really chunky, some of the stuff I did is convoluted, I didn't put comments to say what any of the weird stuff does, (and it certainly doesn't look as nice as yours) ... but it's worked for the .sm, .ds, and .ssc files I've tried ... as long as they have only one difficulty and only tap steps. This will only be used for files for FFR, so I didn't try to do anything more. The code: http://pastebin.com/qdrYyjbg The executable: http://www.mediafire.com/download/ah...zlmha/dwi2.zip Throw dwi.exe into the folder with the file you wish to convert, double-click/run it, and watch a .dwi file magically appear out of nowhere. I'm sooo not like trying to "steal your thunder" or however you say it, so I'm sorry if this irks you like even the slightest bit, me just doing this after you've been working so hard and you know and sorry and uwrawrf EDIT: I realized the script had a mistake in it like three weeks ago (used ' instead of ` for opening 192nds) but didn't bother to fix it for this, because like one person downloaded it when I posted it, and I didn't think anyone else would. But I saw it got a second download, so I just uploaded a fix. The batchdwi executable in my second post has already been fixed. Last edited by Silvuh; 08-18-2013 at 04:34 PM.. |
07-17-2013, 09:17 PM | #17 |
TWG Chaos
|
Re: .sm to .dwi converter
Not sure how I can help, but if you do need any let me know.
You are a champ for taking this on. |
07-17-2013, 09:44 PM | #18 |
Snivy! Dohoho!
Join Date: Mar 2006
Age: 33
Posts: 6,161
|
Re: .sm to .dwi converter
Hey, thanks to the both of ya. I can see how this could help for steppers who don't use 3.9.
|
07-18-2013, 10:29 PM | #19 |
no
Join Date: Jan 2004
Age: 33
Posts: 1,850
|
Re: .sm to .dwi converter
for those who are interested, here is a pastebin of the source:
http://pastebin.com/MHJtWLXA some things might be a little sloppy, and i'll work on improving them later. i just wanted to write something that works for now. this will successfully convert a file named "test.sm" to "test.dwi". this assumes, like silvuh's script, no holds, mines, etc. i have yet to implement directory searching. going to work on that soon. after that, i'm going to add recursive conversion from a root directory to convert a whole bunch of files at once. that way, everybody can send .sm files to batches instead of having to convert to .dwis Last edited by Fission; 07-18-2013 at 10:32 PM.. |
07-18-2013, 10:33 PM | #20 |
TWG Chaos
|
Re: .sm to .dwi converter
Requesting sticky
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|