MTS Editor

bigolbug
New member
Posts: 5
Joined: Fri Sep 04, 2020 20:52

Re: MTS Editor

by bigolbug » Post

This looks amazing, thank you for all of the effort you have put into this program. I am running MTSedit on Windows 10. How do I import a minecraft schematic? When I search through my files using mtsedit load screen, the only file type that shows up is .mts files. I don't see any of my .schematic files.

bzt
Member
Posts: 126
Joined: Tue Sep 24, 2019 14:26

Re: MTS Editor

by bzt » Post

Thank you for the feedback!
bigolbug wrote:
Wed Jun 09, 2021 18:33
This looks amazing, thank you for all of the effort you have put into this program.
You're welcome!
bigolbug wrote:
Wed Jun 09, 2021 18:33
I am running MTSedit on Windows 10. How do I import a minecraft schematic?
From command line you can convert anything, like

Code: Select all

mtsedit.exe something.schematic something.mts
Specifying only one file also opens them in the editor correctly (that's how I use mtsedit, I've added file extension assignments so that I can open schems from File Explorer with a single click):

Code: Select all

mtsedit.exe something.schematic
bigolbug wrote:
Wed Jun 09, 2021 18:33
When I search through my files using mtsedit load screen, the only file type that shows up is .mts files. I don't see any of my .schematic files.
I've checked and I can confirm there's an issue with the file listing, it does not list all the supported file formats, I'll look into that. Thanks for letting me know! I'll fix ASAP. BTW, I reply to gitlab issues more rapidly, sorry for the delay.

Cheers,
bzt

bzt
Member
Posts: 126
Joined: Tue Sep 24, 2019 14:26

Re: MTS Editor

by bzt » Post

Ok, it should work now, please give it a try!

Cheers,
bzt

Lulgius
New member
Posts: 7
Joined: Wed Feb 27, 2019 09:21

Re: MTS Editor

by Lulgius » Post

Hi bzt !
I would like to install your program, but I think I'm too stupid, I'm stuck at the installation stage ^^"
I'm reading your tutorial to install it on Windows and I'm stuck at the "click on "Files types" tab" step. Now, in Folder options I have nothing called "Files types". I am on Windows 10, where could I have made a wrong manipulation? :/
Edit : Also, I'm French, so maybe there is difference between our translations.

Lulgius
New member
Posts: 7
Joined: Wed Feb 27, 2019 09:21

Re: MTS Editor

by Lulgius » Post

Here a screenshot of my folder option menu : https://ibb.co/FK8cMmV

bzt
Member
Posts: 126
Joined: Tue Sep 24, 2019 14:26

Re: MTS Editor

by bzt » Post

Ok, that's strictly speaking isn't installation.

To install, all you need is unzipping, nothing else. What's described there is a convenience function to open schematic files with the File Explorer (it will put MTSEdit in the right-click menu for schems). At least that's how it worked with WinXP, Vista, 7 and 8 (see this official MS answer). I'm not familiar with Win10, but this or this might help if the method changed since. Just google "win10 assign program to file type".

Alternatively you can forget about file type associations altogether, just drop the MTSEdit.lnk in the zip to your desktop (or under your Start Menu folder) and use that, leaving File Explorer entirely out.

Cheers,
bzt

Lulgius
New member
Posts: 7
Joined: Wed Feb 27, 2019 09:21

Re: Help

by Lulgius » Post

Oh right! I thought what a moron! On the other hand, I extracted the zip file from the windows version, I double click on the .exe, but nothing happens. The interface does not open.
I saw in the comments that someone had reported this problem:
avyukt wrote:
Mon Nov 16, 2020 13:47
You should specify the MTS file on the command line, like

Code: Select all

MTSEdit.exe something.mts
or you can click on the "Load" icon and browse the file system to select the file (if you specify a directory on the command line, then the GUI starts with the Open Schematics dialog). See usage manual.

Importing foreign formats just works, you can load many different schematics file. See import formats.

With the command line converter, you can specify additional parameters for converting, you can generate node palettes, blueprint pngs, preview pngs, etc. See batch mode.

Cheers,
bzt
I tried your solution of running mtsedit.exe or SDL2.ddl but the interface still does not open. Is this normal?

bzt
Member
Posts: 126
Joined: Tue Sep 24, 2019 14:26

Re: Help

by bzt » Post

Lulgius wrote:
Fri Jun 18, 2021 10:11
Oh right! I thought what a moron! On the other hand, I extracted the zip file from the windows version, I double click on the .exe, but nothing happens. The interface does not open.
Yes, this is the expected behaviour. MTSEdit is a command line conversion tool primarily, so you should execute it from cmd.exe. That's why I've said to you to use the MTSEdit.lnk on your desktop, because if you right-click on it and check its properties, you'll see that it executes "mtsedit.exe C:\" (there's a directory argument), so it will start the interface.

