FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   XTool 2020 (Database Maker) (https://fileforums.com/showthread.php?t=104109)

Razor12911 01-02-2021 02:23

XTool 2020 (Database Maker)
 
Database Maker/Generator is part of xtool and this post is dedicated to explaining how it works.


If xtool does not have a plugin designed to work for a certain input or game but if for example you managed to extract (not unpack) streams a certain file has then you order xtool to create a plugin in a form of a database file which can then be used within the program.

The syntax is as follows:
Code:

xtool generate [parameters] extracted_streams original_data database_output
Parameters:
  -m#  - codec to use for precompression
  -c#  - scanning range of precompressor [16mb]
  -t#  - number of working threads [50p]

the inputs of both extracted_streams and original_data can either be a file or a folder (wildcards/masks) are accepted.

Example:
Code:

xtool.exe generate -mxcompress "VehicleHRLiveries.bff_extract\*" "VehicleHRLiveries.bff" pcars.xtl

Razor12911 01-02-2021 02:24

QuickBMS to Xtool
 
1 Attachment(s)
bms2xtool is a separate project that helps generate database files from quickbms scripts.

Since this forum is either incredibly lazy or they can't code as there are no plugins for xtool submitted on the forum I thought of creating such a tool, QuickBMS has a lot of scripts made for a lot of games and has a community dedicated to making more of them which xtool doesn't. :o

The syntax is as follows:
Code:

bms2xtl script game_files database
the inputs of game_files can either be a file or a folder (wildcards/masks) are accepted.

Required files:
Code:

quickbms.exe or quickbms_4gb_files.exe
Get them from here

Source:
https://github.com/Razor12911/bms2xtool

Razor12911 01-02-2021 02:25

Log Converter
 
I'm spamming forum

Python-Boy 01-02-2021 07:18

Quote:

Originally Posted by Razor12911 (Post 490191)
I'm spamming forum

Then don't do that coz this is month of february not April.:D

KaktoR 01-02-2021 12:14

Quote:

Originally Posted by Razor12911 (Post 490191)
I'm spamming forum

Please, spam a bit more of your usefull stuff :D

Razor12911 14-06-2021 00:20

1 Attachment(s)
Dunia/Disrupt Engine Database maker

Instructions

Drag and drop game folder on make_db.bat, a database file (*.xtl) will be created

Supported games

Far Cry 3
Far Cry 4
Far Cry 5
Far Cry 6
Far Cry New Dawn
The Crew 2
Watch Dogs 1 (use bms2xtl)
Watch Dogs 2
Watch Dogs Legion

L33THAK0R 14-06-2021 02:28

Quote:

Originally Posted by Razor12911 (Post 492876)
Dunia/Disrupt Engine Database maker

Instructions

Drag and drop game folder on make_db.bat, a database file (*.xtl) will be created

Supported games

Far Cry 3
Far Cry 4
Far Cry 5 (needs testing)
Far Cry 6 (I'm waiting for you)
Far Cry New Dawn (needs testing)
The Crew 2
Watch Dogs 1 (wait for xtool v0.4+ update)
Watch Dogs 2 (wait for R2)
Watch Dogs Legion (wait for R2)

Is "Far Cry 2" able to work with this? As far as I know it is one of two titles to use Dunia 1 (the other being the Ubisoft licensed "Avatar" title).

Razor12911 14-06-2021 02:36

upload common.dat, common.fat and all other *.fat files as samples.

:( Sad8669 14-06-2021 03:05

Razor, do you need WDL samples?

I asked because i have the game files right now.

L33THAK0R 14-06-2021 04:17

Quote:

Originally Posted by Razor12911 (Post 492879)
upload common.dat, common.fat and all other *.fat files as samples.

Sample upload is structured as it appears in the title's directory, as some files have identical names. The second title mentioned "James Cameron's Avatar: The Game" does not have a sample included, as it does not seem to have any ".fat", or ".dat" files present, despite it using the same iteration of the Dunia engine as "Far Cry 2". It instead seems to house all of its required assets within ".pak" files.

KaktoR 14-06-2021 11:12

4 Attachment(s)
Here are some for testing

PS: db maker named them all as fc3.xtl (maybe it's a bug), so I have renamed them.

ffmla 15-06-2021 01:43

Quote:

Originally Posted by KaktoR (Post 492890)
Here are some for testing

PS: db maker named them all as fc3.xtl (maybe it's a bug), so I have renamed them.

some doubt arises.

did you change the fc3.xtl name in bat file?
Code:

for /R "%~1\" %%a IN (*.fat) do dunia2_db "%%a" fc3.xtl

KaktoR 15-06-2021 10:49

Quote:

Originally Posted by ffmla (Post 492897)
some doubt arises.

did you change the fc3.xtl name in bat file?
Code:

for /R "%~1\" %%a IN (*.fat) do dunia2_db "%%a" fc3.xtl

Good point. Answer is no :D

Razor12911 26-06-2021 00:19

1 Attachment(s)
Unreal Engine ucas Database maker

Instructions

Open batch file
Insert the name of game, enter the decryption key and then save
Drag and drop game folder on make_db.bat, a database file (*.xtl) along with key file (*.key) will be created

Use these with xtool.

Razor12911 26-06-2021 09:12

Unreal Engine ucas Database maker updated

Changes

- Fixed decryption issues

Notes

That's all I can do for now, fixed some issues during my spare time. I think there's still a few left.


All times are GMT -7. The time now is 13:47.

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