-
Content Count
305 -
Joined
-
Last Visited
Content Type
Profiles
Forums
Omnibus
News
Features
Downloads
City Journals
Calendar
Gallery
Everything posted by Rady
-
Understood that, but how can I determine the proper value? Like, I want a submenue to show up as the second menu button .. how do I determne the "order number" of the existing menu buttons? Plus, would I need to enter that number in normal number? Hex value?
-
Great addition, one more question: which value should be entered for the "item order"?
-
I downloaded it, but starting gives this: peter@PC-Peter:~/NAS_Dateien/$Peter/Games/SC4/Plugins by content$ ./sc4 node:internal/errors:540 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined at Object.resolve (node:path:1168:7) at dist/sc4.js:218:19369 at embedderRunCjs (node:internal/main/embedding:87:10) { code: 'ERR_INVALID_ARG_TYPE' } Node.js v22.10.0
-
Hi there, does anybody know if there is an overview available of the different elements of PEGs OWW2, CDK3, ... as it's really hard to build a nice harbour or waterfront without knowing which lots are available and what they look like .. Sorry .. found them. Under Linux, they went under "home/Documents/SimCity/..." :-)
-
I can finally call this case closed :-) Thank you very much, now working as intended. This is such a tremendous improvement, thanks for investing your time into that tool. However, as one moves forward, more questions arise. Regarding additional submenu buttons - is there a list (excel or some sort) of already existing occupant groups? As I understand, personal submenus can be created, but one must not use an existing occupant group.
-
Ok, did the @next sucessfully. Downloaded the sc4 linux binary and started it with ./sc4. Result remains the same ("WARNING No lots found to put in a submenu").
-
I started the @next command, but received errors. However I'm pretty sure I have installed the latest version. peter@PC-Peter:~/NAS_Dateien/$Peter/Games/SC4/Plugins by content$ npm install sc4@next npm error code EEXIST npm error syscall symlink npm error path ../glob/dist/esm/bin.mjs npm error dest /home/peter/NAS_Dateien/$Peter/Games/SC4/Plugins by content/node_modules/.bin/glob npm error errno -17 npm error EEXIST: file already exists, symlink '../glob/dist/esm/bin.mjs' -> '/home/peter/NAS_Dateien/$Peter/Games/SC4/Plugins by content/node_modules/.bin/glob' npm error File exists: /home/peter/NAS_Dateien/$Peter/Games/SC4/Plugins by content/node_modules/.bin/glob npm error Remove the existing file and try again, or run npm npm error with --force to overwrite files recklessly. npm error A complete log of this run can be found in: /home/peter/.npm/_logs/2024-11-10T21_03_33_373Z-debug-0.log 2024-11-10T21_05_11_674Z-debug-0.log
-
It says "WARNING No lots found to put in a submenu". I have attached the file. Rural Elementary School_6d1adee4.SC4Lot
-
I changed to the plugins directory, and finally, it is working - yeah!! I however do have one more question: I have al lot of ploppable buildings that are not contained in a dat file, but consist of files of the type SC4model, SC4lot, SC4Desc. These are not included in the exemplar patch. Is there a way to also get them included?
-
I already have version 22 installed, and sc4 ist starting. However I'm encountering this error when trying to create a submenu patch: peter@PC-Peter:~$ sc4 ✔ What do you want to do? Create a submenu patch ERROR Error: ENOENT: no such file or directory, stat '/home/peter/.steampath' at Object.statSync (node:fs:1658:25) at file:///usr/local/lib/node_modules/sc4/node_modules/inquirer-file-selector/dist/index.js:1:643 at Array.map (<anonymous>) at M (file:///usr/local/lib/node_modules/sc4/node_modules/inquirer-file-selector/dist/index.js:1:613) at file:///usr/local/lib/node_modules/sc4/node_modules/inquirer-file-selector/dist/index.js:1:1656 at file:///usr/local/lib/node_modules/sc4/node_modules/@inquirer/core/dist/esm/lib/use-memo.js:8:27 at withPointer (file:///usr/local/lib/node_modules/sc4/node_modules/@inquirer/core/dist/esm/lib/hook-engine.js:71:25) at useMemo (file:///usr/local/lib/node_modules/sc4/node_modules/@inquirer/core/dist/esm/lib/use-memo.js:3:12) at file:///usr/local/lib/node_modules/sc4/node_modules/inquirer-file-selector/dist/index.js:1:1643 at file:///usr/local/lib/node_modules/sc4/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js:54:38 { errno: -2, code: 'ENOENT', syscall: 'stat', path: '/home/peter/.steampath' }
-
Well, I just downloaded nodejs .. I assumed it would be the most recent version. Needed to additionaly install nvm and actively install version 22, now sc4 is running :-)
-
Running the sc4 command gives me this result. I'm running Ubuntu 24.01. peter@PC-Peter:~/NAS_Dateien/$Peter/Games/SC4$ sc4 node:internal/errors:496 ErrorCaptureStackTrace(err); ^ Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:sea at new NodeError (node:internal/errors:405:5) at ModuleLoader.builtinStrategy (node:internal/modules/esm/translators:299:11) at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:298:14) { code: 'ERR_UNKNOWN_BUILTIN_MODULE' } Node.js v18.19.1
-
I'm kind of getting it :-) So my next challenge is to get your sc4tool up and running under linux ... I'll keep you posted
-
Jesus, what I'm drawn into here? I just wanted to have my custom content neatly arranged in my SC4 menu .. instead I'm drowning in a SC4 programmers course :-) Having said this, let me comment on your suggestions: I'm not sure whether I understand correctly what this tool will do. My plugins folder is arranged by creater name, not content type. So, of course it is very likely that within one folder there are dat files of different content. Like, my "NBVC" folder contains the files for: Riprap Sewall Rocks ans Stones Stone Paths Obviously, I would like to have these plugins show up in different parts of the (custom) menu. For example, I would like to have the Seawalls in a "Sewalls" submenu (probably in the Transport > Ships man menu button), the Rock and Stones in a submenue in the standard "Tree" menu (sorry, I don't remember the correct naming of the standard SC4 menu), and the Stone Paths likewise as a submenu of the "Streets" menu. If I start above mentioned command within the NBVC folder - in which custom menu will they show up then? What exactly do you mean by "move all lots to the menu with the given button id"? Great, understood - except for the last paragraph, but nevertheless I followed your advice :-) Let's see what I can learn form smf_16 with regard to his command line tool ... On a side note - thank's for your patience!
-
As expected, I failed to reproduce these steps. I copied the "cohort file" from the plaza submenu, pasted it into a new dat file, clicked "Generate new instance", renamed and saved it. What hits me strange is that this file doesn't have values in the "Parent Cohort" Property? They are all "0x00000"? I then opened the first dat file that I would like to be referenced by this exemplar patch, selected the first building exemplar and then selected "Copy entry ID". However, nothing seems to be copied to the clipboard. Insterad, I double-clicked the exemplar file and got into the detail view. Is it possible that these are the values needed? I included the respecitve dat file in case you want to have a look into it. Small Graveyards.dat exemplar-patch-small-hospital.dat
-
I understand. So the Group and Instance ID are those from the "Parent Cohort" entry od the Building Exemplar?
-
guide How to use Wine with SC4D, NAM, Modding Tools
Rady replied to Handyman's topic in SC4 Bugs & Technical Issues
Sorry, my fault. Im running Ubuntu 24.01. Unfortunately, there is no such entry in the context menu of th Reader. But however, this is but a minor problem. I will manage to get around it. -
Yes! Thank you - working fine. As I already have a bunch of custom content installed, may I further dwell on the "exemplar patching" method. I don't fully understand what to do: 1. what exactly is a "cohort" file? How do I create it? Is it just a simple .dat file? How do I set the GroupID? Where would it go (top level of plugins directory?) 2. Where would I find the Group and Instance ID of the files im pointing to? For example, within the one dat file I already modified, there are three bulding exemplars. In the DIR file there are 6 entries with different combinations of Group and Instance ID. Again, sorry if I'm asking because of lack of Reader knowledge, I however havent found a useful manual for using the Reader. If someone coan point me towards a useful guide, I will have a look there. Small Graveyards.dat
-
So I tried to modify my first .dat file in order to show up in the "small hospital" submenu. I added the respective property to the building exemplars, but it doesn't show up in the submenu. Apparently I've done something wrong. I have to admit that I haven't used iLives reader before, so I might as well have done something wrong here. Here are the entries of one of the building exemplars. What seems odd to me is that the value doesn't show up in the "value" box, so I assume I did something wrong with adding this property. Please feel free to move this subject to another forum topic - I assumed this to be more relevant in connection with the submenu.dll mod then with using the iLive Reader. Thanks
-
guide How to use Wine with SC4D, NAM, Modding Tools
Rady replied to Handyman's topic in SC4 Bugs & Technical Issues
I tried to install iLIVE reader following above instructions. However, when it comes to the part of installing iLIVE, I discovered that there is no iLive.msi-File with the current version, just a "Reader.exe", which I selected. iLive Reader then starts, but where does it install iLives Reader? Or do I need to got trhough the "install software" part every time I use the Reader? Furthermore, I cannot access the STEAM SC4 directory, as I cannot access the hidden ".steam" directory, so I cannot access the files I want to modify. Any help is appreciated. Thanks -
Yes, some content is already located in the respective submenue as you stated. I was wondering how to handle the remaining content. So, to sum it up - what I need to do is to either wait until the content has been modified and is avaialble on the STEX/SC4E, or modify every single file by myself. The latter seems the way to go for me then ...
-
Hello all, I just reinstalled SC4 after years of not playing, and - searching for the DAMN - stumbled over this mod. After installing, I wonderd why the additional content still is dispersed over different standard menu items instead of showing up in the respective custom submenue. But as I understand now, this mod is still under developement, and we will have to wait for it t be finisehd, right? HOwever, I wonder how to proceed onece this is finalised? How will the existing files in my plugin folder then show up in the right submenue? Will I have to edit them manually using iLIves reader to contain the specifiv information that makes them show up in the right submenue? Or do these files already contain the relevant information? Thank you
-
I'm currently preparing my region for gameplay and am at the point of planting forests. I use the god mode tools (CTRL-ALT-SHIFT god mode). However, I cannot change the size (diameter) of the tool. I could bet there was a key combination to increase or decrease the affetcted area, but I cannot remember. Using CTRL+ NUMPAD-or CTRL+NUMPAD+, or anything like that doesn't help.
-
Thanks to all!
-
Installing SC4 on Linux with STEAM linux runtime
Rady posted a topic in SC4 Modding - Open Discussion
Hi all, it's been a long while that I played SC4 the last time, and it ended because of the prop pox problem. Meanwhile, I changed my system to be running on Linux, and currently am trying to get my fav games running under Limux (Ubuntu in that case). So now I stumbled across this SC4Fix, but I wonder if that fix works with the Steam install under Linux? I'm running SC4 directlx from STEAM using the "proton" support. Thanks
