thomasfn / HL2UE4AssetImporter

Importing Half-Life 2 to Unreal Engine 4.
MIT License
46 stars 12 forks source link

Plugin does not work in UE4 4.24 #1

Closed alextecplayz closed 4 years ago

alextecplayz commented 4 years ago

It doesn`t work.It says to rebuild the source or something like that. Do i REALLY need to have 4.22?

SlawekNowy commented 4 years ago

I played with this on 4.24. I got it to run on Linux. Also Changed how the Libraries are handled.

I'll try with Windows soon enough.

SlawekNowy commented 4 years ago

Why i changed lib handling? Beacuse the upstream violates UE4 EULA. VTFLib has LGPL license (strong, viral, copyleft). Which means I can such library link only dynamically. This plugin essentialy links them statically.

SlawekNowy commented 4 years ago

For this same reason this repo (or any UE4 Project or Plugin for that matter) cannot be licensed under any of the GNU licenses.

alextecplayz commented 4 years ago

It doesnt work for me on 4.24.3 and im on Windows.I just dont know what to do.Ill try again and post back if it doesn`t,if you can fix (or at least try to fix the issue)

alextecplayz commented 4 years ago

Nope,still experiencing the issue Here it is: Missing (AssetImporterSource) Modules The following modules are missing or built with a different engine version: HL2Runtime HL2Editor

Would you like to rebuild them? Yes / No

After clicking yes and waiting a brief moment this is what i get

Error

(AssetImporterSource) could not be compiled.Try rebuilding from source manually AssetImporterSource is the name of my blank project.Is it because i have chosen blueprints instead of c++? How do i fix this?
thomasfn commented 4 years ago

My apologies, I didn't get any notifications about this issue. I'm going to be updating the plugin to 4.25.0 soon.

@SlawekNowy can you detail what exactly you changed to link VTFLib dynamicly?

SlawekNowy commented 4 years ago

Sure. I built them before I build the Plugins. This guide was extremely helpful. The source to library itself landed in Source/ThirdParty. One note however. In linux link to Clang's C++ STL rather than gcc's.

SlawekNowy commented 4 years ago

I'd show my fork but I removed it during the cleanup. I don't have a local copy too.

SlawekNowy commented 4 years ago

I can however show you an example: This Ogg module used by UE4

thomasfn commented 4 years ago

Nice, I'll have a go at doing that, thanks.

thomasfn commented 4 years ago

Plugin has since been updated to support 4.25 (I'm not interested in supporting versions earlier than latest). VTFLib issue moved to #2.