Page 2 of 4

Re: newest version of OTTD on PSP...

Posted: 25 Jun 2009 14:05
by ashchetum
Will it work on the newer firmwares? 5.50+?
EDIT: Err,um, well, I could'nt figure it out, for one, there is no readme at all, and in side the openttdpsp thingy, there is no data folder to put the required files... It just seems broken to me.

Re: newest version of OTTD on PSP...

Posted: 25 Jun 2009 18:36
by SHADOW-XIII
there is data folder, maybe you didn't download it correctly (corrupted)

it will run on any CUSTOM firmware 3.xx and higher (not on official ones)

Re: newest version of OTTD on PSP...

Posted: 25 Jun 2009 23:29
by ashchetum
Ya, I tried it again, there was a data folder this time, but the game still wouldn't start. Darn you 5.50 firmware!!!!! :evil:
Is it very hard to make it for 5.50? Do I need to recompile? I'm no genius, but I am defently software-structure-inclined.

Re: newest version of OTTD on PSP...

Posted: 26 Jun 2009 00:48
by SHADOW-XIII
5.50 ? You mean original firmware from Sony ? - Not possible because we would need to buy vkit and have all proper licences for it.
You can only play it under custom firmware, like M33 (from Dark Alex)

Re: newest version of OTTD on PSP...

Posted: 26 Jun 2009 01:18
by ashchetum
You need licenses to create applications for the psp?! I just keep getting madder and madder at sony...

Ok, this is kind of a psp question, does the custom firmware run on 5.50, what I mean is, does it have a update program (like sony's firmware installer) that will install on 5.50? Or do I need the dreaded Pandora battery?

EDIT: Nevermid that, I did some reacearch and found the only way is to buy a battery, I'm buying one right now, and I found a memory stick too.

Re: newest version of OTTD on PSP...

Posted: 04 Jul 2009 07:54
by OneT
Thanks A LOT silent dragon and koppi for making sorting this just thought id express a little thanks

ashchetum dont worry hacking your PSP is very easy process really and you only need do it once ive never had problems with mine since i did it.

also running 5.00 m33-6 and havent Encountered any bugs yet so once again great job guys (very handy at work :-))

Re: newest version of OTTD on PSP...

Posted: 01 Aug 2009 10:29
by DeletedUser26
Thanks for porting to PSP!
Is there a 0.7.2 port for PSP, or how can I compile it for PSP
under Linux?

Re: newest version of OTTD on PSP...

Posted: 13 Aug 2009 21:22
by Jinx1337
First of all - hello everyone!

I registered on this forum for the sole reason of thanking SilentDragon and everyone involved for updating the marvellous OpenTTD PSP port, originally started by Jamie.

The 0.7.1 version is simply astounding! Downloading GRF's and other custom content straight from our PSPs? Christmas's totally early this year!
Now, I have a huge favour to ask. Back then, Jamie created a special midi driver for the PSP port designed for music playback, which is -sadly- absent from this version.

Seeing how I absolutely adore OpenTTD's midi music (anyone else gets that warm, fuzzy, nostalgic feeling?), I can only kindly and hopefully ask you to incorporate it in your build as well. This is the only thing that bugs in your newest version (for which I am grateful nevertheless). I'd LOVE to hear the music once again.

I cannot code for crap, but if the original sources are in fact encrypted or unsuitable in any form, I might try contacting Jamie (seeing as I corresponded with the guy a couple of years back) and bug him about it.

Once again, thank you for the wonderful job.

Best regard,

Jinx


PS.

On a side note: you can easily change the CPU speed, regardless of the build.
Just use CWCHEAT.

Re: newest version of OTTD on PSP...

Posted: 13 Aug 2009 21:28
by DeletedUser26
I have set up my PSP SDK.
Whate changes have to be made in the sourcecode?
I think, the most changes have to be made in the controlling.

Re: newest version of OTTD on PSP...

Posted: 13 Aug 2009 21:53
by SilentDragon
Jinx1337 wrote:First of all - hello everyone!

I registered on this forum for the sole reason of thanking SilentDragon and everyone involved for updating the marvellous OpenTTD PSP port, originally started by Jamie.

The 0.7.1 version is simply astounding! Downloading GRF's and other custom content straight from our PSPs? Christmas's totally early this year!
Now, I have a huge favour to ask. Back then, Jamie created a special midi driver for the PSP port designed for music playback, which is -sadly- absent from this version.