I've tried to explain this in the usage manual
Without an argument, or with -h it prints an usage to stdout.
...
If you start MTSEdit with a single parameter, being an MTS file's path, it will open it in the GUI editor.
If that parameter is a directory, then MTSEdit will start with the "Load Schematic from File" screen.
Yeah, seems problematic at first, but I cannot help that because you must be able to call MTSEdit from .bat or .sh files too, so it cannot start the interface right away. This isn't a problem on Linux, but under Windows you must compile the program to either be a console application or a GUI application, and you cannot choose at run-time. Yet another epic design failure in Win, use Linux ;-)

Cheers,
bzt

Lulgius
New member
Posts: 7
Joined: Wed Feb 27, 2019 09:21

Re: Help

by Lulgius » Post

bzt wrote:
Fri Jun 18, 2021 18:35
Yet another epic design failure in Win, use Linux ;-)

Cheers,
bzt
I agree that Windows has problems, but I can't change my OS. I need this software to make an animation in the media library where I work. I can't ask the IT department to migrate all the PCs to Linux.

Lulgius
New member
Posts: 7
Joined: Wed Feb 27, 2019 09:21

Re: Help

by Lulgius » Post

bzt wrote:
Fri Jun 18, 2021 18:35
Lulgius wrote:
Fri Jun 18, 2021 10:11
Oh right! I thought what a moron! On the other hand, I extracted the zip file from the windows version, I double click on the .exe, but nothing happens. The interface does not open.
Yes, this is the expected behaviour. MTSEdit is a command line conversion tool primarily, so you should execute it from cmd.exe. That's why I've said to you to use the MTSEdit.lnk on your desktop, because if you right-click on it and check its properties, you'll see that it executes "mtsedit.exe C:\" (there's a directory argument), so it will start the interface.

I've tried to explain this in the usage manual
Without an argument, or with -h it prints an usage to stdout.
...
If you start MTSEdit with a single parameter, being an MTS file's path, it will open it in the GUI editor.
If that parameter is a directory, then MTSEdit will start with the "Load Schematic from File" screen.
Yeah, seems problematic at first, but I cannot help that because you must be able to call MTSEdit from .bat or .sh files too, so it cannot start the interface right away. This isn't a problem on Linux, but under Windows you must compile the program to either be a console application or a GUI application, and you cannot choose at run-time. Yet another epic design failure in Win, use Linux ;-)

Cheers,
bzt
Okay, finally I understood how to open the interface. Right click on the SDL2.ddl file, then click on "Open with". There, click on "choose an application", then on "show applications", scroll down to the bottom and click on "Find another application on this PC". In the file explorer, look for the file mtsedit.exe, click on it and then on open. The GUI should open.

bzt
Member
Posts: 126
Joined: Tue Sep 24, 2019 14:26

Re: Help

by bzt » Post

Lulgius wrote:
Tue Jun 22, 2021 12:24
Okay, finally I understood how to open the interface. Right click on the SDL2.ddl file, then click on "Open with". There, click on "choose an application", then on "show applications", scroll down to the bottom and click on "Find another application on this PC". In the file explorer, look for the file mtsedit.exe, click on it and then on open. The GUI should open.
That's absolutely amazing, you literally got everything WRONG. Sorry, no offense, but seeing such an incompetence makes me ask, are you just trolling?

First of all, unpack the zip to "C:\Program Files (x86)", then

