The legend of ZAKU 0079 Trick Member
Joined: 01 Jul 2003 Location: somewhere in New York City bringing glory to Zeon |
0. Posted: Tue Jan 30, 2007 10:01 pm Post subject: SM and DWI parsing in Java |
|
|
Basically, since I'm trying to write a test app that will gather specific data about particular notes for a project that will aid in the excelling of the dancing game genre, I need to be able to first and foremost, parse SM and/or DWI simfiles. I already looked at the StepMania NotesLoader classes and the source for Stependous, another DWI editor, and I'm not really sure how to effectively translate or replicate that C++ code into Java, the language that I'm most fluent in. In other words, is it best to use StringTokenizer to delimit the semicolons to get at every line and to also delimit commas within the notes tag, is there another way to do it by just using indexOf on the data, or reading it in as a char array? Does anyone happen to know what is the basic way of approaching this problem? _________________
|
|