Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HELP!] List of possible placeholders for Paths? #462

Open
Neipas09 opened this issue Apr 4, 2023 · 2 comments
Open

[HELP!] List of possible placeholders for Paths? #462

Neipas09 opened this issue Apr 4, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Neipas09
Copy link

Neipas09 commented Apr 4, 2023

I'm trying to figure out how to set the Save Paths so it keeps the Parent Folder that the .nsp files are in, and then add a DLC and UPDATES folder into that parent folder, and then sort as needed.

Other than what's already shown in the default config file..

{name}
{id}
{version}

I have no clue what else i could use in the paths.
Is there a possible {current_dir} already available to use?

Example:
All my .nsp files are in the "Mario Bros" folder
C:\NS\Games\Mario Bros

I want to set the Base, DLC, and Update paths something like this..
Base = {current_dir}/{name}[{id}][v{version}].nsp
DLC = {current_dir}/DLC/{name}[{id}][v{version}].nsp
Updates = {current_dir}/updates/{name}[{id}][v{version}].nsp

@Neipas09 Neipas09 added the enhancement New feature or request label Apr 4, 2023
@BurkhalterY
Copy link

BurkhalterY commented Jun 26, 2023

Hello, I had the same question.

So I checked the source code and the possible placeholders are the followings:

{id}, {region}, {name}, {version}, {baseId}, {baseName}, {cr}, {icr}

baseId and baseName are the id and the name of the base for DLC.

I don't know what is {cr} and {icr}, but I know there are equivalent. I recommend to don't use it because it doesn't work for me.

However I'm sorry but I didn't find a way to use something like {current_dir}...

@blawar
Copy link
Owner

blawar commented Jun 26, 2023

use a relative path if you want to reference the current directory: games/nsp/base/ instead of c:/files/games/nsp/base/

cr and icr are for NSZ only, and they represent the compression ratio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants