Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by Delutto »

:!: ATTENTION :!:
These are NOT end-user tools, these tools are only for tests and the subject of this topic is only about the tests results, no requests.

Introduction
I'm a big fan of the Assassin's Creed franchise and I'll love see MODs for this games, and I always wanted see all people playing this games on your native language, so I decided made a tool to explore this *.forge files to make possible do translations and MODs, but this files are a mess and work on this becomed a hell hard and boring thing, so I'm really tired of working on these tools, there are many games and hundreds of thousands of files to test, so I come here to ask for help from the community to perform the tests.
The compression speed is terrible, big files can take several minutes to a full export and hours to a full import, so I decided separate into two tool. The first one export the files from the *.forge package, the second one decompress(if compressed) and export Resources(if is a Resource Collection) from *.data files exported from the *.forge package. Keep on your mind that some files exported from the *.forge files already are resources, so DATA tool will not work on this files.

Supported Games
- Assassin's Creed
- Assassin's Creed II
- Assassin's Creed Brotherhood
- Assassin's Creed Revelations
- Assassin's Creed III
- Assassin's Creed Liberation HD
- Assassin's Creed IV Black Flag
- Assassin's Creed Rogue
- Assassin's Creed Unity
- Assassin's Creed Syndicate
- Assassin's Creed Origins
- Assassin's Creed Odyssey
- Prince of Persia
- Prince of Persia The Forgotten Sands
- Shaun White Snowboarding
- Tom Clancy's Ghost Recon Wildlands
- Tom Clancy's Rainbow Six Siege


Unsupported Games
- For Honor
The files looks obfuscated, I opened a discussion for anyone who wants to analyze the files: https://zenhax.com/viewtopic.php?f=9&t=9069
- STEEP
I don't have the game.

How to Help
- First of all: See Readme.txt for instructions,
- Export the files from a *.forge package;
- Export the Resources from ONE of these *.data files;
- Import the Resources back without modifications;
- Import this *.data file back to the *.forge package;
- Test if the game works with this new package;
- Repeat previous steps but with a different *.data file, and so on...
- Report in this topic the results, mentioning the name of the game, name of the package and name of the data file.

Tools

Ubisoft FORGE Tool [PC]
By Delutto
Ubisoft_Forge_Tool_By_Delutto.7z

Ubisoft DATA Tool [PC] - Alpha 1
By Delutto
Ubisoft_DATA_Tool_By_Delutto.7z
Updates:

Code: Select all

Alpha 1 - 12/30/2018
   - BugFix: Open File Dialog without file extension filter.
   - BugFix: Compressed blocks with the same size of decompressed data, making the game think that are a uncompressed blocks.
   - BugFix: Import function getting a wrong input filename, copying the original data instead the exported file.
   
Alpha 0 - 12/29/2018
   - First alpha release.

Faq
Q - Will be added support to console versions?
A - No.
Q - Will have a x86 version of the tools?
A - No.
Q - Will be added support to the localization files?
A - This is my main goal, I'll try.
Q - Will be added support to the texture files?
A - I'll try.
Q - Will be added support to models and 3D stuff?
A - No. I have no knowledge about this stuff.
Q - When the tool will become a beta or release version?
A - As soon the tests proving that everthing is working well.
Q - Can I send you a MP making a request?
A - Definitely no.
Last edited by Delutto on Mon Dec 31, 2018 1:30 am, edited 5 times in total.
GHOST DEAD
Posts: 218
Joined: Wed Jul 19, 2017 5:04 am

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by GHOST DEAD »

Good Tool,
but why cant import .data Files?
i posted a sample File, Export is Ok, but can't import Anything to .Data
can you solve it?
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by Delutto »

GHOST DEAD wrote:i posted a sample File, Export is Ok, but can't import Anything to .Data
To me is working fine...
Image
GHOST DEAD
Posts: 218
Joined: Wed Jul 19, 2017 5:04 am

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by GHOST DEAD »

i don't see any Different in Hex, can you send me Edited file that you tested right now?
just can import Original File, not Moded File
ISKA
Posts: 223
Joined: Mon Apr 09, 2018 11:09 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by ISKA »

Amazing work. Thank you Delutto. I will test Assassin's Creed, Odyssey and Ghost Recon Wildlands. I will let you know. I hope will support Far Cry 5, Watch Dogs 1-2, The Crew 1-2 and The Division.
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by Delutto »

GHOST DEAD wrote:i don't see any Different in Hex
Indeed, I made some changes on folder names on last build and I probably forgot change something in Import function, I'll check this soon.
ISKA wrote:I hope will support Far Cry 5, Watch Dogs 1-2, The Crew 1-2 and The Division.
As far as I know, none of these games have forge files.
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by Delutto »

Ubisoft DATA Tool Updated

Code: Select all

