ThirteenAG / WidescreenFixesPack

Plugins to make or improve widescreen resolutions support in games, add more features and fix bugs.
https://thirteenag.github.io/wfp
MIT License
2.26k stars 214 forks source link

[SILENT HILL 3] Open/ Edit ".000" files #386

Open Brunn0121 opened 6 years ago

Brunn0121 commented 6 years ago

Hey all, i was wondering if there's any way to read/ edit the .000 fmvs in silent hill 3, after a really long research on google (yep) i only found a couple of russian websites refering to an ".000 converter" but my antivirus went nuts just by entering the site, if there were any way to convert an reguar .mp4 to .000 it would be just lovely, i'd gladly remake all the videos in HD, those being:

I've also found an .000 to .mpeg converter, but it only converts from .000 to .mpeg, not the other way around unfortunately.

Keith94 commented 6 years ago

@Quaker762 may have a clue.

Quaker762 commented 6 years ago

@Keith94 wew, do I already have a reputation? Hahaha.

@Brunn0121 Here's a tool I wrote in C (based on the Russian Java one, which is very slow) to convert .000 files to mpeg(?). You should just be able to whack it in gcc and get a binary on any system. Enjoy!

000tools.zip

I haven't worked on re-encrypting it to .000 yet, but it should be a reversal of what's being done to it (in terms of bitwise operations). I'm also not too sure if the engine likes anything that's a different size/length to the original, so if you do manage, it may crash or hang. I have a bit of time this week, so I'll give it a crack.

Brunn0121 commented 6 years ago

Thanks for the reply and your time! But i'm sorry, i have no knowledge in C so i have no idea of what to do with those files you posted on the .zip But i'll look into it on how to mess with C and try it out but i'm pretty sure it will be a bust for me :(

I'm also not too sure if the engine likes anything that's a different size/length to the original, so if you do manage, it may crash or hang. I have a bit of time this week, so I'll give it a crack.

Yes, i was thinking about that also, but the game uses an superior version of the same engine used on SH2, and there's a community made HD remastered version of the 3D pre rendered videos, and it surpasses the original files size by quite a lot, so i'm thinking that the only problem would be if the videos are longer than expected, witch won't be the case at all since i'll make it last the same time.

Keith94 commented 6 years ago

@Quaker762 Yep dude you are obviously a legend ! :D

Quaker762 commented 6 years ago

Sorry for the late reply guys, life has gotten in the way for the past 3 weeks... -,-

@Keith94 Haha wow. I'm merely piggybacking off of the work of other people at the moment (though I do know most of the ins and outs of SH3 ;) )

@Brunn0121 No worries mate, I'll upload the executable for you. This will let you convert .000 files to .mpg. I haven't had time to look at re-encrypting, but I'll get on it soon.

You'll want to run the generated file in MPV/VLC. Windows Media Player seems to not like these for some strange reason....

Usage is as follows:

000vid.exe -f [filename] for example

000vid.exe -f ed_u.000

000.zip

abriel commented 5 years ago

@Quaker762 , Hi there, Here is "new" (released 8 years ago) version of a decryption program written on C: http://www.ctpax-x.org/?goto=files&show=96&lang=en This version supports re-encryption mpg to .000. Previous version of this program was written on Dephi7 and was used as base for writing Java program mentioned here above. (proof: http://forum.xentax.com/viewtopic.php?f=36&t=11257) . So you can trust the source a little bit ;). Thanks.