Ok, I'd remove libsndfile-devel and openal-devel,
then recompile from svn, I'd delete build/ and prod/ before compile,
and open MaratisEditor then open my project,
but the error still "ERROR Load Sound : non supported format"

I think it's cause by my other system libs/header, the version maybe not compatible with maratis.
So, I'll wait for next official release.

In the current working version, there isn't Object list, that help me so much.
and in the lua scripting, function changeScene() give me Segmentation fault. (didn't happen in svn version)

I'll wait for it big_smile

Thanks.

27

(9 replies, posted in Gossip)

Awesome. I like this too.

In my browser (opera) there is horizontal scroll, IMHO it's better to have just one scrollbar (vertical).

But it's good, so further your site can be merged to maratis site.

I've already try to use libsndfile from Maratis folder, and from my system lib, both of these not work,
and there is no openal in Maratis folder, so I use from my system lib.

In older version of Maratis, I use libsndfile and openal from my system lib, and everything works ok.

I'll find the error more specific again later, maybe the error isn't come from libsndfile or openal.
and I will report if I have a progress.

Thanks.

@anael
I'm use 32bit version of linux.
and I try with default libsndfile from /usr/lib, but the error still remain.

ohh, so mp3 doesn't work, but it's ok, there is ogg which is better.

30

(150 replies, posted in Engine)

@Nistur
Ok, check bug report

Thanks.

I use MaratisEditor from this website -> download,
and everything is ok.
And then I update from svn, and now I can't play sound anymore, from both of MaratisEditor or MaratisPlayer.

I'm using linux Fedora 15.

I used this command from terminal.
#./MaratisEditor
->(then I open my project that contains sound, I test ogg, and mp3)
#GL_VERSION : 2.1 Mesa 7.11.2
#ERROR Load Sound : unable to read /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Examples/test/sounds/spring.ogg file
#ERROR Load Sound : unable to read /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Examples/test/sounds/spring.mp3 file
(but MaratisEditor still open, but without sound when click "play")

so I try open wav format.
#./MaratisEditor
->(open project that contains wav format sound)
#GL_VERSION : 2.1 Mesa 7.11.2
#ERROR Load Sound : non supported format
#ERROR Load Sound : non supported format

it's still produce error.

when I open using MaratisPlayer:
#./MaratisPlayer ../Example/........./test.mproj
(for any format of sound, ogg, mp3, and wav that I test)
#Segmentation fault (core dumped)

then I use valgrind to detect error of MaratisPlayer:
#valgrind ./MaratisPlayer ../Example/......./test.mproj

output wrote:

==2316== Memcheck, a memory error detector
==2316== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2316== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==2316== Command: ./MaratisPlayer ../Examples/Door/Door.mproj
==2316==
==2316== Use of uninitialised value of size 4
==2316==    at 0x80B893F: MWindow::create(char const*, unsigned int, unsigned int, int, bool) (in /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Bin/MaratisPlayer)
==2316==    by 0x80805BD: main (in /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Bin/MaratisPlayer)
==2316==
==2316== Use of uninitialised value of size 4
==2316==    at 0x80B895C: MWindow::create(char const*, unsigned int, unsigned int, int, bool) (in /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Bin/MaratisPlayer)
==2316==    by 0x80805BD: main (in /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Bin/MaratisPlayer)
==2316==
==2316== Use of uninitialised value of size 4
==2316==    at 0x80B8964: MWindow::create(char const*, unsigned int, unsigned int, int, bool) (in /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Bin/MaratisPlayer)
==2316==    by 0x80805BD: main (in /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Bin/MaratisPlayer)
==2316==
==2316== Invalid read of size 4
==2316==    at 0x460CEB0F: XCreateWindow (in /usr/lib/libX11.so.6.3.0)
==2316==    by 0x80B89D8: MWindow::create(char const*, unsigned int, unsigned int, int, bool) (in /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Bin/MaratisPlayer)
==2316==    by 0x80805BD: main (in /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Bin/MaratisPlayer)
==2316==  Address 0x105 is not stack'd, malloc'd or (recently) free'd
==2316==
==2316==
==2316== Process terminating with default action of signal 11 (SIGSEGV)
==2316==  Access not within mapped region at address 0x105
==2316==    at 0x460CEB0F: XCreateWindow (in /usr/lib/libX11.so.6.3.0)
==2316==    by 0x80B89D8: MWindow::create(char const*, unsigned int, unsigned int, int, bool) (in /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Bin/MaratisPlayer)
==2316==    by 0x80805BD: main (in /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Bin/MaratisPlayer)
==2316==  If you believe this happened as a result of a stack
==2316==  overflow in your program's main thread (unlikely but
==2316==  possible), you can try to increase the size of the
==2316==  main thread stack using the --main-stacksize= flag.
==2316==  The main thread stack size used in this run was 8388608.
==2316==
==2316== HEAP SUMMARY:
==2316==     in use at exit: 94,933 bytes in 69 blocks
==2316==   total heap usage: 151 allocs, 82 frees, 257,876 bytes allocated
==2316==
==2316== LEAK SUMMARY:
==2316==    definitely lost: 124 bytes in 1 blocks
==2316==    indirectly lost: 0 bytes in 0 blocks
==2316==      possibly lost: 48,098 bytes in 22 blocks
==2316==    still reachable: 46,711 bytes in 46 blocks
==2316==         suppressed: 0 bytes in 0 blocks
==2316== Rerun with --leak-check=full to see details of leaked memory
==2316==
==2316== For counts of detected and suppressed errors, rerun with: -v
==2316== Use --track-origins=yes to see where uninitialised values come from
==2316== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 35 from 8)
Segmentation fault (core dumped)

