Gimp to CEGUI Imageset script!

Use this forum for:
- Discussion regarding unofficial CEGUI related tools, scripts and utilities.
- User to user help for the obsoleted CELayoutEditor and CEImagesetEditor tools.

Moderators: CEGUI MVP, CEGUI Team

Just popping in
Just popping in
Posts: 1
Joined: Wed Jun 18, 2008 18:26

Gimp to CEGUI Imageset script!

Postby lope85 » Wed Jun 18, 2008 18:44

Hi everyone,

I'm wondering how you actually create an imageset. Painting in the Gimp, exporting and then manually setting all the coords and sizes seemed to complicated (*). Therefore I wrote a little Script-Fu Script for the Gimp to help me with the creation of imagesets.


This script uses the layer information (name, pos, size) to create the images in the .imageset. Offsets must be inserted manually later.

(*) Actually learning the SCHEME language and putting the script together in a lenghty trial-and-error-process wasn't that easy either.....

This script should run on any gimp 2.x installation (no perl or python required).

Please have a look and give me your feedback!

User avatar
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England

Postby CrazyEddie » Wed Jun 18, 2008 19:15

Wow! What a good idea :) I shall have a play with this tomorrow, I think.

With reference to your (*) point - yeah, but the good thing is that you only have to do that once (as opposed to manually creating an Imageset - every time). Once you have your script written it's all plain sailing from then on, so now put your feet up and have a :pint:


Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Sat Jun 21, 2008 10:13

VERY good thanks a lot, you're the men ;)

User avatar
Just can't stay away
Just can't stay away
Posts: 136
Joined: Sun Apr 03, 2005 14:18
Location: Holbaek, Denmark

Postby jacmoe » Sat Nov 08, 2008 21:30

Looking forward to giving this a spin! :)

User avatar
Quite a regular
Quite a regular
Posts: 55
Joined: Fri Dec 26, 2008 14:30

Re: Gimp to CEGUI Imageset script!

Postby emarcotte » Sun Oct 11, 2009 15:59

Just writing to say this is an awesome script.

The only issue I had was that it seemed if I didn't have a trailing \ in the output path it didn't use the folder name but appended instead. Figured that out, and now all is well with the universe.

Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 1 guest