tgstation / FastDMM

A robust BYOND map editor
GNU General Public License v3.0
9 stars 13 forks source link

'Create map image' doesn't seem to work on larger map files, created image file doesn't have an extension by default #15

Open MMMiracles opened 6 years ago

MMMiracles commented 6 years ago

Edit (Rockdtben):

-To fix this look into performance issues on Create map image. -Add performance metrics and error logging to Create Map Image. Possibly an output window to display all errors. There are a lot of errors that are silently reported to the Console, but not to the user. We should add visibility to that for "Issue" reporting.

End Edit (Rockdtben)

Trying to use the 'Create map image' option on larger dmm files, such as stations or away missions doesn't result in anything. Smaller dmm files like ruins do not have this issue.

The generated image doesn't have an extension by default for some reason, need to add an extension afterwards for it to work.

Running on Windows 10 Home Edition, 64x, Java 8 Update 144.

Rockdtben commented 6 years ago

@MMMiracles Which big map doesn't work for you? I can check that one first.

MMMiracles commented 6 years ago

Boxstation is an example of a map that wouldn't generate an image.

Rockdtben commented 6 years ago

I am able to repro. Thanks. I got "test" with no extension when trying to generate an image.

Rockdtben commented 6 years ago

Changing the file extension gave me an image.

renamed test -> test.png

Does that work for you and does the image look good? If so then I'll fix the extension issue.

image

Rockdtben commented 6 years ago

image

MMMiracles commented 6 years ago

I guess I wasn't fully clear on the extension part, I was trying to say the file worked fine when I added an extension myself.

Rockdtben commented 6 years ago

@MMMiracles For larger stations does adding the extension work?

MMMiracles commented 6 years ago

I don't get a file at all when trying to generate larger stations.

Rockdtben commented 6 years ago

@MMMiracles Could you check your "Documents" folder. Or whatever your default directory is that FastDMM is pointing to

1.Save Image to Desktop

  1. Attempt to save again and notice that file location selector is pointing to Documents and not Desktop.
Rockdtben commented 6 years ago

Updated your top comment. @MMMiracles

Rockdtben commented 5 years ago

22

Rockdtben commented 5 years ago

@MMMiracles Are you on 32 or 64 bit Java?

Rockdtben commented 5 years ago

@MMMiracles Also could you download the latest version and try again?

https://github.com/tgstation/FastDMM/releases/tag/v0.7.4