Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
21 user(s) are online (15 user(s) are browsing Forums)

Members: 0
Guests: 21

more...

Support us!

Headlines

 
  Register To Post  

Allegro coding help for Return of the Beast project
Just popping in
Just popping in


See User information
Hi amigans,

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??).

Thanks

A1XE G4@800 OS4.1, Pegasos1 G3@600 MorphOS 2.3, Amiga 1200+Fast Ram OS3.0
Go to top
Re: Allegro coding help for Return of the Beast project
Just can't stay away
Just can't stay away


See User information
@Seblam

It would help if you posted the errors.

Go to top
Re: Allegro coding help for Return of the Beast project
Just popping in
Just popping in


See User information
@spotUP

Yes, you're right, I put the build.log here: http://www.lamtec.fr/Build.log

A1XE G4@800 OS4.1, Pegasos1 G3@600 MorphOS 2.3, Amiga 1200+Fast Ram OS3.0
Go to top
Re: Allegro coding help for Return of the Beast project
Just popping in
Just popping in


See User information
Some more investigations...

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...

A1XE G4@800 OS4.1, Pegasos1 G3@600 MorphOS 2.3, Amiga 1200+Fast Ram OS3.0
Go to top
Re: Allegro coding help for Return of the Beast project
Quite a regular
Quite a regular


See User information
@Seblam

Dont give up

Go to top
Re: Allegro coding help for Return of the Beast project
Just can't stay away
Just can't stay away


See User information
In the makefile look for -I what does it say after that?

Go to top
Re: Allegro coding help for Return of the Beast project
Just popping in
Just popping in


See User information
@spotUP

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?

A1XE G4@800 OS4.1, Pegasos1 G3@600 MorphOS 2.3, Amiga 1200+Fast Ram OS3.0
Go to top
Re: Allegro coding help for Return of the Beast project
Quite a regular
Quite a regular


See User information
@Seblam

When do you think we can have a playable demo?

Go to top
Re: Allegro coding help for Return of the Beast project
Just can't stay away
Just can't stay away


See User information
@Joeled

Come on. He just started on it. Ask again in mid 2011

Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
Go to top
Re: Allegro coding help for Return of the Beast project
Just popping in
Just popping in


See User information
@Joeled

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

A1XE G4@800 OS4.1, Pegasos1 G3@600 MorphOS 2.3, Amiga 1200+Fast Ram OS3.0
Go to top
Re: Allegro coding help for Return of the Beast project
Quite a regular
Quite a regular


See User information
@Seblam

No problem. Looking forward to donate

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project