Hello,
I'm trying to figure out for years how can I open the textures files for South Park Rally.
They are all in .vram file format and they are with the company of .rbh files which I think they are for 3D models or also for sound format.
Any help for this thread will be appreciated, thanks!
Here is the files:
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
South Park Rally PC texture files
- rubinho146
- advanced
- Posts: 43
- Joined: Tue Jun 14, 2016 3:13 pm
- Has thanked: 9 times
- Been thanked: 12 times
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
- rubinho146
- advanced
- Posts: 43
- Joined: Tue Jun 14, 2016 3:13 pm
- Has thanked: 9 times
- Been thanked: 12 times
Re: South Park Rally PC texture files
AceWell wrote:In the words of aluigiNo sample, no party
You're saying that I need to send a file?
Here I send one of them!
You do not have the required permissions to view the files attached to this post.
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
Re: South Park Rally PC texture files
Sorry man i have no clue what kind of image this is, it kind of looks like an archive of some sort.
4 bytes - BODY
4 bytes - data length
data
next sub header
since this is a PC game have you tried ripping the textures with Ninjaripper or something?
4 bytes - BODY
4 bytes - data length
data
next sub header
since this is a PC game have you tried ripping the textures with Ninjaripper or something?
- rubinho146
- advanced
- Posts: 43
- Joined: Tue Jun 14, 2016 3:13 pm
- Has thanked: 9 times
- Been thanked: 12 times
Re: South Park Rally PC texture files
Yes I tried, even with 3D Ripper DX too!!
But doesn't work on this game.
But doesn't work on this game.
-
- veteran
- Posts: 145
- Joined: Wed Jun 02, 2010 4:53 am
- Has thanked: 20 times
- Been thanked: 149 times
- Contact:
Re: South Park Rally PC texture files
The .vram file contains multiple 256-color bitmaps.
With this information it should be possible to extract all the images:
char[4] | "PIFF"
uint32 | file size
char[4] | "VVTP"
while (!EOF) {
char[4] | "BODY"
uint32 | chunk_size
uint32 | header_size
uint32 | image id
uint16 | bitmap_width
uint16 | bitmap_height
uint16 | flags (see below)
uint16 | color_depth (4, 8, 16, 24, 32)
byte[0x10] | bit_fields (ARGB, 4 bytes each)
uint32 | image_data_offset (= size of header + color table)
uint32 | unknown (0 or 0x40)
uint32 | number of mipmaps
byte[0x14] | unknown data (usually all 0)
byte[2^color_depth * 4] | color table, 4 bytes per pixel = [blue, green, red, alpha] (if color_depth <= 8)
byte[width * height * color_depth / 8] | bitmap (top to bottom order)
// mipmaps (if number of mipmaps > 0)
}
/*
* flags:
* bit 1 (1) hasNoColortable (16,24,32)
* bit 2 (2) hasTransparency (16,32)
* bit 3 (4) hasColorDepth4
* bit 4 (8) hasColorDepth8
* bit 5 (16) hasNoTransparency (16,32)
* bit 8 (128) hasMipmaps
*/
Edit: File format updated
With this information it should be possible to extract all the images:
char[4] | "PIFF"
uint32 | file size
char[4] | "VVTP"
while (!EOF) {
char[4] | "BODY"
uint32 | chunk_size
uint32 | header_size
uint32 | image id
uint16 | bitmap_width
uint16 | bitmap_height
uint16 | flags (see below)
uint16 | color_depth (4, 8, 16, 24, 32)
byte[0x10] | bit_fields (ARGB, 4 bytes each)
uint32 | image_data_offset (= size of header + color table)
uint32 | unknown (0 or 0x40)
uint32 | number of mipmaps
byte[0x14] | unknown data (usually all 0)
byte[2^color_depth * 4] | color table, 4 bytes per pixel = [blue, green, red, alpha] (if color_depth <= 8)
byte[width * height * color_depth / 8] | bitmap (top to bottom order)
// mipmaps (if number of mipmaps > 0)
}
/*
* flags:
* bit 1 (1) hasNoColortable (16,24,32)
* bit 2 (2) hasTransparency (16,32)
* bit 3 (4) hasColorDepth4
* bit 4 (8) hasColorDepth8
* bit 5 (16) hasNoTransparency (16,32)
* bit 8 (128) hasMipmaps
*/
Edit: File format updated
Last edited by herbert3000 on Tue Jun 28, 2016 1:14 am, edited 7 times in total.
- rubinho146
- advanced
- Posts: 43
- Joined: Tue Jun 14, 2016 3:13 pm
- Has thanked: 9 times
- Been thanked: 12 times
-
- veteran
- Posts: 145
- Joined: Wed Jun 02, 2010 4:53 am
- Has thanked: 20 times
- Been thanked: 149 times
- Contact:
Re: South Park Rally PC texture files
Ok, here's a tool that extracts the images.
Do you also need to repack the edited images?
Download and extract this zip archive: copy both files to the location of your .vram files
Run 'Extract VRAM.bat' and enter the .vram filename
Requires a Java Runtime Environment (http://www.java.com).
Do you also need to repack the edited images?
Download and extract this zip archive: copy both files to the location of your .vram files
Run 'Extract VRAM.bat' and enter the .vram filename
Requires a Java Runtime Environment (http://www.java.com).
You do not have the required permissions to view the files attached to this post.
- rubinho146
- advanced
- Posts: 43
- Joined: Tue Jun 14, 2016 3:13 pm
- Has thanked: 9 times
- Been thanked: 12 times
Re: South Park Rally PC texture files
Yes, I want to repack back the edited files.
Thank you so much for this!!
Edit: But there's also another problem, the extractor doesn't work with all the other vram files because maybe the files doesn't have "bitmap" as a name. Here I let the art folder for you. Here's the link https://drive.google.com/open?id=0By_Xs ... m1FdWpGcGs
Thank you so much for this!!
Edit: But there's also another problem, the extractor doesn't work with all the other vram files because maybe the files doesn't have "bitmap" as a name. Here I let the art folder for you. Here's the link https://drive.google.com/open?id=0By_Xs ... m1FdWpGcGs
-
- veteran
- Posts: 145
- Joined: Wed Jun 02, 2010 4:53 am
- Has thanked: 20 times
- Been thanked: 149 times
- Contact:
Re: South Park Rally PC texture files
Ok, the first sample file only had indexed color bitmaps (color depth 4 or 8). But there are also vram files with a color depth of 16, 24 or 32 bits/pixel. The updated extractor supports these files.
Note that inferior image viewers/editor (like Windows Photo Viewer or Microsoft Paint) can't display transparent bitmaps (= bitmaps with a color depth of 16 or 32). GIMP for instance can display those files correctly.
I'll start to create the repacker soon.
By the way, you can also extract all .vram files by entering this as the filename:
The number in curved brackets in the filename is the color dpeth - e.g. "Bitmap_1 (8).bmp"Note that inferior image viewers/editor (like Windows Photo Viewer or Microsoft Paint) can't display transparent bitmaps (= bitmaps with a color depth of 16 or 32). GIMP for instance can display those files correctly.
I'll start to create the repacker soon.
By the way, you can also extract all .vram files by entering this as the filename:
Code: Select all
*.vram
You do not have the required permissions to view the files attached to this post.
Last edited by herbert3000 on Tue Jun 28, 2016 1:14 am, edited 1 time in total.
- rubinho146
- advanced
- Posts: 43
- Joined: Tue Jun 14, 2016 3:13 pm
- Has thanked: 9 times
- Been thanked: 12 times
Re: South Park Rally PC texture files
It really works!!!
Thank you so much.
I'll be waiting for the vram packer so then I can test the edits in-game.
So many thanks!!
Thank you so much.
I'll be waiting for the vram packer so then I can test the edits in-game.
So many thanks!!
-
- veteran
- Posts: 145
- Joined: Wed Jun 02, 2010 4:53 am
- Has thanked: 20 times
- Been thanked: 149 times
- Contact:
Re: South Park Rally PC texture files
Please check if the bitmaps of the repacked vram files are displayed correctly in the game. The repacked files don't match the original files 100%, for example I skipped the mipmaps.
Usage: Just run the BAT file and enter the name of the VRAM file to extract it or enter the name of an extracted folder to repack it.You do not have the required permissions to view the files attached to this post.
- rubinho146
- advanced
- Posts: 43
- Joined: Tue Jun 14, 2016 3:13 pm
- Has thanked: 9 times
- Been thanked: 12 times
Re: South Park Rally PC texture files
I gotta say it, pal..
It really works!!! You did it 100% perfect, there's one or such where I have to convert 24 bit bmp formats to 8 bit but that's no problem for me because I've been testing everything one by one and see the problems in each character.
I'll might create a gui for this code so it can be easier to use it and the special thanks goes to you!!
Just one more thing, you that know a lot about encrypted extensions and files it would be possible for you to figure about the rbh extension?
It might be an archive I think but in one folder I think it contains the 3D model and in the other folder contains audio files:
viewtopic.php?f=17&t=14571
viewtopic.php?f=16&t=14579
The rbh with the audio files can be possible to open in audacity as a raw file and then change the hz and such but I would like to edit as well I did with the .vram.
And the rbh with model files I would like to know what format of the 3D model and changes somethings if possible.
It really works!!! You did it 100% perfect, there's one or such where I have to convert 24 bit bmp formats to 8 bit but that's no problem for me because I've been testing everything one by one and see the problems in each character.
I'll might create a gui for this code so it can be easier to use it and the special thanks goes to you!!
Just one more thing, you that know a lot about encrypted extensions and files it would be possible for you to figure about the rbh extension?
It might be an archive I think but in one folder I think it contains the 3D model and in the other folder contains audio files:
viewtopic.php?f=17&t=14571
viewtopic.php?f=16&t=14579
The rbh with the audio files can be possible to open in audacity as a raw file and then change the hz and such but I would like to edit as well I did with the .vram.
And the rbh with model files I would like to know what format of the 3D model and changes somethings if possible.
-
- ultra-n00b
- Posts: 9
- Joined: Fri Jul 01, 2016 12:26 pm
- Has thanked: 19 times
Re: South Park Rally PC texture files
What About Stick Of Truth and it's Sequel...
After all this luck above...
I Expected some simple mods for SoT months after it's launch...
is it unusually complicated?
the PS3 Files i remember looking at when i first got them... 3 days before the official launch... it at least had all the uncut scenes... a movie extracter would be nice for eg...
After all this luck above...
I Expected some simple mods for SoT months after it's launch...
is it unusually complicated?
the PS3 Files i remember looking at when i first got them... 3 days before the official launch... it at least had all the uncut scenes... a movie extracter would be nice for eg...
-
- veteran
- Posts: 145
- Joined: Wed Jun 02, 2010 4:53 am
- Has thanked: 20 times
- Been thanked: 149 times
- Contact:
Re: South Park Rally PC texture files
The file formats of South Park Rally and The Stick of Truth have nothing in common, they games were developed by different game studios.
Btw, here's the latest version of the Vram utility:
viewtopic.php?f=32&t=14623
Btw, here's the latest version of the Vram utility:
viewtopic.php?f=32&t=14623