Cannot resize window
Moderator: TTDPatch Moderators
Cannot resize window
So I recently had to reinstall TTDPatch on a new computer with Windows 7. I've managed to get it working fine except for one persistent issue: I can't get the game window to show another size, which is predictably quite annoying on a 900x1600 resolution... I've tried inputting everything for "StrechWindow", all to no avail.
(on the side, I can't get rid of an "Error loading new graphics: Wrong grf version" error on ttdbasew.grf of all things, but the game runs fine nonetheless, so I ignore it.)
(on the side, I can't get rid of an "Error loading new graphics: Wrong grf version" error on ttdbasew.grf of all things, but the game runs fine nonetheless, so I ignore it.)
-
- Tycoon
- Posts: 5954
- Joined: 27 Apr 2005 07:09
- Contact:
Re: Cannot resize window
Are you aware that this works only in windowed mode, but not in fullscreen?.Circeus wrote: I've managed to get it working fine except for one persistent issue: I can't get the game window to show another size, which is predictably quite annoying on a 900x1600 resolution... I've tried inputting everything for "StrechWindow", all to no avail.
See http://www.tt-forums.net/viewtopic.php?p=674392#p674392Circeus wrote: (on the side, I can't get rid of an "Error loading new graphics: Wrong grf version" error on ttdbasew.grf of all things, but the game runs fine nonetheless, so I ignore it.)
HTH
regards
Michael
Re: Cannot resize window
It took me a while to get the game to stop running in 600x800 fullscreen to begin with, and now it is in Windowed mode (I had to run TTconfig.exe in compatibility mode and select windowed mode). In any case, that is not the problem.michael blunck wrote:Are you aware that this works only in windowed mode, but not in fullscreen?.Circeus wrote: I've managed to get it working fine except for one persistent issue: I can't get the game window to show another size, which is predictably quite annoying on a 900x1600 resolution... I've tried inputting everything for "StrechWindow", all to no avail.
MAYBE the downloads on the TTDPatch site need to be updated? They're still set to the 2004 files... Now I get a different error about dbsetw.grf having invalid sprite #2012.See http://www.tt-forums.net/viewtopic.php?p=674392#p674392Circeus wrote: (on the side, I can't get rid of an "Error loading new graphics: Wrong grf version" error on ttdbasew.grf of all things, but the game runs fine nonetheless, so I ignore it.)
HTH
regards
Michael
-
- Tycoon
- Posts: 5954
- Joined: 27 Apr 2005 07:09
- Contact:
Re: Cannot resize window
Apparently, you´re using quite old newGRFs. You might download a newer version from http://www.ttdpatch.de/download.html.Circeus wrote: [...] Now I get a different error about dbsetw.grf having invalid sprite #2012.
regards
Michael
Re: Cannot resize window
I'm a little confused how you managed to find "stretchwindow", but you didn't find "resolutionwidth" or "resolutionheight". Anyway, you want the latter.Circeus wrote:It took me a while to get the game to stop running in 600x800 fullscreen to begin with, and now it is in Windowed mode (I had to run TTconfig.exe in compatibility mode and select windowed mode). In any case, that is not the problem.michael blunck wrote:Are you aware that this works only in windowed mode, but not in fullscreen?.Circeus wrote:I've managed to get it working fine except for one persistent issue: I can't get the game window to show another size, which is predictably quite annoying on a 900x1600 resolution... I've tried inputting everything for "StrechWindow", all to no avail.
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
Re: Cannot resize window
I was under the impression that resolutionX had to do with the fullscreen. They didn't do jackpot either.
Re: Cannot resize window
Can you post your ttdpatch.cfg file?Circeus wrote:They didn't do jackpot either.
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Cannot resize window
With pleasure! I haven't been editing it directly (using ttdpc.exe), maybe I missed something along the line...wallyweb wrote:Can you post your ttdpatch.cfg file?
- Attachments
-
- ttdpatch.cfg
- (44.48 KiB) Downloaded 259 times
Re: Cannot resize window
(Oh Boy! /me is going to have some fun at orudge's and the moderators' expense!
) )
Essayez:

Voyons! C'est tout en français! Vous êtes chanceux que je suis Canadiens. Est ce que vous parlez le québécois?Circeus wrote:With pleasure! I haven't been editing it directly (using ttdpc.exe), maybe I missed something along the line...wallyweb wrote:Can you post your ttdpatch.cfg file?

Essayez:
Code: Select all
// `resolutionheight' (-Zh) active et spécifie la hauteur du patch de résolution.
resolutionheight 900
// `resolutionwidth' (-Zw) active et spécifie la largeur du patch de résolution.
resolutionwidth 1600
// `stretchwindow' (-XW) étire la fenêtre de TTD à la largeur spécifiée en pixels (uniquement pour la version windows en mode fenêtré). Valeur de 40 à 20480. Défaut 1280.
stretchwindow off
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Cannot resize window
C'est la faute de l'installation Windows en français. s'il y a un moyen de forcer TTDPatch à fonctionner en anglais, je ne le connais pas. Et oui, je suis Québécois XDVoyons! C'est tout en français! Vous êtes chanceux que je suis Canadiens. Est ce que vous parlez le québécois?![]()
Your suggestion doesn't work, either in fullscreen (I get the same 600x500 resolution deformed to 1600x900) or windowed (I get the uselessly tiny window).
Re: Cannot resize window
Moi, je suis de Montréal, mais ça fait un bon 40 ans que je suis un gas des Maritimes ... pas tout a fait un Acadien. Apparament il faut qu'on parle le Chiac avant qu'ils nous donnes les pièces d'identité.Circeus wrote: Et oui, je suis Québécois XD

OK ... here is my set up:Your suggestion doesn't work, either in fullscreen (I get the same 600x500 resolution deformed to 1600x900) or windowed (I get the uselessly tiny window).
I have a Dell PC running XP Pro SP3. My display is set to 1024x768. My ttpatchw.cfg has resolutionheight=600 and resolutionwidth=800. Setting TTConfig.EXE to Mode 1 gives me a nice 800x600 window while Mode 3 overrides ttdpatch and gives me a nice full screen.
I also have a HP laptop that runs Windows 7. When I saw your problem, I updated my TTDX instalation with the ttdpatchw.cfg from my XP box. The laptop's display is set to 1280x800. ttdpatchw is still 800x600. TTConfig.EXE Mode 1 gives me a uselessly small 800x600 (?) game window but Mode 3 gives me a nice full screen display.
So, here is my suggestion (if you haven't already tried it), set your ttdpatchw to resolutionheight=600 and resolutionwidth=800 and your TTConfig.EXE to Mode 3 or 4. Let us know what happens.
EDIT: Also set forcerebuildovl=on
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Cannot resize window
Je suis de Québec, mais j'habite à Montréal depuis cinq ans.wallyweb wrote:Moi, je suis de Montréal, mais ça fait un bon 40 ans que je suis un gas des Maritimes ... pas tout a fait un Acadien. Apparament il faut qu'on parle le Chiac avant qu'ils nous donnes les pièces d'identité.Circeus wrote: Et oui, je suis Québécois XD
Right now I got a Windows 7 with 1600*900.OK ... here is my set up:
I have a Dell PC running XP Pro SP3. My display is set to 1024x768. My ttpatchw.cfg has resolutionheight=600 and resolutionwidth=800. Setting TTConfig.EXE to Mode 1 gives me a nice 800x600 window while Mode 3 overrides ttdpatch and gives me a nice full screen.
I also have a HP laptop that runs Windows 7. When I saw your problem, I updated my TTDX instalation with the ttdpatchw.cfg from my XP box. The laptop's display is set to 1280x800. ttdpatchw is still 800x600. TTConfig.EXE Mode 1 gives me a uselessly small 800x600 (?) game window but Mode 3 gives me a nice full screen display.
So, here is my suggestion (if you haven't already tried it), set your ttdpatchw to resolutionheight=600 and resolutionwidth=800 and your TTConfig.EXE to Mode 3 or 4. Let us know what happens.
Okay, I think I got this sh*t figured out: ttdpc.exe did not actually edit the frickin' configuration file. It pretends it does, but all it actually edits is the switches.xml file. I think I'll just copy my old file now <<
Re: Cannot resize window
Ça suffi de 5 minutes dans une taverne à Montréal afin de se déclarer Montréalais.Circeus wrote:Je suis de Québec, mais j'habite à Montréal depuis cinq ans.
That happened to me too when I tried to update my laptop TTDX installation today. Come to think of it, that was the first time that I fired up TTDX on the laptop. TTDPC works on Windows XP so I think the issue lies between Windows 7 and switches.xml. I wonder if running under XP mode is the cause.Okay, I think I got this sh*t figured out: ttdpc.exe did not actually edit the frickin' configuration file. It pretends it does, but all it actually edits is the switches.xml file.
That worked for me.I think I'll just copy my old file now <<

EDIT! : AHA! The ttdpc version that comes with orudge's download is 1.2.0 ... The current version is 1.3.1.10 ... Installed and tested ... seems to work.
EDIT 2 : Fixed the broken link.

wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Cannot resize window
Yeah, that did the trick. Thanks for the link
Re: Cannot resize window
You're welcome.Circeus wrote:Yeah, that did the trick. Thanks for the link

Now stay out of the tunnels and avoid Boulevard Décarie in a rain storm.

wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Cannot resize window
C'est pas comme si je conduisait XDwallyweb wrote:You're welcome.Circeus wrote:Yeah, that did the trick. Thanks for the link![]()
Now stay out of the tunnels and avoid Boulevard Décarie in a rain storm.
Re: Cannot resize window
Je croix que c'est aussi bien applicable aux piétons, non?Circeus wrote:C'est pas comme si je conduisait XD

wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Cannot resize window
Qu'est-ce qu'un piéton irait faire dans les tranchées de Décarrie? XDwallyweb wrote:Je croix que c'est aussi bien applicable aux piétons, non?Circeus wrote:C'est pas comme si je conduisait XD
Re: Cannot resize window
Courir! ... À toute vitesse!Circeus wrote:Qu'est-ce qu'un piéton irait faire dans les tranchées de Décarrie? XD

wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Who is online
Users browsing this forum: No registered users and 7 guests