Attachment size

Voice your opinions, concerns and suggestions on how to make the Transport Tycoon Forums better.

Moderator: General Forums Moderators

Post Reply
User avatar
bvoice360
Traffic Manager
Traffic Manager
Posts: 192
Joined: 22 Sep 2013 12:51
Location: Somewhere in Kent

Attachment size

Post by bvoice360 »

The attachments function does not seem to be working properly at the moment (at least for me), as when I try to upload a save of (for example) ~13KB, it refuses to let me, saying 'file size limit of 10MB exceeded'. What?
User avatar
Chrill
Moderator
Moderator
Posts: 15973
Joined: 18 Dec 2004 17:35
Location: Stockholm, Sweden
Contact:

Re: Attachment size

Post by Chrill »

Well, first of all I'd say what map size is that? Pretty small save :mrgreen: Can you try posting something else, or re-saving the game and posting it again?
Image
My Scenarios:
Archipiélago Hermoso (Latest Release: Version 3.2)
Turnpike Falls (Latest Release: Version 0.91)
User avatar
bvoice360
Traffic Manager
Traffic Manager
Posts: 192
Joined: 22 Sep 2013 12:51
Location: Somewhere in Kent

Re: Attachment size

Post by bvoice360 »

It is a 4096 map, but I just haven't built much. It happens with every .sav file I try to attach, and only .sav files.
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7238
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: Attachment size

Post by Redirect Left »

I've just quickly tested it with a blank (generated map then instantly saved it). Its 2048x2048, and about 4.8MB
File is attached to this post, assuming it doesn't give me the too large notice after pressing 'Post'

If any of your saves are genuinely that small, is it possible they are corrupted somehow? I can't imagine openttd saves being that small, unless it has some setting I'm not aware of that makes it use a different format for saves that smaller?
uploadme.sav
(4.85 MiB) Downloaded 120 times
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
frosch
OpenTTD Developer
OpenTTD Developer
Posts: 988
Joined: 20 Dec 2006 13:31
Location: Aschaffenburg

Re: Attachment size

Post by frosch »

If I create a flat 4k x 4k map in scenario editor with nothing (no slopes, no trees, no towns), it is 29 kB.
If I create a random 4k x 4k map in scenario editor with nothing (no trees, no towns), is is 1.3 MB.

I think you are confusing kB and MB somewhere in the process, and you map is actually 13 MB.
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
User avatar
bvoice360
Traffic Manager
Traffic Manager
Posts: 192
Joined: 22 Sep 2013 12:51
Location: Somewhere in Kent

Re: Attachment size

Post by bvoice360 »

Yours work, it seems to be just my saves that don't.

And no, in the file list, it says 13,800 KB not MB (Is that ~14MB? I mistook the , for a .) If so, I will have to switch back to 2k maps for compatibility's sake unless they raise the file limit to keep up with OTTD's evolution (didn't it used to be 2MB?)
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7238
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: Attachment size

Post by Redirect Left »

13,800 kilobytes is indeed, 13.8 megabytes
1000 kilobytes is 1 megabyte
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
User avatar
bvoice360
Traffic Manager
Traffic Manager
Posts: 192
Joined: 22 Sep 2013 12:51
Location: Somewhere in Kent

Re: Attachment size

Post by bvoice360 »

Then yes, I will have to downsize in future unless they increase the size cap to accommodate 4k maps.
User avatar
orudge
Administrator
Administrator
Posts: 25133
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Re: Attachment size

Post by orudge »

I daresay I can increase the size limit, I'll look at it tomorrow.
User avatar
orudge
Administrator
Administrator
Posts: 25133
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Re: Attachment size

Post by orudge »

I've increased the limit to 25MB. This of course doesn't mean you should post huge files just for the lols, but in cases where you need to attach larger files, you should now be able to do so.
Post Reply

Return to “Forum Suggestions and Feedback”

Who is online

Users browsing this forum: No registered users and 1 guest