| View previous topic :: View next topic |
| Author |
Message |
Xvonabur
Joined: 28 Feb 2009 Posts: 4
|
Posted: Sat Feb 28, 2009 1:37 am Post subject: Free Heroes II engine porting. Advice needed! |
|
|
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 |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Sat Feb 28, 2009 3:34 am Post subject: |
|
|
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 |
|
 |
Xvonabur
Joined: 28 Feb 2009 Posts: 4
|
Posted: Sat Feb 28, 2009 3:47 am Post subject: |
|
|
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 |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Sat Feb 28, 2009 7:51 am Post subject: |
|
|
| 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 |
|
 |
Xvonabur
Joined: 28 Feb 2009 Posts: 4
|
Posted: Sun Mar 01, 2009 1:49 am Post subject: |
|
|
| 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 |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Sun Mar 01, 2009 3:13 am Post subject: |
|
|
| 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 |
|
 |
Xvonabur
Joined: 28 Feb 2009 Posts: 4
|
Posted: Sun Mar 01, 2009 3:39 am Post subject: |
|
|
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 |
|
 |
pestrz
Joined: 20 Apr 2009 Posts: 3
|
Posted: Thu Oct 01, 2009 10:42 pm Post subject: |
|
|
| Xvonabur have you already ported free heroes 2 engine? I would love to play homm2 on my psp! |
|
| Back to top |
|
 |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Fri Oct 02, 2009 12:41 am Post subject: |
|
|
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 |
|
 |
|