Method 1: in the "C:\Program Files (x86)\MTSEdit" directory, click on MTSEdit.lnk (not on the .exe, but on the .lnk, that's the one with the MTSEdit icon and a little curly arrow with white background on its corner)

Method 2: optionally assign .mts extension with mtsedit.exe, and then you'll be able to open .mts files from File Explorer's right-click menu

If anything of the above isn't clear, then I'd suggest to take a beginner's course on Windows or ask for help from a local IT guy.

Cheers,
bzt
Attachments
mtsedit.png
(8.94 KiB) Not downloaded yet

Lulgius
New member
Posts: 7
Joined: Wed Feb 27, 2019 09:21

Re: Help

by Lulgius » Post

bzt wrote:
Wed Jun 23, 2021 08:02
Lulgius wrote:
Tue Jun 22, 2021 12:24
Okay, finally I understood how to open the interface. Right click on the SDL2.ddl file, then click on "Open with". There, click on "choose an application", then on "show applications", scroll down to the bottom and click on "Find another application on this PC". In the file explorer, look for the file mtsedit.exe, click on it and then on open. The GUI should open.
That's absolutely amazing, you literally got everything WRONG. Sorry, no offense, but seeing such an incompetence makes me ask, are you just trolling?

First of all, unpack the zip to "C:\Program Files (x86)", then

Method 1: in the "C:\Program Files (x86)\MTSEdit" directory, click on MTSEdit.lnk (not on the .exe, but on the .lnk, that's the one with the MTSEdit icon and a little curly arrow with white background on its corner)

Method 2: optionally assign .mts extension with mtsedit.exe, and then you'll be able to open .mts files from File Explorer's right-click menu

If anything of the above isn't clear, then I'd suggest to take a beginner's course on Windows or ask for help from a local IT guy.

Cheers,
bzt
Okay I just figured out why it wasn't working when I was doing this method. When you extract the files from the .zip, the file creates an extra folder for you called "mtsedit-master" (EDIT : I confused with the other folder file, I meant mtsedit-i686-win folder not mtsedit-master folder). I moved the .inkl file but when I clicked on it, an error message said "C:/program files (x86)/MTSEdit\mtsedit.exe The specified path does not exist". Indeed, if you move the "MTSEdit" folder to program filesx86, the .inkl file does its job and everything works. I would like to point out that my method also worked (but indeed it's not the better) and it is still valid if you want to open .mts files with MTSedit.
I'm really sorry to have annoyed you so much. Now, I just want to remind you that English is not my first language at all and I am not a computer expert. I'm just a guy who understands a couple of things and would just like to set up an animation to teach 3D modeling for kids. I don't mind that my problem was really stupid (and maybe I was too), but that doesn't justify calling me incompetent or a troll.
Anyway, apart from that your software is great and it's exactly what I was looking for. It will help me a lot. It's great that you did all this for free. I really thank you for the tool you made.
Last edited by Lulgius on Wed Jun 23, 2021 18:33, edited 1 time in total.

bzt
Member
Posts: 126
Joined: Tue Sep 24, 2019 14:26

Re: Help

by bzt » Post

Lulgius wrote:
Wed Jun 23, 2021 12:35
Okay I just figured out why it wasn't working when I was doing this method. When you extract the files from the .zip, the file creates an extra folder for you called "mtsedit-master".
No, you haven't followed the instructions at all, and that's why you have downloaded the source, not the distribution (full disclosure, you can install it from source too, but with your skills I would not recommend that).



Please try to follow the steps in the README under section "Installation":
Under Windows

1. download mtsedit-i686-win.zip
2. unpack it into "C:\Program Files (x86)"
3. copy "C:\Program Files (x86)\MTSEdit\MTSEdit.lnk" to your desktop or into your menu directory (whereever you like)
You see, there's a link at the first step on the file that you have to download, and it is called "mtsedit-i686-win.zip", and not "mtsedit-master.zip", that's a totally and completely different file. I have absolutely no clue how could you miss that and download the repository source tarball instead.


Lulgius wrote:
Wed Jun 23, 2021 12:35
I moved the .inkl file but when I clicked on it, an error message said "C:/program files (x86)/MTSEdit\mtsedit.exe The specified path does not exist". Indeed, if you move the "MTSEdit" folder to program filesx86, the .inkl file does its job and everything works.
It is not ".inkl" but ".lnk", and yes, it contains an absolute path to the default application's folder. If you put MTSEdit to a different location, then you have to modify the path in the .lnk file, that's how Windows shortcuts work.
Lulgius wrote:
Wed Jun 23, 2021 12:35
I would like to point out that my method also worked (but indeed it's not the better) and it is still valid if you want to open .mts files with MTSedit.
I highly doubt that. Even if your assignment was successful, you have assigned MTSEdit to SDL2.dll (and that's ".dll", not ".ddl") and not to an .mts file as you should.
Lulgius wrote:
Wed Jun 23, 2021 12:35
I'm really sorry to have annoyed you so much.
You did not annoyed me at all, if anything I feel sorry. If I were annoyed, you wouldn't get replies and I wouldn't keep trying to explain things to you.
Lulgius wrote:
Wed Jun 23, 2021 12:35
Now, I just want to remind you that English is not my first language at all and I am not a computer expert. I'm just a guy who understands a couple of things and would just like to set up an animation to teach 3D modeling for kids. I don't mind that my problem was really stupid (and maybe I was too), but that doesn't justify calling me incompetent or a troll.
This has nothing to do with your English or computer skills. You failed to follow the simplest instructions, constantly clicking on the wrong links and files (where did you read "SDL2.dll" in the first place? I did not mention that; not in the installation instruction, and neither in my posts, yet you were keep clicking on it for some unknown reason.)
Lulgius wrote:
Wed Jun 23, 2021 12:35
Anyway, apart from that your software is great and it's exactly what I was looking for. It will help me a lot. It's great that you did all this for free. I really thank you for the tool you made.
Thanks, and you're welcome, and I'm glad that finally you had sorted it out! Enjoy! Feel free to ask anything, just please keep in mind you're not a computer expert, so follow the instructions letter by letter instead of going rouge, and try to copy'n'paste filenames precisely, because that matters.

Cheers,
bzt

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest