![]() |
#1 |
Banned
![]() ![]() ![]() |
![]() 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.. |
![]() |
![]() |
![]() |
#2 |
ᅠ
![]() ![]() ![]() Join Date: Aug 2008
Posts: 3,585
|
![]() w0.. g00d luke sir
__________________
![]() |
![]() |
![]() |
![]() |
#3 |
Banned
![]() ![]() ![]() |
![]() 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.
|
![]() |
![]() |
![]() |
#4 |
Banned
![]() ![]() ![]() |
![]() 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.
|
![]() |
![]() |
![]() |
#5 |
FFR Player
Join Date: Dec 2008
Age: 30
Posts: 6,205
|
![]() take sm
use blank mp3 put in stepmania save once wala u haff dwi (and sm !!)
__________________
![]() |
![]() |
![]() |
![]() |
#6 |
Banned
![]() ![]() ![]() |
![]() i'm trying to eliminate using stepmania altogether for conversions
|
![]() |
![]() |
![]() |
#7 |
Banned
![]() ![]() ![]() |
![]() 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 |
![]() |
![]() |
![]() |
#8 |
ᅠ
![]() ![]() ![]() Join Date: Aug 2008
Posts: 3,585
|
![]() yeah i hate turning on sm 3.9 for dwi
__________________
![]() |
![]() |
![]() |
![]() |
#9 |
Expect delays.
![]() ![]() ![]() Join Date: Mar 2008
Location: Montreal, QC
Age: 28
Posts: 3,884
|
![]() Cooooooool!!
|
![]() |
![]() |
![]() |
#10 |
Forum User
Join Date: Jul 2007
Age: 26
Posts: 1,396
|
![]() yea this is legit
|
![]() |
![]() |
![]() |
#11 |
new hand moves = dab
![]() ![]() Join Date: Dec 2002
Location: he/him
Age: 30
Posts: 10,104
|
![]() that's a neat project, haha. sounds like you're making quick progress!
|
![]() |
![]() |
![]() |
#12 |
lol happy
![]() ![]() Join Date: Oct 2005
Location: DESTINY
Age: 30
Posts: 12,054
|
![]() Good.
Glad to see you're making progress, thanks for doin' this :)
__________________
![]() ![]() |
![]() |
![]() |
![]() |
#13 |
Confirmed Heartbreaker
![]() ![]() Join Date: Jul 2012
Age: 32
Posts: 5,719
|
![]() this is sick and is made iller by the fact that you're using a file of mine as a reference
__________________
![]() ![]() ![]() |
![]() |
![]() |
![]() |
#14 |
Banned
![]() ![]() ![]() |
![]() 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. |
![]() |
![]() |
![]() |
#15 |
Banned
![]() ![]() ![]() |
![]() 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. |
![]() |
![]() |
![]() |
#16 |
quit
![]() ![]() ![]() ![]() Join Date: Apr 2005
Location: anywhere but here
Posts: 938
|
![]() 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.. |
![]() |
![]() |
![]() |
#17 |
TWG Chaos
![]() ![]() |
![]() Not sure how I can help, but if you do need any let me know.
You are a champ for taking this on. |
![]() |
![]() |
![]() |
#18 |
Snivy! Dohoho!
![]() ![]() Join Date: Mar 2006
Age: 30
Posts: 7,082
|
![]() Hey, thanks to the both of ya. I can see how this could help for steppers who don't use 3.9.
|
![]() |
![]() |
![]() |
#19 |
Banned
![]() ![]() ![]() |
![]() 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.. |
![]() |
![]() |
![]() |
#20 |
TWG Chaos
![]() ![]() |
![]() Requesting sticky
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|