mirror of
https://github.com/billsonnn/nitro-converter.git
synced 2024-11-22 23:50:52 +01:00
Remove debug thing
This commit is contained in:
parent
3f09425622
commit
bd86e1fcac
@ -1,5 +1,4 @@
|
|||||||
import { wrap } from 'bytebuffer';
|
import { wrap } from 'bytebuffer';
|
||||||
import { writeFile } from 'fs/promises';
|
|
||||||
import { parseStringPromise } from 'xml2js';
|
import { parseStringPromise } from 'xml2js';
|
||||||
import { AnimationMapper, AssetMapper, IAssetData, IndexMapper, LogicMapper, ManifestMapper, NitroBundle, RoomVisualizationMapper, SpriteBundle, VisualizationMapper } from '../common';
|
import { AnimationMapper, AssetMapper, IAssetData, IndexMapper, LogicMapper, ManifestMapper, NitroBundle, RoomVisualizationMapper, SpriteBundle, VisualizationMapper } from '../common';
|
||||||
import { HabboAssetSWF } from './HabboAssetSWF';
|
import { HabboAssetSWF } from './HabboAssetSWF';
|
||||||
@ -16,8 +15,6 @@ export class SWFUtilities
|
|||||||
{
|
{
|
||||||
if (spriteBundle && (spriteBundle.spritesheet !== undefined)) assetData.spritesheet = spriteBundle.spritesheet;
|
if (spriteBundle && (spriteBundle.spritesheet !== undefined)) assetData.spritesheet = spriteBundle.spritesheet;
|
||||||
|
|
||||||
writeFile('room.json', JSON.stringify(assetData), 'utf8');
|
|
||||||
|
|
||||||
const nitroBundle = new NitroBundle();
|
const nitroBundle = new NitroBundle();
|
||||||
|
|
||||||
nitroBundle.addFile((className + '.json'), Buffer.from(JSON.stringify(assetData)));
|
nitroBundle.addFile((className + '.json'), Buffer.from(JSON.stringify(assetData)));
|
||||||
|
Loading…
Reference in New Issue
Block a user