Search found 12782 matches

by Geoff the Medio
Fri Apr 16, 2021 11:16 am
Forum: Programming
Topic: Potential GiGi replacements: Godot
Replies: 44
Views: 1218

Re: Potential GiGi replacements: Godot

I get c:\users\g_top\desktop\fosdk11_godot\freeorion\universe\UnlockableItem.h(10): error C2679: binary '>>': no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion) [C:\Users\g_top\Desktop\FOSDK11_Godot\FreeOrion\build\freeorioncommon.vcxproj]...
by Geoff the Medio
Fri Apr 16, 2021 10:53 am
Forum: Programming
Topic: Potential GiGi replacements: Godot
Replies: 44
Views: 1218

Re: Potential GiGi replacements: Godot

Also apply some CMake fixes from: https://github.com/freeorion/freeorion/pull/3409 Yes, I did that: CMakeLists.txt | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e22f6a07..84e55ff8b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.t...
by Geoff the Medio
Fri Apr 16, 2021 10:39 am
Forum: Programming
Topic: Potential GiGi replacements: Godot
Replies: 44
Views: 1218

Re: Potential GiGi replacements: Godot

What is "the project root"? The SDK root directory? That contains bin directly, so I don't see how ..\bin\* will work. I mean FreeOrion project which is suppose to be place in SDK dir. So if starting from a fresh SDK unpack, I first need to manually check out FreeOrion master, then cd into that dir...
by Geoff the Medio
Fri Apr 16, 2021 10:15 am
Forum: Programming
Topic: Potential GiGi replacements: Godot
Replies: 44
Views: 1218

Re: Potential GiGi replacements: Godot

N, it should work from the project root. What is "the project root"? The SDK root directory? That contains bin directly, so I don't see how ..\bin\* will work. Regardless, if I'm in the SDK room, and pushd build then call the cmake command, it fails because there's no CMakeLists.txt in the SDK root...
by Geoff the Medio
Fri Apr 16, 2021 10:11 am
Forum: Programming
Topic: Potential GiGi replacements: Godot
Replies: 44
Views: 1218

Re: Potential GiGi replacements: Godot

CMake project needs some preparation: cp ..\bin\* . mkdir build pushd build cmake -G "Visual Studio 16 2019" -T v141 -A Win32 -DBUILD_TESTING=On .. Where am I supposed to run those commands? In ./cmake ? It still doesn't work from there, even with a freshly unpacked SDK.
by Geoff the Medio
Fri Apr 16, 2021 8:06 am
Forum: Programming
Topic: Potential GiGi replacements: Godot
Replies: 44
Views: 1218

Re: Potential GiGi replacements: Godot

o01eg wrote: Fri Apr 16, 2021 8:01 am pushd is to go into build directory
So the same as cd build?
bin should be appeared after unpacking SDK.
There is a bin directory in the SDK itself, but it's gone after running bootstrap. Then all the .dll and similar files are moved into the source directory...
by Geoff the Medio
Fri Apr 16, 2021 7:49 am
Forum: Programming
Topic: Potential GiGi replacements: Godot
Replies: 44
Views: 1218

Re: Potential GiGi replacements: Godot

Code: Select all

C:\Users\g_top\Desktop\FOSDK11\FreeOrionAlt>cp ..\bin\* .
cp: cannot stat '..bin*': No such file or directory
Where is the "bin" directory supposed to be?

What is the "pushd" for?
by Geoff the Medio
Thu Apr 15, 2021 9:32 pm
Forum: Programming
Topic: Potential GiGi replacements: Godot
Replies: 44
Views: 1218

Re: Potential GiGi replacements: Godot

I suppose CMake should be able build it for windows. It only requires that fix https://github.com/freeorion/freeorion/pull/3263/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a Just take the existing SDK, patch CMakeLists.txt in the root FreeOrion directory, and generate ...
by Geoff the Medio
Thu Apr 15, 2021 9:06 pm
Forum: Programming
Topic: Potential GiGi replacements: Godot
Replies: 44
Views: 1218

Re: Potential GiGi replacements: Godot

o01eg wrote: Thu Apr 15, 2021 9:02 pmCould we start accepting Godot client to the master branch?
I'd like to see or even try it out before doing that... Is a Windows build possible? If not, can you post some screenshots or a video?
by Geoff the Medio
Sun Apr 11, 2021 8:40 pm
Forum: Other Game Design
Topic: Bugs in latest weekly
Replies: 12
Views: 327

Re: Bugs in latest weekly

A pull request is "request" to merge a branch into master. If you have two separate commits you want to make separate pull requests for, you need two separate branches, both based off master, each with one of those commits in it and not the other.
by Geoff the Medio
Sat Apr 10, 2021 6:06 pm
Forum: Other Game Design
Topic: Bugs in latest weekly
Replies: 12
Views: 327

Re: Bugs in latest weekly

Anvil wrote: Sat Apr 10, 2021 6:03 pmAnd I thought all I need is git... :roll:
You don't need any GitHub specific software on your own machine to fetch / pull / rebase / push etc. You do obviously need an account on github, but the pushing and such just uses git as far as I'm aware.
by Geoff the Medio
Fri Apr 09, 2021 7:56 pm
Forum: Compile
Topic: Free Cloud Mac Build Computer
Replies: 2
Views: 215

Re: Free Cloud Mac Build Computer

TravisCI and GitHub Actions already do something quite similar, I think?
by Geoff the Medio
Thu Apr 08, 2021 9:54 pm
Forum: Other Game Design
Topic: Bugs in latest weekly
Replies: 12
Views: 327

Re: Bugs in latest weekly

Will you make some github pull requests for such fixes? That asked, I wonder if there's a potential multiplayer exploit if players trade planets in order to produce region admins on them despite the (temporarily) other empire's nearby capital or admin buildings. Might need to remove such buildings i...
by Geoff the Medio
Wed Apr 07, 2021 11:28 am
Forum: Programming
Topic: Resources to get started?
Replies: 2
Views: 87

Re: Resources to get started?

That's a rather broad question.... If you want to contribute code to the game engine, then learning C++ would be helpful. For AI, Python is used. In either case, finding a feature or bug you want to address or that someone else requested or reported and that seems interesting, and trying to figure o...
by Geoff the Medio
Mon Apr 05, 2021 9:05 pm
Forum: Other Game Design
Topic: Bugs in latest weekly
Replies: 12
Views: 327

Re: Bugs in latest weekly

Depends what you mean by "calculating it"... Well, it = Number of Jumps to the nearest connected Administration or the Capital. The script calculates it, to check whether it is <5. The script calculates it, to check whether it is >5. If one condition is true, it's calculated once more to determine ...