HOW TO?

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

Post Reply
Birdey
Engineer
Engineer
Posts: 90
Joined: 12 Oct 2004 04:59
Location: Sydney, Australia
Contact:

HOW TO?

Post by Birdey »

i have searched this site for "covert and dos" and "convertion and dos" but anything relevent.... can someone help

i need to convert a dos exe to a windows exe..... i have tried to use that "win-dos graphics converter" but it only useful for grf files...

i have also tried to use the grf wizzard but it is only for encoding/decodeing grf files...

thankz in advanced

Birdey
For every addition of knowledge u aquire, you forget something that you knew before
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

I assume you already have the GRFCodec package?
Use grdtogrf to create grf file from the exe.
Then convert the grf from DOS format to Win format in whatever way seems best to you. I use a batchfile:

Code: Select all

@echo off
grfcodec -d %1.grf
grfcodec -em 0 %1.grf
grfcodec -dp 2 %1.grf
And type eg:
>DOS2Win Chinook
The last line may be omitted if you don't want its effect; it replaces the DOS-paletted PCX with a Windows-paletted PCX. For historical reasons, I use Win palette by default, so this is the effect I want.
Last edited by DaleStan on 17 Feb 2005 11:23, edited 1 time in total.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Re: HOW TO?

Post by Wile E. Coyote »

Birdey wrote:i have tried to use that "win-dos graphics converter" but it only useful for grf files...
Yes, current version converts only GRFs, I'll certainly do version with EXEs converting when I'll have more time to do that :P
Watch following topic for new version: :wink:
http://www.tt-forums.net/viewtopic.php?t=12734
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 11 guests