GithubHelp home page GithubHelp logo

bigbang1112 / nations-converter Goto Github PK

View Code? Open in Web Editor NEW
36.0 7.0 1.0 21.61 MB

Map conversion tool from TMS/TMNESWC/TMUF/TM² Stadium to TM®. Powered by GBX.NET. We are coming back soon.

License: GNU General Public License v3.0

C# 100.00%
trackmania converter tmnf tm2 gbx gamebox csharp gbxnet

nations-converter's Introduction

Nations Converter

GitHub release (latest by date including pre-releases) GitHub all releases

Powered by GBX.NET.

We are coming back soon.

Current Nations Converter maps crash the game. Do not use v1.

nations-converter's People

Contributors

bigbang1112 avatar index31 avatar zai-tm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

l-ohman

nations-converter's Issues

Incorrect Waypoint Tags for Ring CP's from TMUF

Ring CP waypoints for TMUF maps are given the tag "Goal", while the correct value should be "Checkpoint".

This currently has no known negative effects, but it might cause problems for certain game modes / editor plugins / openplanet plugins.

This was brought to my attention via this map:
Turbulence.zip

While I am somewhere between unfamiliar and rusty with C-Sharp, and I am unfamiliar with GBX.NET, I believe the lines that must change are:

if (referenceBlock.WaypointSpecialProperty != null)
block.WaypointSpecialProperty = referenceBlock.WaypointSpecialProperty;

And the new code could look something like:

                if (referenceBlock.WaypointSpecialProperty != null)
                {
                    block.WaypointSpecialProperty = referenceBlock.WaypointSpecialProperty;
                    if (block.WaypointSpecialProperty.Tag == "Goal" && block.Name.Contains("Checkpoint"))
                        block.WaypointSpecialProperty.Tag = "Checkpoint";
                }

...though there is likely a better way of differentiating CPs from Finishes that I'm not seeing.

Newer game versions (I checked TMT and TM2) use the values which all match with TM2020.

Linked CPs are not a concern here, since they were introduced with TM2.

Info about resaving maps & computing shadows

First of all, exceptional work!

After converting some maps, I noticed that maps that don't have computed shadows and that aren't re-saved in TMNF, convert but fail to open in TM2020 (Titlepack 48x48x48 doesn't exist). Now a message about this appears, but after the actual converstion was successfull which would imply that this has to be done in TM2020 instead. Am I correct about this? If computing shadows have to be done in TMNF, I would expect a message before actual conversion or something permament in the UI.

Can´t play 256 maps in TM2020

The converter does it´s Job, but i can´t play bigger maps than the normal 64x64.
It says i need to set a starting point, but i can´t because i´m only allowed to be in the 48x48 in tm2020.
I can build 256 maps on my own with openplanet addon, but i can´t open a 256 map from the original game with a 256 sized editor in the new. :/

Couldn't load map

Hey, I tried to convert a Stadium map made in TM Nations ESWC.
The conversion seems to be successful, but trying to load the map ingame says "Couldn't load map!"

I've attached the map so you can try and debug it yourself.

CubanSalsa_255426.Challenge.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.