TTDPatchAutoInstaller

Get help, info, news and advice about the Transport Tycoon Deluxe patch.

Moderator: TTDPatch Moderators

User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

TTDPatchAutoInstaller

Post by eis_os »

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.
Last edited by eis_os on 13 Jan 2006 18:32, edited 3 times in total.
User avatar
ISA
Tycoon
Tycoon
Posts: 3384
Joined: 17 Oct 2005 20:56
Location: Estonia

Re: TTDPatchAutoInstaller

Post by ISA »

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 :!: :D
User avatar
Flavius
Tycoon
Tycoon
Posts: 1531
Joined: 22 Apr 2003 03:55
Location: Gold Coast, Queensland, Australia.

Post by Flavius »

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. 8)

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. :)
Last edited by Flavius on 13 Dec 2005 06:19, edited 1 time in total.
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

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
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

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.
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
Flavius
Tycoon
Tycoon
Posts: 1531
Joined: 22 Apr 2003 03:55
Location: Gold Coast, Queensland, Australia.

Post by Flavius »

Yes i agree with krtaylor, there is no need to tippyto onto TTDXC turf.
Keep it simple by providing minimal settings. :idea:

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. :twisted:
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

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
User avatar
Flavius
Tycoon
Tycoon
Posts: 1531
Joined: 22 Apr 2003 03:55
Location: Gold Coast, Queensland, Australia.

Post by Flavius »

Granted i would love a link to all the patch treasures. Only it would almost certainly be an octapus. Maybe we could find a friendly ocy :!: :roll:
User avatar
spaceman-spiff
Retired Moderator
Retired Moderator
Posts: 20634
Joined: 28 Jul 2002 07:08
Location: Belgium
Contact:

Post by spaceman-spiff »

eis_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, 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 everything
Well, back to work, lot's of it in the near future
User avatar
Andrex
Tycoon
Tycoon
Posts: 1308
Joined: 22 Nov 2002 05:08
Location: AR
Contact:

Post by Andrex »

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!!"...
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

You can't install TTDPatch with the AutoInstaller before you properly install TTD. The page has already a link button for further stuff :wink: but without a good link currently.

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

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...
Image
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

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
User avatar
Aegir
Tycoon
Tycoon
Posts: 2884
Joined: 09 Feb 2004 10:02
Contact:

Post by Aegir »

Andrex wrote:...in order to create a mid point between users who edit their CFG under Linux...
I can tell you right now, somone who is playing TTD+Patch under linux will most likely not be using this installer. Or TTDXC.

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!
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

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. :D
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

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
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

Didn't I wrote:
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.
Regardless Linux is useable for "New Users" and "complete n00b".
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 :D
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

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...
Image
User avatar
Menno
Tycoon
Tycoon
Posts: 1190
Joined: 05 Feb 2005 14:35
Location: Netherlands, Utrecht

Post by Menno »

I'm looking really forward to this, and I'd like to test it for you ;) only win98 and winXP tho, I've tried linux once, but I couldn't figure it out, but I'm not a compleet newbie! (probably I'd better use another version of linux... debian seemed quite complex)
*hmz*
User avatar
WWTBAM
Moderator
Moderator
Posts: 3689
Joined: 02 Apr 2005 07:01
Location: Sydney NSW Antipodea
Contact:

Post by WWTBAM »

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/
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

Screenshots
Attachments
ttdpauto3.png
ttdpauto3.png (13.34 KiB) Viewed 7495 times
ttdpauto2.png
ttdpauto2.png (13.05 KiB) Viewed 7495 times
ttdpauto1.png
ttdpauto1.png (16.37 KiB) Viewed 7495 times
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
Post Reply

Return to “General TTDPatch”

Who is online

Users browsing this forum: No registered users and 16 guests