Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Trine 2 (data1.fbq)
- aluigi
- VVIP member
- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 664 times
- Contact:
-
- mega-veteran
- Posts: 263
- Joined: Sun Oct 18, 2009 9:41 pm
- Location: Portland, OR
- Has thanked: 3 times
- Been thanked: 79 times
- Contact:
Re: Trine 2 (data1.fbq)
The good news is these ogg files are supported by the latest version of ww2ogg (http://hcs64.com/vgm_ripping.html). However, I believe the extraction script is flawed, the files all seem to be 0xc bytes too early. I think this will fix it, but I haven't tested it.
[edit] script removed as aluigi has fixed his script linked above[/edit]
Another thing to be wary of is that ww2ogg 0.16 doesn't produce perfectly clean output in general (see the note about revorb), and it is even worse for this type of file (using shortened Vorbis packets which lack the previous and next window bits). It is possible that the output files will not work properly in some hardware decoders, or programs that use the Tremor decoder. I am thinking about how to fix this but I don't have a lot of time to do new work.
I was able to test a few files successfully with audacity, and it should be fine with the standard libvorbis reference decoder, so it will probably work once the extraction script is fixed.
[edit] script removed as aluigi has fixed his script linked above[/edit]
Another thing to be wary of is that ww2ogg 0.16 doesn't produce perfectly clean output in general (see the note about revorb), and it is even worse for this type of file (using shortened Vorbis packets which lack the previous and next window bits). It is possible that the output files will not work properly in some hardware decoders, or programs that use the Tremor decoder. I am thinking about how to fix this but I don't have a lot of time to do new work.
I was able to test a few files successfully with audacity, and it should be fine with the standard libvorbis reference decoder, so it will probably work once the extraction script is fixed.
Last edited by hcs on Sun Nov 06, 2011 12:50 am, edited 1 time in total.
- aluigi
- VVIP member
- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 664 times
- Contact:
Re: Trine 2 (data1.fbq)
thanx for the info hcs, I have corrected the script.
in short there is also ZSIZE - 0xc to be removed so I have simply used a BASE_OFF += 0xc at the beginning
in short there is also ZSIZE - 0xc to be removed so I have simply used a BASE_OFF += 0xc at the beginning
Re: Trine 2 (data1.fbq)
Thank you HCS, really awesome, all worked perfectly!
I also used revorb to fix the output from ww2ogg as suggested and everything is fine.
Aluigi and HCS thanks a lot for your support.
I also used revorb to fix the output from ww2ogg as suggested and everything is fine.
Aluigi and HCS thanks a lot for your support.
- aluigi
- VVIP member
- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 664 times
- Contact:
-
- advanced
- Posts: 48
- Joined: Sat Jun 13, 2009 7:31 pm
- Has thanked: 2 times
- Been thanked: 5 times
Re: Trine 2 (data1.fbq)
Thanx!aluigi wrote:section 3 of quickbms.txt:
http://aluigi.org/papers/quickbms.txt
-
- advanced
- Posts: 58
- Joined: Tue Jun 03, 2008 9:55 pm
- Has thanked: 4 times
- Been thanked: 1 time
Re: Trine 2 (data1.fbq)
thx aluigi but links no works http://aluigi.altervista.org/papers/bms/trine2.bms can you solve it plz.
-
- M-M-M-Monster veteran
- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 307 times
-
- ultra-n00b
- Posts: 1
- Joined: Fri Dec 30, 2011 6:00 am
Re: Trine 2 (data1.fbq)
Read through this thread, followed the instructions. Gotten 4,036 perfect .ogg's
after i extracted the audio files out of the data.fbq file.
I wrote this .bat to do all the work for me.
I will leave this here
copy the code into a .bat file, edit/use it as you feel like.
p.s. it is not really that great, for that i apologize, this is the first .bat code i have ever written in my left
after i extracted the audio files out of the data.fbq file.
I wrote this .bat to do all the work for me.
I will leave this here
Code: Select all
@echo off
echo speechless .ogg conversion .bat file
::Paths for
:: 1) input ogg folder
:: 2) output ogg folder
:: 3) ww2ogg folder
:: 4) packed codebook for ww2ogg.exe
:: 5) revorb folder
echo Setting Temp Paths
setlocal
:: NOTE TO ALL: make sure you have changed the SET paths below to the locations you want/where your files are at
SET inputOGGfolder=C:\Users\speechless\Desktop\Trine2OGG\data\audio\windows
SET outputOGGfolder=C:\Users\speechless\Desktop\outputOGG
SET ww2orgFolder=C:\Users\speechless\Ripping Music\ww2ogg
SET packedCodebook=C:\Users\speechless\Ripping Music\ww2ogg\packed_codebooks.bin
SET revorbFolder=C:\Users\speechless\Ripping Music\revorb
echo Converting .ogg files [please wait]
for %%a in ("%inputOGGfolder%\*.ogg") do "%ww2orgFolder%\ww2ogg" "%%a" --pcb "%packedCodebook%"
for %%a in ("%inputOGGfolder%\english_us_\*.ogg") do "%ww2orgFolder%\ww2ogg" "%%a" --pcb "%packedCodebook%"
for %%a in ("%inputOGGfolder%\french_france_\*.ogg") do "%ww2orgFolder%\ww2ogg" "%%a" --pcb "%packedCodebook%"
for %%a in ("%inputOGGfolder%\german\*.ogg") do "%ww2orgFolder%\ww2ogg" "%%a" --pcb "%packedCodebook%"
for %%a in ("%inputOGGfolder%\spanish_spain_\*.ogg") do "%ww2orgFolder%\ww2ogg" "%%a" --pcb "%packedCodebook%"
echo Moving converted .ogg files to Output Folder [please wait]
for %%a in ("%inputOGGfolder%\*.ogg_conv.ogg") do move "%%a" "%outputOGGfolder%"
for %%a in ("%inputOGGfolder%\english_us_\*.ogg_conv.ogg") do move "%%a" "%outputOGGfolder%\english_us_"
for %%a in ("%inputOGGfolder%\french_france_\*.ogg_conv.ogg") do move "%%a" "%outputOGGfolder%\french_france_"
for %%a in ("%inputOGGfolder%\german\*.ogg_conv.ogg") do move "%%a" "%outputOGGfolder%\german"
for %%a in ("%inputOGGfolder%\spanish_spain_\*.ogg_conv.ogg") do move "%%a" "%outputOGGfolder%\spanish_spain_"
echo Removing errors in converted .ogg files [please wait]
for %%a in ("%outputOGGfolder%\*.ogg_conv.ogg") do "%revorbFolder%\revorb" "%%a"
for %%a in ("%outputOGGfolder%\english_us_\*.ogg_conv.ogg") do "%revorbFolder%\revorb" "%%a"
for %%a in ("%outputOGGfolder%\french_france_\*.ogg_conv.ogg") do "%revorbFolder%\revorb" "%%a"
for %%a in ("%outputOGGfolder%\german\*.ogg_conv.ogg") do "%revorbFolder%\revorb" "%%a"
for %%a in ("%outputOGGfolder%\spanish_spain_\*.ogg_conv.ogg") do "%revorbFolder%\revorb" "%%a"
endlocal
echo .ogg conversion complete
pause
p.s. it is not really that great, for that i apologize, this is the first .bat code i have ever written in my left
- XpoZed
- veteran
- Posts: 144
- Joined: Sat Oct 24, 2009 5:08 pm
- Location: Bulgaria
- Has thanked: 2 times
- Been thanked: 50 times
- Contact:
Re: Trine 2 (data1.fbq)
I don't think QuickBMS will be able to patch the resources right, because the game uses a custom CRC, that is later checked.
I might be wrong, but however i make a unpakke module for these type of archives.
Check the forum topic here: viewtopic.php?f=33&t=6168 or Unpakke's homepage here: http://nullsecurity.org/unpakke/
I might be wrong, but however i make a unpakke module for these type of archives.
Check the forum topic here: viewtopic.php?f=33&t=6168 or Unpakke's homepage here: http://nullsecurity.org/unpakke/
-
- ultra-n00b
- Posts: 1
- Joined: Wed Feb 08, 2012 7:10 am
- Location: http://www.noobaran.com
- Contact:
Re: Trine 2 (data1.fbq)
when the going to reimport *.bin or *.fbi file shown error message (crash)
but reimport "trine 2" videos files with QuickBMS is ok
is there a solution to this problem?
but reimport "trine 2" videos files with QuickBMS is ok
is there a solution to this problem?
- XpoZed
- veteran
- Posts: 144
- Joined: Sat Oct 24, 2009 5:08 pm
- Location: Bulgaria
- Has thanked: 2 times
- Been thanked: 50 times
- Contact:
Re: Trine 2 (data1.fbq)
I didn't get that one... is it about Unpakke or about QuickBMS?revex wrote:when the going to reimport *.bin or *.fbi file shown error message (crash)
but reimport "trine 2" videos files with QuickBMS is ok
is there a solution to this problem?