multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.42k stars 437 forks source link

engineLoadIMG fails to load large archive #3701

Open nekjutsu opened 2 months ago

nekjutsu commented 2 months ago

Describe the bug

engineLoadIMG returns false when trying to load a large archive (>= 1 GB)

Steps to reproduce

  1. Add .img file to meta.xml
  2. Call engineLoadIMG

Version

Client: v1.6.0-22702 (nightly) Server: v1.6.0-22702 (nightly, win32)

Additional context

No response

Relevant log output

No response

Security Policy

Xenius97 commented 2 months ago

Default GTA:SA has 2GB limit for IMG Archives (by default? or with limit adjuster? - idk no documentation) It should work but maybe MTA has different limitations.

nekjutsu commented 2 months ago

Default GTA:SA has 2GB limit for IMG Archives (by default? or with limit adjuster? - idk no documentation) It should work but maybe MTA has different limitations.

As i know default GTA:SA limit is exactly 1GB In MTA i tested 1.5GB

TheNormalnij commented 2 months ago

Yeah, It's a MTA limitation. The HTTP server doesn't handle files bigger than 1GB