|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
B( o Y o )BS!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2002
Location: Spain
Posts: 883
|
GiGaHeRz's FMV Search & Extract Tool - Beta 0
Hi ppl,
I just finished the first beta of my PS2 FMV Extractor. I tested it with my Xenosaga disk, and it worked. The program uses any PCSX2 CDVD plugin to read the disc. I used Pete's one to test it ![]() How to use (updated instructions for B05): 1. Get the zip and unzip it. 2. Get some CDVD plugins for ps2 emus. 3. Execute the program, select a plugin and configure it. 4. Select the option "Get sector count from disk info." 5. Press "Start Searching" and go do something while it works. 6. If it found something, Export the list to a file (so you can Import it later if the tool crashes). 7. Select the Streams you want to extract from the list. 8. Edit the extraction path\prefix if you want something else. 9. Press "Extract Checked" and wait some time more. 10. Check if the FMVs are working and if true, thank me NOTE: The program needs the VisualBasic 6 runtime and 2 OCX. If you need any of them, I will upload them. EDIT: A "Big Bug" fixed. Beta 02 released. EDIT 2: Beta 03 released. Changes: - Added "experimental" size detection (uses the number at Sector 16, offset 80) - Added "Extract Sector Range" command. Could be used to make an "iso", but it will not write files bigger than 2gb (VB6 has "signed" longs). - When a path doesn't exist, the program will ask to create it. Also, the last part of the path (after the last "\" is used as the prefix, instead of the default "stream" or "range") EDIT 3: Beta 04 released. Changes: - Added a less restricted search option, so it can find more streams, but also can find more false streams. - Changed all the file code to use Windows File API functions, so it should be able to make ISOs from DVDs bigger than 2gb (if you are using NTFS) - Changed all the fonts from "MS Sans Serif" (bitmap font) to "Microsoft Sans Serif" (TrueType/OpenType font), so font smoothing options will take effect on it. - Added the manifest file as a resource. Now the -manifest file isn't needed, and the exe works fine if the visual styles are disabled (in previous versions the exe didn't load if the manifest file existed and visual styels were disabled). I think this is all. I left the beta 03 here in case anyone can't run the beta 04. EDIT4: Fixed a problem with visual styles and SP2, get the fixed version from here EDIT5: Beta 05 Released. Changes: - Reorganized the window and made it a bit bigger. - Fixed some bugs. - Added Plugin Selecion support. Needs improvements. - Added option to extract 2352 bytes sectors If you find a bug, just tell me. If you want new features, ask for them. If you want it to detect other file types, give me info.
__________________
"There's only one absolute truth in our world: shït happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years) The Book and other stories: Tears of Fantasy - An Online Book... by ME! MetaLife, Inc. (intro) SubGaea (intro) Crow Blade (intro for now) Memories - Prayer from the fallen hearts. My weblog... not like if there was too much to read on it tho. For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command. Last edited by GiGaHeRz; December 25th, 2004 at 21:00. Reason: Updated instructions for Beta 05 |
|
|
|
|
|
#2 (permalink) |
|
"Insert witty title here"
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2003
Location: In a house
Posts: 1,046
|
Darn you, you took my idea
! Anyway, I have yet to see if it works with other games. I do know it doesn't work with FFX. If it does work on others, I congratulate you.
__________________
Can I go home now? |
|
|
|
|
|
#3 (permalink) |
|
B( o Y o )BS!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2002
Location: Spain
Posts: 883
|
The only two PS2 games I have are Xenosaga and FFX, so I can't try any more
__________________
"There's only one absolute truth in our world: shït happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years) The Book and other stories: Tears of Fantasy - An Online Book... by ME! MetaLife, Inc. (intro) SubGaea (intro) Crow Blade (intro for now) Memories - Prayer from the fallen hearts. My weblog... not like if there was too much to read on it tho. For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command. |
|
|
|
|
|
#4 (permalink) |
|
"Insert witty title here"
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2003
Location: In a house
Posts: 1,046
|
I just tested it with Xenosaga. It only finds 8 of the movies! I know that there are definitely well over 50 FMVs in the game, so something is up. You wouldn't be willing to post the source, would you? I'm kinda interested in how you're doing it. Also, it seems only one of the extracted movies actually works. Okay, I'm off to try more games.
__________________
Can I go home now? |
|
|
|
|
|
#5 (permalink) | |
|
B( o Y o )BS!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2002
Location: Spain
Posts: 883
|
uh... that means i extracted the FMV that works..... I only have 1gb free in my HD so I only extracted one of the streams it found.... yes I know I need to clean it.
About the number of files: The game I have is a dvd5 backup so I thought it had some videos removed. but if you say there should be about 50 of them, then something in my code is wrong. Also I noticed that the program doesn't write the "program end code" so maybe that makes some fmvs not working. About the sources... I don't like to "give" the sources until I get some kind of stable code. And it's just a "first beta" code ![]() BIG EDIT: I found the problem. It was "just a bug". The program searched the codes "byte by byte", so if it thought that some bytes at the end of a sector were a code, and then, at the begining of the next sector it found that it was wrong, the code didn't restore the sector number, so it skipped all the sector and continued at the end of the next sector. That was why it didn't find all the FMVs and why most weren't working. I will upload the Beta 02 right now. Quote:
__________________
"There's only one absolute truth in our world: shït happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years) The Book and other stories: Tears of Fantasy - An Online Book... by ME! MetaLife, Inc. (intro) SubGaea (intro) Crow Blade (intro for now) Memories - Prayer from the fallen hearts. My weblog... not like if there was too much to read on it tho. For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command. Last edited by GiGaHeRz; August 26th, 2004 at 04:54. |
|
|
|
|
|
|
#6 (permalink) |
|
Penguin lover
![]() ![]() ![]() ![]() Join Date: Apr 2002
Location: France
Posts: 812
|
Nice tool!
For some reason, I'm unable to extract the selected mpg files found... it crashes with a run-time error 76 'path not found'??? That's using xeven cdvd plugin... Any advice??
__________________
________ My config: Intel Core2 Duo E8500/2GB DDR2/GeForce 8800GTS 320/Gigabyte GA-EX38-DS4 motherboard ...some of my PS2 games videos... \/\.o0|
|0o./\/_________________ |PCSX2 Beta Tester| ------------------- |
|
|
|
|
|
#7 (permalink) |
|
"Insert witty title here"
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2003
Location: In a house
Posts: 1,046
|
That's because it doesn't auto-create the directory that it saves the FMVs to. If that directory doesn't exist, you'll get that error.
Edit: GiGaHeRz, I noticed that it doesn't detect all of the sectors on the disc. At least not for me. I'm using it with Peops ver. 1.1 It only detects 2077352 sectors. This is the amount Windows sees and not the actual amount of data on the disc. Other than that, it seems to be working well now.
__________________
Can I go home now? Last edited by bcrew1375; August 26th, 2004 at 08:53. |
|
|
|
|
|
#8 (permalink) |
|
B( o Y o )BS!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2002
Location: Spain
Posts: 883
|
That's just because the CDVD plugin doesn't has any funcion to get the disk size. And I don't know if it can be read from the disk data, so i had to use a windows function to get it (to get the total number of bytes and divide by 2048).
to parotaku: the path must exist. I forgot to put a check on that. I will make it ask if you want to create the directories if needed. I will also put an option to change the prefix of the videos (the program names them "stream_sector_offset.mpg" now).
__________________
"There's only one absolute truth in our world: shït happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years) The Book and other stories: Tears of Fantasy - An Online Book... by ME! MetaLife, Inc. (intro) SubGaea (intro) Crow Blade (intro for now) Memories - Prayer from the fallen hearts. My weblog... not like if there was too much to read on it tho. For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command. |
|
|
|
|
|
#9 (permalink) |
|
Penguin lover
![]() ![]() ![]() ![]() Join Date: Apr 2002
Location: France
Posts: 812
|
Thanks for your help, guys...
Working great & nice scanning speed too!! Here's some video-screenshots from ICO (video demo), Silent Hill 2 (mpeg2 compression is so much better than pc version's bink video...) & Siren...
__________________
________ My config: Intel Core2 Duo E8500/2GB DDR2/GeForce 8800GTS 320/Gigabyte GA-EX38-DS4 motherboard ...some of my PS2 games videos... \/\.o0|
|0o./\/_________________ |PCSX2 Beta Tester| ------------------- Last edited by parotaku; February 11th, 2007 at 14:06. |
|
|
|
|
|
#11 (permalink) |
|
B( o Y o )BS!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2002
Location: Spain
Posts: 883
|
it extracts the stream as it is in the disk. remember that PSS streams have PCM or ADPCM sound. (you need pssplex, pss_demux or ps2play to demux/play them)
__________________
"There's only one absolute truth in our world: shït happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years) The Book and other stories: Tears of Fantasy - An Online Book... by ME! MetaLife, Inc. (intro) SubGaea (intro) Crow Blade (intro for now) Memories - Prayer from the fallen hearts. My weblog... not like if there was too much to read on it tho. For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command. |
|
|
|
|
|
#12 (permalink) |
|
Beta Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2001
Location: Nantes, France
Posts: 6,150
|
BTW, it doesn't seem to detect the intro movie in Xenosaga (and maybe other movies too).
It only detects 50 streams, and it's the original DVD.
__________________
Last edited by Raziel; August 26th, 2004 at 17:41. |
|
|
|
|
|
#14 (permalink) |
|
B( o Y o )BS!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2002
Location: Spain
Posts: 883
|
I don't have the original DVD, so I can't try with it. If you want, you could try to find it with a Hex editor, and say the first and last 8 bytes.
All I know is that all the videos (DVD VOBs and PSS streams) I've seen start with "00 00 01 ba 44 00 04 00". I found that "000001ba" is the start code of the stream, but i don't know the meaning of the other 4 bytes. And also, all of them have many "FF" bytes and the programa end code "000001b9" at the end. BTW: I will upload a new beta soon. EDIT: I said "and send me it's location" but I don't have the disc to that will be useless to me :P EDIT: Beta 03 uploaded. Try the new features.
__________________
"There's only one absolute truth in our world: shït happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years) The Book and other stories: Tears of Fantasy - An Online Book... by ME! MetaLife, Inc. (intro) SubGaea (intro) Crow Blade (intro for now) Memories - Prayer from the fallen hearts. My weblog... not like if there was too much to read on it tho. For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command. Last edited by GiGaHeRz; August 26th, 2004 at 18:31. |
|
|
|
|
|
#15 (permalink) |
|
Back to regular business
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: in Sachsen
Posts: 3,242
|
Xenosaga's sound is created seperately. Many of the video sequences are captured in-game sequences, while the sound is played through the sound engine.
The problem with the sectors is that Windows only detects half of the PS2 DVD9s (due to its special filesystem). FMVTool can't tell the right value, use a DVD copier (DVD decrypter works fine) instead to find out. Xenosaga, for example, has 4.134.912 sectors. You could maybe make the user specify the disk type (DVD5 with 2077327 and DVD9 4154654 sectors maximum) and set these as the last sector to be searched. I tested it, the program won't crash, if it goes beyond this limit. P.S.: An option to diectly process an image would be very nice. It shouldn't be so much of a problem, since the data chunks can even be read and extracted in a Hex-Editor. P.P.S.: The author of Pete's CDVD plugins is Pete Bernert, not Pete Bernett. P.P.P.S.: If you are interested, you can download my FMV list for Xenosaga. Last edited by F-3582; August 26th, 2004 at 20:21. |
|
|
|
|
|
#16 (permalink) |
|
B( o Y o )BS!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2002
Location: Spain
Posts: 883
|
My xenosaga FMVs have the sound included, I can play and hear them using ps2play.
In the beta03 it reads the number of sectors directly from the disk, but I don't know how to detect if the disk has 2 layers. and also, my xenosaga disk has 2135520 sectors, but the disk number says 2135360, and my ffx disk has 2246432 sectors and the number is the same. So both numbers are bigger than 2077327. I will correct his name. I'm sorry Pete ![]() EDIT: I forgot to say that I decided to use PCSX2 plugins for 2 reasons. The first was that I'm too lazy to write all the reading code & detection of the image format (I need to use windows API functions because VB6 can't open files bigger than 2/4 gb, not sure), and the second was that I don't have too much free space in my HD, and I wanted to read the data directly from the DVD. I can't make a plugin selection system because VB6 doesn't support function pointers, so i had to use fixed declarations (here, too, I'm too lazy to write a DLL in C to make that).
__________________
"There's only one absolute truth in our world: shït happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years) The Book and other stories: Tears of Fantasy - An Online Book... by ME! MetaLife, Inc. (intro) SubGaea (intro) Crow Blade (intro for now) Memories - Prayer from the fallen hearts. My weblog... not like if there was too much to read on it tho. For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command. Last edited by GiGaHeRz; August 26th, 2004 at 20:58. |
|
|
|
|
|
#18 (permalink) |
|
Locked and Loaded
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Aug 2002
Location: I AM CANADIAN!
Posts: 12,030
|
Damn I'll have to try this out tonight! Congrats!
__________________
--------------------------------------------------------------------------------
Core 2 Duo T7300 2.0 GHz ● NVIDIA GeForce 8400GS ● 2GB DDR2 RAM Hitachi 120GB HD ● Dual Layer DVD+/-RW Drive ● Windows Vista Home Premium ● Dell 2007WFP LCD ● Dell XPS M1330 Laptop ● 1TB Western Digital MyBook External HD ● Logitech Z10 Speakers ● PLAYSTATION 3 -------------------------------------------------------------------------------- |
|
|
|
|
|
#19 (permalink) | |
|
Back to regular business
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: in Sachsen
Posts: 3,242
|
Quote:
...and sorry for that wrong information. |
|
|
|
|
|
|
#20 (permalink) |
|
Clumsy And Stupid
![]() Join Date: Jul 2004
Location: Somewhere Between Heaven and Womens
Posts: 90
|
nice work GiGaHeRz,
i used the beta02 to extract ffx-2 fmvs and it works great. i get all 11 movies but the since the sound is encoded with .ss2 type so a little converting won't hurt. anyway, this method works better than ffx-2 universal extractor. but i can't seem to get it work with onimusha 3. |