Forums » StepMania Development » Working on a stepmania modification that uses the whole keyboard. Possible?

So, I'm attempting to work on a modification to stepmania that uses the whole keyboard in game instead of the arrow buttons. My question is would this be possible? (Also where does stepmania store the files to do with the gameplay code? Ahla the code that detects when a player has pushed either up, down, left or right and checks if its pressed at the right time? I can't find that code for the life of me!)

Last edited: 27 May 2014 1:16am

Reply
keymaps.ini

I'm not sure why you would want every key being mapped though

Work in Progress
Reply
Well its meant to be a large modification to the stepmania engine that has players "typing" along to the songs (think typing tutor and stepmania rolled together)
Reply
Also I should have added to my earlier edit that I found keybinds.ini and got it set up. I still need to make some major modifications to the stepmania engine to get everything working though.
Reply
Still the game concept would involve hitting the coresponding letter keys on the keyboard in time to the music. Bear in mind you WONT be spelling out useless words in the process
Reply
You've got a mountain of work if you want to add a new game type. I think you'll have to start by extending the GameButton enum in GameInput.h for the number of buttons you need. Then change MAX_NOTE_TRACKS in NoteTypes.h. Then go to GameManager.cpp and define a Style, a list of Styles, your new Game, and add it to the list of all games.
I haven't actually tried any of this to see if it works, and there's probably more to be done, but that's a start.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
Thanks a bunch! That should help me get started!
Edit: Where exacly do I find those files?
Edit2: Never mind. I probably couldn't find the files because my antivirus stopped the extraction of the stepmania data files which causes lots of file to go missing. I fixed it now. (Bloody false positives)

Last edited: 27 May 2014 2:35pm

Reply
Ok, from looking through those files I can see what I need to change and add.
I'll keep you all updated on the progress!
Reply