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 > IFO/VOB Editors

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th November 2008, 19:54   #1  |  Link
wencaS
Registered User
 
wencaS's Avatar
 
Join Date: Oct 2005
Posts: 18
Chapter Commands Generator

This program generates the commands necessary to highlight the correct chapter button on the correct DVD menu page. Use PgcEdit to paste the commands set.




This app is running under AutoHotKey version 1.0.47.0
The supported versions are Windows NT / 2000 / XP / 2003 and beyond.
I tested this only on Windows XP Pro SP2.
  • Add
    • check for SPRM 4. (Title number in volume)
    • support for multistory
    • manually specify order of buttons
  • remove
    • pre and post commands for main movie title. (they are not needed when is added check for SPRM 4 )
  • Fix
    • small bug when saved sbk files
    • small optimized for speed start



I'm sorry please my very bad English.



Download from homepage ChapterCommandsGenerator

Last edited by wencaS; 19th January 2013 at 18:10.
wencaS is offline   Reply With Quote
Old 17th November 2008, 22:30   #2  |  Link
blutach
Country Member
 
blutach's Avatar
 
Join Date: Sep 2004
Location: is everything!
Posts: 6,499
Thanks for this very handy little app wencaS!

Regards
__________________
Les

Only use genuine Verbatim or Taiyo Yuden media.
blutach is offline   Reply With Quote
Old 17th November 2008, 22:45   #3  |  Link
Meez
Registered User
 
Join Date: Jan 2008
Posts: 16
yes! thanks for a great app.!

one thing i noticed is that when i resize the window, the "Generate" button on the bottom is not shown. it shows up when the window is maximized. i know you can use the File menu to generate the commands, but i think it would be safe to maybe add a scroll bar on the right side of the window if it is resized?
Meez is offline   Reply With Quote
Old 18th November 2008, 16:29   #4  |  Link
wencaS
Registered User
 
wencaS's Avatar
 
Join Date: Oct 2005
Posts: 18
@blutach
I forgot! Many many thanks to all what assist in development.


@Meez
Or you can use shortcut CTRL+G.

Thanks for you suggestion, but this will be not easy in AutoHotkey, however I try it.
wencaS is offline   Reply With Quote
Old 24th November 2008, 20:12   #5  |  Link
wencaS
Registered User
 
wencaS's Avatar
 
Join Date: Oct 2005
Posts: 18
ChapterCommandsGenerator v 0.7

@Meez
I trying add scroll bar, but this is very not good. Sorry. I fix problem with sometimes wasn't displayed button "Generate!" alternative method.


Download ChapterCommandsGenerator v 0.7 in my first post.

Changes:
  • Fix
    • when generated commands set for several PGCs (so far all right), now uncheck one PGC, after generated included fake PGC (therefore also GoTo line is fail).
    • the "Generate" button sometimes wasn't displayed
  • Add
    • your setup (LinkPGN 2 or LinkCN 2; Buttons per page; First button number) accepted also for all disabled option
      if "Remember session?" enabled change saved as default.

Last edited by wencaS; 24th November 2008 at 20:47.
wencaS is offline   Reply With Quote
Old 25th November 2008, 01:01   #6  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,487
Thanks wencaS!
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 25th November 2008, 05:01   #7  |  Link
Meez
Registered User
 
Join Date: Jan 2008
Posts: 16
thanks!!

but now i can't resize the window at all? i guess there wasn't a way to add scroll bars. either way, i can live without it.
Meez is offline   Reply With Quote
Old 26th November 2008, 17:45   #8  |  Link
wencaS
Registered User
 
wencaS's Avatar
 
Join Date: Oct 2005
Posts: 18
You really need resizable window?
wencaS is offline   Reply With Quote
Old 27th November 2008, 00:13   #9  |  Link
Meez
Registered User
 
Join Date: Jan 2008
Posts: 16
i have a 1024x768 screen and it doesn't fit on the screen. the 'generate' button is blocked by the toolbar.
Meez is offline   Reply With Quote
Old 27th November 2008, 06:32   #10  |  Link
wencaS
Registered User
 
wencaS's Avatar
 
Join Date: Oct 2005
Posts: 18
My is 1680x1050.
OK, here is resizable version 0.7 with scrooll bar. ChapterCommandsGenerator v 0.7 (resizable + scroll bar) (from version 0.7 in every version)

Last edited by wencaS; 19th August 2009 at 07:43.
wencaS is offline   Reply With Quote
Old 28th November 2008, 04:48   #11  |  Link
Meez
Registered User
 
Join Date: Jan 2008
Posts: 16
it works great! thanks!
Meez is offline   Reply With Quote
Old 6th December 2008, 20:18   #12  |  Link
wencaS
Registered User
 
wencaS's Avatar
 
Join Date: Oct 2005
Posts: 18
@Meez
Thanks for the thanks!

Here is final ChapterCommandsGenerator v 0.8 (homepage).

Changes:
  • If option "Save window position" enabled, saved also high size and width size window. (added for small monitor ... "scrollable window")
  • Chapters per button selections.
  • If DVD opened in PgcEdit, default save path for sbk file is path to parent DVD folder.


Thanks to blutach for the suggestion "Chapters per button".

Last edited by wencaS; 18th January 2013 at 18:09.
wencaS is offline   Reply With Quote
Old 8th December 2008, 06:24   #13  |  Link
Meez
Registered User
 
Join Date: Jan 2008
Posts: 16
ok, i have a little problem. let's say i have a multi-page chapter menu. each page has 6 chapter buttons. they also have buttons to go to the next/prev page as well as buttons to go to the first and last page. now, this menu has 2 pages. when i select a chapter button on the second page, then press the root menu button, it goes to the second page and highlights the chapter button fine. now when i press the 'go to first page' button, it just stays on the second page and highlights the same chapter button.

