The International Simutrans Forum
September 06, 2010, 04:57:01 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
Use the "Forum Search"
It may help you to find anything in forum Smiley .
 
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Shades 6.0 first beta release  (Read 2078 times)
0 Members and 1 Guest are viewing this topic.
VS
Senior Plumber (Admin, Devotee)
*
Offline Offline

Posts: 3013


Vladimír Slávik


WWW
« on: January 29, 2010, 10:33:14 PM »

Did it take half a year? Well, twice the goodness Cheesy Finally got brushes working. No undo yet (next to do).

DOWNLOAD - 6.0 alpha2 - 622 kB

Please test - but don't discard the old version yet, it's alpha for a reason.
« Last Edit: February 02, 2010, 11:55:59 AM by VS » Logged


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!
vilvoh
7th dan plumber
*
Online Online

Posts: 3788


Nobody likes a blonde in a hamster ball...


WWW
« Reply #1 on: January 29, 2010, 11:48:05 PM »

Seems that alpha's word is on vogue between Simutrans tools developers.. Roll Eyes

It works, at least for me..
Logged



Escala Real...a blog about Simutrans in Spanish...
z9999+
Coder/patcher
*
Offline Offline

Posts: 267


« Reply #2 on: January 31, 2010, 12:12:13 PM »

Is it possible to change font of some control/tooltips text ?
Some control/tooltips don't allow to show 2 bytes characters.


* shades.png (16.17 KB, 441x864 - viewed 123 times.)
Logged
VS
Senior Plumber (Admin, Devotee)
*
Offline Offline

Posts: 3013


Vladimír Slávik


WWW
« Reply #3 on: January 31, 2010, 01:51:16 PM »

Sorry, there is not much to do about this, except rewriting the whole program with a gui library which supports unicode. I'm still stuck with Delphi 7, which is 8 years old and apart from what can be imported from windows api, doesn't give a **** about languages and encoding.

I'm planning to switch to Lazarus, but this will be a long road... maybe once.
Logged


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!
z9999+
Coder/patcher
*
Offline Offline

Posts: 267


« Reply #4 on: January 31, 2010, 04:11:20 PM »

It's just a font problem, not unicode problem. Old FON font cause this problem.

But it's Okay, my main PC has no problem because I modified FontSubstitutes registry key.
Thank you for reply.
Logged
VS
Senior Plumber (Admin, Devotee)
*
Offline Offline

Posts: 3013


Vladimír Slávik


WWW
« Reply #5 on: January 31, 2010, 04:51:07 PM »

So... I could change font name and it would work?
Logged


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!
prissi
Head Developer
*
Offline Offline

Posts: 3000



WWW
« Reply #6 on: January 31, 2010, 09:00:10 PM »

Actually you have to change the gui definition file, imho. But then it should work. (One could also eanle extended twxtservicea for incompatible programa in the properties (or so it should say), which can help sometimes too.)
Logged
z9999+
Coder/patcher
*
Offline Offline

Posts: 267


« Reply #7 on: January 31, 2010, 10:10:12 PM »

As to Microsoft document, using 'MS Shell Dlg' instead of 'MS Sans Serif' should work in any language on Windows 2000 and later versions. But I'm not sure.

Entry of 'MS Shell Dlg' is there in FontSubstitutes by default, and will be mapped to local font.
Logged
VS
Senior Plumber (Admin, Devotee)
*
Offline Offline

Posts: 3013


Vladimír Slávik


WWW
« Reply #8 on: February 01, 2010, 10:03:33 PM »

OK, next alpha will have font translation. There are two fonts needed, one normal and one monospace.

Undo is progressing nicely...
Logged


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!
z9999+
Coder/patcher
*
Offline Offline

Posts: 267


« Reply #9 on: February 02, 2010, 08:39:58 AM »

Thank yor for considering it and sorry for giving more work.

There are two fonts needed, one normal and one monospace.

If you are talking about 'Courier New', it is a TTF font and I believe it doesn't cause problem. Usually TTF font have auto font-link feature. ('Courier' is FON font.)

And if monospace font is only used for input box, there is no chance to input 2 bytes character in your application.  Smiley
Logged
VS
Senior Plumber (Admin, Devotee)
*
Offline Offline

Posts: 3013


Vladimír Slávik


WWW
« Reply #10 on: February 02, 2010, 11:20:58 AM »

Monospace is for numerical entries - namely ARGB colours like FF00ABCD that look better with fixed width (I think...). Anyway, you can change both fonts to whatever you want Smiley And it wasn't much work once I knew what to do.



Beta for 6.0 is here! Undo now works in most common cases (dunno about external editing). Fonts are translatable (needs restart).

DOWNLOAD - 6.0 beta1 - 640 kB
« Last Edit: February 02, 2010, 11:53:04 AM by VS » Logged


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!
z9999+
Coder/patcher
*
Offline Offline

Posts: 267


« Reply #11 on: February 03, 2010, 08:56:55 AM »

Fonts are translatable (needs restart).

Thank you, it worked.

I didn't know translation file can change font face of control.
I thought you need to change all resources.

I appreciate it. Thanks again.
Logged
VS
Senior Plumber (Admin, Devotee)
*
Offline Offline

Posts: 3013


Vladimír Slávik


WWW
« Reply #12 on: February 03, 2010, 11:51:42 AM »

Well, it's a loop over all components which sets their font to something Smiley



What brushes would be useful? I have these (24px), any comments?


