crl2007
22nd February 2010, 12:01
I'm opening this thread for a little brainstorming concerning one particular java menu. Certain scripts are calling out strips of fonts instead of whole words.
I uploaded here (http://www.sendspace.com/file/15724b) an archive containing a blu-ray menu. I stripped everything else and I shrinked it to 20 mb. Full menu structure. The password is doom9. I do the following:
1. Extract the whole jar file with 7-zip.
2. Edit the fs.qco file with a hex editor and write another language instead of spanish.
3. Replace the fs.qco in the jar with 7-zip too.
Some discs have langMap_res.qct for menu writing, but here it has no role in our menu.
At this point, when loaded, the menu crashes. Nothing appears. If I edit it back through the same method and write Spanish, as the original was, the menu now works. I first believed to be size related, but size has nothing to do with it. It must be something that I'm not seeing. Some dependency.
I narrowed it down to a SHA-1 Digest from the MANIFEST.MF file, a thing that is too hard for me. The strings have the same lenght.
Manifest-Version: 1.0
Name: a.class
SHA1-Digest: /uMe1nidJ+WNV+uA/7rqbtF4fEs=
Name: aa.class
SHA1-Digest: 11Df5L9r6/PVGF/bc59pqjUyr8Q=
Name: aaa.class
SHA1-Digest: MMcCZw+wmmPWoLppJAyXsSuh1NE=
Name: aab.class
SHA1-Digest: 5cm3005k8sLu9VY25ge/bufaFUQ=
That's how all of them are. Same lenght. 75% of the work is done, the other 25 I'm not good at. Maybe someone here knows this kind of things.
I uploaded here (http://www.sendspace.com/file/15724b) an archive containing a blu-ray menu. I stripped everything else and I shrinked it to 20 mb. Full menu structure. The password is doom9. I do the following:
1. Extract the whole jar file with 7-zip.
2. Edit the fs.qco file with a hex editor and write another language instead of spanish.
3. Replace the fs.qco in the jar with 7-zip too.
Some discs have langMap_res.qct for menu writing, but here it has no role in our menu.
At this point, when loaded, the menu crashes. Nothing appears. If I edit it back through the same method and write Spanish, as the original was, the menu now works. I first believed to be size related, but size has nothing to do with it. It must be something that I'm not seeing. Some dependency.
I narrowed it down to a SHA-1 Digest from the MANIFEST.MF file, a thing that is too hard for me. The strings have the same lenght.
Manifest-Version: 1.0
Name: a.class
SHA1-Digest: /uMe1nidJ+WNV+uA/7rqbtF4fEs=
Name: aa.class
SHA1-Digest: 11Df5L9r6/PVGF/bc59pqjUyr8Q=
Name: aaa.class
SHA1-Digest: MMcCZw+wmmPWoLppJAyXsSuh1NE=
Name: aab.class
SHA1-Digest: 5cm3005k8sLu9VY25ge/bufaFUQ=
That's how all of them are. Same lenght. 75% of the work is done, the other 25 I'm not good at. Maybe someone here knows this kind of things.