View Full Version : Blu-Ray Menu Editing
Matrix789
1st February 2014, 11:17
Hello everybody and, please, forgive me for my english. I have a blu-ray movie on my pc (Gladiator - 10th Anniversary Edition) which includes the extended cut and the theatrical cut. I have noticed that if I select the extended cut from its appropriate (java) menu, the theatrical cut starts and, if select the theatrical one, the extended cut starts. The next menus are correct, the "bug" is only for the version choice menu.
This is the structure of my blu-ray:
BDMV:
http://imageshack.com/a/img850/4378/pwke.png
JAR:
http://imageshack.com/a/img577/9656/zza2.png
00004:
http://imageshack.com/a/img14/892/z8oy.png
Splash_Composities_1:
http://imagizer.imageshack.us/v2/1024x768q90/716/fp7p.png
How can I edit it and fix the problem?
Thank you.
minhjirachi
2nd February 2014, 03:19
Hello everybody and, please, forgive me for my english. I have a blu-ray movie on my pc (Gladiator - 10th Anniversary Edition) which includes the extended cut and the theatrical cut. I have noticed that if I select the extended cut from its appropriate (java) menu, the theatrical cut starts and, if select the theatrical one, the extended cut starts. The next menus are correct, the "bug" is only for the version choice menu.
This is the structure of my blu-ray:
BDMV:
http://imageshack.com/a/img850/4378/pwke.png
JAR:
http://imageshack.com/a/img577/9656/zza2.png
00004:
http://imageshack.com/a/img14/892/z8oy.png
Splash_Composities_1:
http://imagizer.imageshack.us/v2/1024x768q90/716/fp7p.png
How can I edit it and fix the problem?
Thank you.
I think you should swap position of the extend character with the theatrical character (all status). That's all.
Matrix789
2nd February 2014, 03:32
I think you should swap position of the extend character with the theatrical character (all status). That's all.
Thank you for your answer. I am a very newbie in bluray editing, so can you tell me what I have to do exactly, please?
Thank you so much.
minhjirachi
3rd February 2014, 04:16
Thank you for your answer. I am a very newbie in bluray editing, so can you tell me what I have to do exactly, please?
Thank you so much.
Look at the last picture, you can see Extended word and Theatrical word. So using the photoshop or any editing program to swap both of them.
Cedvano
4th February 2014, 09:14
Change the playlists.
Ex:
00800 -> theatrical
00801 -> Extended
Switch between this playlist.
Matrix789
6th February 2014, 09:32
Change the playlists.
Ex:
00800 -> theatrical
00801 -> Extended
Switch between this playlist.
How can I find the correct files in the playlist folder?
Matrix789
6th February 2014, 10:56
Look at the last picture, you can see Extended word and Theatrical word. So using the photoshop or any editing program to swap both of them.
I tried to swap the words but I wasn't able to do it correctly. Can you do it in the right way? If I send you the .png file can you edit it for me?
rik1138
7th February 2014, 22:42
How can I find the correct files in the playlist folder?
Did they really mess this up on the actual disc sold in stores? That's a pretty brilliant move on behalf of the studio and their QC dept... :D
Use a tool called BDInfo. It will show you the PlayLists in order of longest duration. The longest one is likely your extended cut, and the next one is probably the theatrical. (There may be some really long bonus materials, so keep that in mind.)
As an example:
If 00800.mpls is 02:10:00 and 00801.mpls is 01:55:00, then just rename those two files (name 00800 to 00801, and 00801 to 00800). (They may not be in the 800s, just look at whatever BDInfo tells you.)
That would be the quickest, easiest way to solve the problem. No point in messing around with graphics and such.
Matrix789
8th February 2014, 00:08
Did they really mess this up on the actual disc sold in stores? That's a pretty brilliant move on behalf of the studio and their QC dept... :D
Use a tool called BDInfo. It will show you the PlayLists in order of longest duration. The longest one is likely your extended cut, and the next one is probably the theatrical. (There may be some really long bonus materials, so keep that in mind.)
As an example:
If 00800.mpls is 02:10:00 and 00801.mpls is 01:55:00, then just rename those two files (name 00800 to 00801, and 00801 to 00800). (They may not be in the 800s, just look at whatever BDInfo tells you.)
That would be the quickest, easiest way to solve the problem. No point in messing around with graphics and such.
This is the situation:
http://imagizer.imageshack.us/v2/xq90/542/b1qz.png (https://imageshack.com/i/f2b1qzp)
I've tried to rename 00000.mpls and 00001.mpls in 00002.mpls and 00004.mpls in the bdmv/playlist and bdmv/backup/playlist folders but nothing happened.
In the stream folder there aren't two files, one for each version, but a lot of files of about 7 GBs which compose the entire movie. If there were just two files I would have tried to swap their names.
Capsbackup
9th February 2014, 16:01
This suggestion will not work on multi-part playlists like you have. :(
Matrix789
9th February 2014, 16:12
This suggestion will not work on multi-part playlists like you have. :(
So what can I do? There must be a way...
rik1138
10th February 2014, 21:40
Why wouldn't it work? 00000.mpls is probably the extended feature, 00001.mpls is probably the extended feature used for commentary or something with some of the audio/sub tracks hidden.
The PlayLists are still just called by the file name. If you rename 00000 and 00001 to 00002 and 00004 (and then the reverse for 2 & 4), playing the feature should launch the appropriate PlayList. When you click 'Play Movie' and the code wants to jump to 00000.mpls, that's what it will go to. If you rename a trailer PlayList to 00000.mpls, you will get the trailer.
I see no reason why it wouldn't work (I've done it before with no problem)... Are there more than just those 4 2+hour PlayLists? What is the difference between 00000 and 00001? (I suspect it's certain audio/subtitle languages being visible/invisible between the two of them...)
Assuming there isn't some odd copy-protection preventing you from just renaming the files and having that work, it should work...
Matrix789
10th February 2014, 23:16
Why wouldn't it work? 00000.mpls is probably the extended feature, 00001.mpls is probably the extended feature used for commentary or something with some of the audio/sub tracks hidden.
The PlayLists are still just called by the file name. If you rename 00000 and 00001 to 00002 and 00004 (and then the reverse for 2 & 4), playing the feature should launch the appropriate PlayList. When you click 'Play Movie' and the code wants to jump to 00000.mpls, that's what it will go to. If you rename a trailer PlayList to 00000.mpls, you will get the trailer.
I see no reason why it wouldn't work (I've done it before with no problem)... Are there more than just those 4 2+hour PlayLists? What is the difference between 00000 and 00001? (I suspect it's certain audio/subtitle languages being visible/invisible between the two of them...)
Assuming there isn't some odd copy-protection preventing you from just renaming the files and having that work, it should work...
I think we are focusing on the wrong problem. When I select one of the two versions, I am direct to its own menu and, in the case of the extended version, there is also a video introduction by Ridley Scott who explains the differences with the theatrical cut. The movie doesn't start immediately, so I think that I have to swap the playlists of the two menus instead of the movies' ones.
rik1138
10th February 2014, 23:44
I think I see the problem you are having after re-reading your first post...
So, from the first menu you choose 'theatrical' or 'extended'
If you select Theatrical, you are taken the Extended sub-menu.
From this point, when you select play, you get the Extended feature, correct?
So, the problem is getting the menus to launch the correct submenu at the start, not necessarily the PlayList that is being launched...?
Yeah, I was thinking it was just related to the wrong PlayList starting...
That would put us back at the original suggestion of swapping graphics, or hacking the Java code a little...
Matrix789
11th February 2014, 00:54
I think I see the problem you are having after re-reading your first post...
So, from the first menu you choose 'theatrical' or 'extended'
If you select Theatrical, you are taken the Extended sub-menu.
From this point, when you select play, you get the Extended feature, correct?
So, the problem is getting the menus to launch the correct submenu at the start, not necessarily the PlayList that is being launched...?
Yeah, I was thinking it was just related to the wrong PlayList starting...
That would put us back at the original suggestion of swapping graphics, or hacking the Java code a little...
Yes, it's correct; I've tried to swap the graphics and it seems to work, even if I remember that Scott's intro didn't start (I should recheck to be honest). The problem is that I'm unable to edit the file, because I'm not very good with Photpshop and, most of all, I don't understand the logic behind this file. The words seem to be placed in a random order, but they are not at all.
What do you mean with hacking the Java code? What should I have to do?
rik1138
12th February 2014, 10:40
Okay, I think I have an answer...
As for 'hacking the Java code', that depends greatly on what studio you are working with. Some put all the code in the JAR files which are a bit of a pain to do anything with. Others put key stuff in text files that you can easily edit. Some even go so far as to put _all_ the necessary programming in a few simple text files so you never have to touch the JAR to re-program the entire disc... It's usually 'hacking a text file' not the actual Java code. :)
In the case of this disc, I think your answer lies in the file images.java in the 00004 directory. That's the file that references the mosaic .PNG and tells the code how to 'cut it up' during playback. It's just a text file, open it in Notepad (or any text editor). In it, you will find this:
...
esES_splash_theatrical_sel = new ImageRegion( Splash_Composities_1, "esES_splash_theatrical_sel", 0, 0, 739, 110 );
esLA_splash_theatrical_sel = new ImageRegion( Splash_Composities_1, "esLA_splash_theatrical_sel", 739, 0, 738, 110 );
it_splash_theatrical_sel = new ImageRegion( Splash_Composities_1, "it_splash_theatrical_sel", 0, 110, 739, 100 );
esES_splash_theatrical_nor = new ImageRegion( Splash_Composities_1, "esES_splash_theatrical_nor", 739, 110, 682, 107 );
esLA_splash_theatrical_nor = new ImageRegion( Splash_Composities_1, "esLA_splash_theatrical_nor", 0, 210, 681, 107 );
it_splash_theatrical_nor = new ImageRegion( Splash_Composities_1, "it_splash_theatrical_nor", 681, 217, 709, 97 );
en_splash_theatrical_sel = new ImageRegion( Splash_Composities_1, "en_splash_theatrical_sel", 681, 314, 567, 101 );
ptBR_splash_extended_sel = new ImageRegion( Splash_Composities_1, "ptBR_splash_extended_sel", 1390, 217, 517, 110 );
ptBR_splash_theatrical_sel = new ImageRegion( Splash_Composities_1, "ptBR_splash_theatrical_sel", 1248, 327, 516, 110 );
esES_splash_extended_sel = new ImageRegion( Splash_Composities_1, "esES_splash_extended_sel", 0, 317, 507, 110 );
esLA_splash_extended_sel = new ImageRegion( Splash_Composities_1, "esLA_splash_extended_sel", 507, 415, 506, 110 );
...
etc. The 4 numbers at the end of each line are x/y coordinates of each individual graphic. Swap those numbers out for each 'extended' with each 'theatrical' for every language (or at least, the language you care about). That should make the Java code swap the 'theatrical' and 'extended' graphics on that loading page.
So, in just the small chunk I pasted above, you'd want to swap 0,0,739,110 of the first line with 0,317,507,110 of the second to last line (the only difference in the file name should be 'extended' and 'theatrical'. If you only care about Spanish, just swap out the ones that start with esES_ (esLA_ being Latin-American Spanish). Or it_ for Italian, ptBR_ for Brazilian Portuguese... Or just do them all. Make sure you do the ones with _sel and the ones _nor, or your buttons will do weird things as you select them. :D
This should be much easier than trying to change the graphic file itself...
I'll attempt this myself tomorrow just to see how it looks, but I figured I'd give you an idea what to do so you don't have to wait...
Matrix789
12th February 2014, 10:50
Okay, I think I have an answer...
As for 'hacking the Java code', that depends greatly on what studio you are working with. Some put all the code in the JAR files which are a bit of a pain to do anything with. Others put key stuff in text files that you can easily edit. Some even go so far as to put _all_ the necessary programming in a few simple text files so you never have to touch the JAR to re-program the entire disc... It's usually 'hacking a text file' not the actual Java code. :)
In the case of this disc, I think your answer lies in the file images.java in the 00004 directory. That's the file that references the mosaic .PNG and tells the code how to 'cut it up' during playback. It's just a text file, open it in Notepad (or any text editor). In it, you will find this:
...
esES_splash_theatrical_sel = new ImageRegion( Splash_Composities_1, "esES_splash_theatrical_sel", 0, 0, 739, 110 );
esLA_splash_theatrical_sel = new ImageRegion( Splash_Composities_1, "esLA_splash_theatrical_sel", 739, 0, 738, 110 );
it_splash_theatrical_sel = new ImageRegion( Splash_Composities_1, "it_splash_theatrical_sel", 0, 110, 739, 100 );
esES_splash_theatrical_nor = new ImageRegion( Splash_Composities_1, "esES_splash_theatrical_nor", 739, 110, 682, 107 );
esLA_splash_theatrical_nor = new ImageRegion( Splash_Composities_1, "esLA_splash_theatrical_nor", 0, 210, 681, 107 );
it_splash_theatrical_nor = new ImageRegion( Splash_Composities_1, "it_splash_theatrical_nor", 681, 217, 709, 97 );
en_splash_theatrical_sel = new ImageRegion( Splash_Composities_1, "en_splash_theatrical_sel", 681, 314, 567, 101 );
ptBR_splash_extended_sel = new ImageRegion( Splash_Composities_1, "ptBR_splash_extended_sel", 1390, 217, 517, 110 );
ptBR_splash_theatrical_sel = new ImageRegion( Splash_Composities_1, "ptBR_splash_theatrical_sel", 1248, 327, 516, 110 );
esES_splash_extended_sel = new ImageRegion( Splash_Composities_1, "esES_splash_extended_sel", 0, 317, 507, 110 );
esLA_splash_extended_sel = new ImageRegion( Splash_Composities_1, "esLA_splash_extended_sel", 507, 415, 506, 110 );
...
etc. The 4 numbers at the end of each line are x/y coordinates of each individual graphic. Swap those numbers out for each 'extended' with each 'theatrical' for every language (or at least, the language you care about). That should make the Java code swap the 'theatrical' and 'extended' graphics on that loading page.
So, in just the small chunk I pasted above, you'd want to swap 0,0,739,110 of the first line with 0,317,507,110 of the second to last line (the only difference in the file name should be 'extended' and 'theatrical'. If you only care about Spanish, just swap out the ones that start with esES_ (esLA_ being Latin-American Spanish). Or it_ for Italian, ptBR_ for Brazilian Portuguese... Or just do them all. Make sure you do the ones with _sel and the ones _nor, or your buttons will do weird things as you select them. :D
This should be much easier than trying to change the graphic file itself...
I'll attempt this myself tomorrow just to see how it looks, but I figured I'd give you an idea what to do so you don't have to wait...
Thank you so much, I'm trying now! Do I have to swap the lines under this one?: private static Image Splash_Composities_1
rik1138
12th February 2014, 11:04
Nope, just the little groups of numbers. You are pointing each reference name to new coordinates in the PNG file, so that should be all you need.
Matrix789
12th February 2014, 11:33
It doesn't work..the words are swapped but when I select (for example) the extended version and I press enter, I see for a fraction of second that theatrical one autoselects itself before redirecting me to its menu. Do I have to edit that file even in the backup/jar folder?
I'm uploading a video and a couple of screenshots of what happens, I know I haven't been clear..
EDIT: https://www.dropbox.com/s/dnujiv60j26jycj/Video%2012-02-14%2011%2026%2055.mov
Before
http://imagizer.imageshack.us/v2/640x480q90/36/b0nr.jpg
After
http://imagizer.imageshack.us/v2/640x480q90/823/n3gg.jpg
rik1138
14th February 2014, 21:28
Heh, okay, I've had a chance to actually launch and view the disc menus properly... This just got _real_ easy... It's a stupid design problem that the studios do all the damn time:
Message for all DVD/Blu-ray/Website/game/etc/etc/etc menu designers:
DON'T USE TEXT HIGHLIGHTS IF YOU ONLY HAVE TWO BUTTONS! EVER! I mean it... NEVER DO THIS! (Yes, I'm yelling at you...)
If a client asks for it, tell them they are wrong, there needs to be a graphical indicator of some kind telling you what you are highlighting. If they disagree, point them to this thread... :)
Look at the first image above, which option do you have highlighted? The yellow? The white? Who the hell knows... I've never understood why graphic designers and studios think this is a good idea... And then they add circular navigation, so if you keep hitting the 'right' direction on the remote, it keeps highlighting back and forth between them... So you really have no idea what's going on. :) (left does the same)
In this instance, there is a _tiny_ text size change when you are navigating, that's really the only hint I had to what was happening... But it's not very noticeable if you aren't looking for it... (Can you actually tell the white text is slightly larger than the yellow in the image above?)
(At the very least, studios, don't use circular navigation on a menu like this. Right from the right-most button should be blocked, as should left from the left button. So you can at least hit right a couple of times and know you are stuck on the right option... But there should be an _obvious_ way for someone that just walks up to the screen to see exactly what option is selected.)
So, here's the solution:
The _white_ text is the selected/highlighted option (not the yellow). When you launch the disc, it defaults to the Extended cut being highlighted. In your video clip, you navigate over to the theatrical cut and select enter. Then in the menus there's the option to change to the extended cut. The disc is working properly, just focus on the white text when at that first menu...
:D
(See how much of a pain-in-the-ass one bad graphics decision can become???)
Matrix789
15th February 2014, 08:43
So, in theory, instead of swapping extended and theatrical words, if I swap the yellow words with the white ones (much easier), it should work, right?
rik1138
15th February 2014, 09:17
Well, in your mind, yes... :)
Whatever is white is what you are selecting. So when you have 'theatrical' in white, and you press enter, it takes you to the menus for the theatrical cut. The disc works fine, you just have no real way of telling what option you are choosing when you press enter on the remote...
Matrix789
20th February 2014, 11:07
Well, in your mind, yes... :)
Whatever is white is what you are selecting. So when you have 'theatrical' in white, and you press enter, it takes you to the menus for the theatrical cut. The disc works fine, you just have no real way of telling what option you are choosing when you press enter on the remote...
Nothing to do, I wasn't able to fix it :(
rik1138
20th February 2014, 21:56
I'm not sure what you mean... I already mentioned, there's nothing wrong with the disc. White is the select state, whatever is white is what you are selecting... When 'Extended Edition' is white, and you press enter, you get the extended edition. What is it you still want to do?
Matrix789
22nd February 2014, 15:35
I know, but in the rest of the disc the yellow word is the selected one, so I wanted to tell the disc to do the same in the main menu. I hope I've been clear enough :(
rik1138
24th February 2014, 22:00
Are you sure about that? From the menus you sent me, the rest of the disc is the standard Universal menu colors (White text, white text with a blue border when selected). There's no yellow options at all once you select the movie you want to see...
But if you just want to flip the colors of the buttons, download the .PNG file below and swap it out in your 00004 folder, that should work. (I tried just swapping coordinates in that text file, which seems like it should have worked, but for some reason didn't... The actual coordinates being used by the code may be located somewhere else... So I just swapped the yellow and 'white' colors in the PNG, just seemed like the easiest way at this point. (It's actually a light blue))
http://www.handheldmuseum.com/_Temp/Splash_Composities_1.png
Matrix789
25th February 2014, 14:56
Are you sure about that? From the menus you sent me, the rest of the disc is the standard Universal menu colors (White text, white text with a blue border when selected). There's no yellow options at all once you select the movie you want to see...
But if you just want to flip the colors of the buttons, download the .PNG file below and swap it out in your 00004 folder, that should work. (I tried just swapping coordinates in that text file, which seems like it should have worked, but for some reason didn't... The actual coordinates being used by the code may be located somewhere else... So I just swapped the yellow and 'white' colors in the PNG, just seemed like the easiest way at this point. (It's actually a light blue))
http://www.handheldmuseum.com/_Temp/Splash_Composities_1.png
I don't know how you were able to do it but it works perfectly! And the selected word is not just yellow, but it's bigger too! You are a genius
docholliday
20th March 2014, 01:13
Please someone tell me How can i edit untouched BluRay? I mean remove some subtitles or audio from BluRay.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.