mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
Add support for previewing bffnt with text.
Thanks to EFE as it's basically like how CFFNT works.
This commit is contained in:
parent
c7d2a5d8eb
commit
6fdafddfdc
5 changed files with 449 additions and 38 deletions
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows.Forms;
|
||||
using Toolbox.Library;
|
||||
using System.IO;
|
||||
|
@ -10,6 +10,8 @@ using Toolbox.Library.IO;
|
|||
using Toolbox.Library.Forms;
|
||||
using System.Drawing;
|
||||
using FirstPlugin.Forms;
|
||||
using LibEveryFileExplorer.GFX;
|
||||
using System.Drawing.Imaging;
|
||||
|
||||
namespace FirstPlugin
|
||||
{
|
||||
|
@ -284,6 +286,72 @@ namespace FirstPlugin
|
|||
reader.Seek(-4, SeekOrigin.Current);
|
||||
return Signature;
|
||||
}
|
||||
|
||||
public BitmapFont GetBitmapFont()
|
||||
{
|
||||
var FontInfo = FontSection;
|
||||
var TextureGlyph = FontInfo.TextureGlyph;
|
||||
|
||||
BitmapFont f = new BitmapFont();
|
||||
f.LineHeight = FontInfo.LineFeed;
|
||||
Bitmap[] Chars = new Bitmap[TextureGlyph.LinesCount * TextureGlyph.RowCount * TextureGlyph.SheetCount];
|
||||
|
||||
float realcellwidth = TextureGlyph.CellWidth + 1;
|
||||
float realcellheight = TextureGlyph.CellHeight + 1;
|
||||
|
||||
int j = 0;
|
||||
for (int sheet = 0; sheet < TextureGlyph.SheetCount; sheet++)
|
||||
{
|
||||
Bitmap SheetBM = TextureGlyph.GetImageSheet(sheet).GetBitmap();
|
||||
SheetBM.RotateFlip(RotateFlipType.RotateNoneFlipY);
|
||||
BitmapData bd = SheetBM.LockBits(new Rectangle(0, 0, SheetBM.Width, SheetBM.Height),
|
||||
ImageLockMode.ReadOnly, PixelFormat.Format32bppArgb);
|
||||
|
||||
for (int y = 0; y < TextureGlyph.LinesCount; y++)
|
||||
{
|
||||
for (int x = 0; x < TextureGlyph.RowCount; x++)
|
||||
{
|
||||
Bitmap b = new Bitmap(TextureGlyph.CellWidth, TextureGlyph.CellHeight);
|
||||
BitmapData bd2 = b.LockBits(new Rectangle(0, 0, b.Width, b.Height),
|
||||
ImageLockMode.WriteOnly,PixelFormat.Format32bppArgb);
|
||||
|
||||
for (int y2 = 0; y2 < TextureGlyph.CellHeight; y2++)
|
||||
{
|
||||
for (int x2 = 0; x2 < TextureGlyph.CellWidth; x2++)
|
||||
{
|
||||
Marshal.WriteInt32(bd2.Scan0, y2 * bd2.Stride + x2 * 4,
|
||||
Marshal.ReadInt32(bd.Scan0, (int)(y * realcellheight + y2 + 1) *
|
||||
bd.Stride + (int)(x * realcellwidth + x2 + 1) * 4));
|
||||
}
|
||||
}
|
||||
b.UnlockBits(bd2);
|
||||
Chars[j++] = b;
|
||||
}
|
||||
}
|
||||
SheetBM.UnlockBits(bd);
|
||||
}
|
||||
|
||||
foreach (var charMap in FontInfo.CodeMapDictionary)
|
||||
{
|
||||
var idx = charMap.Value;
|
||||
if (idx == 0xFFFF) continue;
|
||||
var info = GetCharWidthInfoByIndex(FontInfo, (ushort)idx);
|
||||
|
||||
f.Characters.Add(charMap.Key, new BitmapFont.Character(Chars[idx], info.Left, info.GlyphWidth, info.CharWidth));
|
||||
}
|
||||
|
||||
return f;
|
||||
}
|
||||
|
||||
private CharacterWidthEntry GetCharWidthInfoByIndex(FINF fontInfo, UInt16 Index)
|
||||
{
|
||||
foreach (var v in fontInfo.CharacterWidths)
|
||||
{
|
||||
if (Index < v.StartIndex || Index > v.EndIndex) continue;
|
||||
return v.WidthEntries[Index - v.StartIndex];
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
//Kerning Table
|
||||
|
@ -784,8 +852,8 @@ namespace FirstPlugin
|
|||
public uint SheetSize { get; set; }
|
||||
public ushort BaseLinePos { get; set; }
|
||||
public ushort Format { get; set; }
|
||||
public ushort ColumnCount { get; set; }
|
||||
public ushort RowCount { get; set; }
|
||||
public ushort LinesCount { get; set; }
|
||||
public ushort SheetWidth { get; set; }
|
||||
public ushort SheetHeight { get; set; }
|
||||
public List<byte[]> SheetDataList = new List<byte[]>();
|
||||
|
@ -803,8 +871,8 @@ namespace FirstPlugin
|
|||
SheetSize = reader.ReadUInt32();
|
||||
BaseLinePos = reader.ReadUInt16();
|
||||
Format = reader.ReadUInt16();
|
||||
ColumnCount = reader.ReadUInt16();
|
||||
RowCount = reader.ReadUInt16();
|
||||
LinesCount = reader.ReadUInt16();
|
||||
SheetWidth = reader.ReadUInt16();
|
||||
SheetHeight = reader.ReadUInt16();
|
||||
uint sheetOffset = reader.ReadUInt32();
|
||||
|
@ -838,8 +906,8 @@ namespace FirstPlugin
|
|||
writer.Write(SheetDataList[0].Length);
|
||||
writer.Write(BaseLinePos);
|
||||
writer.Write(Format);
|
||||
writer.Write(ColumnCount);
|
||||
writer.Write(RowCount);
|
||||
writer.Write(LinesCount);
|
||||
writer.Write(SheetWidth);
|
||||
writer.Write(SheetHeight);
|
||||
long _ofsSheetBlocks = writer.Position;
|
||||
|
@ -917,6 +985,30 @@ namespace FirstPlugin
|
|||
Scan,
|
||||
}
|
||||
|
||||
public ushort GetIndexFromCode(ushort code)
|
||||
{
|
||||
if (code < CharacterCodeBegin || code > CharacterCodeEnd) return 0xFFFF;
|
||||
|
||||
switch (MappingMethod)
|
||||
{
|
||||
case Mapping.Direct:
|
||||
return (UInt16)(code - CharacterCodeBegin + ((CMAPDirect)MappingData).Offset);
|
||||
case Mapping.Table:
|
||||
return (ushort)((CMAPIndexTable)MappingData).Table[code - CharacterCodeBegin];
|
||||
case Mapping.Scan:
|
||||
if (!((CMAPScanMapping)MappingData).Codes.Contains(code)) return 0xFFFF;
|
||||
else
|
||||
{
|
||||
var codes = ((CMAPScanMapping)MappingData).Codes;
|
||||
var index = Array.FindIndex(codes, map => map == code);
|
||||
|
||||
return (ushort)((CMAPScanMapping)MappingData).Indexes[index];
|
||||
}
|
||||
}
|
||||
|
||||
return 0xFFFF;
|
||||
}
|
||||
|
||||
public CMAP NextCodeMapSection { get; set; }
|
||||
|
||||
public void Read(FileReader reader, FFNT header, List<CMAP> CodeMaps)
|
||||
|
@ -1148,9 +1240,9 @@ namespace FirstPlugin
|
|||
for (ushort i = StartIndex; i <= EndIndex; i++)
|
||||
{
|
||||
var entry = new CharacterWidthEntry();
|
||||
entry.LeftWidth = reader.ReadSByte();
|
||||
entry.Left = reader.ReadSByte();
|
||||
entry.GlyphWidth = reader.ReadByte();
|
||||
entry.Width = reader.ReadByte();
|
||||
entry.CharWidth = reader.ReadByte();
|
||||
WidthEntries.Add(entry);
|
||||
}
|
||||
|
||||
|
@ -1181,9 +1273,9 @@ namespace FirstPlugin
|
|||
|
||||
for (int i = 0; i < WidthEntries.Count; i++)
|
||||
{
|
||||
writer.Write(WidthEntries[i].LeftWidth);
|
||||
writer.Write(WidthEntries[i].Left);
|
||||
writer.Write(WidthEntries[i].GlyphWidth);
|
||||
writer.Write(WidthEntries[i].Width);
|
||||
writer.Write(WidthEntries[i].CharWidth);
|
||||
}
|
||||
|
||||
writer.Align(4);
|
||||
|
@ -1205,8 +1297,8 @@ namespace FirstPlugin
|
|||
|
||||
public class CharacterWidthEntry
|
||||
{
|
||||
public sbyte LeftWidth { get; set; }
|
||||
public sbyte Left { get; set; }
|
||||
public byte GlyphWidth { get; set; }
|
||||
public byte Width { get; set; }
|
||||
public byte CharWidth { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
114
File_Format_Library/GUI/BFFNT/BffntEditor.Designer.cs
generated
114
File_Format_Library/GUI/BFFNT/BffntEditor.Designer.cs
generated
|
@ -29,6 +29,7 @@
|
|||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BffntEditor));
|
||||
this.stPanel1 = new Toolbox.Library.Forms.STPanel();
|
||||
this.lineFeedUD = new Toolbox.Library.Forms.NumericUpDownUint();
|
||||
this.stLabel13 = new Toolbox.Library.Forms.STLabel();
|
||||
|
@ -63,6 +64,11 @@
|
|||
this.splitter1 = new System.Windows.Forms.Splitter();
|
||||
this.splitter2 = new System.Windows.Forms.Splitter();
|
||||
this.stPanel3 = new Toolbox.Library.Forms.STPanel();
|
||||
this.stTabControl1 = new Toolbox.Library.Forms.STTabControl();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.pictureBoxCustom1 = new Toolbox.Library.Forms.PictureBoxCustom();
|
||||
this.textPreviewTB = new Toolbox.Library.Forms.STTextBox();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.imagePanel = new Forms.ImagePaenl();
|
||||
this.imagesCB = new Toolbox.Library.Forms.STComboBox();
|
||||
this.stLabel3 = new Toolbox.Library.Forms.STLabel();
|
||||
|
@ -83,7 +89,10 @@
|
|||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownUint2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownUint1)).BeginInit();
|
||||
this.stPanel3.SuspendLayout();
|
||||
this.imageMenuStrip.SuspendLayout();
|
||||
this.stTabControl1.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxCustom1)).BeginInit();
|
||||
this.tabPage2.SuspendLayout();
|
||||
this.stPanel4.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
|
@ -142,6 +151,7 @@
|
|||
this.fontTypeCB.BorderStyle = System.Windows.Forms.ButtonBorderStyle.Solid;
|
||||
this.fontTypeCB.ButtonColor = System.Drawing.Color.Empty;
|
||||
this.fontTypeCB.FormattingEnabled = true;
|
||||
this.fontTypeCB.IsReadOnly = false;
|
||||
this.fontTypeCB.Location = new System.Drawing.Point(87, 42);
|
||||
this.fontTypeCB.Name = "fontTypeCB";
|
||||
this.fontTypeCB.Size = new System.Drawing.Size(108, 21);
|
||||
|
@ -153,6 +163,7 @@
|
|||
this.encodingTypeCB.BorderStyle = System.Windows.Forms.ButtonBorderStyle.Solid;
|
||||
this.encodingTypeCB.ButtonColor = System.Drawing.Color.Empty;
|
||||
this.encodingTypeCB.FormattingEnabled = true;
|
||||
this.encodingTypeCB.IsReadOnly = false;
|
||||
this.encodingTypeCB.Location = new System.Drawing.Point(87, 73);
|
||||
this.encodingTypeCB.Name = "encodingTypeCB";
|
||||
this.encodingTypeCB.Size = new System.Drawing.Size(108, 21);
|
||||
|
@ -416,6 +427,7 @@
|
|||
this.characterCodeCB.ButtonColor = System.Drawing.Color.Empty;
|
||||
this.characterCodeCB.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.characterCodeCB.FormattingEnabled = true;
|
||||
this.characterCodeCB.IsReadOnly = false;
|
||||
this.characterCodeCB.Location = new System.Drawing.Point(103, 27);
|
||||
this.characterCodeCB.Name = "characterCodeCB";
|
||||
this.characterCodeCB.Size = new System.Drawing.Size(72, 39);
|
||||
|
@ -449,7 +461,7 @@
|
|||
//
|
||||
// stPanel3
|
||||
//
|
||||
this.stPanel3.Controls.Add(this.imagePanel);
|
||||
this.stPanel3.Controls.Add(this.stTabControl1);
|
||||
this.stPanel3.Controls.Add(this.imagesCB);
|
||||
this.stPanel3.Controls.Add(this.stLabel3);
|
||||
this.stPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
|
@ -458,21 +470,82 @@
|
|||
this.stPanel3.Size = new System.Drawing.Size(412, 438);
|
||||
this.stPanel3.TabIndex = 4;
|
||||
//
|
||||
// imagePanel
|
||||
// stTabControl1
|
||||
//
|
||||
this.imagePanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
this.stTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.imagePanel.Location = new System.Drawing.Point(6, 33);
|
||||
this.stTabControl1.Controls.Add(this.tabPage1);
|
||||
this.stTabControl1.Controls.Add(this.tabPage2);
|
||||
this.stTabControl1.Location = new System.Drawing.Point(6, 45);
|
||||
this.stTabControl1.myBackColor = System.Drawing.Color.Empty;
|
||||
this.stTabControl1.Name = "stTabControl1";
|
||||
this.stTabControl1.SelectedIndex = 0;
|
||||
this.stTabControl1.Size = new System.Drawing.Size(400, 390);
|
||||
this.stTabControl1.TabIndex = 3;
|
||||
//
|
||||
// tabPage1
|
||||
//
|
||||
this.tabPage1.Controls.Add(this.pictureBoxCustom1);
|
||||
this.tabPage1.Controls.Add(this.textPreviewTB);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 25);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage1.Size = new System.Drawing.Size(392, 361);
|
||||
this.tabPage1.TabIndex = 0;
|
||||
this.tabPage1.Text = "Preview";
|
||||
this.tabPage1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// pictureBoxCustom1
|
||||
//
|
||||
this.pictureBoxCustom1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBoxCustom1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBoxCustom1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBoxCustom1.BackgroundImage")));
|
||||
this.pictureBoxCustom1.Location = new System.Drawing.Point(3, 0);
|
||||
this.pictureBoxCustom1.Name = "pictureBoxCustom1";
|
||||
this.pictureBoxCustom1.Size = new System.Drawing.Size(383, 232);
|
||||
this.pictureBoxCustom1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pictureBoxCustom1.TabIndex = 1;
|
||||
this.pictureBoxCustom1.TabStop = false;
|
||||
//
|
||||
// textPreviewTB
|
||||
//
|
||||
this.textPreviewTB.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textPreviewTB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.textPreviewTB.Location = new System.Drawing.Point(6, 238);
|
||||
this.textPreviewTB.Multiline = true;
|
||||
this.textPreviewTB.Name = "textPreviewTB";
|
||||
this.textPreviewTB.Size = new System.Drawing.Size(380, 120);
|
||||
this.textPreviewTB.TabIndex = 0;
|
||||
this.textPreviewTB.TextChanged += new System.EventHandler(this.textPreviewTB_TextChanged);
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
this.tabPage2.Controls.Add(this.imagePanel);
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 25);
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage2.Size = new System.Drawing.Size(392, 361);
|
||||
this.tabPage2.TabIndex = 1;
|
||||
this.tabPage2.Text = "Images";
|
||||
this.tabPage2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// imagePanel
|
||||
//
|
||||
this.imagePanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.imagePanel.Location = new System.Drawing.Point(3, 3);
|
||||
this.imagePanel.Name = "imagePanel";
|
||||
this.imagePanel.Size = new System.Drawing.Size(400, 402);
|
||||
this.imagePanel.Size = new System.Drawing.Size(386, 355);
|
||||
this.imagePanel.TabIndex = 2;
|
||||
this.imagePanel.Paint += new System.Windows.Forms.PaintEventHandler(this.imagePanel_Paint);
|
||||
this.imagePanel.MouseClick += new System.Windows.Forms.MouseEventHandler(this.imagePanel_MouseClick);
|
||||
this.imagePanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.imagePanel_MouseDown);
|
||||
this.imagePanel.MouseLeave += new System.EventHandler(this.imagePanel_MouseLeave);
|
||||
this.imagePanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.imagePanel_MouseMove);
|
||||
this.imagePanel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.imagePanel_MouseUp);
|
||||
this.imagePanel.MouseLeave += new System.EventHandler(this.imagePanel_MouseLeave);
|
||||
this.imagePanel.MouseClick += new System.Windows.Forms.MouseEventHandler(this.imagePanel_MouseClick);
|
||||
//
|
||||
// imagesCB
|
||||
//
|
||||
|
@ -480,6 +553,7 @@
|
|||
this.imagesCB.BorderStyle = System.Windows.Forms.ButtonBorderStyle.Solid;
|
||||
this.imagesCB.ButtonColor = System.Drawing.Color.Empty;
|
||||
this.imagesCB.FormattingEnabled = true;
|
||||
this.imagesCB.IsReadOnly = false;
|
||||
this.imagesCB.Location = new System.Drawing.Point(82, 6);
|
||||
this.imagesCB.Name = "imagesCB";
|
||||
this.imagesCB.Size = new System.Drawing.Size(213, 21);
|
||||
|
@ -497,9 +571,18 @@
|
|||
//
|
||||
// imageMenuStrip
|
||||
//
|
||||
this.imageMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {});
|
||||
this.imageMenuStrip.Name = "stContextMenuStrip1";
|
||||
this.imageMenuStrip.Size = new System.Drawing.Size(108, 48);
|
||||
this.imageMenuStrip.Size = new System.Drawing.Size(61, 4);
|
||||
//
|
||||
// exportToolStripMenuItem
|
||||
//
|
||||
this.exportToolStripMenuItem.Name = "exportToolStripMenuItem";
|
||||
this.exportToolStripMenuItem.Size = new System.Drawing.Size(32, 19);
|
||||
//
|
||||
// copyToolStripMenuItem
|
||||
//
|
||||
this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
|
||||
this.copyToolStripMenuItem.Size = new System.Drawing.Size(32, 19);
|
||||
//
|
||||
// stPanel4
|
||||
//
|
||||
|
@ -539,7 +622,11 @@
|
|||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownUint1)).EndInit();
|
||||
this.stPanel3.ResumeLayout(false);
|
||||
this.stPanel3.PerformLayout();
|
||||
this.imageMenuStrip.ResumeLayout(false);
|
||||
this.stTabControl1.ResumeLayout(false);
|
||||
this.tabPage1.ResumeLayout(false);
|
||||
this.tabPage1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxCustom1)).EndInit();
|
||||
this.tabPage2.ResumeLayout(false);
|
||||
this.stPanel4.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
|
@ -588,5 +675,10 @@
|
|||
private Toolbox.Library.Forms.NumericUpDownUint numericUpDownUint1;
|
||||
private Toolbox.Library.Forms.STLabel stLabel15;
|
||||
private Forms.ImagePaenl imagePanel;
|
||||
private Toolbox.Library.Forms.STTabControl stTabControl1;
|
||||
private System.Windows.Forms.TabPage tabPage1;
|
||||
private Toolbox.Library.Forms.PictureBoxCustom pictureBoxCustom1;
|
||||
private Toolbox.Library.Forms.STTextBox textPreviewTB;
|
||||
private System.Windows.Forms.TabPage tabPage2;
|
||||
}
|
||||
}
|
|
@ -9,6 +9,7 @@ using System.Threading.Tasks;
|
|||
using System.Windows.Forms;
|
||||
using Toolbox.Library.Forms;
|
||||
using Toolbox.Library;
|
||||
using LibEveryFileExplorer.GFX;
|
||||
|
||||
namespace FirstPlugin.Forms
|
||||
{
|
||||
|
@ -17,6 +18,11 @@ namespace FirstPlugin.Forms
|
|||
public BffntEditor()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
stTabControl1.myBackColor = FormThemes.BaseTheme.FormBackColor;
|
||||
|
||||
pictureBoxCustom1.BackColor = Color.Black;
|
||||
pictureBoxCustom1.BackgroundImage = null;
|
||||
}
|
||||
|
||||
public List<IFileFormat> GetFileFormats()
|
||||
|
@ -25,6 +31,7 @@ namespace FirstPlugin.Forms
|
|||
}
|
||||
|
||||
private Image PanelImage { get; set; }
|
||||
private BitmapFont bitmapFont;
|
||||
|
||||
private FFNT ActiveFile;
|
||||
private BFFNT FileFormat;
|
||||
|
@ -50,6 +57,24 @@ namespace FirstPlugin.Forms
|
|||
|
||||
ReloadCharacterCodes();
|
||||
ReloadTextures();
|
||||
|
||||
try {
|
||||
bitmapFont = fontFile.bffnt.GetBitmapFont();
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
textPreviewTB.Text = "This is a preview!";
|
||||
|
||||
if (bitmapFont != null)
|
||||
pictureBoxCustom1.Image = bitmapFont.PrintToBitmap(textPreviewTB.Text, new BitmapFont.FontRenderSettings());
|
||||
}
|
||||
|
||||
public override void OnControlClosing()
|
||||
{
|
||||
bitmapFont?.Dispose();
|
||||
}
|
||||
|
||||
private void ReloadCharacterCodes()
|
||||
|
@ -245,18 +270,6 @@ namespace FirstPlugin.Forms
|
|||
|
||||
private FontCell[] FontCells;
|
||||
|
||||
private void LoadGlyphs()
|
||||
{
|
||||
var textureGlyph = ActiveFile.FontSection.TextureGlyph;
|
||||
|
||||
for (int c = 0; c < (int)textureGlyph.ColumnCount; c++)
|
||||
{
|
||||
for (int r = 0; r < (int)textureGlyph.RowCount; r++)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public GlyphImage[] GlyphImages;
|
||||
|
||||
public class GlyphImage
|
||||
|
@ -274,14 +287,11 @@ namespace FirstPlugin.Forms
|
|||
|
||||
PanelImage = BitmapExtension.Resize(PanelImage, textureGlyph.SheetWidth, textureGlyph.SheetHeight);
|
||||
|
||||
Console.WriteLine($"ColumnCount {textureGlyph.ColumnCount}");
|
||||
Console.WriteLine($"RowCount {textureGlyph.RowCount}");
|
||||
|
||||
int y = 0;
|
||||
for (int c = 0; c < (int)textureGlyph.RowCount; c++)
|
||||
{
|
||||
int x = 0;
|
||||
for (int r = 0; r < (int)textureGlyph.ColumnCount; r++)
|
||||
for (int r = 0; r < (int)textureGlyph.LinesCount; r++)
|
||||
{
|
||||
var rect = new Rectangle(x, y, textureGlyph.CellWidth, textureGlyph.CellHeight);
|
||||
|
||||
|
@ -317,6 +327,9 @@ namespace FirstPlugin.Forms
|
|||
|
||||
private void imagePanel_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
if (PanelImage == null)
|
||||
return;
|
||||
|
||||
Graphics graphics = e.Graphics;
|
||||
graphics.DrawImage(PanelImage, 0.0f, 0.0f);
|
||||
|
||||
|
@ -386,6 +399,12 @@ namespace FirstPlugin.Forms
|
|||
imagePanel.Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
private void textPreviewTB_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (bitmapFont != null)
|
||||
pictureBoxCustom1.Image = bitmapFont.PrintToBitmap(textPreviewTB.Text, new BitmapFont.FontRenderSettings());
|
||||
}
|
||||
}
|
||||
|
||||
public class ImagePaenl : STPanel
|
||||
|
|
|
@ -117,6 +117,214 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="pictureBoxCustom1.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAlgAAAJYCAMAAACJuGjuAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAADAFBMVEXMzMzNzc3Ozs7Pz8/Q0NDR0dHS
|
||||
0tLT09PU1NTV1dXW1tbX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4zW7tt3aFGa0JAhPXKv5Grfv8ckaj93+veSuXxEAIUwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="imageMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
|
|
|
@ -112,7 +112,7 @@ In the event that the tool cannot compile, check references. All the libraries a
|
|||
- Assimp devs for their massive asset library!
|
||||
- Wexos (helped figure out a few things, ie format list to assign each attribute)
|
||||
- JuPaHe64 for the base 3D renderer.
|
||||
- Every File Explorer devs (Gericom) for Yaz0 stuff
|
||||
- Every File Explorer devs (Gericom) for Yaz0 and bitmap font stuff
|
||||
- Exelix for Byaml, Sarc and KCL library
|
||||
- Syroot for helpful IO extensions and libraries
|
||||
- GDKChan for PICA shaders stuff used with bcres, structs for bcres, and some DDS decode methods
|
||||
|
|
Loading…
Reference in a new issue