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:
The executable:
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.
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:
The executable:
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.








Comment