Topic: Publishing - got empty screen on Maratis Player when launching .app

My scene contains ~ 60 nodels with 2000-4000 faces each,
When I published my project (File->Publish) from Maratis editor, whole .app file size was 6.8 MB, and npk file size was 220KB. 
When I launching published .app, I see empty Maratis player screen.
I think that npk must take more space, is this right?
What I'm doing wrong?
How to publish project correctly?

Re: Publishing - got empty screen on Maratis Player when launching .app

was your game files in the project directories meshs/ maps/ etc ?

Re: Publishing - got empty screen on Maratis Player when launching .app

Before publishing? Yes

Re: Publishing - got empty screen on Maratis Player when launching .app

Do you have at least one camera in the current scene ?

Re: Publishing - got empty screen on Maratis Player when launching .app

Yes
And one light

Re: Publishing - got empty screen on Maratis Player when launching .app

Are there any console tools fro creating npks from maratis projects?
I export my scene from 3d max.
I think that in my scene may be errors
I want to see if there are any errors during creation of npk. I want to look at output of publish tool for that.

Last edited by Petr (2012-09-14 06:52:27)

Re: Publishing - got empty screen on Maratis Player when launching .app

Moved this answer to SDK forum

Last edited by Petr (2012-09-19 07:56:55)

Re: Publishing - got empty screen on Maratis Player when launching .app

I compiled Maratis from sources, and published my scene from it.
The publish is ok, as I can see for now.
The size of .npk file is about 35 MBs

Re: Publishing - got empty screen on Maratis Player when launching .app

But when you publish from the pre-compiled version http://maratis.googlecode.com/files/Mar … ta-OSX.zip
it is not working ?

Did you find a bug in the source ?

Re: Publishing - got empty screen on Maratis Player when launching .app

Yes, it is not working.

I have not found a bug.

Also , when I compile and run Maraits from Xcode,  Publishing is ok. (.app size is about 44 MB )
If I run this compiled Maratis app from Finder, publishing is not working again, it produces .app with size ~ 9.5 MB

Re: Publishing - got empty screen on Maratis Player when launching .app

Ok, interesting, maybe a problem with path.

Please, can you try publishing one of the example to download here : http://www.maratis3d.org/?page_id=53
YoFrankie for example.

To see if it works with this one.
Thank you.

Re: Publishing - got empty screen on Maratis Player when launching .app

I forgot to say that I modified line 360 of MPublishEvent.cpp

    const char * appName = "MaratisPlayer";

with

    const char * appName = "Maratis";

Without that, "published" folder in my project was empty after publishing.

With that, I cannot run  .app in published folder (as I found, there is MAratis.app  instead of MaratisPlayer.app in .app after that chnage in code).
I need only .npk, and .npk seems to be ok, so I left this unsolved.

I send published YoFrankie .app (beautiful example, by the way)
Notice that it will not run, it can be used as I think for checking .npk.   YoFrankie

Re: Publishing - got empty screen on Maratis Player when launching .app

Hi, is the published YoFrankie you are sending is done with the compiled Maratis found here ? : http://maratis.googlecode.com/files/Mar … ta-OSX.zip (which works in my mac)

Also, if you can send me by email a sample of your project that doesn't publish, I will try to debug it on my machine.
Thank you.

Re: Publishing - got empty screen on Maratis Player when launching .app

No, I've published it with version of Maratis which I compiled on my machine.

Sorry, I cannot send this project.