PDA

View Full Version : OpenTTD for PSP with working save/load



turulo
January 30th, 2006, 05:11
http://nixgeneration.com/~jaime/psp/openttd/screenshots/openttd-rc2-4.png

Well here is a version that fixes fileio problems, which means saving/loading is now working, there is still too much work to be done in the gui. Im releasing this as playing without saving is a pain, and now i can continue porting more relaxed.

Also note that now there are 2 openttd packages, one for 1.50 and the other one for 1.00 & 2.00, i hope this simplifies the installation and also to avoid the language issue.


The ChangeLog:

Fixed fileio problems, this enables
- Save/Load scenearios
- Save/Load scenearios
- Play any of the four landscape types
- Save ingame modified settings
Triangle deleting main screen fixed
Some debug messages added when missing files
Added screenshot support presing select button


NOTE FOR 2.00 OR GREATER USERS
For those having issues with the game here is the explanation, so please be patient and dont ask twice for the same thing.

The problem is the following, openttd keeps by default 8 opened files
and PSP just allow 10 opened files a as max, then it just have 2 files
to open left for save/load, screenshots or any other fileio
operations.

Looks like fanjita loaders keeps 1 or even 2 files opened, so it will
produce malfunctions on openttd, i will try to contact fanjita to see
if he can free those 2 precious file descriptors in his loader.


NOTE FOR THOSE SUFFERING THE BRAZILIAN ISSUE
The release is on good working condition, it works fine for me uncompressing and copying files from a unix box, so i dont know if winzip or windows xp integrated zip is truncating files or what...

If you are installing this over an old release, just delete the old one and install the new one.

If you are still suffering the language issue, just delete the "brazilian_portuguese.lng" file under "/PSP/GAME/ottd/lang/" and rename your desired language to "brazilian_portuguese.lng".


The Readme:


OpenTTD is a clone of the Microprose game "Transport Tycoon Deluxe", a popular
game originally written by Chris Sawyer. It attempts to mimic the original game
as closely as possible while extending it with new features.

OpenTTD is originaly developed by the openttd team http://www.openttd.org and
has been ported to the PSP by Jaime Peņalba <[email protected]>. This code
is licensed under the GNU General Public License version 2.0. For more
information, see the file 'COPYING' included with every release and source
download of the game.


INSTALLATION
============

To run OpenTTD it is *required* that you install certain files needed from the
original retail Transport Tycoon Deluxe, whether for DOS or Windows.


1.- Depending on your fw version, you must download a diferent openttd package
- FW 1.50 users must download openttd-psp_1.50.zip
- FW 1.00 & 2.00 users must download openttd-psp_1.00_2.00.zip

2.- Uncompress your matching package and copy the following files
- FW 1.50: copy "ottd/" and "ottd%/" folders to "/PSP/GAME"
- FW 1.00 & 2.00: copy "ottd/" folder to "/PSP/GAME"

3.- Now you must install some data files from the retail Transport Tycoon Deluxe
To install them you must copy the following files to "/PSP/GAME/ottd/data/"
* Required files: TRG1R.GRF, TRGCR.GRF, TRGHR.GRF, TRGIR.GRF, TRGTR.GRF, SAMPLE.CAT


CONTROLS
========

- Digital pad: 1px movement
- Analog stick: 2px movement

- Cross: mouse left click
- Circle: mouse right click, hold it and press pad to move arround the map.
- Square: hold it and press pad or analog, to move a window.
- Triangle: Closes the window under mouse cursor.

- L trigger: Zoom out
- R trigger: Zoom in

- L trigger + R trigger: Delete all non vital windows

- Select: Takes a screenshot


STATUS
======

This port is in development, if you want to contribute, contact me.

This release fixes fileio problems, this enables saving and loading games among
others, look at ChangeLog for more info

Here is the list of things pending to be fixed.

- Pending major fixes
* Enable network mode

- Pending minor fixes needed
* Support midi tracks
* Resize some windows
* Fix dropdown menus positioning
* Fix map button/dialog


SOURCE & UPDATES
================

Source code and updates can be found at:
http://nixgeneration.com/~jaime/psp/openttd/


BUGS & CONTACT
==============

Any kind of patch, sugestion or contribution is welcome, contact me at
Jaime Penalba <[email protected]>



See attachments for files and screenshots.
Source: openttd-psp-src.tar.bz2 (http://nixgeneration.com/~jaime/psp/openttd/openttd-psp-src.tar.bz2)

Nothing more to say, just enjoy this release and tanks to the openttd developers for so nice portable code :P

Tweak420
January 30th, 2006, 07:32
This is awsome news can't wait to try it out. Mad props for this port :D :cool:

Tweak420
January 30th, 2006, 08:15
Well I got it working and it was fairly easy but I can't get it in english. I tried messing with the cfg file and it was already set to english so i tried american and it still didn't work. :confused: I don't know what language it is in otherwise I would rename english.lng to that. Any ideas of what I can do to solve this? Still an awsome port by the way :D

I was just looking at the other thread for the first release for 1.5 and found that it was in brazilian or whatever so I deleated that lng file and renamed english.lng to brazilian and that seemed to the trick. looking forward to putting many hours into this classic again. :cool:

lecdg2
January 30th, 2006, 16:02
yahoooo
thanks again Turulo!!! It's nearly perfect for me, at least it really playable.
I haven't found news bugs, just two that were in the first release; the language selection and the map menu .

NSXR
January 30th, 2006, 16:16
I can't get this work! :mad: I use EBOOT loader for 2.00 and downloaded the files and followd the instruction exactly. But the game hangs at :

"Starting OpenTTD
Please Wait..."

What should I do to get this thing working?? :confused: :confused:

EllandRoad Dave
January 30th, 2006, 16:46
I can't get this work! :mad: I use EBOOT loader for 2.00 and downloaded the files and followd the instruction exactly. But the game hangs at :

"Starting OpenTTD
Please Wait..."

What should I do to get this thing working?? :confused: :confused:

I'm having the same problem, also on a 2.0 PSP

Moning2
January 30th, 2006, 19:45
hehe the gta eboot loader gets to rendering the mouse in the upper left corner, cant move it tho... :) but after some more loading it shuts down :( :(

VFerg
January 30th, 2006, 23:00
Amazing port! I also had the same problems at first with the language and then the world map freeze, but like it was said before thats really all there is! I got fustrated at first when it wouldnt load then the language wasnt right and then the first thing I did was hit world map button when I entered a new map then froze, but knowing now that that should be all the errors I can play without worry... hopefully (it was pretty funny at the time)! Great release!

turulo
January 30th, 2006, 23:55
Hi i have updated the main thread, so those 2.00+ users and people having language related issues must take a look.

Madonion
January 31st, 2006, 13:17
I found a bug.
When you click on the icon for trains to build the station, that open space in the tab on the right. if you click on it by accident instead of the icon the game freezes.

NSXR
January 31st, 2006, 13:39
Nice! The game work now for me..(No sound :( )
But the save/load function still dosen't work.
I can't load any other landscapes other than the temperate eather.
Have tryed both versions, 1.50 and 2.00, but it is the same problem. :(

I'm running on 2.00 and using EBOOT loader 9.0.
What can I do to fix the problems?

turulo
February 1st, 2006, 00:27
Thanks to all those reporting bugs, i will try to fix known bugs on new releases, as with save/load working for 1.50 now i can work just more relaxed.

About people having troubles on 2.00, just read the notes at the main thread, the game is working fine on 1.50, but not on 2.00 due to fanjita loader "limitations", i hope this to be fixed, but it isnt my fault, sorry.

NSXR
February 1st, 2006, 15:12
Hope the version that alow you to save/load for 2.00 come out before friday..If not, I'm going to downgrade to 1.5...

Waffler
February 3rd, 2006, 08:41
Lovely, Can't wait for a version with music!