User:TechAngel85/Sandbox4: Difference between revisions

From Step Mods | Change The Game
Line 20: Line 20:
https://github.com/blu3mania/npp-papyrus/releases
https://github.com/blu3mania/npp-papyrus/releases
# Plugins > Plugins Admin...
# Plugins > Plugins Admin...
# Search for 'Papyrus'
# Search for "''Papyrus''"
# Tick 'Papyrus Script Lexer' and click 'Install' button
# Tick '''Papyrus Script Lexer''' and click {{ui|Install}} button
# Close the window
# Close the window
# Plugins > Papyrus > Advanced > Install auto completion support...
# Plugins > Papyrus > Advanced > '''Install auto completion support...'''
# Plugins > Papyrus > Advanced > Install function list support...
# Plugins > Papyrus > Advanced > '''Install function list support...'''
## If this has to be done manually, copy the 'Papyrus Script.xml' from the 'extras' > 'functionList' folder into the <installPath>\Notepad++\functionList folder.
## If this has to be done manually, copy the '''Papyrus Script.xml''' from the ''extras'' > ''functionList'' folder into the <code><installPath>\Notepad++\functionList</code> folder.
## Open 'overrideMap.xml' and make the bottom of the file matches the code block below
## Open '''overrideMap.xml''' and make the bottom of the file matches the code block below
## Close and save the file, restarting in Admin mode if required.
## Close and save the file, restarting in Admin mode if required.
# Close and reopen Notepad++
# Close and reopen Notepad++
<syntaxhighlight lang="xml" class="ml-5">...
<div class="ml-5">{{spoiler|shown=overrideMap.xml code|hidden=&nbsp;
<syntaxhighlight lang="xml">...
<!-- ==================== User Defined Languages ============================ -->
<!-- ==================== User Defined Languages ============================ -->
<association id= "krl.xml" userDefinedLangName="KRL"/>
<association id= "krl.xml" userDefinedLangName="KRL"/>
Line 39: Line 40:
</functionList>
</functionList>
</NotepadPlus></nowiki>
</NotepadPlus></nowiki>
</syntaxhighlight>
</syntaxhighlight>}}</div>
There should now be an option for 'Papyrus Script' within the Language menu. There are some plugin settings that users will likely desire to change:
There should now be an option for 'Papyrus Script' within the Language menu. There are some plugin settings that users will likely desire to change:
# Plugins > Papyrus > Settings...
# Plugins > Papyrus > Settings...

Revision as of 22:07, November 26, 2021

Delta c.png

System Setup for Mod Authoring

Using Mod Organizer for project management

by: TechAngel85

Weapon.png

WIP

This page is very much a work in progress. I'm mainly just documenting my process, right now.

Notepad++

Install Notepad++

It's understandable that many users prefer darker themes for there apps. Notepad++ comes a Dark Mode and themes. To enable Dark Mode:

  1. Settings > Preferences
  2. Click on Dark Mode in the list
  3. Tick the box for Enable dark mode and click the [Close] button

It's recommended to use the default theme for Dark Mode, but to change the theme:

  1. Settings > Style Configurator...
  2. Select the desired theme from the Select theme drop-down box
    1. (optional) To alter any of the theme's settings, select Global Styles within the Language box
    2. Within the Style box, select through the list and change the Foreground colour and Background colour to better the desired result for the theme
  3. When finished, click the [Save & Close] button to save theme

Papyrus for Notepad++

https://github.com/blu3mania/npp-papyrus/releases

  1. Plugins > Plugins Admin...
  2. Search for "Papyrus"
  3. Tick Papyrus Script Lexer and click [Install] button
  4. Close the window
  5. Plugins > Papyrus > Advanced > Install auto completion support...
  6. Plugins > Papyrus > Advanced > Install function list support...
    1. If this has to be done manually, copy the Papyrus Script.xml from the extras > functionList folder into the <installPath>\Notepad++\functionList folder.
    2. Open overrideMap.xml and make the bottom of the file matches the code block below
    3. Close and save the file, restarting in Admin mode if required.
  7. Close and reopen Notepad++
➕ [Click to show]➖ [Click to hide] overrideMap.xml code

 

...
			<!-- ==================== User Defined Languages ============================ -->
			<association id= "krl.xml"		userDefinedLangName="KRL"/>
			<association id= "sinumerik.xml"	userDefinedLangName="Sinumerik"/>
			<association id= "universe_basic.xml"	userDefinedLangName="UniVerse BASIC"/>
			<association id= "Papyrus Script.xml"	langID="85"/>
			<!-- ======================================================================== -->
		</associationMap>
	</functionList>
</NotepadPlus></nowiki>

There should now be an option for 'Papyrus Script' within the Language menu. There are some plugin settings that users will likely desire to change:

  1. Plugins > Papyrus > Settings...
  2. Compiler Tab > Default output directory: <folderName> | could be changed, but usually not needed
  3. GameName Tab | Ensure all paths are correct
    • Import directories | This should be auto-filled to the vanilla path for the "Scripts" and "Source" folders. Users modding with a mod manager, such as Mod Organizer, may have these vanilla scripts installed within their managers. In such cases, the paths should be changed to point to the install locations for their respective mod manager.
    • Output directory | This should be auto-filled to the vanilla path for the "Scripts" folder. Users modding with a mod manager, such as Mod Organizer, may wish to change the path to point to a location within their respective mod manager's directory.

Dark Theme for Papyrus for Notepad++

Papyrus Script Lexer is not compatible with most dark themes out-of-the-box. Luckily, it's easy, albeit time consuming, to make it compatible with most themes. To do these users will have to manually change the colors using the Style Configurator.

  1. Settings > Style Configurator...
  2. Within the 'Language' box, select 'Papyrus Script'
  3. Within the 'Style' box, select through the list and change the 'Foreground colour' and 'Background colour' to better match the current theme. This is the time consuming part, since it has to be done manually.
  4. When finished, click the 'Save & Close' button to save the edited style
  5. There are colors to change within the plugin's settings: Plugins > Papyrus > Settings
  6. Lexer, Keyword Matcher and Error Annotator tabs all have colors that can be altered

The below table are recommended settings for using with Notepad++'s Dark Mode. These color are muted to be easy on the eyes, but still distinct enough for easy editing:

All background colors are set to 63/63/63 (R/G/B).

Style Forgroung R/G/B
Default 230/230/230
Operator 255/145/60
Flow control 240/200/110
Type 64/159/255
Keyword 170/255/200
Keyword2 110/230/110
All Folds 240/200/110
Comment (single & Multi) 130/130/130
Comment (document) 170/170/170
Number 110/230/110
String 255/255/100
Property 140/213/255
Class 64/159/255
Function 219/155/238

Other Programs

7zip

Optimized Settings

Archive format: 7z
Compression level: Maximum (Ultra caused issues in the past for some mod managers)
Compression method: LZMA2
Dictionary size: 32 MB
Word size: 64
Solid Block size: 8 GB
Number of CPU thread: This should be set to the maximum number available (number after / across from the drop-down). It will vary based on CPU.