View Full Version : PcgEdit "add blank cell" error
CirTap
20th September 2005, 19:28
Hi r0lz,
I've been playing with your "tip" using "New dummy PGC" and add blank cell in PgcEdit 0.6.1b12.
While this works fine if I solely use the "Create new blank cell" button in the PGC editor, I get a "TCL-style" error message via the "Create new blank VOB cell" in the "Assign VOB/Cell-ID dialog"
can't read "parent": no such variable
can't read "parent": no such variable
while executing
"tk_messageBox -title "Assign VOB/Cell ID" -icon warning -message "The DVD will be saved now..." -parent $parent"
("after" script)
after that, any following attempts to add a new cell with any of the two methods results in a (Windows-style) messagebox
Append blank Cell to VOB
Error appending new Cell to VOB file:
The number of sectors in the VOB file(s) (516 sectors) don't match the VTSM_C_ADT table (511 sectors)
Number of sectors or *_C_ADT table name depend on the VTS/VMG and no. of cells of course.
I restarted PgcEdit, reloaded the DVD, no difference.
I tried to fix "VTS sectors" with IfoEdit (no idea if this is the way to go) with no success.
Steps to reproduce, and apparently there's no difference if I add a dummy to VMG or a VTS
(you should have Flash installed to see this screen-demo
Wink Screendemo of what I did (http://www.webmechanic.biz/pub/doom9/t100287/) ~405kb
otherwise download SWF-file here (http://www.webmechanic.biz/pub/doom9/t100287/PgcEdit-cells.swf) or Win-EXE version (http://www.webmechanic.biz/pub/doom9/t100287/PgcEdit-cells.swf) ~ 545kB
Am I doing something wrong or did I discovered an "inconsistancy"?
CirTap
CirTap
20th September 2005, 20:33
addendum: I remembered there was something in the PgcEdit thread about this and found this reply of yours (http://forum.doom9.org/showthread.php?p=710509&highlight=blank+cell#post710509) saying the "error message" is a "safety check".
however, what puzzles me, is that I can add quite some amount of blank cells using the button in the main dialog, and only get the "safety error message" if I use the one from the cell-id requester(?)
just thinking aloud :)
CirTap
r0lZ
21st September 2005, 11:58
Am I doing something wrong or did I discovered an "inconsistancy"?Thanks for the word "inconsistancy"! It's a bug. I have fixed it now.
Unfortunately, this error occured after the new cell was appended to the VOB, but before the DVD was saved. So, there is now an 'inconsistency' between the VOB and the IFO. You will have to restore the backup of the VOB file. Or, if you don't have the backup, you may try to cut the last cell in the last VOB of the domain (starting at the last nav pack) with an hexadecimal editor. Sorry for that!
If you have this problem again, just ignore the first error, and save the DVD! Everything should be fine.
And yes, the second error message is the safety check described in the thread. But this time, this error is a result of the first error. Sorry again.
CirTap
21st September 2005, 13:12
r0lZ,
Thanks for the word "inconsistancy"! It's a bug. I have fixed it now.
you're welcome. so is there some b13 or b14 for download?
And no need to appologize, read the first line of my sig :) In case you don't happen to have a crew for QA, tripple checking every line of code, UnitTesting, you name it, stuff like this can happen in complex apps like PgcEdit. (that's why I stopped writing GUI-apps 'bout 10 yrs ago -- so tedious)
thanx for the hint of how to fix such files, in case this would happen on some "serious" material -- not that I'm hot to mess around with a hex-editor ...
I was just playing with a "chain of tools" to find some kind of best workflow to do this mass menu-creating task I'm going to burdon myself, nameing footage & dirs, encoding, de-/re-muxing, studying CLI cmds, so just "VOBing around" ;) -- this empty DVD was just one of the things I screwed up in this elaborating process ... nothing my life or income depends on :D
one question though: I'm missing the "multiple backup folders" setting? has this been gone for good or just moved someplace else? you rearranged the menu (nice), and I can't find it anymore. hint?
Have fun,
CirTap
zacoz
21st September 2005, 13:41
one question though: I'm missing the "multiple backup folders" setting? has this been gone for good or just moved someplace else? you rearranged the menu (nice), and I can't find it anymore. hint?@CirTap: Multiple Backup Folders setting is in VobBlanker. PgcEdit has the ability to manually create an incremental backup (File --> Incremental Backup)
Create Backup (Ctrl + b), Incremental backup, Restore Backup and Delete Backup: Backup/restore and delete the IFO files, in case things turn sour! See also the Options menu. The Incremental backup renames the original PgcEdit_backup folder to one which contains the date and time it was last modified and saves your IFOs in a newly created PgcEdit_backup folder. This is very useful for progressive saving of your work. Love the D.A. quote CirTap
r0lZ
21st September 2005, 13:56
you're welcome. so is there some b13 or b14 for download?I will release v0.6.1 final soon, but I cannot release new 0.6.1betas anymore because I have changed something important that cannot be released yet, and I don't want to revert to the previous state.
Anyway, v0.6.1 is ready; I need only a green light to release it. Maybe in a couple of days...
As I said, you can safely use the current Add Blank Cell function. Just be sure to save the DVD manually. You may also have to reload it to refresh the PGC Selector labels.
CirTap
21st September 2005, 14:05
must have been blind, but that's what I was looking for: incremental backup; messed up the terms -- and used it before, hence it'd been quiet useful if I'd taken a look in the file menu yesterday :-)
CirTap
21st September 2005, 14:12
@r0lz: well, then: I guess I can live with a "final" :D
As I said, you can safely use the current Add Blank Cell function. Just be sure to save the DVD manually. You may also have to reload it to refresh the PGC Selector labels. yupp, that's what I'm doing right now, and it works like a charme, if I go in one row, add 4-5 blanks to a single menu only, a reload doesn't seem to be necessary. I need to reload anyway if I run VIDChanger and VobBlanker on that menu to stuff in the "real" footage.
Have fun,
CirTap
r0lZ
23rd September 2005, 10:05
Final note: As explained in this thread (http://forum.doom9.org/showthread.php?t=100372), a processing of the domain with VobBlanker should be sufficient to fix the problem. It's easier than the hexadecimal editor method I've suggested before! :o VobBlanker's ability to drop the unreferenced material is so powerful! :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.