fix asset localizer AGAIN :(
This commit is contained in:
parent
0bcb269a88
commit
6f71c68064
|
|
@ -488,7 +488,7 @@ class SDKFuncs
|
||||||
public static void LocalizeAsset(RobloxFileType type, BackgroundWorker worker, string path, string itemname, string meshname)
|
public static void LocalizeAsset(RobloxFileType type, BackgroundWorker worker, string path, string itemname, string meshname)
|
||||||
{
|
{
|
||||||
string oldfile = File.ReadAllText(path);
|
string oldfile = File.ReadAllText(path);
|
||||||
string fixedfile = RobloxXML.RemoveInvalidXmlChars(RobloxXML.ReplaceHexadecimalSymbols(oldfile)).Replace("#9;", "\t");
|
string fixedfile = RobloxXML.RemoveInvalidXmlChars(RobloxXML.ReplaceHexadecimalSymbols(oldfile)).Replace("	", "\t").Replace("#9;", "\t");
|
||||||
XDocument doc = null;
|
XDocument doc = null;
|
||||||
XmlReaderSettings xmlReaderSettings = new XmlReaderSettings { CheckCharacters = false };
|
XmlReaderSettings xmlReaderSettings = new XmlReaderSettings { CheckCharacters = false };
|
||||||
Stream filestream = GlobalFuncs.GenerateStreamFromString(fixedfile);
|
Stream filestream = GlobalFuncs.GenerateStreamFromString(fixedfile);
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,9 @@
|
||||||
- Updated Readme file.
|
- Updated Readme file.
|
||||||
- Added titles to legacy batch files.
|
- Added titles to legacy batch files.
|
||||||
- Added MANY splashes, some suggested by the community!
|
- Added MANY splashes, some suggested by the community!
|
||||||
|
- Asset SDK: Added option to localize files permanently.
|
||||||
|
- Asset SDK: Fixed the Asset Localizer not working properly with large files (again!)
|
||||||
|
- Fixed various broken models.
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
1.3 Pre-Release 2
|
1.3 Pre-Release 2
|
||||||
1.3:
|
1.3:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
|
|
||||||
SET debug=1
|
SET debug=0
|
||||||
SET basedir=%CD%\scripts
|
SET basedir=%CD%\scripts
|
||||||
|
|
||||||
SET gamescriptdir=%basedir%\game
|
SET gamescriptdir=%basedir%\game
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue