Rayman 2 - The Great Escape

Ripped by Parasyte, 10-22-2004
Tagged , timed and renamed by PdZ


TODO:
* Remove any remaining useless data/code
* Recheck for completeness (horrendous process!)
* Time and tag, etc.


---Notes by Parasyte:

BLEH! This was a very complicated game to hack! Probably the most difficult one
I will ever do. Well, maybe. ;)
The first problem I had ripping this was locating the track select routine. It
could not be found by cheat search, which is my standard method for finding the
routines. I had to start from the alCSPPlay call (MANY thanks to someone42 for
the more-complete libultra sigs -- this rip couldn't be done without them!) and
work my way back from there. I back-traced several pointer writes, probably
about 4 or 5, until I was finally able to locate the pointer table being used.
When I found that, I was then able to find the track select routine which
indexed it. And WOW! It contained 1006 pointers. After locating the track
select routine, I had to step out of _4_ subroutines before the music player
call was made. After finding out which of the ~150 JALs was the MusicStart
routine, I had to go back through all of the others with NOPs to find the ones
which weren't needed. Unlucky me, NONE of them were needed, so that whole
process wasted a good hour and a half.
After getting that far, I began to test all of the audio indices, and wouldn't
you know it, it was a random mess of sequenced music and PCM sound effects!
(This is the reason I could not find a music variable with a simple cheat
search.) :(
Eventually, I was able to compile a list of all music indices, after playing
all 1006 in a row. I then wrote a small program that used this list to
rearrange the pointer table so all the music pointers where right at the
beginning of the table. Finally, I was able to do a standard rip with usfPJ64!

And this is the result.

Very good Rip by Parasyte!
Tagged , timed and renamed by PdZ

---Notes by PdZ:

01.06.2005 - 01.23.2005 (Germany: 12.1.2005 - 23.1.2005)
Fixed Timing for:                                                                                                               before:                          after:

Rayman 2 - Introduction - (P1) Intro.miniusf                                                                   1:47                               1:44 (without Fade Out)
Rayman 2 - Introduction - (P2) The Way To The Jail.miniusf                                        1:30                               1:27 (without Fade Out) 
Rayman 2 - Level 0 - The Start - (P1) In The Forest.miniusf                                         OK!                                OK!
Rayman 2 - Level 0 - The Start - (P2) Beginning.miniusf                                               0:53                               2:02
Rayman 2 - Level 0 - The Start - (P3) Speech With Globox Kids.miniusf                       X                                  2:15
Rayman 2 - Level 0 - The Start - (P4) The Way After The Globox Kids.miniusf          0:31                               0:40
Rayman 2 - Level 1 - (P1) Beginning.miniusf                                                                  0:30                               0:49 
Rayman 2 - Level 1 - (P2) At The Swamp.miniusf                                                          0:16                               0:52
Rayman 2 - Level 1 - (P3) At The Switch.miniusf                                                            1:05                              1:33
Rayman 2 - Level 1 - (P4) At The Lake With Oil.miniusf                                                1:31                               1:53
Rayman 2 - Level 1 - (P5) In The Cave.miniusf                                                              0:30                               1:06
Rayman 2 - Level 1 - (P6) At The Slide.miniusf                                                              0:45                               1:07
Rayman 2 - Level 1 - (P7) At The Sleeping Robotpirates Room.miniusf                      0:42                              1:03
Rayman 2 - Level 1 - (P8) Machine Boss.miniusf                                                            0:25                              1:15 
Rayman 2 - Level 1 - (P9) The Oil.miniusf                                                                       0:40                               1:58
Rayman 2 - Level 2 - (P1) Beginning.miniusf                                                                  1:05                                1:28
Rayman 2 - Level 2 - (P2) Surfing With The Watersnake.miniusf                                  1:05                               1:25
Rayman 2 - Level 2 - (P3) Next Surfing Part.miniusf                                                       0:25                               2:18
Rayman 2 - Level 2 - (P4) The Farewell.miniusf                                                              0:25                              0:50
Rayman 2 - Level 3 - (P1) Beginning.miniusf                                                                   0:45                              1:13
Rayman 2 - Level 3 - (P2) The Respawn After The Death.miniusf                                1:05                               1:30
Rayman 2 - Level 3 - (P3) The Bonearms Out Of The Walls.miniusf                            0:25                               0:40
Rayman 2 - Level 3 - (P4) Bring The Spheres To Their Bases!.miniusf                        0:45                              1:13
Rayman 2 - Level 3 - (P5) Boss At The Slide.miniusf                                                     0:25                               1:27
Rayman 2 - Level 3 - (P6) Boss Fight.miniusf                                                                  0:33                               1:56
Rayman 2 - Level 4 - (P1) Beginning.miniusf                                                                   0:24                                0:54
Rayman 2 - Level 4 - (P2) The Warship Send Bombs.miniusf                                       1:10                               2:53
Rayman 2 - Level 4 - (P3) The Warship Attacks.miniusf                                                 0:25                               1:49
Rayman 2 - Level 4 - (P4) Surfing On The Barrel.miniusf                                               0:44                                1:36
Rayman 2 - Level 4 - (P5) The Warship Attacks Again!.miniusf                                     0:45                                1:19
Rayman 2 - Level 4 - (P6) The Attacking Piranha.miniusf                                               0:52                                1:56
Rayman 2 - Level 4 - (P7) The Falling Barrels.miniusf                                                    0:53                                1:56
Rayman 2 - Level 4 - (P8) Jump Over The Barrels!.miniusf                                           0:35                                1:51
Rayman 2 - Level 4 - (P9) Last Part Of The Jumping.miniusf                                        0:35                                1:01
Rayman 2 - Level 5 - (P1) Robotfight.miniusf                                                                  0:13                                0:47
Rayman 2 - Level 5 - (P2) Beginning.miniusf                                                                   0:43                                1:49
Rayman 2 - Level 5 - (P3) Normal Music After Fight.miniusf                                          0:43                                1:49
Rayman 2 - Level 5 - (P4) In The Spheres Room.miniusf                                              1:23                                2:30
Rayman 2 - Level 5 - (P5) At The Slide.miniusf                                                               0:25                                0:54
Rayman 2 - Level 5 - (P6) Later On The Slide.miniusf                                                    0:35                                1:20
Rayman 2 - Level 5 - (P7) The Way To The Mask.miniusf                                              0:38                                0:54
Rayman 2 - Level 5 - (P8) The Mask.miniusf                                                                    0:23                                0:51
Rayman 2 - Level 6 - (P1) First Ride On The Shell.miniusf                                             0:43                                0:52
Rayman 2 - Level 6 - (P2) Second Ride On The Shell.miniusf                                       0:43                                1:35
Rayman 2 - Level 6 - (P3) Poor Friend Clark!.miniusf                                                      0:22                                0:48
Rayman 2 - Level 6 - (P4) Third Ride On The Shell.miniusf                                            1:12                                3:00
Rayman 2 - Level 6 - (P5) Clark Helps Us.miniusf                                                           0:30                                1:58
Rayman 2 - Level 7 - (P1) Beginning Spider Attacks!.miniusf                                         0:25                                0:53
Rayman 2 - Level 7 - (P2) At The Precipice.miniusf                                                        0:37                                2:24
Rayman 2 - Level 7 - (P3) After The Robot Battle.miniusf                                               0:27                                2:26
Rayman 2 - Level 7 - (P3) Mission Impossible For Rayman.miniusf                              0:18                                1:49
Rayman 2 - Level 8 - (P1) Beginning.miniusf                                                                    0:56                                2:00
Rayman 2 - Level 8 - (P2) Later In The Water.miniusf                                                     0:56                                2:00
Rayman 2 - Level 8 - (P3) Riding On The Shell.miniusf                                                   0:42                                1:56
Rayman 2 - Level 9 - (P1) Beginning.miniusf                                                                    0:21                                3:45
Rayman 2 - Level 9 - (P2) Later After The Big Jump.miniusf                                          0:30                                0:48
Rayman 2 - Level 9 - (P3) At The Lava River.miniusf                                                       0:21                                3:45
Rayman 2 - Level 9 - (P4-1) The Secret Lava -Town.miniusf                                          0:24                                2:15
Rayman 2 - Level 9 - (P4-2) A Hidden Place With A Cage.miniusf                                 1:05                                1:33
Rayman 2 - Level 9 - (P5) After U Destroyed The Big Wall.miniusf                                0:15                                1:00
Rayman 2 - Level 9 - (P6) After Ride On The Stone;
                                            Bring The Yellow Sphere To The Place.miniusf                    0:23                                0:58
Rayman 2 - Level 9 - (P7) A Short Enemy Fight.miniusf                                                   0:35                                1:15
Rayman 2 - Level 9 - (P8) Fruit Surfing On Lava.miniusf                                                  0:33                                1:11
Rayman 2 - Level 9 - (P9) In The Big Stone Man's Room.miniusf                                   0:38                                1:24
Rayman 2 - Level 9 - (P10) Surfing On The Slide.miniusf                                                 0:27                               0:51
Rayman 2 - Level 9 - (P11) 2nd Visit Of The Big Stone Man's Room.miniusf                 1:15                               2:01
Rayman 2 - Level 10 - (P1) After The Robot Fight And The 2 Switches.miniusf             0:40                               1:25
Rayman 2 - Level 10 - (P2) The Way To The Next 2 Switches.miniusf                            0:23                               1:05
Rayman 2 - Level 10 - (P3) First Fly With The Barrel.miniusf                                            1:10                               1:17
Rayman 2 - Level 10 - (P4) Use The Barrel To Turn On The Switch.miniusf                   0:20                               0:53
Rayman 2 - Level 10 - (P5) Fly Over The Green River.miniusf                                         1:10                               1:40
Rayman 2 - Level 10 - (P6) Second Fly Over The Green River.miniusf                           1:00                               1:45
Rayman 2 - Level 10 - (P7) Last Ride.miniusf                                                                    0:25                               0:54
Rayman 2 - Level 11 - (P1) War Ships Attacks Rayman.miniusf                                       0:25                               0:54
Rayman 2 - Level 11 - (P2) Second War Ship Attack.miniusf                                            0:35                              0:54     
Rayman 2 - Level 11 - (P3) After Rayman Reached The Circle Stairs.miniusf                0:46                               0:56
Rayman 2 - Level 11 - (P4) Third War Ship Attack.miniusf                                                1:10                               2:05
Rayman 2 - Level 11 - (P5) Rayman Runs And Runs...miniusf                                          0:36                              1:32
Rayman 2 - Level 11 - (P6) Flying Down.miniusf                                                                0:50                               0:53
Rayman 2 - Level 12 - (P1) Beginning.miniusf                                                                    0:33                               0:56
Rayman 2 - Level 12 - (P2) Riding A Chair.miniusf                                                            1:06                                1:48
Rayman 2 - Level 12 - (P3) Next Part Of Riding.miniusf                                                    0:50                               2:07
Rayman 2 - Level 12 - (P4) Later On The Line.miniusf                                                      0:37                               0:57
Rayman 2 - Level 12 - (P5) Reached The End.miniusf                                                      0:45                               0:53
Rayman 2 - Level 12 - (P6) At The Barrels.miniusf                                                            0:22                               0:48
Rayman 2 - Level 12 - (P7) At The Boxes.miniusf                                                              0:50                              1:30
Rayman 2 - Level 12 - (P8) The Secret Room.miniusf                                                       0:50                              2:22
Rayman 2 - Level 12 - (PX) Unknown 1.miniusf                                                                  0:42                              1:06
Rayman 2 - Level 12 - (PX) Unknown 2.miniusf                                                                  1:42                              1:50
Rayman 2 - Level 12 - (PX) Unknown 3.miniusf                                                                  0:33                              0:55
Rayman 2 - Level 13 - (P1) Beginning.miniusf                                                                    0:37                              1:22
Rayman 2 - Level 13 - (P2) In The Temple.miniusf                                                            0:55                              1:04
Rayman 2 - Level 13 - (P3) Flying With A Leaf.miniusf                                                      0:25                              0:54
Rayman 2 - Level 13 - (P4) Rayman Carried By The Wind.miniusf                                   0:17                              0:54
Rayman 2 - Level 13 - (P5) The Lava Lake.miniusf                                                            0:37                              1:07
Rayman 2 - Level 13 - (P6) Running Lava.miniusf                                                              0:43                              0:51
Rayman 2 - Level 13 - (P7) Mastered The Lavatide.miniusf                                              0:22                              0:47
Rayman 2 - Level 13 - (P8) Rayman Go On!.miniusf                                                          0:43                             0:52
Rayman 2 - Level 14 - (P1) Rayman Learns To Fly.miniusf                                               0:47                             0:55
Rayman 2 - Level 14 - (P2) Reached The Thorns.miniusf                                                 0:24                              0:54
Rayman 2 - Level 14 - (P3) A Part Of Flying.miniusf                                                          0:17                              0:38
Rayman 2 - Level 14 - (P4) Later Flying Part.miniusf                                                         0:25                              0:54
Rayman 2 - Level 14 - (P5) Last Flying Part.miniusf                                                           0:17                              0:39
Rayman 2 - Level 15 - (P1) Beginning.miniusf                                                                    1:10                              1:46  
Rayman 2 - Level 15 - (P2) The Spider Attacks!.miniusf                                                   0:31                              0:59
Rayman 2 - Level 15 - (P3) The Green Sump.miniusf                                                        1:14                             1:33
Rayman 2 - Level 15 - (P4) Fly With A Barrel.miniusf                                                         1:00                             1:20
Rayman 2 - Level 16 - (P1) Beginning.miniusf                                                                    0:20                              0:45
Rayman 2 - Level 16 - (P2) Shut Down The Laser.miniusf                                                 0:57                             1:04
Rayman 2 - Level 16 - (P3) Rayman Flys Down.miniusf                                                     0:46                             1:17
Rayman 2 - Level 16 - (P4) Rayman Flys In A Balloon.miniusf                                          0:37                             1:22
Rayman 2 - Level 16 - (P5) The Big Grasshopper Maschine.miniusf                                1:00                             1:07
Rayman 2 - Level 16 - (P6) In The Room.miniusf                                                               0:50                             1:30
Rayman 2 - Level 16 - (P7) Later In The Room.miniusf                                                      0:33                             0:42
Rayman 2 - Level 16 - (P8) Riding The Shell.miniusf                                                          1:26                             1:33
Rayman 2 - Level 16 - (P9) You Reached The Bridge With The Shell.miniusf                  0:45                            1:32
Rayman 2 - Level 16 - (P10) Some Globox-Uglette Kids Escaped.miniusf                       0:39                            1:17
Rayman 2 - Level 17 - (P1) The Slide.miniusf                                                                      1:00                            1:20
Rayman 2 - Level 17 - (P2) Next Part Of The Slide.miniusf                                                 0:47                            1:08
Rayman 2 - Level 17 - (P3) Later At The Slide.miniusf                                                        0:25                            0:53
Rayman 2 - Level 17 - (P4) Last Part Of The Slide.miniusf                                                 0:24                            0:53
Rayman 2 - Level 17 - (P5) Rocket Fly.miniusf                                                                    1:12                            1:42
Rayman 2 - Level 17 - (P6) Rocket Fly Part 2.miniusf                                                         1:12                            2:05
Rayman 2 - Level 17 - (P7) Rocket Fly Part 3.miniusf                                                         1:47                            1:55
Rayman 2 - Level 17 - (P8) Big Boss Fight Part 1.miniusf                                                   0:31                           1:07
Rayman 2 - Level 17 - (P9) Final Fight!.miniusf                                                                    1:07                           1:12
Rayman 2 - Level 17 - (P10) Razorbeard Escapes And Planted A Timed Bomb.miniusf 0:36                           0:43
Rayman 2 - Level 17 - The End - (P1) Sadness.miniusf                                                      0:38                            0:38 (without Fade Out)
Rayman 2 - Level 17 - The End - (P2) Rayman Is Alive!.miniusf                                         0:43                           0:43  (without Fade Out)
Rayman 2 - Level 17 - The End - (P3) Credits.miniusf                                                         OK!                            OK!
Rayman 2 - Level Special - Time Rage 1.miniusf                                                                 0:23                           1:16                    
Rayman 2 - Level Special - Time Rage 2.miniusf                                                                 0:23                           1:14
Rayman 2 - Level Special - Time Rage 3.miniusf                                                                 0:50                           1:29
Rayman 2 - Level Special - Time Rage 4.miniusf                                                                 0:30                           0:51
Rayman 2 - Special - At Polukus.miniusf                                                                               0:45                           0:54
Rayman 2 - Special - Bonus 1.miniusf                                                                                   0:47                           1:08
Rayman 2 - Special - Bonus 2.miniusf                                                                                   0:31                           1:08
Rayman 2 - Special - Bonus 3.miniusf                                                                                   0:31                           1:09
Rayman 2 - Special - Bonus 4.miniusf                                                                                   0:46                           1:08
Rayman 2 - Special - Bonus 5.miniusf                                                                                      X                             1:09
Rayman 2 - Special - Bossfight 1.miniusf                                                                              0:36                           1:56
Rayman 2 - Special - Bossfight 2.miniusf                                                                              0:55                           1:02
Rayman 2 - Special - Bossfight 3.miniusf                                                                              0:55                           2:12
Rayman 2 - Special - Bossfight 4.miniusf                                                                              0:36                           0:59
Rayman 2 - Special - Dead.miniusf                                                                                        OK!                            OK!
Rayman 2 - Special - King Dance At Level End.miniusf                                                       OK!                            OK!
Rayman 2 - Special - Level Complete;King Door.miniusf                                                    0:22                           0:48
Rayman 2 - Special - Ly The Fairy (Short Version).miniusf                                                  OK!                            OK!
Rayman 2 - Special - Ly The Fairy (Long Version).miniusf                                                  0:50                           1:23
Rayman 2 - Special - Map.miniusf                                                                                          0:24                           0:50
Rayman 2 - Special - Pirate Razorbeard.miniusf                                                                  0:23                           0:49
Rayman 2 - Special - Robotpirate Fight 1.miniusf                                                                 0:47                          0:54
Rayman 2 - Special - Robotpirate Fight 2.miniusf                                                                 0:23                          0:53
Rayman 2 - Special - Robotpirate Fight 3.miniusf                                                                 0:21                          0:49
Rayman 2 - Special - Robotpirate Fight 4.miniusf                                                                 0:24                          0:53
Rayman 2 - Special - Robotpirate Fight 5.miniusf                                                                 0:23                          0:53
Rayman 2 - Special - Robotpirate Fight 6.miniusf                                                                 0:21                          0:44
Rayman 2 - Special - Robotpirate Fight 7.miniusf                                                                 0:43                          0:50
Rayman 2 - Special - Robotpirate Fight 8.miniusf                                                                 0:20                          0:44
Rayman 2 - Special - Robotpirate Fight 9.miniusf                                                                 0:29                          1:04
Rayman 2 - Special - Robotpirate Fight 10.miniusf                                                               0:28                          0:45
Rayman 2 - Special - Robotpirate Fight 11.miniusf                                                               0:37                          1:01
Rayman 2 - Special - Robotpirate Fight 12.miniusf                                                               0:20                          0:54
Rayman 2 - Special - Try Again! 1.miniusf                                                                             OK!                           OK!
Rayman 2 - Special - Try Again! 2.miniusf                                                                             OK!                           OK!
Rayman 2 - Special - You Get The Mask!.miniusf                                                                 0:04                          0:05 (without Fade Out)
Rayman 2 - Unknown 1.miniusf                                                                                               0:10                          0:26
Rayman 2 - Unknown 2.miniusf                                                                                               0:46                          0:54
Rayman 2 - Unknown 3.miniusf                                                                                               0:27                          1:14
Rayman 2 - Unknown 4.miniusf                                                                                               0:35                          0:59
Rayman 2 - Level 16 - (P1-v2) Beginning.miniusf                                                                 1:00                          1:05
Rayman 2 - Unknown 5.miniusf                                                                                               0:16                          0:52
Rayman 2 - Unknown 6.miniusf                                                                                               1:05                          1:14
Rayman 2 - Unknown 7.miniusf                                                                                               0:08                          0:45



01.12.2005 - 01.23.2005 (Germany: 12.1.2005 - 23.1.2005)
1 - Fixed: Rayman 2 - Unknown 3.miniusf name changed to Rayman 2 - Level 7 - (P3) After The Robot Battle.miniusf
2 - Fixed: Rayman 2 - Level 7 - (P3) Mission Impossible For Rayman.miniusf name changed to Rayman 2 - Level 7 - (P4) Mission Impossible For Rayman.miniusf
3 - Fixed: Rayman 2 - Level 9 - (P4-1) The Secret Lava-Town.miniusf name changed to Rayman 2 - Level 9 - (P4-1) The Secret Lava -Town.miniusf
4 - Fixed: Rayman 2 - Special - Time Rage 5.miniusf name changed to Rayman 2 - Special - Bonus 5.miniusf
5 - Fixed: Rayman 2 - Special - Level Complete.miniusf name changed to Rayman 2 - Special - Level Complete;King Door.miniusf
6 - Fixed: Rayman 2 - Special - Ly The Fairy 1.miniusf name changed to Rayman 2 - Special - Ly The Fairy (Short Version).miniusf
7 - Fixed: Rayman 2 - Special - Ly The Fairy 2.miniusf name changed to Rayman 2 - Special - Ly The Fairy (Long Version).miniusf 
8 - Fixed: Rayman 2 - Unknown 5.miniusf name changed to Rayman 2 - Level 16 - (P1-v2) Beginning.miniusf
9 - Fixed: All Unknown Names

P.S. I think the best tracks are:

Rayman 2 - Level 17 - The End - (P3) Credits
Rayman 2 - Level 17 - (P8) Big Boss Fight Part 1
Rayman 2 - Level 17 - (P7) Rocket Fly Part 3
Rayman 2 - Level 12 - (P2) Riding A Chair
Rayman 2 - Level 12 - (P3) Next Part Of Riding
Rayman 2 - Level 11 - (P2) Second War Ship Attack
Rayman 2 - Level 11 - (P3) After Rayman Reached The Circle Stairs
Rayman 2 - Level 6 - (P2) Second Ride On The Shell
Rayman 2 - Level 5 - (P5) At The Slide
Rayman 2 - Level 5 - (P6) Later On The Slide
Rayman 2 - Level 5 - (P1) Robotfight
Rayman 2 - Level 3 - (P1) Beginning
Rayman 2 - Level 3 - (P2) The Respawn After The Death

Notes by UNKNOWNFILE:
I did some crap with some files. The filenames might differ.
Also, Parasyte says that he's no longer willing to work on this set, so it's final. Have a nice day!