Alpha 1 - 12/30/2018
   - BugFix: Open File Dialog without file extension filter.
   - BugFix: Compressed blocks with the same size of decompressed data, making the game think that are a uncompressed blocks.
   - BugFix: Import function getting a wrong input filename, copying the original data instead the exported file.
   
Alpha 0 - 12/29/2018
   - First alpha release.

Import working properly in Assassin's Creed:

Image
ISKA
Posts: 223
Joined: Mon Apr 09, 2018 11:09 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by ISKA »

Delutto wrote:Ubisoft DATA Tool Updated

Code: Select all

Alpha 1 - 12/30/2018
   - BugFix: Open File Dialog without file extension filter.
   - BugFix: Compressed blocks with the same size of decompressed data, making the game think that are a uncompressed blocks.
   - BugFix: Import function getting a wrong input filename, copying the original data instead the exported file.
   
Alpha 0 - 12/29/2018
   - First alpha release.

Import working properly in Assassin's Creed:

Image


Nice. Which subtitles files in archive? I can't found.
And I found it Watch Dogs 2 on subtitles file. Can you look this?
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by Delutto »

:!: ATTENTION :!:
Ubisoft DATA Tool Alpha 1 reuploaded, I forgot to disable my debug options on last build and the tool will probably crash on your computer! Download the tool again, now is correct...

ISKA wrote:Nice. Which subtitles files in archive? I can't found.
And I found it Watch Dogs 2 on subtitles file. Can you look this?
Delutto wrote:These are NOT end-user tools, these tools are only for tests and the subject of this topic is only about the tests results, no requests.
zotya0330
Posts: 11
Joined: Sun Dec 30, 2018 10:59 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by zotya0330 »

Hi Delutto! Do you share the lzo2_w64.dll and zstdlib.dll?
Because I can't find it anywhere.
Thx
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by Delutto »

zotya0330 wrote:Hi Delutto! Do you share the lzo2_w64.dll and zstdlib.dll?
Because I can't find it anywhere.
Thx
Donwload the tool again, now the dll files are included.
Shokoniraya
Posts: 416
Joined: Sat Sep 15, 2018 5:22 am

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by Shokoniraya »

Great. thanks!
what about Prince of Persia The Forgotten Sands? i love it even more than Assassins Creed!
yes! game can works fine with Repacked forge, but will crashing while reading reimported DATA file. i think its really simple and just some bytes will change in wrong place. please do a repair, cant wait to make cool mods for Ezio and Prince :)
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by Delutto »

Shokoniraya wrote:what about Prince of Persia The Forgotten Sands? yes! game can works fine with Repacked forge, but will crashing while reading reimported DATA file...
This is a known bug, as reported on Readme.txt.
Shokoniraya
Posts: 416
Joined: Sat Sep 15, 2018 5:22 am

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by Shokoniraya »

Delutto wrote:This is a known bug, as reported on Readme.txt.


i know.game crashing just for Header
cant do a repair?
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by Delutto »

Delutto wrote:These are NOT end-user tools, these tools are only for tests and the subject of this topic is only about the tests results, no requests.
Shokoniraya
Posts: 416
Joined: Sat Sep 15, 2018 5:22 am

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by Shokoniraya »

Delutto wrote:
Delutto wrote:These are NOT end-user tools, these tools are only for tests and the subject of this topic is only about the tests results, no requests.



ok, just one last Question,

will repair in next versions? i know need a lot of test and not a complete Tool, just will do a repair in future on Prince of Persia The Forgotten Sands? just say yes or not
zotya0330
Posts: 11
Joined: Sun Dec 30, 2018 10:59 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by zotya0330 »

Delutto wrote:
Delutto wrote:These are NOT end-user tools, these tools are only for tests and the subject of this topic is only about the tests results, no requests.


And how do you convert Localization package to txt and back?
Thx the dll files
ponaromixxx
Posts: 176
Joined: Tue Sep 30, 2014 5:59 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by ponaromixxx »

zotya0330 wrote:
Delutto wrote:
Delutto wrote:These are NOT end-user tools, these tools are only for tests and the subject of this topic is only about the tests results, no requests.


And how do you convert Localization package to txt and back?
Thx the dll files


Also waiting when you can work with the text, at least get it. But as far as I know the text is the main problem and will not appear soon.
zotya0330
Posts: 11
Joined: Sun Dec 30, 2018 10:59 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by zotya0330 »

I just asked him because I saw that Delutto did it.
We have the UNITY txt files, that have been translated. Just need to get back to LOCALIZATION PACKAGE
ponaromixxx
Posts: 176
Joined: Tue Sep 30, 2014 5:59 pm

Re: Ubisoft ANVIL Engine (*.forge) [ONLY FOR TESTS]

Post by ponaromixxx »

zotya0330 wrote:I just asked him because I saw that Delutto did it.
We have the UNITY txt files, that have been translated. Just need to get back to LOCALIZATION PACKAGE


Hmm, how did you bring them into a readable form ???