Popular Post The_GTA Posted January 17, 2022 Popular Post Share Posted January 17, 2022 (edited) This MTA module is about total filesystem access to your MTA server. You can find it's documentation here. It supports the Windows and Linux operating systems, each with different and specialized details (path handling, OS calls, etc). Contains many neat features such as memory-mapped files, stream copy helpers, direct binary-encoded writing and reading API, etc. The module has got a very long history (used in Scene2Res, Magic.TXD). It is very strongly unit tested. If you like this module then you can use it's C++ API for even greater freedom. Current version: 2.0 Source code location (Module-specific): Source Tree: blueMods/fileSystem/ (head) - green-candy (svn) - green-candy - OSDN Source code location (C++ Library): Source Tree: FileSystem/ (head) - eirfs (svn) - Eir FileSystem - OSDN Download (Win32): https://green-candy.osdn.jp/external/releases/fileSystem_2_0_win32.zip Download (Linux): https://green-candy.osdn.jp/external/releases/fileSystem_2_0_linux.zip Edited June 6, 2022 by The_GTA added Linux version 5 1 Link to comment
Popular Post The_GTA Posted June 6, 2022 Author Popular Post Share Posted June 6, 2022 (edited) Hello MTA developers, today I have added the Linux version of the FileSystem 2.0 release. I am sorry for the delay - caused by unnecessaringly technical and motivational factors - but this release is the most stable Linux version yet. It is made possible by directly linking to the deathmatch.so Linux module so that fileSystem.so does use the actual Lua implementations exported by MTA. I was unable to get a LuaRocks version ready because I do not understand how to integrate my custom Code::Blocks build system into it. If there is sufficient interest and straight-forward help I might deliver that too. Wouldn't want to disrespect the hard-effort by qaisjp and co. Only AMD 64bit is supported. Hit me up if you need any other platform. Download it here: https://green-candy.osdn.jp/external/releases/fileSystem_2_0_linux.zip Have fun! Edited June 6, 2022 by The_GTA 4 1 Link to comment
FernandoMTA Posted June 6, 2022 Share Posted June 6, 2022 Hi! Very interesting, it definitely sounds useful. Do you know any practical applications of this module so far? Link to comment
The_GTA Posted June 7, 2022 Author Share Posted June 7, 2022 9 hours ago, FernandoMTA said: Hi! Very interesting, it definitely sounds useful. Do you know any practical applications of this module so far? I would like to see a modloader that uses the scanDir API instead of the meta.xml. Also a personal webspace on the MTA server for user-submitted mods could be cool. 1 Link to comment
vicisdev Posted June 21, 2022 Share Posted June 21, 2022 (edited) Yes! One particular useful case is to let people add as much assets (images, col, txd, etc) as they want and automatically add them into the meta.xml using the scanDir API Edited June 21, 2022 by vicisdev 1 Link to comment
The_GTA Posted June 21, 2022 Author Share Posted June 21, 2022 Just now, vicisdev said: Yes! One particular useful case is to let people add as much assets (images, col, txd, etc) as they want and automatically add them into the meta.xml using the scanDir API Yes, you can read files inside of any resource and adjust the meta.xml files according to rules. Be careful and do not add the same file twice. Also think about removing meta.xml entries whose files do not exist anymore. Link to comment
vicisdev Posted June 21, 2022 Share Posted June 21, 2022 Think this is going to be really helpful in an inventory framework I'm planning to develop. Inventories have a strong customizability factor. Each use case is a unique use case. People would want to add their own stuff, etc. I'm pretty sure this module will allow me to do things much more automagically. One down side is that people would need to manually include the module binary. Not that this is of a great effort, but it's not very common. Link to comment
The_GTA Posted June 21, 2022 Author Share Posted June 21, 2022 1 minute ago, vicisdev said: Think this is going to be really helpful in an inventory framework I'm planning to develop. Inventories have a strong customizability factor. Each use case is a unique use case. People would want to add their own stuff, etc. I'm pretty sure this module will allow me to do things much more automagically. I am happy to hear that! Have fun with this project. 1 minute ago, vicisdev said: One down side is that people would need to manually include the module binary. Not that this is of a great effort, but it's not very common. I agree. This workflow seems really complicated. Not much I can do about that though on the module's end. We know the steps of adjusting the server configuration and adding the binary. But I hope that people are willing to get into stuff that seems new to them! 1 Link to comment
Topperx Posted June 19 Share Posted June 19 On 6/6/2022 at 12:55 PM, The_GTA said: Hello MTA developers, today I have added the Linux version of the FileSystem 2.0 release. I am sorry for the delay - caused by unnecessaringly technical and motivational factors - but this release is the most stable Linux version yet. It is made possible by directly linking to the deathmatch.so Linux module so that fileSystem.so does use the actual Lua implementations exported by MTA. I was unable to get a LuaRocks version ready because I do not understand how to integrate my custom Code::Blocks build system into it. If there is sufficient interest and straight-forward help I might deliver that too. Wouldn't want to disrespect the hard-effort by qaisjp and co. Only AMD 64bit is supported. Hit me up if you need any other platform. Download it here: https://green-candy.osdn.jp/external/releases/fileSystem_2_0_linux.zip Have fun! Link Download is OFF it here: https://green-candy.osdn.jp/external/releases/fileSystem_2_0_linux.zip Link to comment
Topperx Posted September 22 Share Posted September 22 Does anyone have the link or the dll in linux to help me? Link to comment
FernandoMTA Posted September 23 Share Posted September 23 13 hours ago, Topperx said: Does anyone have the link or the dll in linux to help me? Hi idk if this is needed currently. MTA now has new useful file functions to scan folders for files etc: https://wiki.multitheftauto.com/wiki/PathListDir Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now