QUestoin about business sectors, and cities
Moderators: Balthagor, BattleGoat
-
- General
- Posts: 1354
- Joined: Jan 11 2016
- Human: Yes
Re: QUestoin about business sectors, and cities
I do not think he has a Mac version. The version released uses a .exe executable which will not work.
Problem with the Mac version is also from what I remember that it is in a wine wrapper so you have to go into the package to find the files you have to edit. I can try and install SRU on my Mac and look at how modding would work but it might take a bit of time and it is all but certain you have to do everything manually.
Problem with the Mac version is also from what I remember that it is in a wine wrapper so you have to go into the package to find the files you have to edit. I can try and install SRU on my Mac and look at how modding would work but it might take a bit of time and it is all but certain you have to do everything manually.
-
- Lieutenant
- Posts: 89
- Joined: May 12 2017
- Human: Yes
Re: QUestoin about business sectors, and cities
Alright thanks for your help I will gladly wait.Nerei wrote:I do not think he has a Mac version. The version released uses a .exe executable which will not work.
Problem with the Mac version is also from what I remember that it is in a wine wrapper so you have to go into the package to find the files you have to edit. I can try and install SRU on my Mac and look at how modding would work but it might take a bit of time and it is all but certain you have to do everything manually.
-
- General
- Posts: 1354
- Joined: Jan 11 2016
- Human: Yes
Re: QUestoin about business sectors, and cities
Just to get it out of the way always remember to make backups of anything you edit. You can copy the files out of the supremerulerultimate.app to say your desktop.
Also make a backup of anything you successfully mod. Chances are the next patch will wipe your previous work and it is easier to copy part of default.unit back in rather than making the changes again.
I have looked a bit at it and it certainly looks to be possible to mod the Mac version. It is however a bit more complex than on windows simply due to it being inside wine.
To get to the launcher in the first place your best bet is using the steam client as I am fairly certain part of the path is hidden by default.
Right click on SRU in steam => properties => local files and then browse local files.
After that we go into the Supremerulerultimate.app file (right click => show package content).
Here the path for the SRU install (basically the install on a windows machine) is:
Contents => resources => wineprefix => drive_C => winebottler
The file default.unit that needs to be edited to get the buildings to be buildable is in:
MAPS => DATA
You can use the example provided by dax1 as an example of what to change. It should make you less dependent on the headers
The folder cache contains the files that needs to be removed before you can recompile them e.g. if you remove SR1936 (again remember to make backups) and try to launch the 36 sandbox it will recompile it (it will appear to hang for some time as compiling takes time).
I have not tried to recompile any files yet but assuming it does not work completely different than on windows the cache along with your regular save files should be located in:
Users => [your user name] => My games => Supreme ruler ultimate => Savegame
Keep in mind this is outside the wine wrapper we explored above.
The file should have CACHE in its name. Rename it and place it to be identical to the one removed, place it in the cache folder and you should be done.
If you can get someone else to compile for you or if you got a copy of windows where you can do it you can just put the newly compiled file into the cache folder and it should work.
Also make a backup of anything you successfully mod. Chances are the next patch will wipe your previous work and it is easier to copy part of default.unit back in rather than making the changes again.
I have looked a bit at it and it certainly looks to be possible to mod the Mac version. It is however a bit more complex than on windows simply due to it being inside wine.
To get to the launcher in the first place your best bet is using the steam client as I am fairly certain part of the path is hidden by default.
Right click on SRU in steam => properties => local files and then browse local files.
After that we go into the Supremerulerultimate.app file (right click => show package content).
Here the path for the SRU install (basically the install on a windows machine) is:
Contents => resources => wineprefix => drive_C => winebottler
The file default.unit that needs to be edited to get the buildings to be buildable is in:
MAPS => DATA
You can use the example provided by dax1 as an example of what to change. It should make you less dependent on the headers
The folder cache contains the files that needs to be removed before you can recompile them e.g. if you remove SR1936 (again remember to make backups) and try to launch the 36 sandbox it will recompile it (it will appear to hang for some time as compiling takes time).
I have not tried to recompile any files yet but assuming it does not work completely different than on windows the cache along with your regular save files should be located in:
Users => [your user name] => My games => Supreme ruler ultimate => Savegame
Keep in mind this is outside the wine wrapper we explored above.
The file should have CACHE in its name. Rename it and place it to be identical to the one removed, place it in the cache folder and you should be done.
If you can get someone else to compile for you or if you got a copy of windows where you can do it you can just put the newly compiled file into the cache folder and it should work.
-
- Brigadier Gen.
- Posts: 600
- Joined: Aug 13 2012
- Human: Yes
Re: QUestoin about business sectors, and cities
Could you tell who are these certain conditions and restrictions, or is a secret quest to find them?Balthagor wrote: when certain conditions in a region were met, that you could build them.
We felt it important to place restrictions so you didn't suddenly build 8 tourist attractions at the bottom tip of Argentina or in Northern Siberia.
-
- General
- Posts: 1354
- Joined: Jan 11 2016
- Human: Yes
Re: QUestoin about business sectors, and cities
I think you missed what Balthagor said.georgios wrote:Could you tell who are these certain conditions and restrictions, or is a secret quest to find them?Balthagor wrote: when certain conditions in a region were met, that you could build them.
We felt it important to place restrictions so you didn't suddenly build 8 tourist attractions at the bottom tip of Argentina or in Northern Siberia.
The highlight is mine.Balthagor wrote:The effects of these facilities is quite significant. The original design was that, when certain conditions in a region were met, that you could build them. The facilities got in, but the opportunities to add more did not. We felt it important to place restrictions so you didn't suddenly build 8 tourist attractions at the bottom tip of Argentina or in Northern Siberia.
Basically as I understand it the plan was to allow more to be added in some way but that mechanic was never added.
-
- Brigadier Gen.
- Posts: 600
- Joined: Aug 13 2012
- Human: Yes
Re: QUestoin about business sectors, and cities
You mean that they were planning a form of unlocking buildings that later was cancelled.
I believed that under the suitable conditions business/tourist centers would appear automatically as bonus buildings!
I believed that under the suitable conditions business/tourist centers would appear automatically as bonus buildings!
- Balthagor
- Supreme Ruler
- Posts: 22106
- Joined: Jun 04 2002
- Human: Yes
- Location: BattleGoat Studios
Re: QUestoin about business sectors, and cities
This is correct. Events could be used to make them start construction under specific conditions but each event would have to be set up manually.georgios wrote:You mean that they were planning a form of unlocking buildings that later was cancelled...
-
- Brigadier Gen.
- Posts: 600
- Joined: Aug 13 2012
- Human: Yes
Re: QUestoin about business sectors, and cities
You mean eventbcond parameter?
What conditions are selectable? And how they are defined?
What conditions are selectable? And how they are defined?
-
- Colonel
- Posts: 273
- Joined: Jun 25 2008
- Location: United States
- Contact:
Re: QUestoin about business sectors, and cities
it may work if you install mono for mac: http://www.mono-project.com/docs/gettin ... stall/mac/bob12333 wrote:oh okay. Do you know if he has a mac version or if the version he created would work on mac.Nerei wrote:Open default.unit and change the value of NoBuild from 1 to 0 on the item you want to be buildable. Recompile and it should be buildable. You can refer to the guide on recompiling on the wiki
mikeownage has made a tool that might make it less likely to break the file and find what value to change as there are a lot of them but from what I can tell it is missing a search function.
Building are somewhere around ID21000 and down.
Sorry I cannot be more specific but I am writing from memory and a copy of default.unit that I have on my laptop. I do not have a game to test it on myself right now.
You can use the filters to refine what data you see.Nerei wrote:Open default.unit and change the value of NoBuild from 1 to 0 on the item you want to be buildable. Recompile and it should be buildable. You can refer to the guide on recompiling on the wiki
mikeownage has made a tool that might make it less likely to break the file and find what value to change as there are a lot of them but from what I can tell it is missing a search function.
Building are somewhere around ID21000 and down.
Sorry I cannot be more specific but I am writing from memory and a copy of default.unit that I have on my laptop. I do not have a game to test it on myself right now.
-
- Lieutenant
- Posts: 89
- Joined: May 12 2017
- Human: Yes
Re: QUestoin about business sectors, and cities
alright sounds good, thanks. HOwever, on the mac version of Default.unit that section of noBuild is actually left blank, so I have no idea what now I'm suppose to do! There are no 0s or , or anything its just left blank.
-
- Brigadier Gen.
- Posts: 511
- Joined: Apr 05 2012
- Human: Yes
- Location: Italy
Re: QUestoin about business sectors, and cities
,, = ,0,bob12333 wrote:alright sounds good, thanks. HOwever, on the mac version of Default.unit that section of noBuild is actually left blank, so I have no idea what now I'm suppose to do! There are no 0s or , or anything its just left blank.
it's the same
Con forza ed ardimento
-
- Lieutenant
- Posts: 89
- Joined: May 12 2017
- Human: Yes
Re: QUestoin about business sectors, and cities
Oh okay, on my Mac it is this 21102, "Business Sector", 21, 366, , , , 2, , , 0, , *, , , , , , 21998, , 0, , , , , 400.000, 15000.000, 250000, 0, , , 0.000, , , , 0.000, , 0, 0, 0, 0, 0, 0, 0, 0, 0, 900, 900, 900, , 0, , , , 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, , , , 1, , , , , 0, , , , , 0, , , , , , , 90, , 0, , , , ,dax1 wrote:,, = ,0,bob12333 wrote:alright sounds good, thanks. HOwever, on the mac version of Default.unit that section of noBuild is actually left blank, so I have no idea what now I'm suppose to do! There are no 0s or , or anything its just left blank.
it's the same
. Which part of it would I need to make a 1? its alittle confusing because it is lined up at all.
-
- Brigadier Gen.
- Posts: 511
- Joined: Apr 05 2012
- Human: Yes
- Location: Italy
Re: QUestoin about business sectors, and cities
bob12333 wrote:Oh okay, on my Mac it is this 21102, "Business Sector", 21, 366, , , , 2, , , 0, , *, , , , , , 21998, , 0, , , , , 400.000, 15000.000, 250000, 0, , , 0.000, , , , 0.000, , 0, 0, 0, 0, 0, 0, 0, 0, 0, 900, 900, 900, , 0, , , , 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, , , , 1, , , , , 0, , , , , 0, , , , , , , 90, , 0, , , , ,dax1 wrote:,, = ,0,bob12333 wrote:alright sounds good, thanks. HOwever, on the mac version of Default.unit that section of noBuild is actually left blank, so I have no idea what now I'm suppose to do! There are no 0s or , or anything its just left blank.
it's the same
. Which part of it would I need to make a 1? its alittle confusing because it is lined up at all.
It's in red!!dax1 wrote:I think u wrong to copybob12333 wrote:Okay thanks, I know about the wiki page, however it doesn't SAY WHAT TO DO - HOW TO CHANGE it so I can build business sector, etc in the Define.unit file for business sector it says this 21102, "Business Sector", 20, 366, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21998, , 0, , , , , 400.000, 15000.000, 250000, 0, 0, 0, 0.000, 0, 0, 0, 0.000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 900, 900, 900, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, , , , ,Balthagor wrote:Correct. Located in /maps/data.
There is lots of information on the supremewiki about modding;
http://www.supremewiki.com/node/306
. What do I need to change on this to make it so I can build them.
this is the correct:
21102, "Business Sector", 21, 366, , , , 2, , , 0, , *, , , , , , 21998, , 0, , , , , 400.000, 15000.000, 250000, 0, , , 0.000, , , , 0.000, , 0, 0, 0, 0, 0, 0, 0, 0, 0, 900, 900, 900, , 0, , , , 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, , , , 1, , , , , 0, , , , , 0, , , , , , , 90, , 0, , , , ,
I dont know if enought but try this:
21102, "Business Sector", 21, 366, , , , 2, , , 0, , *, , , , , , 21998, , 0, , , , , 400.000, 15000.000, 250000, 0, , , 0.000, , , , 0.000, , 0, 0, 0, 0, 0, 0, 0, 0, 0, 900, 900, 900, , 0, , , , 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , 1, , , , , 0, , , , , 0, , , , , , , 90, , 0, , , , ,
and recache...
but I'm not sure if it work.
Con forza ed ardimento
-
- Lieutenant
- Posts: 89
- Joined: May 12 2017
- Human: Yes
Re: QUestoin about business sectors, and cities
Alright sounds good! Thanks for help!