[OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
Zephyris
Tycoon
Tycoon
Posts: 2890
Joined: 16 May 2007 16:59

Re: [OTTD] Big GUI (Double Sized GUI) [WIP]

Post by Zephyris »

planetmaker wrote:Just saw this (again). FooBar's answer is not correct anymore. Since r23005 you can replace sprites with an offset in virtually every action5 type except sea shores. Thus I'll happily accept also sprites for those GUI elements found in other action5 types.
I think I included in the grf in the end even though I hadn't drawn them... That is working from my memory of quite a long time ago so it may not be true!
planetmaker wrote:If you think I should use the de-compiled sprites from the existing grf, that's fine, too, of course.
To be honest I am extremely low on spare time at the moment so if you are happy to do this then it will definitely be the quickest ways to get things done!
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2890
Joined: 16 May 2007 16:59

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by Zephyris »

I also just remembered I have made double sized bitmap fonts... Any chance of support for these too? I can dig up the grfs for testing if you would like...
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by planetmaker »

I might even have them somewhere, too. Adding those as an option might be an idea.

Here's a list of icons which I stumbled upon which need drawing as big icons:
- debug icon for window caption
- vehicle profit: not yet applicable
- vehicle profit: loss
- vehicle profit: some
- vehicle profit: very good
- exclusive transport rights
- vehicle groups: autoreplace protection
- vehicle groups: autoreplace defined

I created a repository and re-implemented the current NewGRF in NML

There are sprites for e-rail tunnel, tram tracks and window captions and locks in double size, they'll be added shortly have been put to use now, too.

EDIT2: Also these (font) sprites are needed in an enlarged version:
vehicle type "letters"
vehicle type "letters"
icons.png (1.04 KiB) Viewed 5817 times
Attachments
ogfx-biggui-r2.zip
(87.19 KiB) Downloaded 200 times
RandomEngy
Engineer
Engineer
Posts: 4
Joined: 14 Oct 2011 18:12

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by RandomEngy »

Been using this for a while now and it's been quite helpful. Using it with the extra zoom levels project to get a usable interface without going fullscreen. However there's a few problems still that keep annoying me:

1) Signal types are still small and I can barely tell them apart.
2) Up and down buttons get cut off and are not square
3) Dialogs are sized as if they had the small UI. So for example the New Vehicles dialog only has room for 3 at a time. This is made worse by
4) Dialogs don't remember their size. If I want a dialog to be bigger I have to change it every time I open it.
5) On the Electric Trains build panel, the graphics are all mixed up. To build a depot you have to click on an icon that looks like a monorail auto-rail tool.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by planetmaker »

RandomEngy wrote: 2) Up and down buttons get cut off and are not square
5) On the Electric Trains build panel, the graphics are all mixed up. To build a depot you have to click on an icon that looks like a monorail auto-rail tool.
Thanks for that report. I made a note so that it'll be fixed in the next release.
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by Eddi »

RandomEngy wrote:4) Dialogs don't remember their size. If I want a dialog to be bigger I have to change it every time I open it.
aye, that is annoying, even without Big GUI. For example the station picker window...
RwGibbens
Engineer
Engineer
Posts: 1
Joined: 30 Jan 2012 01:50

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by RwGibbens »

OTTD 1.2beta3 Bugs.png
(35.12 KiB) Downloaded 1 time
I found another case of toolbar sprites out of order in the Maglev rail toolbar. The 2nd, 3rd and 4th track piece buttons show sprites for the 3rd, 4th, and 2nd pieces respectively.

also the About dialog box sizing is off, but I see in earlier posts where the main menu elements are difficult to manage without a static grf.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by planetmaker »

We're about to release a new version. Maybe you want to give the attached NewGRF a shot and see whether it doesn't show these problems
Attachments
ogfx-biggui-r16.zip
(137.76 KiB) Downloaded 158 times
User avatar
PaulC
Director
Director
Posts: 616
Joined: 31 Jul 2006 12:40
Location: Lancs, England
Contact:

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by PaulC »

Those bugs are all in the version you just posted. The issue with the "About" window is present elsewhere, in error messages, Airport Selection, Game Options, Advanced/AI/NewGRF Settings, Save Game, Jukebox, Message Options and Land Area Information (though from the comment above I assume some of these are already known?).
Attachments
Nelson & Co., 15th Aug 2040.png
Nelson & Co., 15th Aug 2040.png (72.92 KiB) Viewed 5530 times
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by planetmaker »

Yes... but iirc all those are no NewGRF bugs, but places where the GUI does not yet handle different sprite sizes well enough (unless you mean something else than cut X and arrows.
User avatar
PaulC
Director
Director
Posts: 616
Joined: 31 Jul 2006 12:40
Location: Lancs, England
Contact:

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by PaulC »

Well, I wouldn't know about that...

You've still got the bug in the maglev toolbar though.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by planetmaker »

PaulC wrote:You've still got the bug in the maglev toolbar though.
Ah, yes, that's something to fix for tonight :-)

EDIT: well, it's an easy fix. It should be addressed in the attached version.
Attachments
ogfx-biggui-r17.zip
(137.77 KiB) Downloaded 165 times
User avatar
Digitalfox
Chief Executive
Chief Executive
Posts: 708
Joined: 28 Oct 2004 04:42
Location: Catch the Fox if you can... Almost 20 years and counting!

Re: [OTTD] Big GUI (Double Sized GUI) [WIP]

Post by Digitalfox »

Rubidium wrote:Larger fonts might be a big problem as OpenTTD makes assumptions on the font size, i.e. it's hardcoded font sprite fonts. It might be possible to detect the size of a font though by scanning through all the font sprites.
At the present, is Larger fonts now possible? :|
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by Alberth »

At the present, is Larger fonts now possible? :|
According to the Changelog, not until 1.0.0-beta1, which will be released at around christmas 2009.
User avatar
Digitalfox
Chief Executive
Chief Executive
Posts: 708
Joined: 28 Oct 2004 04:42
Location: Catch the Fox if you can... Almost 20 years and counting!

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by Digitalfox »

Alberth wrote:
At the present, is Larger fonts now possible? :|
According to the Changelog, not until 1.0.0-beta1, which will be released at around christmas 2009.
Ok, ok, I got the point :mrgreen:

But in my defense, Rubidium posted in Sep 17, 2010 :wink:
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by Eddi »

mind the subtle difference between larger sprite fonts vs. larger system fonts.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by planetmaker »

Version 2.0.0 of this NewGRF is out.

It brings you besides sprites for some new GUI elements in the 2x zoom version also a new NewGRF parameter which will allow you to work with 1.5x zoom GUI sprites which all were created by Yoshi.

As usual, get the NewGRF from bananas of the DevZone
Attachments
biggui.png
biggui.png (91.84 KiB) Viewed 5322 times
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by FooBar »

I've just been thinking...

Wouldn't it be nice to recreate this as branch of the OpenGFX base set? That way the big GUI can be used independent of savegame and will be multiplayer-friendly. Obviously one cannot use parameters then, so the 2x and 1.5x zoom would need to be two separate versions, but still...
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by Eddi »

no, this shouldn't be part of the base set, as you would then exclude the people using the original graphics.

instead what should be done is a way to set static newgrfs via the newgrf-gui, not just in the .cfg.
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: [OTTD] OpenGFX+ Big GUI (Double Sized GUI) [WIP]

Post by FooBar »

Eddi wrote:instead what should be done is a way to set static newgrfs via the newgrf-gui, not just in the .cfg.
Even better :D
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: _dp_ and 19 guests