Hello, I'd like to show off a project I've been working on: SA2MTA. It's a script that allows you to convert San Andreas map mods (or the vanilla map, if you really wanted to), to an MTA resource.
Here's the map of SanVice running inside of MTA:
Right now it's pretty basic, and not all properties are adapted yet. Some issues I know how to resolve, but with some other problems I will need your help. If you're experienced with how GTA San Andreas works, and you think you can help me with the things below, preferably from the "Things I need help with" section, I'd be thankful. Your work will be credited by me.
If you want to help me, you can post below, but I would really prefer you add me on Discord: FierBot i5#3550
By helping out, you agree that any help or work you provide falls under the MIT license of this software (see below).
To-do
Sorted by importance.
Things I need help with:
- Place collisions (where are the positions of collisions defined within the game files?) - DONE? Thanks to @Tut!
- Extract DFF and TXD files from IMG archives from within the script (need commandline utility)
Things I think I have figured out:
- Convert quaternion rotations to euler - DONE!
- Implement LODs
- On-the-fly model and texture loading, to overload streaming memory less
License
Copyright 2021
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Download, view git