Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sat Jul 21, 2018 1:47 pm

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat May 20, 2017 2:17 am 
Offline
Engineer
Engineer
User avatar

Joined: Tue Apr 04, 2017 2:36 am
Posts: 11
Quote:
Changes in 6.0.1 (2012-09-21)
- NFORenum specific changes:
- Data file updates
- Action 0 station property 1A.
- Action 2 global variables 06, 0B..0F, 13..16, 1E, 21, 22.
- Action 2 train variables 4C, 61, 62.
- Action 2 road vehicle variables 4B, 4C, 61, 62.
- Action 2 ship variables 4B, 4C.
- Action 2 aircraft variables 4B, 4C.
- Action 5 type 15.
- Callback 15F.
- Add RPN calculations; the RPN expression is replaced by the calculated value.
- GRFcodec specific changes:
- Fix reading/writing the size value for pseudo sprites so pseudo sprites actually work with container v2.
- Reject pseudo sprites that are too large for container v1 when not compiling v2.
- Do not write incomplete sprites when the maximum height of output images is limited.
- Fix reading incorrect graphics when multiple graphics are provided for a sprite and writing a GRF container version 1 GRF and the y position decreases.
- Fix decoding of regular encoded 32bpp sprites.


grfcodec:6.0.6
Code:
grfcodec -d my32bpp.grf
grfcodec -e my32bpp.grf



Why does grfcodec-e generate 8bpp NewGRF file?
:bow:

_________________
https://openttd-newgrf.github.io/
https://openttd-client.github.io/


Top
   
PostPosted: Sat May 20, 2017 3:24 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 4643
Location: home
All NewGRFs with graphics have 8bpp graphics, and some also have a 32bpp graphics. That is, 32bpp is optional, 8bpp is not.

_________________
Being a OpenTTD developer does not mean I know what I am doing.
Also, other OpenTTD developers may have different opinions.


Top
   
PostPosted: Sat May 20, 2017 12:39 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Wed Dec 20, 2006 1:31 pm
Posts: 978
Location: Aschaffenburg
Try
Code:
grfcodec -e -g 2 my32bpp.grf

_________________
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁


Top
   
PostPosted: Sat May 20, 2017 10:32 pm 
Offline
Engineer
Engineer
User avatar

Joined: Tue Apr 04, 2017 2:36 am
Posts: 11
Thanks to Alberth.
Thanks to frosch.
frosch wrote:
Try
Code:
grfcodec -e -g 2 my32bpp.grf

It works!

_________________
https://openttd-newgrf.github.io/
https://openttd-client.github.io/


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

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-2018 phpBB Limited

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