-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Support <Link> content in MGCB and Pipeline tool #5109
Comments
As for support in the
... or maybe....
We then just use |
I was thinking along the lines of
/link:gfx/wood.png
/build:../../wood.png
The link parameter, if present, would be used for the treeview and
intermediate file output.
But either option would work.
|
Yeah |
As long as it is before the /build parameter, it should be fine.
|
We must not forget that mgcb always applies the last parameters. A separate
A file like the following implies all 4 files should become wood.xnb,wood0.xnb,wood1.xnb,wood2.xnb
The mbcg will behave strange, we get
IMO, having the link in the |
@nkast That is a good point. Adding the link into the '/build' command avoids all sorts of potential bugs and issues. |
That makes sense. |
I did a modification some time ago which matches Tom's first request modification for the MGCB.exe (build input.png > output.png). Unfortunately I can't use github because of my metered connection. Here are my changes, just in case somebody finds them useful as starting point: modified BuildContent.cs: http://pastebin.com/BnvJLSds |
@KakCAT - That seems like a good starting point. Thanks! |
I'm currently working on this. My solution will allow loading and saving of files with the link appended to the build property as suggested above, plus modifications to the builder to properly build to the right folder. I don't think I'll get to making changes to the UI tool to allow setting the link property - for this pass it will work if the .mgcb is edited manually. |
I'm working on this, it will probably take me till the end of the day to rework some parts of logic inside the Pipeline Tool. |
Has this issue been solved? I'm trying a workaround, but it's not really working yet... I have problems installing the MonoGame.Content.Builder nuget package into my central project, because the craftworkgames.com server is apparently down? |
Yes, it has been solved and is included in MonoGame 3.7. You can either manually add 2 filepaths in the build statement separated by
That has nothing to do with us. MonoGame.Extended in general has nothing to do with MonoGame, except its using it. Really unfortunate name choosing tho. |
In XNA you could do the following in a content project:
With this the content pipeline reads the source content from the
..\..\..\art\gfx\wood.PNG
path then writes it out togfx\wood.PNG
in the output folder.When importing this
.contentproj
into the Pipeline tool we get this:This produces both the wrong output path when building content, but also looks wrong in the Pipeline tool which shows folders for
..
which it should never do.There are multiple things to do to fix this:
.contentproj
.This issue is similar to #4724, #4846, and #4980.
The text was updated successfully, but these errors were encountered: