Talk:OniSplit: Difference between revisions

possible fix for FILM importer
No edit summary
(possible fix for FILM importer)
Line 27: Line 27:
----
----
When will you update the repo? --[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 16:40, 13 April 2023 (CEST)
When will you update the repo? --[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 16:40, 13 April 2023 (CEST)
I couldn't import FILM via '''xml master file for level import''' with current Onisplit compiled from svn. A possible fix is to change <code>ReadContentAsString</code> to <code>ReadElementContentAsString</code>.
        ...
        <Films>
              <Import>films/BomberKonRun02.xml</Import>
        </Films>
        ...
FilmImporter.cs
...
private void ReadFilms(XmlReader xml, string basePath)
...
//string filePath = Path.Combine(basePath, xml.ReadElementContentAsString());
string filePath = Path.Combine(basePath, xml.ReadContentAsString());
:[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 12:59, 14 November 2023 (CET)


==TGA Transparency bug==
==TGA Transparency bug==
8,230

edits