Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 23rd February 2010, 00:23   #1  |  Link
crl2007
Registered User
 
Join Date: Nov 2007
Posts: 650
Guide for Blu-Ray Menu Editing

I. MOST JAVA MENUS

If you want to modify a menu, you should look in the JAR folder and edit the corresponding files there. Some of them are having png files, some a *.txt file, some of them are having all the files inside a *.jar file. You can open a *.jar file with 7-Zip and add the modified picture with 7-Zip too. Some of them are having *.xml files to modify.

Some menus are more tricky than the others. Here I will explain particular cases and solutions for them, that if I find one.

II. STRIPS OF FONTS

There are some java menus that are using strips of fonts instead of whole words. These are very tricky to edit and they are time consuming. I struggled for a month to find a solution for the menu I will present you here. You'll recognize these ones because they have *.hcf files in the JAR\00000 ( could be 00001, 2, 3 and so on ) folder. To edit these you must follow these steps carefully:

a) Backup your Blu-ray disc to hdd using AnyDVD HD.

b) Copy the contents of the BDMV\BACKUP folder to BDMV folder. Now you'll have the original structure.

c) Open 00000.jar ( could as well be 00001, 2, 3 and so on ) with 7-Zip and look for FS.QCO or langMap_res.qct ( only one of these files are containing the menu words ) and extract them wherever you want. Sometimes, the subtitle streams are in different files, like h.class or tblSU_T3_Sub_res.qct. Open them in a hex editor and find which one has the menu words declared.

d) Change the word you want in hex ( but be careful not to delete / add strings, you'll have to accommodate in the existing ones ) and save.

e) Open the 00000.jar again with 7-Zip and replace the file in there with the edited one.

f) Open ImgBurn and make an ISO from BDMV and CERTIFICATE folders. It is described how to do it at step 12 from the guide above.

g) Insert the ISO in DAEMON TOOLS and decrypt it again with AnyDVD HD. ( versions previous to 6.8.0.0 because 6.8.0.0 doesn't fix java in unprotected discs anymore )

h) If you're lucky and edited well in hex, you'll have a fully working menu.

Thx goes to deank for his excellent idea.

III. IGS MENUS

Software needed:

1. BDEdit - free. Always check back for latest version.
2. Photoshop CS, CS2 or CS3 ( works best with Scenarist Designer PS ) - not free.
3. Scenarist Designer PS - not free

Let's get started. Read carefully and don't skip any steps.

1. Open your BDMV folder in BDEdit.

2. Go to CLIPINF Tab and look for your menu *.clpi file. Once you found it, press Menu.



3. In the MENU Tab, select the Objects Tab and identify the button or buttons you want to edit.

4. Save them on your hard-disk.



5. Save the buttons color palette.



6. Open all buttons in Photoshop and edit them with the language you want. Save them with the same name BDEdit saved them for you, but like this:



Edit and save all your button states like this. You will have 4 folders containing the final *.png files. Before saving in Photoshop, don't forget to merge all layers.

7. Go back to BDEdit, and in Objects TAB, replace the four button states from there with the ones you just edited. To replace an object, do the following:



8. After you have replaced all the button's states, press MUX, replace the original menu *.m2ts file and that's it.

9. Enjoy !

IV. JAVA MENUS THAT SHARE THE SAME *.PNG COORDINATES

These are menus that share the same *.png coordinates in both Audio and Subtitles menu. To edit these menus, we have to make our own separate *.png file and then load our coordinates in the menu code. Once you get the hang of it, these will seem pretty easy to edit. I will complete the guide one of these days, when I'll have some more time. This kind of menus have in the jar folder some *.txt, *.prop or *.prp files ( images.txt, menu_base.prop, menus.prp, regions.prp ).

1. We go to \BDMV\JAR\XXXXX and look for menu_base.prop or menus.prp and identify the language we want to replace, so we can know what coordinates to add in images.txt or in regions.prp.



As you can see, in the case of menus that have *.prp files, you have to look in 2 places, not only in one. Main menu and pop-up menu images are in two separate places in the file. We will replace the romanian subtitle text with test_subtitle_doom9.

2. We now open images.txt or regions.prp and press CTRL+F and look for the button coordinates from point 1.

In the regions.prp file case, we will add 2 new rows, regions 202 and 203 and we will edit the final line Regions=203. In the images.txt file case, we will copy the three rows and rename them as we want, as long as we use the same name style used in the original file. After doing that, we will have to create our new png file with the language we want to add, keeping the original menu fonts and for the *.prp files BD, we will have to add our language directly in the main composite png ( if you don't know which one it is, just read the second row from regions.prp ).



3. After adding our lines, we now have to calculate the coordinates. We do that with photoshop.

2 minus 4 must be equal with 2 minus 4 from the original language button. 2 minus 4 is the height.

4. We replace the coordinates from our files and we save them. Use Notepad2 for every Blu-Ray operation. Notepad from windows creates some discrepancies.

5. We now have to edit our menus.prp or menu_base.prop files, replacing the original button with our own.

As for the other operations, please use Notepad2. Just save. If you've done all ok, you will have a button similar and in the same position as the original one. If you didn't, then you will have to adjust some overlay options in menu_base.prop or menus.prp files, but this is not recommended, because it's something kinda forced. The new png file must be copied in the same folder where are all the others.

If you have questions or you don't understand something, post here. For feedback post here too.

Last edited by crl2007; 27th September 2011 at 09:20.
crl2007 is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:35.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.