Log in

View Full Version : read ifo files in vb.net


mrdutchie
14th May 2008, 00:30
i found a vb6 source here in the forum and someone mentiod
that he had a vb.net module for reading the ifo files
who has something like that available?

i converted the vb6 source from a different post, but there is a part not working and can't get it to work

does anyone knows how to convert this part to vb.net correctly?

thanks so much

vb6 code

Open ipFileName For Binary Access Read As #1
tmpIFOFileIn = Input(FileLen(ipFileName), #1)
tmp_i = FileLen(ipFileName)
Close #1


vb.net code

Dim file_num As Integer = FreeFile()
'Read in the Info file name
FileOpen(file_num, ipFileName, OpenMode.Binary, OpenAccess.Read)
tmpIFOFileIn = InputString(1, FileLen(ipFileName))
tmp_i = FileLen(ipFileName)
FileClose(1)

the vb.net code doesnt work
i end up with a totally different string

nkarnold
14th May 2008, 01:28
Hello

If you send me your entire project source, I can take a look.

I messed around with this about 2 years ago.

email it zipped up to nkarnold at gmail dot com.

stax76
14th May 2008, 01:54
Get Reflector and CladDVD, it uses code ported from vstrip.

mrdutchie
14th May 2008, 02:58
Hello

If you send me your entire project source, I can take a look.

I messed around with this about 2 years ago.

email it zipped up to nkarnold at gmail dot com.

thanks

i emailed you the source.

cut

cant send it to you
this is what i am getting back


PS i renamed the file to TXT. so please rename to ZIP. gmail doesnt allow attachment anymore


This Message was undeliverable due to the following reason:

Your message is larger than the destination computer is willing to accept, so it was returned. The error message below indicates the size of your message and the maximum size allowed by the receiving E-mail system. You may be able to split your message into several smaller pieces and have them delivered separately.

Your message was rejected by gmail-smtp-in.l.google.com for the following reason:

5.7.0 Our system detected an illegal attachment on your message.
5.7.0 Please visit http://mail.google.com/support/bin/answer.py?answer=6590
5.7.0 to review our attachment guidelines. f79si756473pyh.7

The following recipients did not receive this message:

mrdutchie
14th May 2008, 03:05
Get Reflector and CladDVD, it uses code ported from vstrip.

i looked for those a while ago, but there is no source available anymore. i emailed the creators, but did not get any response.

stax76
14th May 2008, 03:28
You don't need any source code.

mrdutchie
14th May 2008, 04:09
You don't need any source code.

im wokring on creating one myself, so would like to see how it was done in vb.net since im stuck with that loop for vb6 that i cant figure out

stax76
14th May 2008, 08:25
You don't read my posts carefully.

Guest
14th May 2008, 13:01
You don't read my posts carefully. I didn't understand either. Can you spell it out for us people who are not as smart as you? Thanks.

stax76
14th May 2008, 14:07
I was hoping people would use google and wikipedia to decrypt the hints :)

Second try: Reflector (http://www.aisto.com/roeder/dotnet/)is a CIL (http://en.wikipedia.org/wiki/Common_Intermediate_Language) class browser, explorer, analyzer and decompiler. It can output CladDVD IFO parsing source code in various .NET languages. As a side note field names of structures are identical to GPL licensed vstrip.

mrdutchie
14th May 2008, 20:08
I did a reflector search, and only came up with a program..
Since i am still at work, i have to check back later.
so if I am understanding from your post. I can find out with Reflector what the source is for vstrip ?
or is CladDVD IFO another program that I can decrypt with that reflector?
sorry for asking, but can't really search right now