Remove this ad
avatar

hkarta

Tool Crafter
Full Fledged

Posts: 129 Member Since: 4 August, 2013

Lead

5 August, 2013 18:06:00

Tags : :

edit: Are you joking? I had to create an nearly empty topic and edit it with content afterwards - otherwise the topic would get trashed by "antispam" filter. These lefora forums are one big bad joke. What about getting decent host and some user-friendly forum software (like phpbb)?

Hello. Now its the third time i am posting this - as it simply wont (possibly due to low post count) get approved.
Lets try it one more time.

Id like to share this little (hopefuly handy) tool iv written to make editing textures a bit easier. Its application for windows pcs, therefore all you need is access to such computer and .dot net 4 redistributable package.

Application itself is written in c# (some pretty ugly code style included :)). It allows you to do basic drawing on textures, copy & paste textures from clipboard (when using paste, alpha is unfortunately broken). It also allows you to merge individual blocks from existing texture packs - all of this in all supported texture resolutions (16x16, 32x32x 64x64). It can, as well, resize existing texture packs.
 
In order to change names of texture "slots", please see corresponding button in settings.
 
Feel free to suggest ideas and such stuff. Hope that some of you guys will find it useful.

Download





Click here to view the attachment
Click here to view the attachment
Click here to view the attachment
Click here to view the attachment
Quote    Reply   
Remove this ad
Remove this ad
avatar

voidghoul

Administrator
Moderator
Farmer
Full Fledged

Posts: 1,199 Member Since:31 January, 2013

#2 [url]

5 August, 2013 18:15:45

Hi,

    Nice, it looks simple to use for people who aren't so experienced on making textures. I'll give it a test later in the day (accessing my ipod touch files at the moment).

- -V

Administrator of Survivalcraft Forums, vanquisher of werewolves, eater of cows.

-Feel free to message me if you need assistance.

Quote    Reply   
avatar

hkarta

Tool Crafter
Full Fledged

Posts: 129 Member Since: 4 August, 2013

#5 [url]

6 August, 2013 20:20:28

Well, possible - maybe - at least with some kind of "fake 3d" (isometric) preview. I dont, however, have the time necessary to do that.
Made this tool during first free sunday I had (girlfriend at work, child with her grandmother) - not really sure when will such circumstances occur again. :D

Quote    Reply   
avatar

rockstar5166

Survivalist
Full Fledged

Posts: 301 Member Since:28 July, 2013

#7 [url]

16 August, 2013 02:24:54


