//This is a comment, self-explanitory /* This is a multi-line comment, based off of B:Lua */ /* SONG SETUP This format will be heavily inspired by TaikoJiro's .TJA file format. File Conventions will be as follows: A song's folder, named after the song, will contain all the necessary files. 1- The Instrumental WAV/OGG, prefixed with C_, G_, B_, and A_ for their respective variants. 2- A /Vox/ folder, used for containing all the vocal WAV/OGG samples present in the song, these will be cut up in the chart, so be efficient with their use to prevent duplicate clips! 3- The .ParCh file, AKA This file, which will contain all the charting for the song, and its variants if required [SEE: Parappa the Rapper 2's 16 difficulties]. The following paramaters for the song will be as follows */ WAVE:HairScare.ogg BPM:105 OFFSET:1645 VOXOFFSET:164 SCORE:PTR2 /* SONG PARAMETERS The parameters will function as so: WAVE - The instrumental WAV/OGG BPM - The song's BPM, can be non-integer OFFSET - The time before the song begins, measured in milliseconds VOXOFFSET - The First "Step" (a 16th of a beat) where charting begins SCORE - Scoring system, can be between PTR, ULJ, or PTR2 OPTIONAL: TEACHPREFIX - The prefix used for Teacher vocal clips, used if the Player and Teacher uses the same clip start and length. PARAPREFIX - The prefix used for Player vocal clips, used if the Player and Teacher uses the same clip start and length. [IF USED, BOTH ARE REQUIRED, AS ALIASES WILL BE PREFIXED WITH THESE AFTER BEING DEFINED BELOW] Now the song's vocal clips will be cut up. This will be a difficult and tedious process, but the result should run efficiently with this setup. Use #VOX_S and #VOX_E to denote the start and end of the clip dictionary. VOX DICTIONARY To define vocal clips uses one of two possible functions, those being: Alias:Source:Offset:Start:Length OR Alias:Source:Offset:Start:Length:Loops [USING THIS WILL APPEND _X TO THE ALIAS, WHERE X IS THE VALUE FROM 1 TO Loops] Alias - The name of the desired clip for reference in the chart Source - The source WAV/OGG file present in the /Vox/ folder Offset - An offset in milliseconds where the vocals begin Start - An offset in steps where the vocals begin from millisecond offset. Length - The length of the vocal clip in steps Loops - The amount of clips to generate from the same length, back-to-back in the vocal sample This will allow you to create multiple "Clips" from one source file, where you may chart multiple difficulties with one file. */ #VOX_S TakoTrim:TakoSource:0:0:2:5 //This will define 5 "TakoTrim" clips with a length of 2 steps each. TakoCut:TakoSource:0:10:2 TakoThe:TakoSource:0:12:1 TakoShave:TakoSource:0:13:1 ParaTrim:ParaSource:0:0:2:5 ParaCut:ParaSource:0:10:2 ParaThe:ParaSource:0:12:1 ParaShave:ParaSource:0:13:1 #VOX_E /* SONG CHARTING Charting a song here is simple from thenout, and uses a hopefully simple charting method, instructed as follows: There are two main sections, EVENT and DIFFICULTY EVENT is used for defining vocal events througout the song, and only uses two parameters START - Time when the event plays, defined in steps SOURCE - The source WAV/OGG file OR an aliased clip to play OR SUBTITLE - External subtitles if required, IE for introducing a new lesson. DIFFICULTY or SONG is to denote when the song begins, starting from VOXOFFSET onwards, and uses multiple keys to define the chart. The first line is used to deliver the inputs, and uses the following keys: xotslrXOTSLR.+ XOTS refers to the four face buttons on a Playstation controller. LR refers to the shoulder buttons on a Playstation controller. . and + are used for defining blank spaces, where . is a normal blank space, and + is the start of a measure if left blank. The purpose of uppercase inputs and + is to denote the start of a measure, so the chart can optionally begin on a half-beat. EXAMPLE: //A measure is to be written in square brackets. T[s.S...t...........] S Better execute sooner! V Bett, Exec, Soon This allows the "Better" clip to be input a half-beat before the measure begins, using an uppercase square input to denote this. If no input were to be required, one would instead substitute this for a +. You can also shorten the amount of characters used to introduce shorter measures, ALA Moosesha/Mooselini's shorter sections. There are 6 more keys for the lines after a measure, these being for assigning captions and vocal clips to the measures. SUBTITLES: Simply enough, using either S, for a subtitle that lasts two measures, or TS and PS who'll have their own measure for their captions. VOCALS: You can use either V for vocals (though this requires use of the TEACHPREFIX and PARAPREFIX parameters to be used) to shrink filesize. Otherwise, TV and PV are used for defining player vocals. This is simple enough as each clip is then assigned to a button press, also allowing the player to cycle through clips if multiple are assigned to the same button STARTING PLAYER: Lastly, you can use P or T to denote who starts a measure, this is only used in Parappa the Rapper 2, within MC King Kong Mushi's song, where in this case you can use P to denote a Parappa section, followed by TC at the end of the measure for the Teacher to copy Parappa. IE (P[t.S...S...]TC) LESSONS: Simple enough, use #LESSON to introduce a new lesson, followed by a number to denote the delay in steps before the next sung measure. IE (#LESSON 32) EXAMPLE SECTION BELOW: */ #EVENT START 40 TakoIntro.ogg #END #DIFFICULTY 1 START T[X..x..x....x.x..] TS Trim, trim, trim, trim trim! PS Trim, trim, trim, trim trim!\n(Kids, don't try this at home!) TV TakoTrim_1, TakoTrim_2, TakoTrim_3, TakoTrim_4, TakoTrim_5 PV ParaTrim_1, ParaTrim_2, ParaTrim_3, ParaTrim_4, ParaTrim_5 T[X..t.l..s..t.r..] S [Trim the cut, Shave the trim!] TV TakoTrim_1, TakoThe, TakoCut, TakoShave, TakoThe, TakoTrim_6 PV ParaTrim_1, ParaThe, ParaCut, ParaShave, ParaThe, ParaTrim_6 #END //And these are the basic thought for my own Parappa charting system for my prototype simulator!