Author Topic: TileCutter 0.5.2 Alpha Release  (Read 8650 times)

0 Members and 1 Guest are viewing this topic.

Offline Ashley

TileCutter 0.5.2 Alpha Release
« on: January 28, 2010, 11:57:57 AM »
There is a newer release of TileCutter available, see: http://forum.simutrans.com/index.php?topic=4353

This is an alpha release of the new TileCutter.

Sorry about the lack of recent development. I'm going to work on this more from now on.

Please note that this version is still under development, and there may be some major bugs. If you do encounter any issues using it please submit a bug report by posting in reply to this thread with the following information:

1. Circumstances and description of the issue
2. tilecutter.log and TileCutter5.exe.log (if present)


Changes:

FIX: Non-ASCII character in paths now work properly
ADD: Details of SVN access to download source code
ADD: Source distribution in build scripts

Known Bugs
- Last save directory not stored


What's new
Source distribution via public SVN
Source distribution in build script
Completely re-written cutting engine, no longer sucks (I hope!)
New and improved UI
Makeobj integration and one-click export
Ability to save + load project files
Better translation system and (hopefully) integration with SimuTranslator


What's still to do
Specific source distribution via .zip/.tar.gz file
Lots of testing
Full dat file editor
Smoke editor
Online documentation
Mac distribution
Windows msi installer

What's also under development
I am also developing an entirely online version of TileCutter which will use the same cutting engine. This isn't really ready for public consumption however. It will do everything that the downloadable version of TileCutter can do, and the project files will be interoperable.

Notes
All the paths in the main window are relative to the project save location path. This is intended to allow you to put all your work files in one directory, and then to be able to move or zip that directory and send it to someone else while preserving all the links to the images. Also note that the images are not saved with the project file, only links to them are (this may change at some point).

It's also worth pointing out that in order for the one click exporting to work (e.g. makeobj integration) you need to have filled out the correct details in the dat editing window. Currently this is just a text entry box, but this will change in future to a proper dat editing UI. The image array information is automatically generated and appended to whatever you type into this box.

Download
You can download this alpha release of TileCutter from the following link:

TileCutter_win_0.5.2-alpha.zip (5.4 MB)

You can also download a source distribution:

TileCutter_src_0.5.2-alpha.zip (232 KB)

NOTE: The source distribution requires that you have Python 2.6 or better installed already, and depends upon the wxWidgets library.

And you can check out the source for this release from the SVN, using this URL:

svn://entropy.me.uk/timothy/tilecutter/tags/0.5.2/

And the current latest version from this one:

svn://entropy.me.uk/timothy/tilecutter/trunk/

While this version of TileCutter is listed as an alpha release, it is in all likelihood more stable and likely to work than the previous (0.3d.1) version. I recommend using this version over the 0.3 releases.
« Last Edit: February 01, 2010, 11:48:28 PM by Timothy »
Use Firefox? Interested in IPv6? Try SixOrNot the IPv6 status indicator for Firefox.
Why not try playing Simutrans online? See the Game Servers board for details.

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: TileCutter 0.5.2 Alpha Release
« Reply #1 on: January 28, 2010, 03:02:38 PM »
Umm, authorization failed again... (svn)

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!

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • Total likes: 7
  • Helpful: 91
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: TileCutter 0.5.2 Alpha Release
« Reply #2 on: January 28, 2010, 04:27:44 PM »
An extension request:
If there are different rotations in the same PNG file, allow selecting it by checking a box, instead of re-picking the file.
thanks in advance!!!
:)

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: TileCutter 0.5.2 Alpha Release
« Reply #3 on: January 28, 2010, 04:35:43 PM »
There's a button that allows you to upload the same image for all rotations. At the top right corner, it's called tt_same_file_for_all.
« Last Edit: January 28, 2010, 04:41:21 PM by vilvoh »

Escala Real...a blog about Simutrans in Spanish...

Offline Ashley

Re: TileCutter 0.5.2 Alpha Release
« Reply #4 on: January 28, 2010, 05:47:06 PM »
Umm, authorization failed again... (svn)

Hmm, I know exactly why you get this error, but not what causes it to keep happening. Will investigate. The .zip for the source is just as good at the moment tho.

Edit: Fixed it again.
Use Firefox? Interested in IPv6? Try SixOrNot the IPv6 status indicator for Firefox.
Why not try playing Simutrans online? See the Game Servers board for details.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • Total likes: 7
  • Helpful: 91
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: TileCutter 0.5.2 Alpha Release
« Reply #5 on: January 29, 2010, 07:52:30 AM »
There's a button that allows you to upload the same image for all rotations. At the top right corner, it's called tt_same_file_for_all.

thank you! i will try this

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: TileCutter 0.5.2 Alpha Release
« Reply #6 on: January 29, 2010, 11:30:29 AM »
You say that this version has a better integration with Simutranslator but when will the Tilecutter set be available for translating?

Escala Real...a blog about Simutrans in Spanish...

Offline Ashley

Re: TileCutter 0.5.2 Alpha Release
« Reply #7 on: January 29, 2010, 11:35:24 AM »
Good question, I'll look into that, not sure how far we got with Simutranslator before.
Use Firefox? Interested in IPv6? Try SixOrNot the IPv6 status indicator for Firefox.
Why not try playing Simutrans online? See the Game Servers board for details.

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: TileCutter 0.5.2 Alpha Release
« Reply #8 on: January 29, 2010, 07:04:47 PM »
I can't make it work. I've uploaded the png file and I've set up all parameters, including output locations but when I push Cut Image button, nothing happens..  ::(

Escala Real...a blog about Simutrans in Spanish...

Offline Ashley

Re: TileCutter 0.5.2 Alpha Release
« Reply #9 on: January 29, 2010, 07:06:39 PM »
Could you post the tilecutter log file? I'll see if I can work out why it doesn't work... What operating system are you running it on?
Use Firefox? Interested in IPv6? Try SixOrNot the IPv6 status indicator for Firefox.
Why not try playing Simutrans online? See the Game Servers board for details.

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: TileCutter 0.5.2 Alpha Release
« Reply #10 on: January 29, 2010, 07:09:36 PM »
Sure, I was just checking it..
Code: [Select]
2010-01-29 20:03:35 |    Traceback (most recent call last):
2010-01-29 20:03:35 |      File "tcui\menuObject.pyc", line 140, in OnCutProject
2010-01-29 20:03:35 |      File "TileCutter5.pyw", line 388, in ExportProject
2010-01-29 20:03:35 |      File "tc.pyc", line 320, in export_writer
2010-01-29 20:03:35 |      File "tc.pyc", line 204, in win_to_unix
2010-01-29 20:03:35 |    TypeError: character mapping must return integer, None or unicode

I'm using windows XP sp2

Escala Real...a blog about Simutrans in Spanish...

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: TileCutter 0.5.2 Alpha Release
« Reply #11 on: January 29, 2010, 07:28:19 PM »
Meanwhile, authorization failed again. Hehehe. At this rate, we'll drive you insane with just the bug reports.

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!

Offline Frank

Re: TileCutter 0.5.2 Alpha Release
« Reply #12 on: January 29, 2010, 10:43:16 PM »
...
I'm using windows XP sp2

sp2, not sp3

not up to date your windows

Offline Ashley

Re: TileCutter 0.5.2 Alpha Release
« Reply #13 on: January 29, 2010, 11:21:18 PM »
Meanwhile, authorization failed again. Hehehe. At this rate, we'll drive you insane with just the bug reports.

Good news is this should be fixed now, I worked out that it was accessing the SVN using SSH+SVN, this was causing the db file to be set to have the wrong group in its permissions. I've set the GID bit on the parent directory now, so that shouldn't happen in future.

Sure, I was just checking it..
Code: [Select]
2010-01-29 20:03:35 |    Traceback (most recent call last):
2010-01-29 20:03:35 |      File "tcui\menuObject.pyc", line 140, in OnCutProject
2010-01-29 20:03:35 |      File "TileCutter5.pyw", line 388, in ExportProject
2010-01-29 20:03:35 |      File "tc.pyc", line 320, in export_writer
2010-01-29 20:03:35 |      File "tc.pyc", line 204, in win_to_unix
2010-01-29 20:03:35 |    TypeError: character mapping must return integer, None or unicode

I'm using windows XP sp2

I'll take a look tomorrow into this.

On the translation front, I've reworked the code to make the translations more compatible with SimuTranslator (and also to preserve old translation strings). Am working to get it set up on the SimuTranslator site so we can get some translations into it. :)
Use Firefox? Interested in IPv6? Try SixOrNot the IPv6 status indicator for Firefox.
Why not try playing Simutrans online? See the Game Servers board for details.

Offline Ashley

Re: TileCutter 0.5.2 Alpha Release
« Reply #14 on: January 30, 2010, 12:10:28 PM »
Translations are now available in SimuTranslator if people wish to begin translating them :) I'll include the results in each release of TileCutter.
Use Firefox? Interested in IPv6? Try SixOrNot the IPv6 status indicator for Firefox.
Why not try playing Simutrans online? See the Game Servers board for details.

Offline Frank

Re: TileCutter 0.5.2 Alpha Release
« Reply #15 on: January 30, 2010, 12:56:05 PM »
minor Bugs

- select language not saved

- link to OnlineHelp is wrong


Offline Ashley

Re: TileCutter 0.5.2 Alpha Release
« Reply #16 on: January 30, 2010, 01:07:43 PM »
Thanks Frank, more bugs on the bugfix list :)
Use Firefox? Interested in IPv6? Try SixOrNot the IPv6 status indicator for Firefox.
Why not try playing Simutrans online? See the Game Servers board for details.

Offline Frank

Re: TileCutter 0.5.2 Alpha Release
« Reply #17 on: January 30, 2010, 01:35:24 PM »
Object exists

'Language' and 'Language:'

the ':' better add in code, then one string translated