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
HOW TO?
Moderator: Graphics Moderators
HOW TO?
For every addition of knowledge u aquire, you forget something that you knew before
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:
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.
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
>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
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
- Wile E. Coyote
- Tycoon
- Posts: 8515
- Joined: 08 Jul 2004 22:14
- Skype: wile.e.coyote2
- Location: Belgrade, Serbia
- Contact:
Re: HOW TO?
Yes, current version converts only GRFs, I'll certainly do version with EXEs converting when I'll have more time to do thatBirdey wrote:i have tried to use that "win-dos graphics converter" but it only useful for grf files...

Watch following topic for new version:

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!
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!
Who is online
Users browsing this forum: No registered users and 11 guests