Updated README and some work on the nsbmd viewer

This commit is contained in:
Gericom 2014-11-04 16:57:59 +01:00
parent 948fda4ac6
commit fa363c66fb
3 changed files with 17 additions and 1 deletions

View File

@ -27,9 +27,14 @@ namespace NDS.UI
checkBox5.Checked = (Material.polyAttr & 4) != 0;
checkBox6.Checked = (Material.polyAttr & 8) != 0;
comboBox1.SelectedIndex = (int)((Material.polyAttr >> 4) & 0x3);
comboBox2.SelectedIndex = (int)((Material.polyAttr >> 6) & 0x03);
comboBox2.SelectedIndex = (int)((Material.polyAttr >> 6) & 0x3);
checkBox7.Checked = ((Material.polyAttr >> 11) & 0x1) == 1;
checkBox8.Checked = ((Material.polyAttr >> 12) & 0x1) == 1;
checkBox9.Checked = ((Material.polyAttr >> 13) & 0x1) == 1;
comboBox3.SelectedIndex = (int)((Material.polyAttr >> 14) & 0x1);
checkBox10.Checked = ((Material.polyAttr >> 15) & 0x1) == 1;
trackBar1.Value = (int)((Material.polyAttr >> 16) & 31);
trackBar2.Value = (int)((Material.polyAttr >> 24) & 63);
checkBox1.Checked = (Material.diffAmb & 0x8000) != 0;
button1.BackColor = System.Drawing.Color.FromArgb((int)GFXUtil.XBGR1555ToArgb((ushort)(Material.diffAmb & 0x7FFF)));
@ -38,6 +43,13 @@ namespace NDS.UI
checkBox2.Checked = (Material.specEmi & 0x8000) != 0;
button3.BackColor = System.Drawing.Color.FromArgb((int)GFXUtil.XBGR1555ToArgb((ushort)(Material.specEmi & 0x7FFF)));
button4.BackColor = System.Drawing.Color.FromArgb((int)GFXUtil.XBGR1555ToArgb((ushort)((Material.specEmi >> 16) & 0x7FFF)));
uint wrapS = (Material.texImageParam >> 16) & 1;
if (wrapS != 0) wrapS += (Material.texImageParam >> 18) & 1;
comboBox4.SelectedIndex = (int)wrapS;
uint wrapT = (Material.texImageParam >> 17) & 1;
if (wrapT != 0) wrapT += (Material.texImageParam >> 19) & 1;
comboBox5.SelectedIndex = (int)wrapT;
}
}
}

View File

@ -48,6 +48,7 @@
// menuItem1
//
this.menuItem1.Index = 0;
this.menuItem1.MergeOrder = 2;
this.menuItem1.Text = "NSBTX";
//
// splitContainer1

View File

@ -2,6 +2,9 @@ Every File Explorer
===================
Every File Explorer is a dynamic tool to browse, edit, view, explore and modify files. It is plugin-based, so you can make your own plugins for it aswell!
<h3>Building</h3>
Just open the project in Visual Studio, and build it. You may need to specify the path to the 2 dlls in the Libraries directory. Afterwards, copy them in the Plugins directory aswell. Don't forget to unblock it from external sources!
<h3>Provided Plugins</h3>
* 3DS
* Common Compressors