Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Actually that bit may be true, digging through the scripts.
There are AI traders that are setup to fulfil buy orders and sell orders between stations, but there also seems to be a mechanism to directly trade resources between stations.
I wonder if this has anything to do with the issues in rebirth where the player could never build any ships due to a lack of resources at AI shipyards.
If anybody wants to verify this, you can just install the rebirth modding tools, open the cat files in X4 and open the script files in a text editor.
I'm at work, but I believe it's in the #7 or #8 pack. Run the x rebirth tools from steam and select the cat file manager launch option, the cat files are in the X4 root folder with the exe.
You're looking for the md folder and the aiscript folder, inside that are a bunch of xml files that are in egosoft's custom script schema. I recommend visual studio code for readability.
It should be obvious from the names of the files what they're responsible for :)
From memory I think it's the economy manager script. It sets up an event to fire every 15 minutes that scans the entire universe for shortages and sets up exchanges between pairs of stations.
I already decompressed them and went through. But there are 4259 xml files in the folder. So a little shortcut to get into them would help. Guess i have to bite into that sour ass to get a look.
There is little reason to touch the .exe at all, unless you aim to make a cheat that requires injecting values into the code while it is running. Anyone claiming to have decompiled the .exe and gained all this information about the economy and how it works is talking out of their rear end.
As i said: the exe looks like a native exe. Not CLR. I(with 20 years as professional c++/c# programmer) know no way to decompile them into some kind of readable code. All you get out of it is assembler or a giant piece of c code that has nothing to do with the code before compilation and is almost as unreadable as assembler. It would take ages to reverse engineer a project of this size(and to fully understand how AI works).
But maybe the exe is neither CLR nor native? Sure looks a lot like native after extraction and disassembling.
there are some things i cant guess on or verify from experience, but most likely the economy is stale because there is NO MAJOR war going on. u can fly all around the world/game and have little to no interaction with enemies. blowing things up makes ppl money... ppl need to buy more ships/guns/stations and this makes everything in the whole tree of production have a need.
I was trying to avoid getting into a technical discussion, while still addressing some of the alarmists and storytellers claims in this thread.
I have not looked at .exe, there is little need, nor a desire to, as there is more to be gained from taking the time to look through the contents of the cat files. As a long time member of X Devnet I have been modding and scripting in the X Games since 2000, mostly for my own amusement. I stopped releasing mods to the general public quite some time ago, but still mod games, and occasionally pass files around friends who express an interest.
The conclusion is that when OP talks about decompiling he actually means decompressing the cat-packages and reading the XML-"code".
Yes.
Also, when I alt tab out to check the activity monitor, the game essentially stops. Litterally the process freezes when the game is "paused". Now, I don't normally watch my games to see what they are doing in this kind of detail, so I don't know if that is common or not. I could try seeing what Empyrion does when it is paused I guess.
But to add to what was said above. I fully believe the OP was just mis-communicating that he was actually scraping the files inside the Cats instead of de-compiling the actual executable.
Doesn't mean OP should be exscused, since mutiple veteran programmers have pointed out that decompiling the EXE that OP mentioned would result in nonsence assembly code. He would have to look at script files. To add on top of that, only eveidence OP has provided is "Compile it yourself."
However, you are right, this had made some people look into the game enconomy. I think though at this point we are better off starting a new thread, because the findings people have found may have shown that somthing is wrong, they acually prove OP is wrong. Now the findings are basicly discussing a diffrent topic.