TTDPatchAutoInstaller
Moderator: TTDPatch Moderators
TTDPatchAutoInstaller
While the discussion of GPL code and non-gpl code, and because it was mentioned in the TTDX Configurator news topic aswell, here are some informations for non #tycoon users.
As I always tried to make the support for TTDPatch easier so I started 3 days ago an installer project for TTDPatch
Some facts:
+ Web install system (a bit like the cygwin setup.exe)
+ will install TTDPatch for Windows Version.
+ checks if TTD Win is correctly installed, means it will deny installation of TTDPatch and give hints how to solve it. (Links to sites)
+ get current version info from TTDPatch by web. (This means the installer will even work in the beta phase)
+ ask the User to select a mirror for the selected TTDPatch Version
+ downloads TTDPatchW and special default config options.
+ supports different languages
* Ask the user what configuration he wants:
Like a checkbox for realistic settings, common settings.
If a old config is found, a) do a cfg update or b) let it stay intact. c) remove it and let the user decide again what configuration he wants.
+ Will create desktop shortcuts for ttdpatchw.exe
+ Will create shortcuts for manual in the the app menu aswell
* Will create shortcuts to open ttdpatch.cfg, newgrfw.cfg
+ Try to install a grf package for TTDPatch features, erails, signals so they work out of the box. Problem overwriteing maybe old grf sets...
F Give path to TTD Dir even when it isn't in the registry
+ = Finished
* = in Progress
F = Future addons
It should make the installing experience better for TTDPatch,
it should reduce support for people not installing TTD right before TTDPatch.
You can leave comments if you like but Comments about adding the support to download TTD are considered spam.
Pre alpha release
The config generation is not tested.
You can download it at http://www.ttdpatch.net/install/TTDPatchAutoInstall.exe
Hint: There is a build in system so prevent old versions running, means don't try to host it somewhere currently as I will change the required version every pre alpha release of it. So there are no broken versions around... Ohh, the link will change maybe aswell.
Disclaimer: I am not responsible for any harm the installer could do. Parts of it are untested.
As I always tried to make the support for TTDPatch easier so I started 3 days ago an installer project for TTDPatch
Some facts:
+ Web install system (a bit like the cygwin setup.exe)
+ will install TTDPatch for Windows Version.
+ checks if TTD Win is correctly installed, means it will deny installation of TTDPatch and give hints how to solve it. (Links to sites)
+ get current version info from TTDPatch by web. (This means the installer will even work in the beta phase)
+ ask the User to select a mirror for the selected TTDPatch Version
+ downloads TTDPatchW and special default config options.
+ supports different languages
* Ask the user what configuration he wants:
Like a checkbox for realistic settings, common settings.
If a old config is found, a) do a cfg update or b) let it stay intact. c) remove it and let the user decide again what configuration he wants.
+ Will create desktop shortcuts for ttdpatchw.exe
+ Will create shortcuts for manual in the the app menu aswell
* Will create shortcuts to open ttdpatch.cfg, newgrfw.cfg
+ Try to install a grf package for TTDPatch features, erails, signals so they work out of the box. Problem overwriteing maybe old grf sets...
F Give path to TTD Dir even when it isn't in the registry
+ = Finished
* = in Progress
F = Future addons
It should make the installing experience better for TTDPatch,
it should reduce support for people not installing TTD right before TTDPatch.
You can leave comments if you like but Comments about adding the support to download TTD are considered spam.
Pre alpha release
The config generation is not tested.
You can download it at http://www.ttdpatch.net/install/TTDPatchAutoInstall.exe
Hint: There is a build in system so prevent old versions running, means don't try to host it somewhere currently as I will change the required version every pre alpha release of it. So there are no broken versions around... Ohh, the link will change maybe aswell.
Disclaimer: I am not responsible for any harm the installer could do. Parts of it are untested.
Last edited by eis_os on 13 Jan 2006 18:32, edited 3 times in total.
Re: TTDPatchAutoInstaller
eis_os wrote:While the discussion of GPL code and non-gpl code, and because it was mentioned in the TTDX Configurator news topic aswell, here are some informations for non #tycoon users.
As I always tried to make the support for TTDPatch easier so I started 3 days ago an installer project for TTDPatch
Some facts:
+ Web install system (a bit like the cygwin setup.exe)
+ will install TTDPatch for Windows Version.
+ checks if TTD Win is correctly installed, means it will deny installation of TTDPatch and give hints how to solve it. (Links to sites)
+ get current version info from TTDPatch by web. (This means the installer will even work in the beta phase)
+ ask the User to select a mirror for the selected TTDPatch Version
+ downloads TTDPatchW and special default config options.
+ supports different languages
* Ask the user what configuration he wants:
Like a checkbox for realistic settings, common settings.
If a old config is found, a) do a cfg update or b) let it stay intact. c) remove it and let the user decide again what configuration he wants.
+ Will create desktop shortcuts for ttdpatchw.exe
+ Will create shortcuts for manual in the the app menu aswell
* Will create shortcuts to open ttdpatch.cfg, newgrfw.cfg
F *urgent* Try to install a grf package for TTDPatch features, erails, signals so they work out of the box. Problem overwriteing maybe old grf sets...
F Give path to TTD Dir even when it isn't in the registry
+ = Finished
* = in Progress
F = Future addons
It should make the installing experience better for TTDPatch,
it should reduce support for people not installing TTD right before TTDPatch.
You can leave comments if you like but Comments about adding the support to download TTD are considered spam.
Umm its sound good


