Jump to content

c# MTA:SA Resource Generator


Recommended Posts

Hey, guys i'm working on a tool in C# which is called MTA:SA Resource Generator in short MTASARG.


Drag and Drop (example: id.txd, id.dff) from Skins, Cars and Weapons onto my tool and script.lua and meta.xml would be generated and packed automatically into a zip-file.

Everything works just fine but it seems MTA has some Problems with the generated meta.xml file.

ERROR: Couldn't parse meta file for resource 'your_resource'

Loading of resource 'your_resource' failed

Generated meta.xml looks like this:

    <info author="MTASARG" name="Skins, Cars, Weapons" /> 
    <file src="1.dff" type="client" /> 
    <file src="1.txd" type="client" /> 

So, but when i open meta.xml and save it with notepad, mta hasnt problems with it.

I think its a problem of encoding...

Anyone know how i can fix it?

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...