* brushes.png (0.26 KB, 384x24 - viewed 76 times.)
« Last Edit: February 03, 2010, 07:37:35 PM by VS » Logged


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!
VS
Senior Plumber (Admin, Devotee)
*
Offline Offline

Posts: 3013


Vladimír Slávik


WWW
« Reply #13 on: February 03, 2010, 11:59:45 PM »

Last beta:
http://vs.simutrans.com/misc_files/shades_6.0_beta2.zip

If you have a new translation or can update old one, please, do it...
Logged


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!
z9999+
Coder/patcher
*
Offline Offline

Posts: 267


« Reply #14 on: February 04, 2010, 06:33:27 PM »

- Multiple undo feature seems not working well. Try fill bucket tool.
- When I click or drag to outside of image with pen tool, error window, 'Source rectangle is invalid.', continue to open even if I click within image until I change tool. And this error also forbid undo.
- Text 'Selected' on status bar is not translated when application started. If I select pen color again, it will change to translation.
Logged
vilvoh
7th dan plumber
*
Online Online

Posts: 3788


Nobody likes a blonde in a hamster ball...


WWW
« Reply #15 on: February 04, 2010, 07:44:54 PM »

What brushes would be useful? I have these (24px), any comments?

Imho, only the first eight ones are useful. The rest would be good for a pure painting program.
Logged



Escala Real...a blog about Simutrans in Spanish...
VS
Senior Plumber (Admin, Devotee)
*
Offline Offline

Posts: 3013


Vladimír Slávik


WWW
« Reply #16 on: February 05, 2010, 12:10:51 AM »

z9999: Thank you Smiley I fixed the last 2 bugs, but I can't replicate first. I'll try more...
Logged


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!
MoTw
*
Offline Offline

Posts: 127


~ Mister Kanister ~


WWW
« Reply #17 on: February 06, 2010, 04:32:13 PM »

Is there going to be a Linux-Version? I didn't find one before.
Logged

world is like a parachute: it works better when it's open
whenever you feel lost and alone, always remember your calculator is something you can count on
pak96.comic addons
VS
Senior Plumber (Admin, Devotee)
*
Offline Offline

Posts: 3013


Vladimír Slávik


WWW
« Reply #18 on: February 06, 2010, 05:06:05 PM »

No.
Logged


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!
isidoro
*
Offline Offline

Posts: 314


« Reply #19 on: February 07, 2010, 02:24:42 AM »

Is there going to be a Linux-Version? I didn't find one before.

I tried it with wine (www.winehq.com) and seems to work ok.
Logged
MoTw
*
Offline Offline

Posts: 127


~ Mister Kanister ~


WWW
« Reply #20 on: February 07, 2010, 10:31:31 AM »

I tried it with wine (www.winehq.com) and seems to work ok.

Yes, it does, but Wine is a bit slow on my computer and it creates lots of unnessecary files... A native version would be better, but if not...
Logged

world is like a parachute: it works better when it's open
whenever you feel lost and alone, always remember your calculator is something you can count on
pak96.comic addons
VS
Senior Plumber (Admin, Devotee)
*
Offline Offline

Posts: 3013


Vladimír Slávik


WWW
« Reply #21 on: February 07, 2010, 12:07:01 PM »

Re Linux, let's put it differently: if you restructure the code for new, cross-platform libraries and compiler, you're quite the hero. Because I can't do it in time shorter than a year at best.

The project started some 4 years ago and actually taught me a lot about programming... As you can imagine, the original was quite naive and messy. I spent a lot of time making it actually workable for further programming, and it's still not where I'd like to see it. Only then I can start resolving the library problem, and after that, finally try to port it.

This needs time, time, time, time... where can I buy it?
« Last Edit: February 07, 2010, 12:13:31 PM by VS » Logged


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!
MoTw
*
Offline Offline

Posts: 127


~ Mister Kanister ~


WWW
« Reply #22 on: February 07, 2010, 02:10:23 PM »

OK, no Linux. Wink I'll be fine with Wine.

This needs time, time, time, time... where can I buy it?
Here you are: http://www.buytime.at/ Cheesy  Wink (in german)
Logged

world is like a parachute: it works better when it's open
whenever you feel lost and alone, always remember your calculator is something you can count on
pak96.comic addons
The Hood
Devotee
*
Offline Offline

Posts: 1354


pak128.Britain developer


« Reply #23 on: February 07, 2010, 02:16:18 PM »

I use shades under wine - it's not as slow as other programs as it's quite a simple tool.  Tilecutter is much slower under wine than shades, for example...
Logged
MoTw
*
Offline Offline

Posts: 127


~ Mister Kanister ~


WWW
« Reply #24 on: February 07, 2010, 02:36:32 PM »

I use shades under wine - it's not as slow as other programs as it's quite a simple tool.  Tilecutter is much slower under wine than shades, for example...

I didn't mean that _Shades_ is slow, but running _wine_ makes my PC (Netbook) slow. Anyway, that's neither Linux' nor Shades' fault.
Logged

world is like a parachute: it works better when it's open
whenever you feel lost and alone, always remember your calculator is something you can count on
pak96.comic addons
VS
Senior Plumber (Admin, Devotee)
*
Offline Offline

Posts: 3013


Vladimír Slávik


WWW
« Reply #25 on: February 07, 2010, 11:39:09 PM »

Mwahahaha, I just have to say for all that I'm a total idiot. The undo bugs were all just logical. Tomorrow is stable release, unless I'm incapacitated by the two hours of school.
Logged


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.11 seconds with 23 queries.