Log in

View Full Version : IFOupdate "overflow" problem


Regatta990
26th January 2003, 05:36
When I tried to re_author original IFO file using IFOupdate, "overflow" "error 6" occurred. Does anyone have same experience ? I assume it runs on W2K/NTFS. Am I correct ?

RE*:confused:

Regatta990
27th January 2003, 02:31
It seems that nobody has this problem.....

The situation is;
(1)load IFOupdate
(2)select original IFO
(3)message pop ups, "runtime error 6""overflow occurred".
original message is Japanese, since I have W2K Japanese.
(4)This happens other IFO files, ripped by DVDdecriptor 3.1.4 file mode.

I appreciate to give me small light.

RE*:(

oddyseus
27th January 2003, 14:15
Since none of us r having this error condition I suggest to drop a line to the author. He among all others is able to help u.

jdobbs
28th January 2003, 03:31
Post the IFO and the sequence of events and I'll find the problem.

Eyes`Only
28th January 2003, 04:47
I got the same error a couple times.. ended up being that i had the original and reauthored ifo the same. Not sure if that will recreate the error everytime, but it may be a place to start...

Regatta990
28th January 2003, 12:28
Thank you for your advise. Attached are the IFO files I did try to backup from my DVDs.

IFOupdate will abort when I select original IFO file first. It will not die authored IFO files is specifed, but it will then abort with message pop up when original selected. All the IFO files are R2 NTSC.

This happens both for v0.63 and v0.59, I did not try other version.

RE*:rolleyes:

jdobbs
28th January 2003, 22:35
Attached???? Nothing there.

mpucoder
28th January 2003, 22:43
In keeping with policy concerning .ifo files, the attachment won't be approved. You can, however, send them privately.
The problem is a simple one, IfoUpdate lacks the logic to expand a PGC beyond the sector boundary. IfoEdit, on the other hand, can. If you add enough commands to the PGC in question (NOP will do) IfoEdit can then allocate more space and adjust the pointers. Then you can use IfoUpdate.

Regatta990
29th January 2003, 02:35
mpucoder,

thanks for your advise,
I did not selected sector boundary changed IFO file as "original". The IFO file I selected is "alomost original" with a couple of Pre/PostCommand changed, not adding/deleting these commands.

(1)load IFOupdate
(2)click "browse" button of original IFO path
(3)select IFO files as original
(4)message-popup, "runtime error 6, overflow occurred"
(5)abort when I click "OK" in the small popup window.

jdobbs, I appreciate your support, and please give me specific field name of IFO file and i'll post the number/value of these field in excel as far as it complies with the forum policy.

I'm manually changing cell information of original IFO files, which is supposed to last almost forever.

many thanks,
RE*:rolleyes:

Regatta990
17th March 2003, 14:45
I tried the latest IFOupdate v0.70, as it says;

Extended the length of the INI read fields, apparently it sometimes overruns in non-English languages (Runtime Error 6)

But it occurs again and again. When I put the original file, the content of IFO file is displayed in the box, then error message box popped up ! The situation semms to be the same.

Does anyone help me ? I'm tired of manually editing IFO file...

:confused:

jdobbs
17th March 2003, 22:32
Delete the INI file in the .EXE path or edit it and make sure there is a legitimate path for each of the path variables.

Regatta990
18th March 2003, 00:12
I finally found that "AutoAnalyze Original IFO" in the "Option" tab has been enabled.

(1)disable "AutoAnalyze", and delete INI files, then invole v0.70. it started without "runtime error 6" error message popped up.

(2)As soon as "AutoAnalyze" enabled, error message popped up. The following is the INI files.

[Flags]
Mode=1
AutoAnalyze=1
[Paths]
Original=F:\GESCAPEJA\VIDEO_TS\VTS_01_0.IFO
New=F:\GESCAPEJA\DVD2AVI\VTS_01_0.IFO
Backup=F:\backup.ifo

(3)delete INI files again keeping "AutoAnalyze" disabled, click "Get VTS Vector", "runtime error 6" error message popped up, while "checking VMG_PTT_SRPT start sectors" is displayed in the message box.

(4)Also, when runtime error occurred, in the message box, I can see;

2. video attribute
3. audio attribute
4. subpicture attribute

analyzed and displayed.

My machine has AMD Athlon 1.1GHz, does this cause the problem ??

Regards,
/REG

Longevity
20th March 2003, 10:46
Regatta,

Have you solve this problem yet. I have the same "overflow" problem.

I hope that the author can fix this. Especially when it is reading Korean.

This is region 3 DVD's that I am talking about. I usually get foreign launguages like Thai, Korean, Indonesia, etc..

Let me know if you are communicating privately with the author of Ifoupdate to resolve the problem.

Regatta990
20th March 2003, 11:05
Unfortuanately the situation has not been changed and I'm still correcting IFO file manually. I hope it would be fixed in the next release of IFOupdate shortly.

Regatds,
/REG :(

Longevity
20th March 2003, 14:42
Regatta,

Since I don't have the handy tool (ifoupdate) working, I am resorted to do ifo update manually like you. So, I am gonna ask you a very vague question. How do you edit ifo files manually after re-authoring? Which section of ifo specifically are you looking for to replace?

It would be great if you can provide me with some hints unless there is guide from which I can somewhere that I am not aware of.

Thanks in advance.

jdobbs
21st March 2003, 00:24
I am not familiar with how foreign languages store characters. I use an integer to store text I get from the file... Do you have any idea if that could be a problem? Runtime 6 is an overflow. I'm looking at it and can't seem put my finger on this.

Longevity
22nd March 2003, 15:35
I am sorry that I can't help you there as I am not an expert at understanding how foreign languages are added in the ifo files. Perhaps, Regatta can better help you in this case.

Regatta990
23rd March 2003, 01:15
I do not thing IFO file itself has foreign character set in it, unless some field is specified as TEXT. But you can try to use "unsigned char" or "unsigned integter" to avoid improper handling of MSB, which multinational character uses.

For example, when you encounter the byte 0x31 in the TEXT/STRING field, it is "1" in number of which value is 1. But 0x8a, of which MSB is on, it is mutinational character which can is represented by consequent 2 byte. (0x8a12, one character, for instance. This is why multinational character sometimes is called "double byte character")

I'm sorry that I'm not a specialist of NLS. (national language support, am I right ?) But I believe the tip is to use "unsigned xxx" as field definition to the field which may be text/string.

unsigned character comments[LENGTH_OF_COMMENTS];

AS far as runtime error I got, IFOupdate partially worked out until it encounters this error in subpicture analysis or just after subpicture analysis as I mentioned. Since I have never succeeded IFOupdate, I have no idea what is a correct result after IFO analysis.

Is there somebody who has an NLS programming on Windows ?

I relly hope these help you to nail down the problem.

Regards,
REG;

Regatta990
23rd March 2003, 01:29
I tried ENTRAPMENT R1/NTSC I got in US, which is supposed to have no Japanese characters in it. The same thing happended.

I suppose this comes from mismatching the use of some runtime function of C/C++ and Windows NLS environemnt. For example, NLS library of Windows returns actual length of character. not length in byte. Maybe IFOupdate retrieve some system information...

BTW, the following is the INI file when runtime error happened with ENTRAPMENT.

[Flags]
Mode=1
[Paths]
Original=F:\ENTRAPMENT\VIDEO_TS\VTS_02_0.IFO

Regards,
REG;

jdobbs
23rd March 2003, 04:31
Let's see what happens with the attached version. I changed the size of a variable that was accepting character input on the "LANGUAGE" input.

Hope it helps...

Whoops... I forgot I'm not a MOD in this forum... we'll have to wait until it's approved.

Longevity
1st April 2003, 12:54
Jdobbs,

We communicated back when..

I was wondering if you have the next version of ifoupdate waiting for approval. It is a really nice program. Thanks for writing it.

If you do not have time, that's alright.

If anyone else who reads this message, please provide help. I would like to learn how ifoupdate copies from original ifo files and what section of the original ifo files that ifoupdate copies from.

Thanks in advance.

yenchee
12th April 2003, 03:00
I do have the same situation on R3 Sex and the City. Whenever Ifoupdate try to analyze the original IFO, it always pop-up a window for code 6 overflow error in traditional Chinese. I am not sure if anyone need the IFO. By the way, the attachment for 070a cannot be downloaded.

Longevity
12th April 2003, 15:38
I have just downloaded 0.70a version. Unfortunately there is nothing in the zip file.

Longevity
13th April 2003, 16:54
The contents in the attachement is still empty.

jdobbs
13th April 2003, 19:25
The only change from 0.70 to 0.70a was a single variable in an attempt to correct the overflow error when working with eastern texts. It didn't work...

I don't have a clue what causes it.

Longevity
14th April 2003, 00:59
jdobbs,

Understood. Thanks for your help. Is there anything that I can for you to help you diagnose the problem?

gbr
19th April 2003, 05:37
Originally posted by jdobbs
I don't have a clue what causes it.

Uh oh...if you don't know then who will :confused:

Just my two cents for trouble shooting purposes.

.69 did not have this problem for me (i can't find it anywhere now that i need it)

.70 gives the overflow error right when it is trying to set region free

jdobbs
19th April 2003, 14:04
Are you also using it with an eastern language?

gbr
21st April 2003, 06:02
jdobbs...no, good old english. now that i have had time to mess around a bit more...i find that .69 is doing it too on the particular .ifo (one of the friends season 3 disks). Like i said before, it get through everything right up to the region free and then overflows. I just deselect that and do that part in ifoedit. i have been using ifoupdate since .5 something, through star trek, xfiles, mad about you, all in the family etc. and have never had a problem... sorry i can't be of too much more help but i usually only keep menus (using ifoupdate) on season disks and they are few and far between for me. Let me know if you want any ifos.

jdobbs
21st April 2003, 10:47
I think you might find that your problem will go away if you either delete ifoupdate's INI file, or change the paths in it. If the INI points to an illegal drive or path it can cause this error upon execution.

yenchee
29th January 2004, 16:24
Is the overflow problem solved? I tried ifoupdate 0.78 on the R3 Bad Boys 2. The same situation appears on reading the original ifo. I can provide the original vts_01_0.ifo if someone can take a look at it.

gbr
30th January 2004, 20:55
well it hasn't gone away for me. it is still only an sporadic problem that i work around. it only happens for me when ifo update is setting region free when i click update...so...for a dvd where this happens i just deselect setting of region free, update, and then use ifoedit to set region free.

jdobbs
30th January 2004, 23:11
I hadn't heard that before... I'll see if there is something in the "Region Free" code that might cause this.

Longevity
31st January 2004, 18:14
yanchee and gbr

The "overflow" problem persists. It never went away no matter what I did. But awhile back, I wrote some instructions that you can use IFOEDIT to get the proper IFO that you want provided that the DVD bitrate is over and above approximately 3600 (I haven't found out exact rate yet).

Just copy the original ifo to the authored directory. Make sure you back up the authored ifo first. Then run IFOEDIT and click VOB extras. Select whatever vobid that you want also the language and subtitle. Let it go and then IFOEDIT rebuilds IFO file for you with menu and everything just like the original.

The other way is, use HEX EDIT. I hate this method.

Longevity

stanjr
2nd April 2004, 18:15
I have had this problem on Alias Season 2 Disc 1 (NTSC Region 1.

I used IFOUpdate v0.78, and at the Region Free stage, the Overflow error would occur. I unchecked Region Free in the settings and tried again, with success.

Then, in IfoEdit v0.96, trying to set Region free, I got the message "No RCE checking found in this IFO." Maybe if there is no RCE to begin with, it causes IFOUpdate to have the overflow error?

Longevity
2nd April 2004, 18:33
That doesn't work for me.

helge79
27th December 2005, 08:49
I've just run into the same problem, and I thought I should post here the solution I've found (for other people's reference). Apparently IfoUpdate conflicts with certain character encoding settings (I've found a discussion about this at another forum). So, once I changed the language for non-Unicode programs
(Control Panel/Regional) to English, I could run IfoUpdate without any error messages...

Longevity
27th December 2005, 12:45
Yes. I know. I have discovered that on my own. Thank you. I don't use ifoupdate anymore. I use batchifobackup. It works better than ifoupdate.

influenza
29th December 2005, 15:10
batchifobackup

batchupdateifo you mean?

Longevity
29th December 2005, 15:44
opps yes that's what I mean.