Shadow of the Beast (SOTB) remake project called Return of the Beast is still ongoing (more informations at http://www.lamtec.fr. As I am actually investigating various possibilities for the game engine, recently I found a very interesting but abandoned SOTB remake project (http://www.bertinettobartolomeodavide.it/beastpc/en_index.html). The game was at very alpha stage, the graphics are not so good but the game engine is interesting. The sources are available on the website, it is using C/C++ and Allegro libs.
I tried to port myself with OS4 SDK and Allegro SDK installed. I used CodeBench to manage the project (source and header files). The setup seems ok but when building I have an error with set_gfx_mode allegro function. Argument for this function was GFX_DIRECTX_ACCEL, so a windows/directx dependancies. I tried other possible arguments like GFX_AUTODETECT, GFX_AUTODETECT_WINDOWED, GFX_AUTODETECT_FULLSCREEN but then I have a lot of errors when building that seems to be directx dependancies...
maybe a more skilled coder can confirm this? are there other arguments for set_gfx_mode that directly use OS4 graphics card drivers? is it possible to replace directx functions with opengl/minigl equivalent as the source and program is not so complex?
I am not a coder expert, any help will be appreciated (maybe spotup or hitman that have already ported some allegro games??).
The errors from the build.log are related to allegro functions calls that are unknown.
It can be related to calls to allegro functions that are not implemented in allegro os4 implementation (cause amiga allegro is not the last rev). I doubt of that because the functions seems to be core allegro graphics functions (see buil.log in previous post), thus existing from a long time...
I think more that my allegro sdk setup isn't ok. I extract allegrosdk archive from os4depot in my SDK assign. I tried also to put allegro includes directly in my project directory, no success. Under codebench, in header files section, in addition from the game .h files, I put also all .h allegro includes files before compilling, no success...
Help still welcome! It's my first porting attempt...
Thanks spotup, yes, problem was in makefile, I changed the makefile using examples of already ported allegro game (open sonic). And it worked! My first port is complete! More seriously, the engine is interesting but still needs a lot of work, but now it's not about porting but coding... I just have to put off -lalpng from the makefile contrary to open sonic because this lib was not found. At the end, seems the lib was not necessary as it works without but anyway where can I find it?
Yes, as Elwood said, it's at early stage. I'm planning to release a playable technical demo during 2011 in order to prove credibility of the project and start a donation campaign scheme to finance completion of the project (mostly to finance artist work). The game cannot be commercial for obvious copyright reasons