Need some help to finalize AmigaOS4 port of AssaultCube
#1
Hi all.

Few days ago i start to work on port of AssaultCube to the AmigaOS4, and i have a good progress with port already:

[Image: ac5_tumb.jpg]

And there is video in action:


My amigaos4 machine are: PPC-based cpu on 1ghz + 1gb of ram + radeon9250.

The only problem for now, that is sometime crashes on different level loading (but that i think not the real problem for now), and the most important one: It crashes heavy when trying to render Meshes, so, i should comment out one string for make game works, but without meshes it of course looks empty and wrong. Check some more examples of how it looks like right now:

[Image: ac1_tumb.jpg] [Image: ac4_tumb.jpg]

It is because that i comment line 870 in the src/vertmodel.h:
loopv(meshes) meshes[i]->render(as, cur, doai ? &prev : NULL, ai_t);

Crash happens exactly on that line (its some kind of segfault , if compare with unix world).

For first i catch that bug, when i try to run fresh compiled ac_client binary with packages from SVN, it trying to write to shadow.dat , and then crashes on that line.

Second time i catch that crash when i just grab win32-data-files from last release, run ac_client binary, and when it comes to MainLoop (i see that output in shell), it crashes.

So i comment out that string, and it start to works with win32 data files, but of course without meshes is nothing.

I use yesterday SVN build if it make sense.

The only changes which i do in the code:

------
change all __APPLE__ on __amigaos4__ in src/console.cpp

and comment out these strings:
// extern void mac_pasteconsole(char *commandbuf);
// mac_pasteconsole(dst);
In the same src/console.cpp file.

(so it all about console)

---
change in src/log.cpp all APPLE on amigaos4
---
change all UNUSED on UNUSEDA in src/tristrip.h because with UNUSED have heavy warnings, which imho because UNUSED are recerved by aos4 sdk.
---

That all changes i do ..

If some of developers can help me , i will be realy appricated for it. Should to add that i am not so "programmer", so someone brave enough to help me are very-very welcome :)

Thanks for time.
Thanks given by:


Messages In This Thread
Need some help to finalize AmigaOS4 port of AssaultCube - by kas1e - 06 Nov 10, 04:52PM