Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Mon Jan 23, 2017 12:22 am

All times are UTC




Post new topic  Reply to topic  [ 21 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Sat Apr 27, 2013 9:10 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3415
Skype: neko-master
Location: Oshawa, Ontario, CANADA
*UPDATED WITH TAR FORMATE FOR EASY DOWNLOADING!*

So I was looking around for a NewGRF Separator GRF so I can clean up and manage my loaded GRF list, but I couldn't find any that worked (one wouldn't show, while the other didn't have all the categories I wanted)

So I whipped up a quick GRF pack that contains simple NewGRF Separators, all coded from NML. I even colored the names of the GRF's green to make finding them easier among all that grey text.

Its a bit crude, and may have spelling mistakes in the descriptions, but for now the main part of NML-CS has been dealt with. If there are any problems, major and minor, you can report them in this thread or drop me a private message and I'll get back to you when I can.

Image

[Installation]
1. Download to your computer and move the file to your newgrf\data folder, alternatively you can just download the TAR file to your newgrf\data folder directly.
For most users it will probably be in your user account folder (Eg. C:\Users\Neko\Documents\OpenTTD) or for linux users > (/home/Neko/.OpenTTD)
For other users it will probably be in your OpenTTD Install (Eg. C:\Program Files\OpenTTD)

*OpenTTD will load tars as of 0.6.3 (as far as I know), so extraction wont be necessary unless you need to do something special with the grfs!*

2. Use OpenTTD's ingame NewGRF Menu to load up the Category GRF's. Their names are colored green for quick access.

3. Enjoy a organized NewGRF List! Don't forget you can click and drag GRF's in modern OpenTTD builds (I think its been like this since the new NewGRF window)


Attachments:
File comment: Version 1 Alpha (SCREENSHOT!)
NML-CatSys-Screenshot.png [29.97 KiB]
Downloaded 7 times
File comment: Version 1.1 Alpha (TAR ARCHIVE!)
NML-CategorySystem-v1.1a.tar [46.5 KiB]
Downloaded 700 times

_________________
Proud Canadian
Nekomasters Projects...
# NARS Add-On Set Development (Add more Trains to North America!)
# NML Category System v1.1 (Organize your GRFS!)


Last edited by NekoMaster on Mon Apr 29, 2013 1:03 am, edited 2 times in total.
Top
   
PostPosted: Sun Apr 28, 2013 7:05 am 
Offline
Engineer
Engineer
User avatar

Joined: Wed Jun 23, 2010 8:53 pm
Posts: 73
Location: Moscow, Russia
And what about GRF order? How will category system take into account that one GRF can influence other and in different situations need to be placed before or after specific GRF?

_________________
Image
Image
Image


Top
   
PostPosted: Sun Apr 28, 2013 7:58 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon Sep 28, 2009 5:15 pm
Posts: 5462
Location: Eastern KY
Suggestion: bundle this in .tar format instead of .zip so it can be dropped into your newgrf folder without having to unpack before using.

_________________
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Image

Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | RoadTypes?


Top
   
PostPosted: Sun Apr 28, 2013 12:56 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3415
Skype: neko-master
Location: Oshawa, Ontario, CANADA
Kraks wrote:
And what about GRF order? How will category system take into account that one GRF can influence other and in different situations need to be placed before or after specific GRF?


I find most GRF's behave properly even in the order I have in that screen shot, but players are free to use any order they feel like. Infact 2 GRF's I know of that will freak out if in the wrong order is NuTracks and DB Set XL (Nutracks must be loaded after DB Set XL)

kamnet wrote:
Suggestion: bundle this in .tar format instead of .zip so it can be dropped into your newgrf folder without having to unpack before using.


Done :)

_________________
Proud Canadian
Nekomasters Projects...
# NARS Add-On Set Development (Add more Trains to North America!)
# NML Category System v1.1 (Organize your GRFS!)


Top
   
PostPosted: Sun Apr 28, 2013 3:01 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Tue Mar 06, 2007 7:32 pm
Posts: 1889
Location: In The Dark
Have a look at THIS. Perhaps a combination of the two would be best. Both Grfs contain categories that the other does not have. By combining them you would get the best of both in terms of categories. I do also like the fact that your Grf has the categories in another color. Nice work. Keep going.

_________________
Humor is the second most subjective thing on the planet
------------------------------------------------------------
Brevity is the soul of wit and obscenity is its downfall
--------------------------------------------------------
Good Night And Good Luck - Read You Soon


Top
   
PostPosted: Mon Apr 29, 2013 12:54 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3415
Skype: neko-master
Location: Oshawa, Ontario, CANADA
I forgot about somethings, but I can add more separators.

So far I'm thinking of adding a category for New Objects, but if theres any others that I didn't see, let me know :p

EDIT : Updated with new category, and updated Readme, can't believe I forgot to update the install instructions for the tar download :\

_________________
Proud Canadian
Nekomasters Projects...
# NARS Add-On Set Development (Add more Trains to North America!)
# NML Category System v1.1 (Organize your GRFS!)


Top
   
PostPosted: Mon Apr 29, 2013 1:24 am 
Offline
Tycoon
Tycoon

Joined: Sun Dec 16, 2007 10:24 pm
Posts: 1588
Location: Idaho, USA
Ooooh, you can use color codes in GRF titles? GRF authors should [ab]use that feature more. :twisted:

_________________
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton


Top
   
PostPosted: Mon Apr 29, 2013 5:07 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3415
Skype: neko-master
Location: Oshawa, Ontario, CANADA
Supercheese wrote:
Ooooh, you can use color codes in GRF titles? GRF authors should [ab]use that feature more. :twisted:


Yup, in NML language files, for STR_GRF_NAME you can put a color code in the name like {GREEN}THIS_GRF_WILL_BE_GREEN

Perhaps it could be used as a way to organize new NML sets, having a color for each type like Stations, Trains, Road Vehicles, etc

_________________
Proud Canadian
Nekomasters Projects...
# NARS Add-On Set Development (Add more Trains to North America!)
# NML Category System v1.1 (Organize your GRFS!)


Top
   
PostPosted: Mon Apr 29, 2013 6:52 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Mon Dec 19, 2011 7:54 am
Posts: 341
Location: Washington State, USA
In my experience, NewGRF's with names colored like that will always get sorted to the bottom of the NewGRF list since the game seems to factor in the color code brackets when arranging them alphabetically. So, something which one would expect to fall under the letter 'R' for example, instead gets sorted to the very bottom of the list because of the "{" at the beginning of the name in the language file, screwing up the natural sort order. It's not a huge deal, especially for a set like this, just something to be aware of.

_________________
WSF Ferry Set [WIP] || American Road Replacement Set || NightGFX Base Graphics Set || Wasteland [WIP]


Top
   
PostPosted: Mon Apr 29, 2013 7:16 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3415
Skype: neko-master
Location: Oshawa, Ontario, CANADA
Andrew350 wrote:
In my experience, NewGRF's with names colored like that will always get sorted to the bottom of the NewGRF list since the game seems to factor in the color code brackets when arranging them alphabetically. So, something which one would expect to fall under the letter 'R' for example, instead gets sorted to the very bottom of the list because of the "{" at the beginning of the name in the language file, screwing up the natural sort order. It's not a huge deal, especially for a set like this, just something to be aware of.


Actually its kinda good that way so that all you have to do is go to the bottom of your Unloaded GRF's list and find the separators.

_________________
Proud Canadian
Nekomasters Projects...
# NARS Add-On Set Development (Add more Trains to North America!)
# NML Category System v1.1 (Organize your GRFS!)


Top
   
