Rayman Reverse: C/C++ hackers wanted

For discussions about the Rayman series.
Forum rules
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
Post Reply
LunaVorax
Antitoon
Posts: 96
Joined: Mon Jul 03, 2006 11:31 pm
Location: Lune
Tings: 0

Rayman Reverse: C/C++ hackers wanted

Post by LunaVorax »

WARNING !
THIS POST IS ONLY ABOUT RAYMAN 1 FOR PC.
DON'T TALK ABOUT OTHER PLATFORMS (PSX, JAGUAR...) OR OTHER GAMES (RAYMAN 2, 3, RABBIT STUFF)


Hi everyone !

A few months ago, the unbelievable happenned : Someone began to work on my researchs and started writing some code to extract images from Rayman 1 for DOS.

You can have a look at his work and code here : http://piggledy.org/projects/raymanrev
You are strongly encouraged to take a look at the code even if you don't know anything about C/C++, that's the best way to start if you are willing to help.

The project is now to focus on extracting every content from the game such as sound effects, sprites, backgrounds, texts, levels, and undestanding how they work. As long as you make discoveries that you can explain, every means are good.

If you don't own a copy of Rayman 1 for DOS, the game files are available right here : http://lunavorax.dyndns.org/junk/rayman ... riginalcd/
Please keep in mind that this is illegal and you should found your own original copy of Rayman 1 for PC.
Also keep in mind that different versions of Rayman (such as Rayman Forever, Rayman Gold, etc...) seems to work a bit differently. Therefore I recommend you to avoid using them unless you have no choice.

In the last case, the best legal solution if you don't own anything is to work on the Rayman 1 demo which is available right here : http://www.rayman-fanpage.de/character1 ... aydemo.exe

I'm suggesting to modos and amins (heya Hunchman ;) ) to open (at last) a new forum devoted to Rayman 1 hacking and to put this post as sticky.
Everyone is welcome, regardless to your level, as long as you are working seriously and giving us interesting feedback.

Good luck and Happy hacking !
Jack l'escroc
Tufkin
Posts: 4626
Joined: Sun Mar 28, 2010 12:14 am
Location: Là où on ne m'attends pas.
Tings: 2170

Re: Rayman Reverse: C/C++ hackers wanted

Post by Jack l'escroc »

la flemme de traduire si tu la veux utilise google trad.
1. Je te rappelle que ceci est absolunent illegal et connaissant la position d'ubisoft sur le sujet, ils n'hesiterons pas plus de 5 min a porter plainte...
2. Le reverse code est plus que complexe et si tu pense que des novices peuvent le faire tu te goures.
3. Malgres tout ce qui viens d'etre dis je vais te filer un coup de main. Et les prochains fois je traduirais =) ... Enfin ou pas.
CheatCat
Mocking Bird (good)
Posts: 1530
Joined: Tue Nov 04, 2008 10:26 pm
Location: Hell of doors
Contact:
Tings: 18630

Re: Rayman Reverse: C/C++ hackers wanted

Post by CheatCat »

Huh, that is the English board. I am still puzzled how he figured out what algorithm to use for decrypt the stuff. Luna, can you ask that guy to make it able to register on his site. I wanna submit a bugreport caused by a hardcoded define-thing.
Jack l'escroc
Tufkin
Posts: 4626
Joined: Sun Mar 28, 2010 12:14 am
Location: Là où on ne m'attends pas.
Tings: 2170

Re: Rayman Reverse: C/C++ hackers wanted

Post by Jack l'escroc »

Huh c'est un forum francais =)
LunaVorax
Antitoon
Posts: 96
Joined: Mon Jul 03, 2006 11:31 pm
Location: Lune
Tings: 0

Re: Rayman Reverse: C/C++ hackers wanted

Post by LunaVorax »

CheatCat wrote:Huh, that is the English board. I am still puzzled how he figured out what algorithm to use for decrypt the stuff. Luna, can you ask that guy to make it able to register on his site. I wanna submit a bugreport caused by a hardcoded define-thing.
Hi CheatCat !

Apparently the guy is only suggesting how every bytes in the game files is supposed to work as you can read in his wiki. Therefore, based on his suggestions, the software he made is only "bruteforcing" every possibility dans showing it on the screen (the last revision of his program is doing something else but that's only a matter of modifying one or two parameters of using an earlier revision).

I don't know if he have time to register on the site and check out all of the feedback, he is one busy guy.
If that's really important, I suggest you to send him an email.
But by far the best solution is (if you know how to code) to download the work he made so far and to show us a fixed version of it.

Anyway, keep in mind that you are free to do anything you want. Don't wait for me to tell you if you can or cannot do that ;)
CheatCat
Mocking Bird (good)
Posts: 1530
Joined: Tue Nov 04, 2008 10:26 pm
Location: Hell of doors
Contact:
Tings: 18630

Re: Rayman Reverse: C/C++ hackers wanted

Post by CheatCat »

Okey, I just got an screen that is 1/3 white and the rest black.

The erroneous code I talked about was this in main.cpp:

Code: Select all

#define FILENAME "/home/lds/tmp/ray/RAYMAN/PCMAP/JUNGLE/RAY1.LEV"
See, the path to the file is hardcoded. A better way is to doing this:

Code: Select all

char* FILENAME = "/home/lds/tmp/ray/RAYMAN/PCMAP/JUNGLE/RAY1.LEV";
And then in main or something having something like this:

Code: Select all

if(argv[0] != NULL)
FILENAME = argv[0];
Post Reply