[PSOne] Rayman 1 - Easy, but I still need your help!

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Droolie
veteran
Posts: 114
Joined: Fri Aug 19, 2005 4:31 pm
Has thanked: 14 times
Been thanked: 33 times

[PSOne] Rayman 1 - Easy, but I still need your help!

Post by Droolie » Wed Dec 24, 2008 10:37 am

Hello there!

The game I'm trying to rip the images from is Rayman 1 for PSOne.
Why is this easy, you might ask? Well, I just thought it was, since the game is quite old (1995! ). I have also scanned some of the files in the attachment for images, and I found some in every file, but they're still... wrong. The following picture explains what I mean.

Image

I've put together a 222KB archive ( it's actually more than 600KB when you extract it ), containing 2 files ( different filetypes ) with backgrounds, and it's right here.
Rayman 1 PSX images.zip
And here's another file ( uploaded to mediafire ), this one is 206KB, and contains 2 files with sprites.

So can anybody help? Please?

Thanks,
Droolie.
You do not have the required permissions to view the files attached to this post.
Last edited by Droolie on Thu Jan 01, 2009 10:15 am, edited 1 time in total.

User avatar
Forte
advanced
Posts: 41
Joined: Mon Aug 06, 2007 9:51 pm
Has thanked: 2 times
Been thanked: 5 times

Re: [PSOne] Rayman 1 - Easy, but I still need your help!

Post by Forte » Tue Dec 30, 2008 6:47 pm

I took a look at the files and they're indeed easy to a certain degree.
First, *.R16:

Code: Select all

R16 {
  word        identifier?
  word        totalWidth
  word        totalHeight
  word        ?
  word        first Pixel
  etc
}
The unusual thing is that the image itself is cut in "stripes".
The first stripe, for example, is a part of the image and its size is 64*totalHeight pixels. There are 6 stripes in this image so the total width is 6*64=384 pixels(which equals totalWidth). This 64 bits stripe width is not referenced in the file anywhere and maybe the 4th word has something to do with it.
One pixel word uses the format 1555, that's 1 Alpha bit and 5 bits for blue, green and red respectively.
Since I never worked with something like this I decided to make a little tool in Java (although it assumes that said stripe size is always 64 pixels)
RaymanViewer.rar
The other file, *.XXX, is a bit more complicated. Each image uses a custom width, that's not a power of two and I can't find that value anywhere in the image header. E.g. in Vac.XXX, the first image's width is 206, the second 199 and the third 182. If you're using Texturefinder, set it to "1555=15+1" and check these widths.

Oh and, your mediafire link is broken.
You do not have the required permissions to view the files attached to this post.

Droolie
veteran
Posts: 114
Joined: Fri Aug 19, 2005 4:31 pm
Has thanked: 14 times
Been thanked: 33 times

Re: [PSOne] Rayman 1 - Easy, but I still need your help!

Post by Droolie » Thu Jan 01, 2009 10:23 am

Woah, thanks, your tool works perfectly! ^^
... Except for the other *.R16 files. I uploaded the other *.R16 files too, here they are. ;)
And thanks a lot for looking at it, too, since there isn't a lot of people trying to help, but that's normal, of course. :P

By the way, I fixed the mediafire link. ;)

User avatar
Forte
advanced
Posts: 41
Joined: Mon Aug 06, 2007 9:51 pm
Has thanked: 2 times
Been thanked: 5 times

Re: [PSOne] Rayman 1 - Easy, but I still need your help!

Post by Forte » Thu Jan 01, 2009 2:36 pm

Haha, wow. Only NWORLD is structured like that. The other R16 files are images without header(!) and with custom width. Unless there's some kind of file which tells the dimensions of these files, I'm afraid I can't help.
The only thing left is to view them with the texture finder and look for the width, then take a picture <_<

Droolie
veteran
Posts: 114
Joined: Fri Aug 19, 2005 4:31 pm
Has thanked: 14 times
Been thanked: 33 times

Re: [PSOne] Rayman 1 - Easy, but I still need your help!

Post by Droolie » Sun Jan 04, 2009 8:51 pm

Thanks for the help, I managed to get all the images ( with Texture Finder ).
Now, I just need the sprites ( mediafire link in first post ). I can't view them correctly in Texture Finder, because the images use palettes, and you can't select palettes in Texture Finder ( I think ). ;)

Post Reply