TT-Screenshot Of The Month - 2012 July, winner!
TT-Screenshot Of The Month - 2013 May, winner tie with Purno!
TT-Screenshot Of The Month - 2014 February, winner!
TT-Screenshot Of The Month - 2014 June, winner tie with alluke!
TT-Screenshot Of The Month - 2014 April, winner!
My screen shot thread ---> Have a look
TT-Screenshot Of The Month - 2013 May, winner tie with Purno!
TT-Screenshot Of The Month - 2014 February, winner!
TT-Screenshot Of The Month - 2014 June, winner tie with alluke!
TT-Screenshot Of The Month - 2014 April, winner!
My screen shot thread ---> Have a look
Everyone will be rapt in this tactical change of heart by eis_os.
He has isolated TTD from the action, and instead just installs the Patch and new graphics. A masterstroke.
Well done eis_os
Once again you have surprised us.......
Having thought about it for 24 hours, my instincts say to keep it simple.
Perhaps a clean install only, and not to download Alphas at least not at first.
He has isolated TTD from the action, and instead just installs the Patch and new graphics. A masterstroke.

Well done eis_os

Having thought about it for 24 hours, my instincts say to keep it simple.
Perhaps a clean install only, and not to download Alphas at least not at first.

Last edited by Flavius on 13 Dec 2005 06:19, edited 1 time in total.
Certainly if you select "novice" settings, I think it should also install TTDXC for you.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Actually for novice it will be even easier, we allow to use some presets to get a ground start.
Actually currently I try to find a good way to actually put all feature dependent grf files into a newgrf.cfg for a quick start. You install TTDPath with it and click ttdpatch *boom* instead working. Thats the goal, no need for extra configuration.
Actually currently I try to find a good way to actually put all feature dependent grf files into a newgrf.cfg for a quick start. You install TTDPath with it and click ttdpatch *boom* instead working. Thats the goal, no need for extra configuration.
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...


Yes i agree with krtaylor, there is no need to tippyto onto TTDXC turf.
Keep it simple by providing minimal settings.
Would prefer one day that TTDPatch would revert to Beta's. Maybe this product could smooth the way
Think of the maintenance of tackleing Alphas, the constant releases
Not to mention the questions from novices that may have to be fielded.
Keep it simple by providing minimal settings.

Would prefer one day that TTDPatch would revert to Beta's. Maybe this product could smooth the way

Think of the maintenance of tackleing Alphas, the constant releases

Not to mention the questions from novices that may have to be fielded.

One thing that would be very nice, but which maybe more properly belongs in TTDXC, is a hotlink from each switch, to the relevant page on the Wiki that explains it.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
- spaceman-spiff
- Retired Moderator
- Posts: 20634
- Joined: 28 Jul 2002 07:08
- Location: Belgium
- Contact:
Well, that was what I wanted, give us a head start, especially usefull if you haven't played for a long time and you're behind on everythingeis_os wrote:Actually for novice it will be even easier, we allow to use some presets to get a ground start.
Actually currently I try to find a good way to actually put all feature dependent grf files into a newgrf.cfg for a quick start. You install TTDPath with it and click ttdpatch *boom* instead working. Thats the goal, no need for extra configuration.
Well, back to work, lot's of it in the near future
You should make optionally available a shortcut to TTDXC in the desktop, in order to create a mid point between users who edit their CFG under Linux and those who don't known where the heck is the CFG file nor how to open it. Also, not installing ttdxc will make those users permanently stuck with the same version, I don't have to mention the benefits of staying up top date with TTDP and the new switches and graphics and so on.
Also, you must provide proper download locations for TTD with large blinking icons and messages, otherwise tons of users will appear here asking "game ¡s not workin I dled ttd and click next but it not work heeeelp!!"...
Also, you must provide proper download locations for TTD with large blinking icons and messages, otherwise tons of users will appear here asking "game ¡s not workin I dled ttd and click next but it not work heeeelp!!"...
You can't install TTDPatch with the AutoInstaller before you properly install TTD. The page has already a link button for further stuff
but without a good link currently.
(And it will be always installed into the TTD Win dir, there is actually no other way
)
There are links for the manual, the ttdpatch website, and I will add links to the tools page aswell. Generally you could update your ttdpatch aswell with the autoinstaller as it knows if you have ttdpatch.cfg and will not overwrite it.
(Or you tell it to do it)
An fancy update system can be later added, currently it's not my goal. Actually the user can use TTDXC for that if they wish.
The only desktop link is and will be ttdpatch itself.
But the Start Menu -> TTDPatch can have more url links
My first goal is to have it download grf files when needed so the installer is useable. Later it can be fine tuned....
And that means I know need to teach nsis how to read newgrfw configs and check maybe with md5sums to test if the grfs is old or up to date...

(And it will be always installed into the TTD Win dir, there is actually no other way

There are links for the manual, the ttdpatch website, and I will add links to the tools page aswell. Generally you could update your ttdpatch aswell with the autoinstaller as it knows if you have ttdpatch.cfg and will not overwrite it.
(Or you tell it to do it)
An fancy update system can be later added, currently it's not my goal. Actually the user can use TTDXC for that if they wish.
The only desktop link is and will be ttdpatch itself.
But the Start Menu -> TTDPatch can have more url links

My first goal is to have it download grf files when needed so the installer is useable. Later it can be fine tuned....
And that means I know need to teach nsis how to read newgrfw configs and check maybe with md5sums to test if the grfs is old or up to date...
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...


I think this is a very good start, and I'm looking forward to it!
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
I can tell you right now, somone who is playing TTD+Patch under linux will most likely not be using this installer. Or TTDXC.Andrex wrote:...in order to create a mid point between users who edit their CFG under Linux...
We already have to compile/install the right build of WINE, install the game manually and make registry entries manually, we usually are all pretty prepared to write our own newgrf config and edit the ttdpatch config aswell.
Currently working under the name 'reldred' on Github, and Discord.
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.
14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.
14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
Ehm, please stay on topic and Aegir read again what Andrex wrote you missed his point a totally.
Actually there are a lot of people who use plain old notepad or wordpad to edit their configs. Why is linux always used as example for stuff like this? I don't know and it's not part of this discussion.
NSIS is not the perfect system to create the webinstaller, so it's very problematic to read the newgrfw.cfg, result I need A LOT extra time so it's in a stage I can search victims to beta test it.
Actually there are a lot of people who use plain old notepad or wordpad to edit their configs. Why is linux always used as example for stuff like this? I don't know and it's not part of this discussion.
NSIS is not the perfect system to create the webinstaller, so it's very problematic to read the newgrfw.cfg, result I need A LOT extra time so it's in a stage I can search victims to beta test it.

TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...


In my mind, by definition anyone using Linux is something of a computer expert, and thus can be expected to be better able to figure out the details of working the Patch. No complete n00b is going to be on Linux in the first place.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Didn't I wrote:
People who never used Win32 before are quite happy with it.
But I don't want to discuss this in here. If you have the need, you can contact me via pm.
The next post without something usefull to contributed will be spam-binned without notice. *
*As GoneWacko said I shouldn't use abuse my mod-powers don't take it that serious
Regardless Linux is useable for "New Users" and "complete n00b".eis_os wrote:Why is linux always used as example for stuff like this? I don't know and it's not part of this discussion.
People who never used Win32 before are quite happy with it.
But I don't want to discuss this in here. If you have the need, you can contact me via pm.
The next post without something usefull to contributed will be spam-binned without notice. *
*As GoneWacko said I shouldn't use abuse my mod-powers don't take it that serious

TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...


I have added a md5sum test for grfs and can parse newgrfw.cfg more or less. This means I should be able to create an test if the grf file you are useing is the same as on ttdpatch.net for the version. Now I need some gui work and A LOT of small stuff to put all together ...
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...


Id be willing to test for 98
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Screenshots
- Attachments
-
- ttdpauto3.png (13.34 KiB) Viewed 7497 times
-
- ttdpauto2.png (13.05 KiB) Viewed 7497 times
-
- ttdpauto1.png (16.37 KiB) Viewed 7497 times
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...


Who is online
Users browsing this forum: No registered users and 15 guests