Recommend users wait until this extension is approved by the Nexus staff. Once approved, it should show up in Vortex and easily recognize Into the Radius as a compatible game. Plugin now approved. Users should be able to add 'Into The Radius' as a compatible game directly in Vortex.
Advanced (not recommended) - if users want access to the extension now: 1) download manually, 2) goto your Extension tab of Vortex, 3) click the Drop Files tab.
I've noticed what may be a small error in the code though.
You set the mod installation path as {GAME FOLDER}/IntoTheRadius/Content/Paks but in the "prepareForModding" function you're checking that the folder at {GAME FOLDER}/ITR/Paks exists.
Thx for the feedback. I'll be honest, I'm not a coder, but I tried to stick to the provided wiki as close as possible.
I went ahead and changed the 'prepareForModding' function to: function prepareForModding(discovery) { return fs.ensureDirAsync(path.join(discovery.path, 'IntoTheRadius', 'Content', 'Paks')); } This now checks for the correct folder structure to install mod files. But this may be superfluous code; perhaps 'setup: undefined' would accomplish the same thing.
I have uploaded the revision index.js as part of 0.0.2 (also updated info.json); I also tested the updated index.js in Vortex - mods are successfully managed and deployed.
Thanks Picky, and let me know if there's anything I can do to improve the extension.
Thanks! I've turned on Vortex download buttons for Into The Radius and users will be able to find it in the "Games" tab of Vortex now.
I think you're fine to leave that function in. If that folder didn't exist for some reason it would cause an error, so ensuring it's there is a good thing.
Thank you Picky ! I checked out the extension in Vortex and it is indeed showing up in the database and working as intended. Although, it's showing the 0.0.1 file version, but I assume the 0.0.2 version will show up once the database updates. Thanks again ! -edit- v 0.0.2 is now showing up in Vortex. Awesome !
5 comments
Recommend users wait until this extension is approved by the Nexus staff. Once approved, it should show up in Vortex and easily recognize Into the Radius as a compatible game.Plugin now approved. Users should be able to add 'Into The Radius' as a compatible game directly in Vortex.
Advanced (not recommended) - if users want access to the extension now: 1) download manually, 2) goto your Extension tab of Vortex, 3) click the Drop Files tab.
Thanks for sharing this. It's looking promising!
I've noticed what may be a small error in the code though.
You set the mod installation path as {GAME FOLDER}/IntoTheRadius/Content/Paks but in the "prepareForModding" function you're checking that the folder at {GAME FOLDER}/ITR/Paks exists.
Thx for the feedback. I'll be honest, I'm not a coder, but I tried to stick to the provided wiki as close as possible.
I went ahead and changed the 'prepareForModding' function to:
function prepareForModding(discovery) {
return fs.ensureDirAsync(path.join(discovery.path, 'IntoTheRadius', 'Content', 'Paks'));
}
This now checks for the correct folder structure to install mod files. But this may be superfluous code; perhaps 'setup: undefined' would accomplish the same thing.
I have uploaded the revision index.js as part of 0.0.2 (also updated info.json); I also tested the updated index.js in Vortex - mods are successfully managed and deployed.
Thanks Picky, and let me know if there's anything I can do to improve the extension.
I think you're fine to leave that function in. If that folder didn't exist for some reason it would cause an error, so ensuring it's there is a good thing.
I checked out the extension in Vortex and it is indeed showing up in the database and working as intended.
Although, it's showing the 0.0.1 file version, but I assume the 0.0.2 version will show up once the database updates.
Thanks again !
-edit- v 0.0.2 is now showing up in Vortex. Awesome !