The Forum is up for sale: XeNTaX Forum looking for new owner

import texture in .cas file (battlefield hardline)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
A20Group
beginner
Posts: 22
Joined: Thu Nov 27, 2014 5:36 pm
Has thanked: 3 times

import texture in .cas file (battlefield hardline)

Post by A20Group »

Hi to all
i am export all texture and ebx file and mesh and .... from battlefield hardline with FrankElstner scripts
now i want reimport a texture in .cas file
for example
season_1_thumb_07.dds file There is in cas_06.cas with SHA1: 953eb4d9df3dc8222e11147445a558996549bd28
now I want to replace edited texture with hex But I can not find the original texture Code
After research, I realized the files were compressed with LZ77
I need a way or a program for compression texture with LZ77 To then be able replace edited texture.
I picked up LZ77.dll from FrankElstner scripts and I uploaded for you It might help you out
http://upload.a20game.com/images/nyekk9 ... eyb390.rar
Many thanks that you have read the text
I am waiting for your response
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2639
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2860 times

Re: import texture in .cas file (battlefield hardline)

Post by daemon1 »

A20Group
beginner
Posts: 22
Joined: Thu Nov 27, 2014 5:36 pm
Has thanked: 3 times

Re: import texture in .cas file (battlefield hardline)

Post by A20Group »

daemon1 wrote:try this one for battlefield 4

http://captainsplexx.github.io/FrostBite3Editor/
thank you for FrostBite3Editor Program but i want a program that can compress any files by LZ77 algoritm (with DLL that i put above)
i'm wait for your help
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2639
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2860 times

Re: import texture in .cas file (battlefield hardline)

Post by daemon1 »

A20Group wrote:i want a program that can compress any files by LZ77 algoritm (with DLL that i put above
That dll CAN'T compress files. That is dll Frank wrote ONLY to decompress. And this is not standard algorithm, this is custom compression based on LZ77. You need to write a new compression program yourself.
A20Group
beginner
Posts: 22
Joined: Thu Nov 27, 2014 5:36 pm
Has thanked: 3 times

Re: import texture in .cas file (battlefield hardline)

Post by A20Group »

daemon1 wrote:
A20Group wrote:i want a program that can compress any files by LZ77 algoritm (with DLL that i put above
That dll CAN'T compress files. That is dll Frank wrote ONLY to decompress. And this is not standard algorithm, this is custom compression based on LZ77. You need to write a new compression program yourself.
Now there is no way that I would replace a texture
For example I decompress cas files then replace a texture With hex Or any other way
That did not do anything?
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2639
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2860 times

Re: import texture in .cas file (battlefield hardline)

Post by daemon1 »

FrostBite3Editor can replace textures by making "paches" to the game files. Have you tried it?
Post Reply