Some Requests (Help Needed)

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
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Some Requests (Need Help)

Post by planetmaker »

RL Conroy wrote:
lawton27 schreef:
Yes when you decompile it you should be able to see the name in clear text, of course you can't release someone else's grf just edited so the only use of that might be to add that its your version and not for release so you don't forget.
Let me guess... It's in the NFO
But how to open and Edit it?
With a plain text editor of your choice.
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Need Help)

Post by RL Conroy »

Yes when you decompile it you should be able to see the name in clear text
With a plain text editor of your choice.
You are Kidding me... Is that So Simple?
So i can open it with Notepad?

Wow it works!
Oh no... Not more Numbers :shock:
EDIT: <Removed Text because it sounds Confusing>

REEDIT:
Oh and i'm going to Understand the NFO Code in GRFCodec!
But what means Everything?

<pcx filename> <x> <y> <type> <y-size> <x-size> <x-ofs> <y-ofs> :?:
Can someone Explain it?
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Need Help with NFO)

Post by RL Conroy »

Please?
I only want to Know what this means at GRFCodec:

Code: Select all

<pcx filename> <x> <y> <type> <y-size> <x-size> <x-ofs> <y-ofs>
Can Someone Help me?
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Need Help with NFO)

Post by RL Conroy »

Yes thank you planetmaker. :wink:
Now i can Create my GRF! :D

EDIT: Ehmm... What means Property 7800?
Can't find it out..

Code: Select all

258 7800 01 21 6 -2 -19
Founded what The 7 Bit Means: "PBS"
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Some Requests (Need Help with NFO)

Post by FooBar »

That doesn't seem to be a proper sprite. It looks like part of a real sprite, missing the file name and x-pos
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Need Help with NFO)

Post by RL Conroy »

Here is the Code what i'm Working/Talking about.

Code: Select all

6517 sprites/dbsetxlw.pcx 258 7800 01 21 6 -2 -19
6518 sprites/dbsetxlw.pcx 274 7800 01 21 6 -2 -19
6519 sprites/dbsetxlw.pcx 290 7800 01 21 6 -2 -19
6520 sprites/dbsetxlw.pcx 306 7800 01 21 6 -2 -19
6521 sprites/dbsetxlw.pcx 322 7800 01 21 6 -2 -19
6522 sprites/dbsetxlw.pcx 338 7800 01 21 6 -2 -19
6523 sprites/dbsetxlw.pcx 354 7800 01 21 6 -2 -19
6524 sprites/dbsetxlw.pcx 370 7800 01 21 6 -2 -19
6525 sprites/dbsetxlw.pcx 386 7800 01 21 6 -2 -19
6526 sprites/dbsetxlw.pcx 402 7800 01 21 6 -2 -19
6527 sprites/dbsetxlw.pcx 418 7800 01 21 6 -2 -19
6528 sprites/dbsetxlw.pcx 434 7800 01 21 6 -2 -19
6529 sprites/dbsetxlw.pcx 450 7800 01 21 6 -2 -19
6530 sprites/dbsetxlw.pcx 466 7800 01 21 6 -2 -19
6531 sprites/dbsetxlw.pcx 482 7800 01 21 6 -2 -19
6532 sprites/dbsetxlw.pcx 498 7800 01 21 6 -2 -19
6533 sprites/dbsetxlw.pcx 514 7800 01 21 6 -2 -19
6534 sprites/dbsetxlw.pcx 530 7800 01 21 6 -2 -19
6535 sprites/dbsetxlw.pcx 546 7800 01 21 6 -2 -19
6536 sprites/dbsetxlw.pcx 562 7800 01 21 6 -2 -19
6537 sprites/dbsetxlw.pcx 578 7800 01 21 6 -2 -19
6538 sprites/dbsetxlw.pcx 594 7800 01 21 6 -2 -19
6539 sprites/dbsetxlw.pcx 610 7800 01 21 6 -2 -19
6540 sprites/dbsetxlw.pcx 626 7800 01 21 6 -2 -19
6541 sprites/dbsetxlw.pcx 642 7800 01 21 6 -2 -19
6542 sprites/dbsetxlw.pcx 658 7800 01 21 6 -2 -19
6543 sprites/dbsetxlw.pcx 674 7800 01 21 6 -2 -19
6544 sprites/dbsetxlw.pcx 690 7800 01 21 6 -2 -19
6545 sprites/dbsetxlw.pcx 706 7800 01 21 6 -2 -19
6546 sprites/dbsetxlw.pcx 722 7800 01 21 6 -2 -19
6547 sprites/dbsetxlw.pcx 738 7800 01 21 6 -2 -19
6548 sprites/dbsetxlw.pcx 754 7800 01 21 6 -2 -19
Directly from GRFCodec!