Seeing how I absolutely adore OpenTTD's midi music (anyone else gets that warm, fuzzy, nostalgic feeling?), I can only kindly and hopefully ask you to incorporate it in your build as well. This is the only thing that bugs in your newest version (for which I am grateful nevertheless). I'd LOVE to hear the music once again.

I cannot code for crap, but if the original sources are in fact encrypted or unsuitable in any form, I might try contacting Jamie (seeing as I corresponded with the guy a couple of years back) and bug him about it.
I don't have the timidity psp port for my toolchain so that's why I didn't compile it. It's just commented out in the source and if anyone has the libs for timidity they can build it by editing the makefile I believe. I forgot what I did, but I think I just told it to compile without midi support. I can talk Jamie as well. I was responsible for the dhcp support and a couple of bug fixes =p. Anyway I've been pretty busy recently. Had to move, get college stuff sorted out, get internet, go job hunting, ect. So I'm can't say I'll be working on this at the moment.
mase wrote:I have set up my PSP SDK.
Whate changes have to be made in the sourcecode?
I think, the most changes have to be made in the controlling.
There should be a readme file with the source that lists stuff, but if you have the SDK toolchain configured then just check the makefile and run make on it and it should work. If you want to work on the midi then you just need to get a psp port of the timidity from somewhere or build it. All psp additions are inside preprocessor if blocks #ifdef PSP or #if defined(PSP) and psp.c I believe.

Thanks for the support and don't forget to thank koppi for updating it to 0.7.1 as well.

Re: newest version of OTTD on PSP...

Posted: 14 Aug 2009 08:19
by Jinx1337
Thank you for your fast reply SilentDragon. I appreciate that you updated the port in the first place.
All the best with your personal affairs then!

Thank you for the update Koppi and thanks anyone who's still willing to work on this wonderful port for the PSP.

Re: newest version of OTTD on PSP...

Posted: 15 Aug 2009 11:46
by DeletedUser26
There is no link for the 0.7 sources.

Re: newest version of OTTD on PSP...

Posted: 15 Aug 2009 17:08
by SilentDragon

Re: newest version of OTTD on PSP...

Posted: 15 Aug 2009 18:07
by DeletedUser26
Link 1 does not contain an archive.
Thanks for link 2.

I get "no rule to make Target »3rdparty\squirrel\sqstdlib\sqstdaux.o«"
with the 0.7.1 source.

The above error came, as I had backslashes insted of slashes in my Makefile.
I am using Linux.

Re: newest version of OTTD on PSP...

Posted: 15 Aug 2009 19:21
by SilentDragon
The first link has a link to the src.zip/rar file in the center of the page. As for the code error, I have no idea. I spent 10 minutes looking at the code and have come to realize I have no idea how it compiled itself originally. This goes back to the code being really messy and hackish, since I can't use the normal build system to build for PSP. The 3rdparty folder is what needs to be built since really lines in the make file aren't told how the stuff is built. I'll spend a bit more time later looking into it and seeing if I can clean up the build system a bit so others can then compile and contribute.

EDIT: So after much labor I found out that I recently installed the Wii toolchain so both toolchains were in my path. Running make used the Wii toolchain and caused it to get the same error you were getting. My thoughts are that maybe it's using the standard make instead of the psp toolchain make. Also I do my development for this under Win32. I can try putting the toolchain on this comp as it is linux.

Re: newest version of OTTD on PSP...

Posted: 15 Aug 2009 19:34
by DeletedUser26
Still cannot compile. I get a lot of typedef conflicts freetype vs. pspsdk.
Did anyone compile the 0.7.1 code under linux?

Re: newest version of OTTD on PSP...

Posted: 19 Aug 2009 10:40
by Jinx1337
Any news on that one mase? Have you succeeded in compiling the newest build?

Re: newest version of OTTD on PSP...

Posted: 19 Aug 2009 15:30
by DeletedUser26
Jinx1337 wrote:Any news on that one mase? Have you succeeded in compiling the newest build?
Nope. Still errors about redefinitions.

Re: newest version of OTTD on PSP...

Posted: 19 Aug 2009 16:26
by Jinx1337
I'd help if I could. Pity no one knows why it's happening.

Re: newest version of OTTD on PSP...

Posted: 19 Aug 2009 17:47
by DeletedUser26
One question: Why does it wanna use the freetype headers of my Linux
installation? The lib is compiled for x86.