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

Enhancement: Drag and drop from UPK explorer into Package Ed for brushes #23

Closed
Kinkojiro opened this issue Mar 31, 2018 · 10 comments
Closed
Assignees
Labels
enhancement Needs validation Requires validation that issue is implemented and/or resolved
Milestone

Comments

@Kinkojiro
Copy link
Collaborator

Kinkojiro commented Mar 31, 2018

Brushes are geometry contained entirely in unreal structs. It would be good to be able to copy them from unreal (and therefore 3dsMax) into a pcc. Ideally drag and drop from UDK Explorer into package ed, but if that is too difficult a simple import function would be useful.

Saves having to do it by hand/hexeditor

The following are brushes: BrushComponent, RBBodySetup

BTW ME3Creator has a "Import function" that effectively has been surpassed by drag and drop. However if dragging/dropping between UDK Explorer and Package Ed was difficult, it might be a useful interface for an importer.

@Mgamerz
Copy link
Member

Mgamerz commented Apr 15, 2018

Can you give me some examples for UDK Explorer I can use? Such as an example file and destination pcc.

@Kinkojiro
Copy link
Collaborator Author

Kinkojiro commented Apr 16, 2018

This .upk includes 2 collision brushes obj 3+4 - termed RB_BodySetup because they are static mesh collision brushes rather than volume brushes but the code is identical.

I want to replace the version in here: Obj 3750

[Contact me for files]

Mgamerz referenced this issue Apr 17, 2018
…ge interface. Tools would have to be tested and upgraded for 'full' support, but it loads in package editor and interpreter currently. Supports drag and drop.

Made the Debug CallReadProperties() item in Debug menu of Package Editor now forces properties to reload rather than use the cached version. Usage from all other GetProperties() calls are unchanged.
@Mgamerz
Copy link
Member

Mgamerz commented Apr 17, 2018

Can you leave feedback on the new UDKPackage support in the toolset for what you need. Binary relinking is not yet done for staticmesh but will come eventually.

I personally have not tested if all properties are parsable - if you can export stuff from UDK that has things like boolproperties that would be helpful.

@Kinkojiro
Copy link
Collaborator Author

BodySetups seem to be fine.
Static Meshes appear to drag and drop incorrectly. There must be some sorted of transformation/compression between UDK and ME.

@Mgamerz
Copy link
Member

Mgamerz commented Apr 19, 2018

Not sure what you mean. I know the size changes because StrProperty in UDK is 1 byte for each character, while in ME3 it is 2 characters, so sizes will not line up.

@Kinkojiro
Copy link
Collaborator Author

Ok. Let me try again.

@Kinkojiro
Copy link
Collaborator Author

This is the problem.
(1) I import a staticmesh (EGM_SM_ObjectRho) via ME3Creator. Imports correctly (meshplorer can view). object size is 483kb
(2) I import the same mesh again via drag and drop. It copies in but is object size 4.8MB. Meshplorer throws an exception.
The files are on the chat.

@Mgamerz Mgamerz added this to the 3.0.10 milestone Apr 21, 2018
@Mgamerz
Copy link
Member

Mgamerz commented Apr 25, 2018

Just an update, this has been fixed, but I am not closing this issue because I want to add a "replace" option when drag/drop on an export of the same class (and maybe name).

@Mgamerz Mgamerz modified the milestones: 3.0.10, 3.1.2.14 Sep 28, 2018
@Mgamerz Mgamerz added In Progress Working on this issue Needs validation Requires validation that issue is implemented and/or resolved and removed In Progress Working on this issue labels Oct 23, 2018
@Mgamerz
Copy link
Member

Mgamerz commented Oct 30, 2018

This has been implemented, but needs checked. From my limited tests replacing works, however I have not tested across games and UDK.

@Kinkojiro Kinkojiro self-assigned this Oct 31, 2018
@Kinkojiro
Copy link
Collaborator Author

VALIDATED THANK YOU 3.1.2.14

@Mgamerz Mgamerz closed this as completed Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Needs validation Requires validation that issue is implemented and/or resolved
Projects
None yet
Development

No branches or pull requests

2 participants