Manialink Editor 1.5 - Syntax Highlighting Added

Moderators: Xymph, NADEO

User avatar
danodude
Posts: 176
Joined: 01 Dec 2011, 12:25
Location: Western Australia

Manialink Editor 1.5 - Syntax Highlighting Added

Post by danodude »

Version 1.5 released :P

Hey guys ;)

I've just finished making a text-based manialink editor. It's very simple, but it does the job ;)

Let me first say that I'm new to programming, so please excuse any noobish program errors or problems.

Download:

Note that Google Chrome will say:

Code: Select all

Manialink Editor.exe is not commonly downloaded and could be dangerous.
Well, it isn't dangerous... I guess you'll have to take my word for it :mrgreen:

Download here

Make sure you have Wampserver installed!

Updates:
v1.5
- Added a very simple built in FTP
v1.4:
- Syntax Highlighting
v1.3:
- Added keyboard shortcuts.
v1.2:
- Will now ask to start WampServer when you run it if you haven't already started it (saves manually launching Wampserver).
v1.1:
- Fixed XP issues.

Features:

1) Works for ManiaPlanet & Trackmania United Forever

2) Has tabs; you can work on multiple Manialinks at the same time (similar to Notepad++)

3) Preview your manialinks with one button

4) Simple to use

5) You can use PHP in the manialink too, so ManiaLib will work with it.

6) Syntax Highlighting

7) Very basic built-in FTP to quickly upload your documents

As the program works by using a localhost server to preview the file on, you need a localhost server :mrgreen: The program uses Wampserver for this.

Keyboard Shortcuts:
F9: Preview
Ctrl+S: Save
Ctrl+O: Open
Ctrl+F11: Close Tab
Ctrl+F12: New Tab
Ctrl+N: New document


Screenshot:
Image

IMPORTANT Notes:

1) If you're using ManiaLib, it helps to change the preview location to where the ManiaLib directory is.

2) If you are getting the error code 0xc0000135 this means you need to install Microsoft Framework 4.0 (or greater).

3) As of v1.2 (until I change it), you need WampServer. If you don't, the program will say that you haven't started WampServer each time you launch it :mrgreen:

4) Trackmania United Forever seems to have a bug refreshing the Manialink when you try to preview it for a second time. I'm working on what I can do for this.

5) Make sure you have all six files included in the .Zip file in the same location as the .exe file.

Please let me know if you have any problems with it :)
Last edited by danodude on 01 Apr 2014, 05:45, edited 11 times in total.
shadi_3205
Posts: 95
Joined: 04 Apr 2013, 17:26
Location: Bangkok,Thailand

Re: A manialink editor :)

Post by shadi_3205 »

Awesome dano :clap:
User avatar
danodude
Posts: 176
Joined: 01 Dec 2011, 12:25
Location: Western Australia

Re: A manialink editor :)

Post by danodude »

Thanks ;)
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: A manialink editor :)

Post by w1lla »

Note:

Doesn't Work on Windows XP so anyway GL with that.

:1010 for making this for the extreme noobies.
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
User avatar
danodude
Posts: 176
Joined: 01 Dec 2011, 12:25
Location: Western Australia

Re: A manialink editor :)

Post by danodude »

Ah. Thanks for that. I don't own XP (have 7 & 8), so I didn't know ;)

I have set up XP mode on my 7 computer... now I should be able to get it working for XP. Give me a few days :)

Also, any error messages you get would help.

I will work on a fix for this.
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: A manialink editor :)

Post by steeffeen »

sorry but i didn't really catch the real purpose of the editor?
what's the difference between this editor and a normal one?
is there code completion / suggestions / formatting / checking?

the only new thing seems to be the test button which is opening maniaplanet with your edited link, that isn't really rocket science ;)

(i don't want to be rude but.. well.. what's the point? ^.^)
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    danodude
    Posts: 176
    Joined: 01 Dec 2011, 12:25
    Location: Western Australia

    Re: A manialink editor :)

    Post by danodude »

    steeffeen wrote:sorry but i didn't really catch the real purpose of the editor?
    what's the difference between this editor and a normal one?
    is there code completion / suggestions / formatting / checking?

    the only new thing seems to be the test button which is opening maniaplanet with your edited link, that isn't really rocket science ;)

    (i don't want to be rude but.. well.. what's the point? ^.^)
    Haha ;)

    The point of this is, is to speed up the process of creating a manialink. Usually the steps would be:

    1) Code your page

    2) Save the page (annoying)

    3) Put the page in a localhost directory (also annoying) OR upload it to a web host (annoying and time consuming)

    4) Type the URL into ManiaPlanet's browser (annoying and time consuming)

    AND do this every time you want to change something, even if its to move it by a couple of pixels.

    Instead, you just have to:

    1) Code your page

    2) Click one button and it will open it up in ManiaPlanet to view. This is very helpful especially when you need to make lots of minor changes to your page, such as positioning an element or text. You can expect to do this many times in a row before you get the desired result!

    It also has tabs, so you can work on more than one page at a time, without having to save the file you're already working on, close it down, then open the other file you want to modify.

    Believe me, it speeds up the process by a huge amount (from personal experience).

    Hope that answers your question :)
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2463
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: A manialink editor :)

    Post by steeffeen »

    gg

    i just like it more to:
    - see the manialink performance like it will be, delivered from the webspace
    - not to delete the manialink url from the browser, i just hit enter ingame and it's loaded again (just have to insert it once)
    - not have to run a localhost
    - code remotely on my webspace with code completion etc.

    no offense :D
    it might help other users who don't like it my way :thumbsup:
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      User avatar
      danodude
      Posts: 176
      Joined: 01 Dec 2011, 12:25
      Location: Western Australia

      Re: A manialink editor :)

      Post by danodude »

      Haha, no offence taken. I personally like having it loading faster, and less clicking, and its easier imo to modify files if they're actually on your hard drive. It also means you don't have to have an internet connection to make your manialinks :D
      User avatar
      fastforza
      Posts: 850
      Joined: 15 Jun 2010, 11:19
      Contact:

      Re: A manialink editor :)

      Post by fastforza »

      You know what'd be cool? Is if you could actually have a 'designer' view the ManiaLink in the editor. Sounds trivially to do, but it'd be fantastic!

      Otherwise, keep up the good work! :)
      Mania Exchange - Share your maps!

      ASUS Maximus IV GENE Z / i7 2600K 3.40Ghz QC / 16GB G.Skill Ripjaws DDR3 / GTX 560 Ti

      Need technical help for ManiaPlanet? Click here. :)
      Post Reply

      Return to “General Tools”

      Who is online

      Users browsing this forum: No registered users and 1 guest