Esempio n. 1
0
        private static RhprojFile ConvertRhprojFile(RhsFile rhsFile, RhcFile rhcFile)
        {
            var rhprojFile = new RhprojFile();

            rhprojFile.unknown1 = 0;
            rhprojFile.rhsFile  = rhsFile;
            rhprojFile.unknown2 = new byte[] { 1, 254, 3, 0, 0, 255, 0, 0 };
            rhprojFile.rhcFile  = rhcFile;
            rhprojFile.unknown3 = new byte[] { 1, 179, 178, 0, 67, 255, 0, 0, 160, 140, 0, 0, 1, 0, 255 };

            return(rhprojFile);
        }
Esempio n. 2
0
        private RhcFile ConvertRhcFile(Chart chart, RhGuid rhsGuid, string artist)
        {
            var rhcFile = new RhcFile();

            rhcFile.rhcGuid      = RhGuid.NewGuid();
            rhcFile.internalGuid = new RhGuid();
            rhcFile.rhsGuid      = rhsGuid;
            rhcFile.chartName    = chart.difficulty;
            rhcFile.unknown1     = 0;         // Fake value
            rhcFile.artists.Add(new Artist(artist, ArtistType.Artist));
            rhcFile.layers = new LayersConverter().Convert(chart);

            return(rhcFile);
        }
Esempio n. 3
0
 public RhcRandomizer(RandomizerSettings settings)
 {
     this.settings = settings;
     rhcFile       = IBinarySerializableExtensions.Deserialize(settings.rhPath, RhcFile.Deserialize);
 }