See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'C:\Users\Xiao Qi Ji\AppData\Roaming\textureData.sur'.
File name: 'C:\Users\Xiao Qi Ji\AppData\Roaming\textureData.sur'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Boolean detectEncodingFromByteOrderMarks)
   at TextureEditor.Form1.LoadTexturePack(Bitmap tp, List`1 textures)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1008 (RTMGDR.030319-1000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Survivalcraft Texture Editor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Xiao%20Qi%20Ji/Desktop/Survivalcraft/Survivalcraft%20Texture%20Editor.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1002 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1001 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1001 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Quote    Reply   
avatar

hkarta

Tool Crafter
Full Fledged

Posts: 129 Member Since: 4 August, 2013

#8 [url]

16 August, 2013 21:37:00

it should not be possible to get this error - as if the file textureData.sur does not exist, its automatically created. Maybe the user (you) who run it does not have neccessary rights to write into appdata? Anyway, that wouldnt make much sense.

You may try to run i either as administrator, or create the file manualy - create new file : 'C:\Users\Xiao Qi Ji\AppData\Roaming\textureData.sur' and (using notepad) write into it these lines: http://pastebin.com/rNNjzczb

Quote    Reply   
avatar

adeoy

Survivor
Full Fledged

Posts: 34 Member Since:13 August, 2013

#9 [url]

16 August, 2013 23:01:02


Thanks, I'll try it and will comment results.

Edit:
Yes this worked,  it appears that the file had been created, but with the extension ".txt" instead of ".sur".
Thanks hkarta :D

Faithful x32 SC 1.25: goo.gl/WuNxkQ


Cobblestone and Basalt Generator SC 1.22: goo.gl/ppQysk

Edit Your Post Chrome & Firefox: goo.gl/SwpOh6

Quote    Reply   
avatar

theplatinumsurfer

Survivalcraft Demigod

Posts: 227 Member Since:10 December, 2011

#10 [url]

17 August, 2013 05:22:24

Thanks alot, hkarta. You'll be remember as the first on the SC scene, so to speak, along with a few others.

Quote    Reply   
Remove this ad
avatar

hikari16

Survivalist
Full Fledged

Posts: 243 Member Since:11 August, 2013

#12 [url]

21 August, 2013 09:21:17

How to download the default texture? sorry if this annoy u im a newbie...so spare with me..

Join us at EXPLOREMANIA!!

survivalcraft.lefora.com/2013/08/25/exploremania-2/#post16
Join my Survivalmania for more fun!
http://survivalcraft.lefora.com/topic/19381789/Survivalmania?page=1#.UlfoaJkazCQ
Join Survival Village!!
survivalcraft.lefora.com/2013/09/01/survival-village/
Join Teamwork Town!
http://survivalcraft.lefora.com/topic/19403696/Teamwork-Town#.UlfsSZkazCQ

Quote    Reply   
avatar

hkarta

Tool Crafter
Full Fledged

Posts: 129 Member Since: 4 August, 2013

#13 [url]

21 August, 2013 09:51:59

Default texture pack is preloaded when you launch program. Otherwise it's available in media section on kaalus blog.

Quote    Reply   
avatar

hikari16

Survivalist
Full Fledged

Posts: 243 Member Since:11 August, 2013

#15 [url]

24 August, 2013 12:54:36

I get confuse using this..(maybe because im inexperience) can u make a tutorial for this...i keep getting an error that says the .sur file cant be located...

Join us at EXPLOREMANIA!!

survivalcraft.lefora.com/2013/08/25/exploremania-2/#post16
Join my Survivalmania for more fun!
http://survivalcraft.lefora.com/topic/19381789/Survivalmania?page=1#.UlfoaJkazCQ
Join Survival Village!!
survivalcraft.lefora.com/2013/09/01/survival-village/
Join Teamwork Town!
http://survivalcraft.lefora.com/topic/19403696/Teamwork-Town#.UlfsSZkazCQ

Quote    Reply   
avatar

hkarta

Tool Crafter
Full Fledged

Posts: 129 Member Since: 4 August, 2013

#16 [url]

24 August, 2013 13:48:32

I have probably written wrong file extension when loading that file. I may fix that later today - until than, just follow the instructions given few post higher. :)

Quote    Reply   
avatar

craftman

Baby Digger

Posts: 18 Member Since:14 June, 2013

#17 [url]

1 September, 2013 17:23:23

Its looks awesome :D , but I can use them :( , I have the .net Framework 4.0 and I got this error:

[image]

-adeoy

I get this same error message when I try to get on.

Quote    Reply   
avatar

hkarta

Tool Crafter
Full Fledged

Posts: 129 Member Since: 4 August, 2013

#19 [url]

5 September, 2013 23:44:32


...
create the file manualy - create new file : 'C:\Users\Xiao Qi Ji\AppData\Roaming\textureData.sur' and (using notepad) write into it these lines: http://pastebin.com/rNNjzczb

-hkarta

(sorry, still havent found time to fix it, even tho the fix is extremely simple)

Quote    Reply   
avatar

reap3r119

Survivor

Posts: 42 Member Since:10 July, 2013

#20 [url]

10 October, 2013 15:43:45

Are you planning on keeping this closed source or making this open source at any time in the future? I'm interested in how it distinguishes which tile belongs to each block/item and which tiles are empty. Did you just assign them based on order (i.e. first 16x16 square is granite, third 16x16 square is dirt, etc)?

Quote    Reply   
Remove this ad
Add Reply

Quick Reply

bbcode help