Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
505 changes: 259 additions & 246 deletions SpiderClientConverter/MainForm.Designer.cs

Large diffs are not rendered by default.

23 changes: 16 additions & 7 deletions SpiderClientConverter/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using OpenTibia.Client.Sprites;
using System.Linq;
using System.Collections.Concurrent;
using Microsoft.WindowsAPICodePack.Dialogs;

namespace SpiderClientConverter
{
Expand Down Expand Up @@ -74,10 +75,11 @@ private void Worker_ProgressChanged(object sender, ProgressChangedEventArgs e)

private void AssetsF_Click(object sender, EventArgs e)
{
FolderBrowserDialog _assets = new FolderBrowserDialog();
if (_assets.ShowDialog() == System.Windows.Forms.DialogResult.OK)
CommonOpenFileDialog _assets = new CommonOpenFileDialog();
_assets.IsFolderPicker = true;
if (_assets.ShowDialog() == CommonFileDialogResult.Ok)
{
_assetsPath = _assets.SelectedPath;
_assetsPath = _assets.FileName;
if (_assetsPath.EndsWith("\\") == false)
_assetsPath = _assetsPath + "\\";
AssetsPath.Text = _assetsPath;
Expand All @@ -86,10 +88,11 @@ private void AssetsF_Click(object sender, EventArgs e)

private void OutputF_Click(object sender, EventArgs e)
{
FolderBrowserDialog _dumpTo = new FolderBrowserDialog();
if (_dumpTo.ShowDialog() == System.Windows.Forms.DialogResult.OK)
CommonOpenFileDialog _dumpTo = new CommonOpenFileDialog();
_dumpTo.IsFolderPicker = true;
if (_dumpTo.ShowDialog() == CommonFileDialogResult.Ok)
{
_dumpToPath = _dumpTo.SelectedPath;
_dumpToPath = _dumpTo.FileName;
if (_dumpToPath.EndsWith("\\") == false)
_dumpToPath = _dumpToPath + "\\";
OutputPath.Text = _dumpToPath;
Expand Down Expand Up @@ -809,8 +812,14 @@ private void DatHex_ValueChanged(object sender, EventArgs e)
private void SprHex_ValueChanged(object sender, EventArgs e)
{
SprSignature = (uint)sprHex.Value;
}

private void button1_Click(object sender, EventArgs e)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Button and function should have a better name. Perhaps AutoImport for the button and autoImport_Click for the function.

{
string stringPath = "C:\\Users\\" + Environment.UserName + "\\AppData\\Local\\Tibia\\packages\\Tibia\\assets\\";
_assetsPath = stringPath;
AssetsPath.Text = stringPath;
}

}
}

Expand Down
976 changes: 488 additions & 488 deletions SpiderClientConverter/MainForm.resx

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8,477 changes: 8,477 additions & 0 deletions packages/Google.Protobuf.3.8.0/lib/net45/Google.Protobuf.xml

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
8,477 changes: 8,477 additions & 0 deletions packages/Google.Protobuf.3.8.0/lib/netstandard1.0/Google.Protobuf.xml

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
8,490 changes: 8,490 additions & 0 deletions packages/Google.Protobuf.3.8.0/lib/netstandard2.0/Google.Protobuf.xml

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
20 changes: 20 additions & 0 deletions packages/Newtonsoft.Json.12.0.2/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2007 James Newton-King

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Binary file not shown.
Binary file not shown.
10,208 changes: 10,208 additions & 0 deletions packages/Newtonsoft.Json.12.0.2/lib/net20/Newtonsoft.Json.xml

Large diffs are not rendered by default.

Binary file not shown.
9,356 changes: 9,356 additions & 0 deletions packages/Newtonsoft.Json.12.0.2/lib/net35/Newtonsoft.Json.xml

Large diffs are not rendered by default.

Binary file not shown.
9,556 changes: 9,556 additions & 0 deletions packages/Newtonsoft.Json.12.0.2/lib/net40/Newtonsoft.Json.xml

Large diffs are not rendered by default.

Binary file not shown.
11,172 changes: 11,172 additions & 0 deletions packages/Newtonsoft.Json.12.0.2/lib/net45/Newtonsoft.Json.xml

Large diffs are not rendered by default.

Binary file not shown.
10,860 changes: 10,860 additions & 0 deletions packages/Newtonsoft.Json.12.0.2/lib/netstandard1.0/Newtonsoft.Json.xml

Large diffs are not rendered by default.

Binary file not shown.
10,982 changes: 10,982 additions & 0 deletions packages/Newtonsoft.Json.12.0.2/lib/netstandard1.3/Newtonsoft.Json.xml

Large diffs are not rendered by default.

Binary file not shown.
11,147 changes: 11,147 additions & 0 deletions packages/Newtonsoft.Json.12.0.2/lib/netstandard2.0/Newtonsoft.Json.xml

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.