forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Free Heroes II engine porting. Advice needed!

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Xvonabur



Joined: 28 Feb 2009
Posts: 4

PostPosted: Sat Feb 28, 2009 1:37 am    Post subject: Free Heroes II engine porting. Advice needed! Reply with quote

Hi, all.
I'm a noob in porting questions, but I really want to try.
My comp has Ubuntu 8.04 + SDK (I used this tutorial) for psp and also Windows XP SP3, as a second OS.
I've downloaded the source files of engine (link)
C# and assembler basics are familiar to me, so it wouldn't be so dificult to understand some aspects of the source code.
But the problem is that i don't know what the next step should be.
So, if someone can give me food for thought about my problem (some tuts, advices), I'll be really grateful.

P.S. Sorry for my bad English.
Back to top
View user's profile Send private message
jojojoris



Joined: 30 Mar 2008
Posts: 261

PostPosted: Sat Feb 28, 2009 3:34 am    Post subject: Reply with quote

When you have downloaded the source code the first thing you have to do is understand what's going on in the code.

If this is the first thing you are going to port i think it's very hard.

If you havn't port anything before i advice you to try to port some simple programs.
_________________
Code:
int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
Back to top
View user's profile Send private message
Xvonabur



Joined: 28 Feb 2009
Posts: 4

PostPosted: Sat Feb 28, 2009 3:47 am    Post subject: Reply with quote

jojojoris, thanks for your reply.
The main problem is that there are a lot off *.cpp files and i don't know even how to compile them (I read that makefile is needed for this, but not all directories have them).
So, what would you advice me for my first step in porting, jojojoris? May be some helpful links, tutorials or something like that?
Anyway, thanks again.
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Sat Feb 28, 2009 7:51 am    Post subject: Reply with quote

Xvonabur wrote:
jojojoris, thanks for your reply.
The main problem is that there are a lot off *.cpp files and i don't know even how to compile them (I read that makefile is needed for this, but not all directories have them).
So, what would you advice me for my first step in porting, jojojoris? May be some helpful links, tutorials or something like that?
Anyway, thanks again.


First step is to learn the basics of programming

Things like
a) Getting the toolchain compiled
b) knowing what basic compiler things mean (GCC, Binutils, libraries, etc)
c) Learning everything about makefiles and creating your own.
d) Consolidate, Consolidate, Consolidate, Consolidate..

If you want to get into the code, I suggest learning about algorithms and maybe porting a smaller game first.
Back to top
View user's profile Send private message AIM Address
Xvonabur



Joined: 28 Feb 2009
Posts: 4

PostPosted: Sun Mar 01, 2009 1:49 am    Post subject: Reply with quote

Wally wrote:

First step is to learn the basics of programming

Things like
a) Getting the toolchain compiled
b) knowing what basic compiler things mean (GCC, Binutils, libraries, etc)
c) Learning everything about makefiles and creating your own.
d) Consolidate, Consolidate, Consolidate, Consolidate..

If you want to get into the code, I suggest learning about algorithms and maybe porting a smaller game first.


Ok. I understood that.
It seems like a long road...
But is there some books about that? Especially books about section b.
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Sun Mar 01, 2009 3:13 am    Post subject: Reply with quote

Xvonabur wrote:
Wally wrote:

First step is to learn the basics of programming

Things like
a) Getting the toolchain compiled
b) knowing what basic compiler things mean (GCC, Binutils, libraries, etc)
c) Learning everything about makefiles and creating your own.
d) Consolidate, Consolidate, Consolidate, Consolidate..

If you want to get into the code, I suggest learning about algorithms and maybe porting a smaller game first.


Ok. I understood that.
It seems like a long road...
But is there some books about that? Especially books about section b.


Yes there are books, I suggest looking at the C++ For Dummies book however a lot of information can be found by just googling each subject, there's a wikipedia page for each :)
Back to top
View user's profile Send private message AIM Address
Xvonabur



Joined: 28 Feb 2009
Posts: 4

PostPosted: Sun Mar 01, 2009 3:39 am    Post subject: Reply with quote

C ++ isn't new for me (I mean syntax aspect).
I know C#, and some things about windows libraries. However, not so much. Ok, I'll try to google some info.
Sorry for my noob questions.
And thanks again.
Back to top
View user's profile Send private message
pestrz



Joined: 20 Apr 2009
Posts: 3

PostPosted: Thu Oct 01, 2009 10:42 pm    Post subject: Reply with quote

Xvonabur have you already ported free heroes 2 engine? I would love to play homm2 on my psp!
Back to top
View user's profile Send private message
m0skit0



Joined: 02 Jun 2009
Posts: 226

PostPosted: Fri Oct 02, 2009 12:41 am    Post subject: Reply with quote

C# is no use on PSP. It's a .NET programming language, and as such, it needs .NET framework to be useful. So forget about C#.

IMHO C/C++ is the best programming language to use with PSP, because PSPSDK is again the best SDK available to program for PSP.

I would suggest you making a few simple programs like a hello world or something like that, because programming for PSP differs a bit in Windows programming.
_________________
The Incredible Bill Gates wrote:
The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group