i think i figured out why it does this. the 'go to first page' button links to the first page of the chapter menu, but the pre commands read the gprm(7) chapter and proceed to go to the correct page and highlight button. so it just loops to the second page whenever i select the 'go to first page' menu button.

is there someway to fix this?
Meez is offline   Reply With Quote
Old 8th December 2008, 08:39   #14  |  Link
blutach
Country Member
 
blutach's Avatar
 
Join Date: Sep 2004
Location: is everything!
Posts: 6,499
Quote:
now when i press the 'go to first page' button, it just stays on the second page and highlights the same chapter button.
If all in one PGC, change the commands to Link PGN 1, HL Button 6, instead of Link PGCN X (Link PGCN starts the PGC again at the precommands, Link PGN just jumps to a program without reading through the commands and jumping to the current chapter).

If the chapter menu is in several PGCs, then use a new dummy PGC for your chapter commands and direct the button for the scene selection on the main menu to that new dummy PGC. That way, the precommands are not executed, since the only time that new PGC is read is from the scene selection button on the main menu.

Regards
__________________
Les

Only use genuine Verbatim or Taiyo Yuden media.

Last edited by blutach; 8th December 2008 at 08:42.
blutach is offline   Reply With Quote
Old 9th January 2009, 11:30   #15  |  Link
wencaS
Registered User
 
wencaS's Avatar
 
Join Date: Oct 2005
Posts: 18
Big thanks blutach for your answer here, and for your big help at development.

Before using this version, please read the small help for more information ("Help" -> "Quick help" or shortcut "F1").

Changes from v0.8 to v0.9:
  • Add: "Option" -> "Default save path for SBK files", shortcut Ctrl+O.
  • Add: option "For new dummy PGC". (You must create a new dummy PGC to hold the generated commands (PGC --> New Dummy PGC). You must then use PgcEdit's menu editor to point the scene selection menu button to this new dummy PGC via a Link PGCN xxx command.)
  • Add: "Option" -> "Auto copy to clipboard". This possibility automatically will make copy to the clipboard generated commands set, in the event of several PGCs and unchecked option "For new dummy PGC", only commands for the first PGC.
  • Add: Default button number if Title wasn't played till now. If unchecked will be generated commands for highlight button for first chapter. This option will be saved when Remember sesion enabled.
  • Add: Test if the title is playing by using the RSM flag. If not exist RSM flag in your DVD, you have to first create it.
  • Selection which stop away use are disabled.
  • For Multistory selection - selected title number is red at following opening window for multistory titles selection.
  • For open SBK files in PgcEdit's scratchbook, needed PgcEdit v. 9.0 or higher.
  • Small cosmetic changes. And fixed several small bugs.



Download from homepage ChapterCommandsGenerator v 0.9

Last edited by wencaS; 18th January 2013 at 18:10.
wencaS is offline   Reply With Quote
Old 9th January 2009, 13:42   #16  |  Link
blutach
Country Member
 
blutach's Avatar
 
Join Date: Sep 2004
Location: is everything!
Posts: 6,499
Thanks heaps for the update wencaS and your huge effort in development!

Regards
__________________
Les

Only use genuine Verbatim or Taiyo Yuden media.
blutach is offline   Reply With Quote
Old 19th August 2009, 07:45   #17  |  Link
wencaS
Registered User
 
wencaS's Avatar
 
Join Date: Oct 2005
Posts: 18
ChapterCommandsGenerator v 1.0

@blutach
Thanks for the thanks and thanks for the new idea.

New version 1.0 available.
Download from homepage: ChapterCommandsGenerator v 1.0


What's new:
  • Support for indirect set the highlighted button number via GPRM.
    Use this if your PGC with chapter menu included command (in this example gprm(5) for highlighted button number)
    [46 00 00 00 00 05 00 00] (SetHL_BTN) Set Highlighted Button =(mov) gprm(5)
    Generate :
    [61 00 00 05 00 03 00 00] Set gprm(5) =(mov) gprm(3)
    instead of:
    [75 00 00 03 04 00 00 00] Set gprm(3) *=(mul) 1024
    [46 00 00 00 00 03 00 00] (SetHL_BTN) Set Highlighted Button =(mov) gprm(3)
  • Support for more values for RSM flag. Only for one PGC mode, and for more PGC mode -> only for new dummy PGC. Value for RSM to occur type only digits separated with semicolon ";"! For example: "2;10" (without quotes).
    In more PGC mode without dummy will apply only first value before ";".
  • User can disable splash screen on startup.

Last edited by wencaS; 18th January 2013 at 18:10.
wencaS is offline   Reply With Quote
Old 19th August 2009, 08:56   #18  |  Link
Wombler
Affable Wanderer
 
Wombler's Avatar
 
Join Date: Apr 2007
Location: Northern Ireland
Posts: 451
Great job wencaS and thanks for the update.


Wombler
Wombler is offline   Reply With Quote
Old 19th August 2009, 09:15   #19  |  Link
wencaS
Registered User
 
wencaS's Avatar
 
Join Date: Oct 2005
Posts: 18
wencaS is offline   Reply With Quote
Old 19th August 2009, 10:21   #20  |  Link
blutach
Country Member
 
blutach's Avatar
 
Join Date: Sep 2004
Location: is everything!
Posts: 6,499
Thanks again wencaS. I usually hate splash screens but this one is very cool and takes no time at all.

Regards
__________________
Les

Only use genuine Verbatim or Taiyo Yuden media.
blutach is offline   Reply With Quote
Reply

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 21:57.


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