This are Oneway & Twoway PBS Signals from the DBSETXL.
I am Creating a GRF that Replaces the PBS Signals only.
Last edited by RL Conroy on 11 Sep 2010 19:12, edited 1 time in total.
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Some Requests (Need Help with NFO)

Post by FooBar »

Well yes, those are correct real sprites. The snippet you showed earlier is not.
In this code 7800 is the value for y-pos, i.e. the y-value for the location of the sprite in the pcx file, measured in pixels from the top of the file.

Also note that you cannot 'just' replace the PBS signals, you need to replace/re-add the presignal and semaphore graphics. Why? That's just how the specification works.
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Need Help with NFO)

Post by RL Conroy »

Oh but that is Simple.
I (can? ?() Reuse the Code from the Files ttdpbasew.grf.

I have ALL the Sprites of the Original Pre-Signal & Semaphore Sprites.
And also the Sprites from DBSETXL i wanna Replace.
But what mean the First line of Numbers just After the FileName from the Codes Above?
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: Some Requests (Need Help with NFO)

Post by michael blunck »

RL Conroy wrote: I (can? ?() Reuse the Code from the Files ttdpbasew.grf.

I have ALL the Sprites of the Original Pre-Signal & Semaphore Sprites.
And also the Sprites from DBSETXL i wanna Replace.
I don´t know exactly what you´re going to do, but let me tell you that the DB Set is not under the GPL or a similar license, so you cannot "use" something from it and release it.

The (older) signals.grf is under the GPL, though. Those signals are also part of TTDPatch.grf and OTTD.

regards
Michael
Image
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Need Help with NFO)

Post by RL Conroy »

michael blunck wrote:I don´t know exactly what you´re going to do
I'm trying to Create a GRF for myself to Replace my Strange PBS Signals.
If i'm going to Release Something i first Ask before i do that.

The PBS Signals from TTDPatch are WAY more Nicer that the OpenTTD Version. (That's my Opinion.)
Ever seen a Signal with only 2 Lights BOTH on Red or GREEN? :? I don't.
But can/may i do that?

EDIT3: Or can you michael Release a GRF with those Signals?
I think that other People want that too.

EDIT: Which Code must i Add to get my Own GRF Name and Description?
Nevermind, Founded it
Last edited by RL Conroy on 14 Sep 2010 15:57, edited 2 times in total.
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (Need Help with NFO)

Post by RL Conroy »

:!: UPDATE: I Created my First GRF! :D I Replaced my Block Signals! WooHoo!
And now the other Signals are on the Way to be Replaced!
And then i will Create Station Tiles!
Thanks for all your help to make it this far for me! :wink:
:!: UPDATE: I Created my Second GRF that Replaces the PBS Signals into PBS Signals from TTDPatch!

<Reedited Post>
Attachments
PBS Signals.png
PBS Signals.png (20.59 KiB) Viewed 2241 times
Last edited by RL Conroy on 23 Sep 2010 19:06, edited 4 times in total.
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (GRF Released: PBS Signal Replacement)

Post by RL Conroy »

I wanna put the PBS Signal Replacement on GRFCrawler but i Can't Upload a Picture!
I met all the Requirements to Upload it but it says this to me when i do that:
Invalid chars like / ' \ or spaces
What can i do to make it work? ?(

And also what means this Code:

Code: Select all

511 * 6        07 85 01 \70 3B F2
512 * 6        07 86 01 \70 04 F1
(Included in openttdw.grf)
Is this the Code to Allow More Graphics (Semaphores) for on Driving Side?
Can someone Explain it?
Because at TTDPatch Wiki thay say Nothing about it.
Or i'm Looking on the Wrong place
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Some Requests (GRF Released: PBS Signal Replacement)

Post by FooBar »

RL Conroy wrote:What can i do to make it work?
Use a different filename, like one with just letters and/or numbers.
RL Conroy wrote:And also what means this Code:
Action 7 property 85 and 86 respectively, read one byte, skip if flag 3B and 04 respectively are not set, skip F2 and F1 sprites respectively (or skip to labels F2 and F1 respectively).
The wiki has the exact details. If you want to know something about an action 7, you need not look at a varaction2 page. Look here instead: http://wiki.ttdpatch.net/tiki-index.php?page=Action7
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (GRF Released: PBS Signal Replacement)

Post by RL Conroy »

So that means i can use this Code to Create Signals Depending on the Switch "Show Signals to Drive Side"?
I hope so because then i can Complete my "PBS Signal Replacement" GRF!
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
Timmaexx
Transport Coordinator
Transport Coordinator
Posts: 301
Joined: 03 Jan 2009 17:55

Re: Some Requests (GRF Released: PBS Signal Replacement)

Post by Timmaexx »

Those signals are looking very similar to MB's ones, aren't they?
User avatar
RL Conroy
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 04 Sep 2010 12:28
Location: Nijmegen, Holland

Re: Some Requests (GRF Released: PBS Signal Replacement)

Post by RL Conroy »

...Um yes they are but is that not good then?
micheal blunck said this some posts ago:
michael blunck wrote:The (older) signals.grf is under the GPL, though. Those signals are also part of TTDPatch.grf and OTTD.
If it is not Good that this GRF is Here i will Remove it at once.
Conroy: This is Rebel Leader to base. Rebel Transport 2001 has been destroyed and parts for Teleport Device have been lost. We need those Parts! Conroy out.
Erik: What the... What was that all about?
Baleog: I don't know. But he did mention the words "Teleport Device" and "Parts". Quote from the Game "Lost Vikings 2"
4f 70 65 6e 54 54 44 20 52 6f 63 6b 73 21 Hex Code
Find out what the Hex Code means! | Dec/Hex/Oct/Bin Table | Screenshots! | Topic TrafficLight Junction | TTDPatch Wiki | My Website! |
Timmaexx
Transport Coordinator
Transport Coordinator
Posts: 301
Joined: 03 Jan 2009 17:55

Re: Some Requests (GRF Released: PBS Signal Replacement)

Post by Timmaexx »

I just wanted to publish my opinion, not to accuse you!
If the NewGRF is under GPLv2 you can do whatever you want to do with that ;)
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Some Requests (GRF Released: PBS Signal Replacement)

Post by Yexo »

Timmaexx wrote:If the NewGRF is under GPLv2 you can do whatever you want to do with that ;)
That is not true. If the original is licensed under GPLv2, then you have to publish your modified version also under GPLv2. That means you have to publish your source code, which I don't see yet in this topic. In fact I see no license at all in this topic, which would default to "it's mine, you can't do anything with it" and which is definitely not compatible to the GPL.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Some Requests (GRF Released: PBS Signal Replacement)

Post by planetmaker »

RL Conroy wrote:...Um yes they are but is that not good then?
michael blunck wrote:The (older) signals.grf is under the GPL, though.
A GPL license implies not "I can use it and do whatever with it". You only can re-use GPL'ed work when:
- you always give the right credits: indicate what is your work and what is the work of others (whose?) correctly
- you always supply the license which MUST remain GPL.
- you offer to supply the source code for at least three years; the compiled grf is not the source code. You may alternatively publish the source.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Amazon [Bot] and 14 guests