Skip to content

Copy assets fix#207

Merged
void2012 merged 7 commits intosmartcmd:mainfrom
GuglioIsStupid:CopyAssets-Fix
Mar 3, 2026
Merged

Copy assets fix#207
void2012 merged 7 commits intosmartcmd:mainfrom
GuglioIsStupid:CopyAssets-Fix

Conversation

@GuglioIsStupid
Copy link
Contributor

Pull Request

Description

This fixes the CopyAssets.cmake script to properly copy over the correct files instead of copying every file

Also changed to to only copy over Minecraft.Client/Common/Media/MediaWindows64.arc instead of all Minecraft.Client/Common/Media/ files and the other platform .arc files

Changes

Previous Behavior

Would copy everything over, making file sizes larger

New Behavior

Only copies the correct and used files

@void2012
Copy link
Collaborator

void2012 commented Mar 2, 2026

Have you tested it yourself? Does the cmake build work fully?

@void2012 void2012 added cmake Questions related to CMake priority: low labels Mar 2, 2026
@GuglioIsStupid
Copy link
Contributor Author

Yes I tested on both Debug and Release

@void2012
Copy link
Collaborator

void2012 commented Mar 2, 2026

Ready to merge?

@GuglioIsStupid
Copy link
Contributor Author

Actually, im gonna draft this real quick as I realized the same thing can be done for the language files

@GuglioIsStupid
Copy link
Contributor Author

(idk how to draft)

@void2012 void2012 marked this pull request as draft March 2, 2026 23:41
@GuglioIsStupid GuglioIsStupid marked this pull request as ready for review March 3, 2026 00:03
@GuglioIsStupid
Copy link
Contributor Author

Made it ignore the xml and lang files as they are not used, also ignores the Layout folder as it only includes a binary that isnt used

Runs fine on Release, currently compiling Debug and will test

Also fixed a compile error due to WinsockNetLayer not being in ClientSources.cmake

Tested on both Debug and Release

@void2012 void2012 merged commit 3dce71e into smartcmd:main Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmake Questions related to CMake priority: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants