RELEASE OpenTTD (Transport Tycoon Deluxe) for Switch v1.0.

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by rsn8887, Mar 5, 2019.

  1. Fan3k

    Fan3k Member

    Newcomer
    2
    Dec 17, 2018
    Germany
    Im not have nsp shortcut. Plz add ;)
     
  2. Fan3k

    Fan3k Member

    Newcomer
    2
    Dec 17, 2018
    Germany
    Im looking for auto save and im have A problem
    "Liblzma returned error code".
    Im have game from appstore.
     
  3. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    9
    Oct 8, 2015
    United States
    Nsp shortcut is not needed. Hold R while loading any game from main menu.

    Using v1.02 from today?

    EDIT: I just tested using v1.02... started new game... waited until autosave0 appeared, loaded autosave0 works just fine...

    EDIT2: It might be that v1.02 is incompatible with autosaves from v1.01 because in v1.02 I enabled lzma and lzo2 compression modules... but regular savegames are compatible I think.
     
    Last edited by rsn8887, Mar 14, 2019
  4. Fan3k

    Fan3k Member

    Newcomer
    2
    Dec 17, 2018
    Germany
    After reinstall and start with R (sxos) 100% working . Thanks!!! Next settlers and aoe2 ?
     
  5. Fan3k

    Fan3k Member

    Newcomer
    2
    Dec 17, 2018
    Germany
  6. Teddy312

    Teddy312 Member

    Newcomer
    1
    Apr 17, 2019
    Netherlands
    Man have i been waiting long for this. Until now i always played this game on my PSP. Tried out the Vita version but was kinda sad that it didn't include AI on the vita which is why i have been playing the PSP version through adrenaline on the Vita. I was looking into adding AI on the switch version. I downloaded the SimpleAI on the pc version of OpenTTD to get the required libraries.

    I moved them over from the pc version to the switch version and put them in the folder contect_download the same way as they were on the PC version but everytime an AI spawns it succesfully builds a track and then crashes with a "wrong number of parameters" error (my believe is that it happends when the AI spawns a train or other transport vehicle). On PC it works perfectly fine though. The same thing also happends with TownCarsAI and AdmiralAI.

    Is it something i am doing wrong or are the libraries/AI not supported on the Switch version?
     
    Last edited by Teddy312, Apr 17, 2019
  7. Stwert

    Stwert GBAtemp Advanced Fan

    Member
    5
    GBAtemp Patron
    Stwert is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Jan 6, 2015
    United Kingdom
    Scotland
    Really? Another ancient game makes its way to the Switch, which is clearly capable of so much more.

    Why bother? Wouldn’t time be better spent making por....


    ...... Nah, just kidding. This is awesome, cannot wait to try it out, I loved this game back in the day.

    Thanks so much for your hard work and the time you must have put into this. I’m sure anyone with any sense will appreciate it.
     
    Technicmaster0 likes this.
  8. octopus

    octopus Member New

    Member
    3
    Sep 6, 2013
    Somalia
    I've been organizing my homebrew library and found out that /switch/openttd is hardcoded, so, it fails to launch if it is moved out of /switch folder. Could you consider fixing this, @rsn8887, please?
     
  9. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    9
    Oct 8, 2015
    United States
    That is by design. That’s how almost all Switch and Vita homebrew operates. The fix is to simply leave the folder where it is supposed to be.

    Why would you even try to move it? Almost every homebrew will break if you do that.
     
  10. Mc_Burt

    Mc_Burt Member

    Newcomer
    1
    Mar 7, 2019
    France
    Many thanks for this amazing project !!! 19 years I play this games and I enjoy to play, the control are nice !
    Just two questions :
    - How to add AI competitor ? I havent't found how play against the computer.
    -Do you will improve the tactile ? For exemple, it's difficulte to hold a car and slide to delete with the tactile. But in generally, it's really cool it work well !
    Good job guy ! :)

    PS : Sorry for my bad english ^^
     
    Last edited by Mc_Burt, Apr 24, 2019
  11. octopus

    octopus Member New

    Member
    3
    Sep 6, 2013
    Somalia
    I didn't mean it was broken in any way, sorry, and, yes, it is obvious just to leave it in /switch folder. What I was suggesting is to use a relative path, not a hardcoded one. I understand that it's extra work with small to none benefit, however, I thought I worded my request as polite and non-entitled as possible.

    That's a poor design. On Vita it does not matter since everything has an icon, but on Switch hbmenu turns into a mess when all of the homebrews are mixed together, a lot of them having nx- at the beginning of the name.
    As I said, I made sub-folders in /switch to organize my homebrews by categories. Out of 31 homebrews I moved into sub-folders only 4 broke. This being one of them.
    Not relevant, but hbmenu has this slowdown bug during scrolling when you have a lot of homebrews (around 47). This is the reason I decided to move some out of /switch folder.

    Maybe I'm nitpicking over things that don't matter to anyone else, feel free to ignore me.
     
    Last edited by octopus, Apr 24, 2019
  12. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    9
    Oct 8, 2015
    United States
    I will look into it. A relative path should work in principle.

    Concerning AI opponent: I haven't tested AI. The Online content browser is not working in the Switch and Vita ports. I don't know why it is not working in my test builds. Since Online content browser is not working, you have to use the Windows/Mac version of OpenTTD and use the content browser there. You can download AI files and copy them to your Switch/Vita. Then it should work. But as I said, I haven't tested this.

    Here are more instructions:
    https://wiki.openttd.org/Online_content

    Tell me if it works. If AI works that way, it might be good if I cold make a content package .zip file, similar to Rocks'n'Diamonds, with all the AI files and other files pre-installed.
     
  13. Mc_Burt

    Mc_Burt Member

    Newcomer
    1
    Mar 7, 2019
    France
    Thank you for your answer ! I am trying, only I do not know how to install an AI manually. I search on the internet and when I succeed I tell you that!
     
  14. Mc_Burt

    Mc_Burt Member

    Newcomer
    1
    Mar 7, 2019
    France

    It work perfectly for the moment ! Just put the file here "openttd\ai".
    Thanks !
     
  15. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    9
    Oct 8, 2015
    United States
    For anyone who is interested:

    Extra content for OpenTTD can be downloaded by installing Windows/Mac version and using the content browser there. Then copy the files to your Switch.
     
    Last edited by rsn8887, Apr 24, 2019
  16. Technicmaster0

    Technicmaster0 GBAtemp Psycho!

    Member
    9
    Oct 22, 2011
    Gambia, The
    Regarding the relative file path: the default path of the sd file system is the path of the nro. you can simply use the path "assets/a.jpg" instead of "/switch/OpenTTD/assets/a.jpg". It works with SDL, too.
     
  17. rsn8887
    OP

    rsn8887 GBAtemp Advanced Fan

    Member
    9
    Oct 8, 2015
    United States
    No that will mess up all the file dialogs. The app is using leading / etc. to check absolute vs. relative path etc.
     
  18. Teddy312

    Teddy312 Member

    Newcomer
    1
    Apr 17, 2019
    Netherlands
    Could you tell the file path of the libraries and AI that you use? I have tried a lot and gave up in the end because they kept crashing. I downloaded the libraries and AI from the pc version but it wont work on the switch for me.
     
  19. Mc_Burt

    Mc_Burt Member

    Newcomer
    1
    Mar 7, 2019
    France
    I go to this path : "TTDX\ai\library"
    But finally I have problem with AI, they crash and I don't know why. [​IMG]
     
  20. Teddy312

    Teddy312 Member

    Newcomer
    1
    Apr 17, 2019
    Netherlands
    Yeah, it crashed with the same error for me. Thats how far i got with it
     
Loading...