FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Tools for Repacking (https://fileforums.com/showthread.php?t=104866)

FitGirl 25-01-2022 03:43

Ace Combat has it's own encryption scheme outside of standard UE4 scheme.

Masquerade 27-01-2022 12:14

Recode FLAC to MP3 with FFMPEG

Code:

for /r %%f in (*.FLAC) do ffmpeg -i "%%f" -ab 320k -map_metadata 0 -id3v2_version 3 "%%~df%%~pf%%~nf.mp3"
Original solution here: https://stackoverflow.com/questions/...adata#26109838

or for direct usage in CMD:

Code:

for /r %f in (*.FLAC) do ffmpeg -i "%f" -ab 320k -map_metadata 0 -id3v2_version 3 "%~df%~pf%~nf.mp3"

Hexagon123 29-01-2022 00:27

Unpakke
 
http://www.nullsecurity.org/unpakke

Used to repack Rayman Legends, and other games.

Use 0.4b for CLI

Masquerade 29-01-2022 08:03

DATOneArchiver
  • DATOneArchiver in it's current state (v1.0) is a complete toolset for extracting, modifying, and creating TT Games DAT archive files for these games:
    • Lego Star Wars: The Video Game
    • Lego Star Wars II: The Original Trilogy
  • DATOneArchiver is a command-line based tool written in .NET.

Currently does not support compression of LZ2K as used in later LEGO games.

https://github.com/yodadude2003/DATOneArchiver

By yodadude2003

Hexagon123 29-01-2022 10:23

Quote:

Originally Posted by Masquerade (Post 495597)
DATOneArchiver
  • DATOneArchiver in it's current state (v1.0) is a complete toolset for extracting, modifying, and creating TT Games DAT archive files for these games:
    • Lego Star Wars: The Video Game
    • Lego Star Wars II: The Original Trilogy
  • DATOneArchiver is a command-line based tool written in .NET.

Currently does not support compression of LZ2K as used in later LEGO games.

https://github.com/yodadude2003/DATOneArchiver

By yodadude2003

Happens in The Chronicles of Narnia: The Lion, The Witch, and the Wardrobe, Bionicle Heroes, or any earlier game released before 2007.

Masquerade 31-01-2022 10:03

LEGO Worlds: No DAT Patch for Build 3833060
  • Change the byte at location 4247CA from 74 to EB in LEGO_Worlds_DX11.exe.
  • This will allow the game to run with unpacked, decompressed DAT archives.
  • Thanks to acidicoala for working with me on this and to our mutual friend m0xf for the original method.
  • Unpack the DAT archives using the BMS script linked here: https://www.fileforums.com/showpost....8&postcount=15
Before:
https://i.ibb.co/LgXJ7n5/1.png

After:
https://i.ibb.co/7jss45c/2.png

Just a taster of what's to come ;)

L33THAK0R 04-02-2022 16:31

do you happen to know what the significance behind the byte change is? A few months ago I (unsuccessfully) attempted to figure out the patching process but didn't have much luck even after extensive analysis of the executable with Ghidra, I did however note the byte change but alas was unable to determine the significance.

:( Sad8669 04-02-2022 21:03

HxD is a powerful tool. Some of the files comes with encryption from developers to prevent modders from modding and stuff.

No matter how stronger the encryption, they can't break the file, and a file type is recognized by their headers. An example,

Link

Masquerade 04-02-2022 23:51

Quote:

Originally Posted by L33THAK0R (Post 495671)
do you happen to know what the significance behind the byte change is?

I plan to write a full post about our findings with acidicoala but to answer your question in short:

Quote:

Originally Posted by acidicoala
Lol, I can already see what's going on. EB is hex for JMP (unconditional jump) opcode, while 74 is opcode for JE (jump if equal)


Masquerade 11-02-2022 11:35

1 Attachment(s)
The Alien Cube PAK Decryption Tool
  • Decrypt PAK archives for The Alien Cube to ZIP files.
  • Game runs as normal in a decrypted state.
  • You can use the included batch file to auto decrypt the game and delete encrypted paks.
By atom0s

Project page here.

Masquerade 17-02-2022 12:49

BankDumper
  • A little tool I wrote in C# to dump an FMOD bank into an FSB by stripping away the header info before FSB5.
  • On its own, this tool is neither special or useful. But, it's part of a much larger process of correctly compressing FMOD audio banks using MSC and OGGRE.

https://github.com/Masquerade64/BankDumper

panker1992 18-02-2022 07:07

Quote:

Originally Posted by Masquerade (Post 495874)
[WIP] BankDumper
  • A little tool I wrote in C# to dump an FMOD bank into an FSB by stripping away the header info before FSB5.
  • On its own, this tool is neither special or useful. But, it's part of a much larger process of correctly compressing FMOD audio banks using MSC and OGGRE.

    What needs doing?
    • Fix for banks that contain multiple FSB headers. Currently this only works for banks that contain a single FSB header.

Can you make something that can process audio inside pack files and bank files
they both hold wem files which oggre can compress

also i am working on something this community will love :D 90% done

mausschieber 18-02-2022 08:02

Quote:

Originally Posted by panker1992 (Post 495903)

also i am working on something this community will love :D 90% done

yes a Designer where usefull for the community
Since Gupta no longer continues with his designer
thanks

Masquerade 18-02-2022 08:28

Quote:

Originally Posted by panker1992 (Post 495903)
Can you make something that can process audio inside pack files and bank files
they both hold wem files which oggre can compress

Already have a working processor for Ogg + Wav FMOD banks/fsbs, but not ready for public usage yet.

Razor12911 18-02-2022 21:37

Bink Compressor Patch
 
1 Attachment(s)
Some cls I created after my first use of bpk... which was on Watch Dogs videos and it produced some error and from what I understand is that some videos cause bpk to bug out so this cls-bpt (bpk patch) just tries to filter out the videos that cause these errors. (You do not gain ratio from these videos as they are just skipped)

If the code used in cls-bpk.dll is the same as bink_pack.exe then this should work without problems (same goes for the decoder).

The principle of cls-bpt is bk2 videos are scanned and, both encoded and decoded by bink_pack.exe and bink_unpack.exe respectively, if either one of them fail then the data is not passed through the original cls-bpk.
This will avoid the "motion data" error message and a possible crash afterwards.

Given the involvement of bink_pack.exe and bink_unpack.exe, this means that every single video is at least encoded twice and decoded once when compressing and this will probably more than half the speed performance than when using bpk originally however when decompressing, the speed remains the same :)

Required files when compressing
Code:

bink_pack.exe
bink_unpack.exe
cls-bpk.dll
cls-bpt.dll

Required files when decompressing
Code:

cls-bpk_u.dll
cls-bpt.dll

You can get bpk from here.

Notes

Only use this cls when you are having issues with bpk as there is no telling if bpt will produce errors of its own or if it will affect ratio.
This only focuses on bk2 videos.


All times are GMT -7. The time now is 11:08.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com