Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UCAS support #23

Closed
matyalatte opened this issue Jul 30, 2023 · 7 comments · Fixed by #39
Closed

UCAS support #23

matyalatte opened this issue Jul 30, 2023 · 7 comments · Fixed by #39
Labels
enhancement New feature or request

Comments

@matyalatte
Copy link
Owner

Related to #19 and #22.

Recent UE games store assets in .ucas files, not .pak
Extraction tools (e.g. FModel) can extract the assets as .uasset but they are missing some attributes that the standard uasset files have.
So, UE4 DDS Tools should be able to detect the ucas assets, and skip the missing attributes.

@matyalatte matyalatte added the enhancement New feature or request label Jul 30, 2023
@matyalatte matyalatte pinned this issue Jul 30, 2023
@Mayki07
Copy link

Mayki07 commented Apr 7, 2024

Hi, can I ask if there is any progress with the UCAS problem?

@matyalatte
Copy link
Owner Author

matyalatte commented Apr 25, 2024

My first attempt for ucas/utoc support was done at 7b7f563 and 938231b.

Tested with a template project.
I replaced a normal map of a weapon with a black image, and repacked assets with UEcastoc.
Then, the game app showed a player's weapon with broken normals.

Vanilla
vanilla

With broken normals
broken_normal

I also tested with resized textures and the force uncompressed option. They worked fine.

@Mayki07
Copy link

Mayki07 commented Apr 25, 2024

Will it be possible to test this version?

@matyalatte
Copy link
Owner Author

matyalatte commented Apr 26, 2024

I'll release a preview version this weekend, but you can use the dev branch if you want to.
Here is the latest build.
UE4-DDS-Tools-29f7af7-GUI.zip

You can also folk my repo and run the building workflow to make UE4-DDS-Tools-*.zip by yourself.

Tutorial for my workflow is here.
Build-With-Github-Actions

@Mayki07
Copy link

Mayki07 commented Apr 26, 2024

Hi, I have tried the DEV version of your tools, I have an asset with a texture exported from a UCAS file from UE 4.27 and it works fine there. Then I have an asset with texture from UE 5.2 and it fails to export. It always ends up with an error message see screen.
The files for the test are attached.

DDS

T_PoliceStation_Posters_01_a

Test file:
Robocop_Posters.zip

@matyalatte
Copy link
Owner Author

Thanks for the testing.
Fixed the errors at 771b353, and tested with UE4.27, 5.0, 5.2, 5.3 and 5.4.
I'll test it with 5.1 later. (I'm downloading UE5.1 now.)

Here is the latest build.
UE4-DDS-Tools-ac7b730-GUI.zip

It still fails to read your T_PoliceStation_Posters_01_a but the cause is another issue (#30.)

@matyalatte
Copy link
Owner Author

Tested with UE5.1. and a preview version was released as v0.6.0.
I don't close this issue becuase there might still be some problems.
I'll close it when releasing the next version.

@matyalatte matyalatte unpinned this issue May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants