PPQ_Purple
Purple Cube (retired)
- Joined
- Oct 11, 2008
- Messages
- 5,764
Yes. That is how installations still work for literally all programs ever outside of steam.oh, so each person has a different path which they choose.
Yes. That is how installations still work for literally all programs ever outside of steam.oh, so each person has a different path which they choose.
#look for standard Civ4:BTS
ReadRegStr $0 ${MACHINE_REG_ROOT} "${FIRAXIS_REG_KEY}\${BTSREG_STANDARD}" 'INSTALLDIR'
I guess it is possible to make python search for a folder, but as PPQ_Purple said, the mods could be literally any where, so searching for the Sid Meier's Civilization folder won't help.How about asking the reg file like NSIS does?
What you really need is locating "Sid Meier's Civilization 4 - Beyond The Sword\InstallPath".Code:#look for standard Civ4:BTS ReadRegStr $0 ${MACHINE_REG_ROOT} "${FIRAXIS_REG_KEY}\${BTSREG_STANDARD}" 'INSTALLDIR'
The windows registry is not a folder. It's quite literally the solution to finding install paths when you don't know where something is installed.I guess it is possible to make python search for a folder, but as PPQ_Purple said, the mods could be literally any where, so searching for the Sid Meier's Civilization folder won't help.
No, I was just busy with Christmas, New Year and was just enjoying my vacation!Probably not well since it's a project that should take at most 2-3 days work and it's been going for weeks now. He probably lost interest.
It would be but for some mods some of the modules might interact with other Xml, Python, or C++ files.I also don't think that an installer is that needed. A universal mod launcher and module handler on the other hand would be handy.
There is a CIV 4 Mod Launcher I believe which I have, basically you open it and choose a mod to play from BtS, Warlords, or Vanilla.When is a launcher needed? Isn't it enough to make a shortcut and add mod="whatever" as command line arguments?
As for cross platform launcher, would it make sense to bother to make it cross platform if the mod is windows only due to the DLL?
Well you can just create a version for Windows and later on create another version for Mac and Linux.How important is cross platform functionality for you on that one? As in how vital is it that the launcher runs on stuff other than windows?
I am asking because to put it bluntly I find configuring java projects to be a horrible pain as nothing ever comes out of the box and you have to install everything manually and waste hours and I am just not willing to put up with hat level of frustration. Where as I can work up a universal launcher in visual studio in a day or two but it'd be Windows only.
Not really. Like the issue is that basically I can't be bothered to put in the week or so of time configuring an IDE for Java to actually work and use a GUI library where as with visual studio it just works out of the box. So like with me it's windows only or nothing.Well you can just create a version for Windows and later on create another version for Mac and Linux.
Well I only know 2 IDE's that I'm pretty sure you heard of anyway, VSCode and PyCharm.Not really. Like the issue is that basically I can't be bothered to put in the week or so of time configuring an IDE for Java to actually work and use a GUI library where as with visual studio it just works out of the box. So like with me it's windows only or nothing.
Not unless you can recommend me an IDE for Java or Python that works out of the box with zero configuration where I can literally go New->Gui Project and start programming. So far the best I came up with is that I wasted some 3 hours trying to get eclipse to run with JavaFX before I gave up.
I started using Visual Studio, I didn't know what version was the best so I just installed as many as I wantedVisual Studio in general just works. Like you can literally start anything you like be that a database or web design or GUI project or a console application or anything and in any of microsofts supported languages as well with a click of a button and zero configuration work. Also a lot of the common C++ IDEs do as well although you might have to fiddle a bit more with importing libraries. But like in codeblocks I newer once had to do anything more than copy paste a .h file and write include. Same for python really, just run that command you wrote a while ago and download the library you need.
But in Java it's always like pulling teeth. You have to find the right files online, configure the IDE, configure your build system (because of course you need a separate build system... idiots.) and than it does not work. So you go into your path variable and edit that. Only it does not work. So you go online, look at tutorials and guides and a couple hours later the guy that's been programming for 20 years gives up and ragequits.
I'm using Tkinter, the module that comes with python, so no need to install anything else. But because you are a more advanced coder I definitely do not suggest using Tkinter, I started with Tkinter and now I'm used to it (I'll probably change though). The other GUI module for python is called Pyqt5. A lot of programmers said it is more complex, but allows more things to be done, so for you I definitely suggest using Pyqt5 as a GUI module but you can try out Tkinter as well, its pretty easy and a lot of tutorials covering it.By the way, that GUI you made looks nice. What library are you using for it in python? I might just try that one out instead.
That's enough.So like with me it's windows only or nothing.