If I remove sound from my project, MaratisEditor and MaratisPlayer works flawlessly.

here it's some library version on my machine(using ldd)
#ldd MaratisPlayer

output wrote:

             linux-gate.so.1 =>  (0x00c76000)
    libMEngine.so => ./libMEngine.so (0x00d96000)
    libMCore.so => ./libMCore.so (0x00545000)
    libGL.so.1 => /usr/lib/libGL.so.1 (0x48979000)
    libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x47d3d000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x46095000)
    libdl.so.2 => /lib/libdl.so.2 (0x45eb4000)
    libopenal.so.1 => /usr/lib/libopenal.so.1 (0x45ec6000)
    libsndfile.so.1 => ./libsndfile.so.1 (0x00110000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4638b000)
    libm.so.6 => /lib/libm.so.6 (0x45e6c000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00171000)
    libc.so.6 => /lib/libc.so.6 (0x45cdf000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x45e98000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x461f0000)
    libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x465d7000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x46372000)
    libdrm.so.2 => /usr/lib/libdrm.so.2 (0x48a03000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x461d0000)
    /lib/ld-linux.so.2 (0x45cbd000)
    librt.so.1 => /lib/librt.so.1 (0x45ebb000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x4606f000)

I'm using libsndfile.so.1 (link to libsndfile.so) from Maratis too.

Thank you.


*edit
add error info when I use Maratis from Nistur.

I open MaratisEditor from terminal
#./MaratisEditor
(open project that have sound)
#Segmentation fault (core dumped)

I don't know why it's now showing GL version.

32

(150 replies, posted in Engine)

I got it.
Thank you very much big_smile

@Nistur
Thanks for the link.
and I'm waiting for stable official release of Maratis big_smile

33

(150 replies, posted in Engine)

I'd copy MCore and MEngine too, and now I'd copy from prod/ dirs, and still have the error message "ERROR Load Sound : unable to read /home/jurgel/Downloads/Maratis-3.02cBeta-Linux_x86-32/Examples/test/sounds/spring.ogg file".

To make a game in IOS, the game must be static, isn't it?
so we have to implement player and some library manually, and compile all to one file, it's true?
I'd never develop app on IOS before.

34

(150 replies, posted in Engine)

What the differences between prod/ and build/ ?
I copy MaratisEditor and all lib from build/ to my old MaratisEditor, is it wrong?

About license, so I have to release the game with MaratisPlayer? and the game just as a dynamic library?
What if I make it static?Like Nistur publishing method do.

Thanks.

35

(150 replies, posted in Engine)

Thanks for explanation. You make me clear.

In old version editor (from this web -> Download) ogg sound works perfectly,
In the latest svn, when I open editor from terminal, there is error, here it's "ERROR Load Sound : non supported format", but still open without sound.
In your publish project, when I open editor from terminal (player too), the error is Segmentation Fault, that's mean crash.
But after I remove sound, work perfectly on all version.

How to reproduce:
-> open ./MaratisEditor (or ./MaratisPlayer with project path) via terminal (or just double click for MaratisEditor)
-> load project (contains ogg sound in my project)
-> crash (Segmentation Fault) or sometime it didn't crash but project not loaded (empty workspace)

Thanks.

36

(150 replies, posted in Engine)

@Nistur
Just to make it clear, I don't have to make my work to be GPL when I publish it using your method, right?

Oh, I've create a project, it's contain level, maps, mesh, script, plugin, and sound. After I publish using your method, I only get executable, level, mesh, plugin, and other library. So there isn't maps and script, and I have to remove sound to avoid MaratisEditor crash, is it a bug?

In the newer version of maratis, sound ogg format support was removed?
I can't play ogg now.

37

(150 replies, posted in Engine)

That sounds great, I'm waiting for it. big_smile
I think Maratis is easier, simpler, but powerful than unity smile

I look at MaratisPlayer it's GPL.

38

(150 replies, posted in Engine)

Ahh, I didn't see the "Publish Project" button before, I think I must include npk by myself, lol,

And I think I must develop game under MaratisPlayer to make it standalone, that's why I ask for license since MaratisPlayer was GPL, and if I derived it, it must be GPL too, right?

I test to publish on some example, and it's great,
It's produce executable, and I can play it directly. Cool!!

But I didn't see one package npk file,
all file mesh, level, maps, etc still at their own folder,
any plan to packaging all file to one file?

39

(150 replies, posted in Engine)

Great. I had download it, compile failed at first time, I'd to remove comment at import npk_dev, and add libX11 and libdl (I'm using linux), and compile success,
any example of using npk?there is no in any folder.

To make executable we must push the project into the player application? So the game license must be GPL?

Thank you.

(Sorry for English if bad, I'm not native English)

I also want to know simple Hello World standalone executable, not dynamic library, and without MaratisPlayer
can it?

can I bundle MaratisPlayer source into my project?
what about the license?since MaratisPlayer use GPL not zlib/png license.


*edit
forget it, I look at ManualUse, and this is what I'm lookin for.

ohh, currently lua is used for scripting, right?
any plan to make lua as binding?so we can make game entirely with lua, just like corona big_smile