PostPosted: Mon Apr 29, 2013 7:59 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Mon Dec 19, 2011 7:54 am
Posts: 341
Location: Washington State, USA
Yes, for this instance it is a good thing, but my point was that for regular NewGRFs this could be seen as a disadvantage. (I was replying to your idea of coloring other NewGRF names this way, sorry if I wasn't clear on that. :oops: )

_________________
WSF Ferry Set [WIP] || American Road Replacement Set || NightGFX Base Graphics Set || Wasteland [WIP]


Top
   
PostPosted: Tue Apr 30, 2013 12:26 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3415
Skype: neko-master
Location: Oshawa, Ontario, CANADA
Andrew350 wrote:
Yes, for this instance it is a good thing, but my point was that for regular NewGRFs this could be seen as a disadvantage. (I was replying to your idea of coloring other NewGRF names this way, sorry if I wasn't clear on that. :oops: )


Oh, ok then, though if that starts happening I'll make sure my grfs are easy to find (i'll find some other way to keep them together, in a bunch)

_________________
Proud Canadian
Nekomasters Projects...
# NARS Add-On Set Development (Add more Trains to North America!)
# NML Category System v1.1 (Organize your GRFS!)


Top
   
PostPosted: Thu May 02, 2013 2:38 am 
Offline
Engineer
Engineer

Joined: Tue Apr 23, 2013 3:41 pm
Posts: 1
Thanks for this one. This is very interesting and useful. I like it this way as adding colors make it more organize. Keep it up!


Top
   
PostPosted: Thu May 02, 2013 5:17 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3415
Skype: neko-master
Location: Oshawa, Ontario, CANADA
hanadi51 wrote:
Thanks for this one. This is very interesting and useful. I like it this way as adding colors make it more organize. Keep it up!


Thanks, the NML for this was pretty easy so I was like "Meh, Ill give it a shot". now If i can learn to code train sets and stuff :p

_________________
Proud Canadian
Nekomasters Projects...
# NARS Add-On Set Development (Add more Trains to North America!)
# NML Category System v1.1 (Organize your GRFS!)


Top
   
PostPosted: Sun Jun 22, 2014 3:18 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Thu Oct 28, 2004 4:42 am
Posts: 698
Location: Catch the Fox if you can... 10 years and counting!
Hi NekoMaster :)

Would you mind posting and sharing the Source code?

Thank you.


Top
   
PostPosted: Sun Jun 22, 2014 9:44 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3415
Skype: neko-master
Location: Oshawa, Ontario, CANADA
Um, I actually lost the source code since I didnt think to back up my OpenTTD Projects last time I reformated my computer

What I did isn't very hard, I just coded each GRF's title and details/description to make them the NML categories. As for the green text, you can color text in GRF names and details by using tags like [GREEN] [RED] [BLUE] etc, I believe its limited to each company color.

_________________
Proud Canadian
Nekomasters Projects...
# NARS Add-On Set Development (Add more Trains to North America!)
# NML Category System v1.1 (Organize your GRFS!)


Top
   
PostPosted: Sun Jun 22, 2014 9:58 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Thu Oct 28, 2004 4:42 am
Posts: 698
Location: Catch the Fox if you can... 10 years and counting!
NekoMaster wrote:
Um, I actually lost the source code since I didnt think to back up my OpenTTD Projects last time I reformated my computer

What I did isn't very hard, I just coded each GRF's title and details/description to make them the NML categories. As for the green text, you can color text in GRF names and details by using tags like [GREEN] [RED] [BLUE] etc, I believe its limited to each company color.


Thank you.

Would it be ok if created a NewGRF based on your idea and create a topic to share it with others, sharing the source code + instructions on how to compile and change to everyone taste? :D


Top
   
PostPosted: Sun Jun 22, 2014 10:45 pm 
Offline
Tycoon
Tycoon

Joined: Sun Dec 16, 2007 10:24 pm
Posts: 1588
Location: Idaho, USA
I have very similar grfs with sources available: viewtopic.php?f=26&t=56780&p=972477#p972477

_________________
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton


Top
   
PostPosted: Sun Jun 22, 2014 11:11 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Thu Oct 28, 2004 4:42 am
Posts: 698
Location: Catch the Fox if you can... 10 years and counting!
Supercheese wrote:
I have very similar grfs with sources available: viewtopic.php?f=26&t=56780&p=972477#p972477


My idea is to explain step by step on how to compile the separator, so you're not limited by characters chosen or language, just compile at your own taste. Of course nothing breathtaking :)


Top
   
PostPosted: Sun Jun 22, 2014 11:47 pm 
Offline
Tycoon
Tycoon

Joined: Sun Dec 16, 2007 10:24 pm
Posts: 1588
Location: Idaho, USA
Digitalfox wrote:
My idea is to explain step by step on how to compile the separator, so you're not limited by characters chosen or language, just compile at your own taste. Of course nothing breathtaking :)

Sure, go for it. 8)

_________________
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 21 posts ]  Go to page 1 2 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2017 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2017.
Hosted by Zernebok Hosting.