Forum Index


Support myDVDEdit

Register Register
Log in Log in

Search Search
FAQ FAQ



--- Links ---
MacEtVideo
VideoHelp
Forum Mac-Video
 
Strange Behavior of a Navigational Conditional
Forum Index -> Questions
Reply to topic
View previous topic :: View next topic  
Author Message
neville
Advanced Member
Advanced Member   



Joined: 13 Jun 2007
Posts: 17

PostPosted: Mon 04 Jan 2010, 16:47 Reply with quote

I had a Video_TS folder recently in which myDVDEdit's Debug Mode hit a conditional with sidelined the navigation to a "This Disc not Playable in Your Region", although mDE's Test (cmd-T) ran the disc fine. The command: "if(R0 == 01) Link Pgc 12"


I reversed the conditional, at which point Debug Mode was cleared to go, but Test got hung up with "This Disc...". To continue to work beyond that anomaly point and still be able to Test, I had to create bookmarks. The session finished up fine.

BTW, this happened with an ISO created by MTR 4.
_________________
•G4 PB 1.5GHz • OS 10.5.6 • Pioneer DVR-115 (Bytecc 340U2F)
•MacMini 2GHz Intel Core 2 Duo • OS 10.5.8(& 10.4.11) •Pioneer DVR_118L (Syba)
•MTR2.6.6 thru 3.14m to MTR4 (both machines) • RipIt 1.2.4
•DVDRem 4.5.1 • DTox 2.3.0 • myDVDEdit
Back to top
View user's profile Send private message
Jerome
Administrator
Administrator   



Joined: 18 Jul 2005
Posts: 460
Location: France

PostPosted: Tue 05 Jan 2010, 17:40 Reply with quote

Could you copy/paste all the commands of the PGC and not only the conditional link.

Jerome
Back to top
View user's profile Send private message Visit poster's website
neville
Advanced Member
Advanced Member   



Joined: 13 Jun 2007
Posts: 17

PostPosted: Tue 05 Jan 2010, 18:07 Reply with quote

This is VMG Menu P2 (immediately following First Play)
The Pre-Cmds

R0 = playerRegionCode
R0 &= 255
if(R0 == 1) Link Pgc 4
Jump VMG Menu Pgc 3

Registrations before line 1: R3=100, all others 0
No GoUpPgc Links

line 3 is the one I changed "==" to "!="

neville
_________________
•G4 PB 1.5GHz • OS 10.5.6 • Pioneer DVR-115 (Bytecc 340U2F)
•MacMini 2GHz Intel Core 2 Duo • OS 10.5.8(& 10.4.11) •Pioneer DVR_118L (Syba)
•MTR2.6.6 thru 3.14m to MTR4 (both machines) • RipIt 1.2.4
•DVDRem 4.5.1 • DTox 2.3.0 • myDVDEdit
Back to top
View user's profile Send private message
Jerome
Administrator
Administrator   



Joined: 18 Jul 2005
Posts: 460
Location: France

PostPosted: Tue 05 Jan 2010, 18:32 Reply with quote

Remplace all with
Link Pgc 4

Jerome
Back to top
View user's profile Send private message Visit poster's website
neville
Advanced Member
Advanced Member   



Joined: 13 Jun 2007
Posts: 17

PostPosted: Tue 05 Jan 2010, 22:01 Reply with quote

That worked, as did simply deleting line 4 (Pgc 3 was the "Out of Region" alert). R0 certainly did "not equal 1". (I take a "==" to mean "≠".) After that conditional, we should have be on to Pgc 4 and the rest of the navigation.

And if the scripting as followed in Debug Mode did one thing (getting shunted to Pgc 4), why did DVDPlayer do the other (go on to Pgc 3).

And also why, if we were already in VMG P2, why does line 4 "Jump to" Pgc 4, instead of "Link to" it?

I'm wondering where this bad scripting came from (but I may never find out).

neville
Back to top
View user's profile Send private message
Jerome
Administrator
Administrator   



Joined: 18 Jul 2005
Posts: 460
Location: France

PostPosted: Wed 06 Jan 2010, 01:10 Reply with quote

playerRegionCode is a system register. his value depends on the player.
in myDVDEdit, the value is set by the DVD/Region Code preferences, and the default value is 0x00FF (all regions). That's not a normal value.
With normal DVD players, the value correspond with the region where the player is sold. 1 is the value for region 1, USA/Canada.

When a DVD is inserted in a player, the region code of the DVD is compared with the playerRegionCode with a binary AND, if the result is zero, the DVD is rejected.
Now many DVD players set the playerRegionCode to 0xFF to accept all region DVDs. To counter that, some DVDs like yours verify that the playerRegionCode value is valid.

Jerome
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Forum Index -> Questions Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2017 phpBB Group