Git Product home page Git Product logo

ck2-hip-more-cultures-and-religions's Introduction

Website

Horațiu Mlendea's GitHub stats

ck2-hip-more-cultures-and-religions's People

Contributors

hmlendea avatar

Stargazers

 avatar

Watchers

 avatar

ck2-hip-more-cultures-and-religions's Issues

Extraction Guide

IDK if this is usefull for you but I made this RegEx guide for new cultures.

###########################################################################
# How to use the localisations of an existing culture for a new culture:
# by TheDovahkiin97
###########################################################################
# First Google what RegEx is and how you can use its expressions in your Text Editor
###########################################################################
# 1. Copy the main file from MCN mod.
# 2. Find all unused baronies and comments with:
# (?:\#)(?:.*)
# 3. Select all occasions with Ctrl + Shift + L (in VSC)
# 4. Delete with DEL + DEL
# 5. Find everything your culture does not use with: (you have to replace every "serbian" with your desired source culture)
# (?:(?:(?:(?:(?:\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ b_)(?:.*)(?:\ \=\ \{))|(?:(?:\ \ \ \ \ \ \ \ \ \ \ \ c_)(?:.*)(?:\ \=\ \{))|(?:(?:\ \ \ \ \ \ \ \ d_)(?:.*)(?:\ \=\ \{))|(?:(?:\ \ \ \ k_)(?:.*)(?:\ \=\ \{))|(?:(?:e_)(?:.*)(?:\ \=\ \{)))))|(?:(?:(?:(?:(?:\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ serbian\ \=\ \")(?:.*)(?:\"))|(?:(?:\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ serbian\ \=\ \")(?:.*)(?:\"))|(?:(?:\ \ \ \ \ \ \ \ \ \ \ \ serbian\ \=\ \")(?:.*)(?:\"))|(?:(?:\ \ \ \ \ \ \ \ serbian\ \=\ \")(?:.*)(?:\"))|(?:(?:\ \ \ \ serbian\ \=\ \")(?:.*)(?:\")))))|(?:(?:(?:(?:(?:\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}))|(?:(?:\ \ \ \ \ \ \ \ \ \ \ \ \}))|(?:(?:\ \ \ \ \ \ \ \ \}))|(?:(?:\ \ \ \ \}))|(?:(?:\})))))
# 6. Select all occasions with Ctrl + Shift + L (in VSC)
# 7. Copy everything with Ctrl + C
# 8. Select everything with Ctrl + A
# 9. Paste your copy with Ctrl + V
# 10. Find all baronies your culture does not use with:
# (?:\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ b_)(?:.*)(?:\ \=\ \{)(?:(?:\n)|(?:\r\n))(?:\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \})
# 11. Select all occasions with Ctrl + Shift + L (in VSC)
# 12. Delete with DEL + DEL
# 13. Find all counties your culture does not use with:
# (?:\ \ \ \ \ \ \ \ \ \ \ \ c_)(?:.*)(?:\ \=\ \{)(?:(?:\n)|(?:\r\n))(?:\ \ \ \ \ \ \ \ \ \ \ \ \})
# 14. Select all occasions with Ctrl + Shift + L (in VSC)
# 15. Delete with DEL + DEL
# 16. Find all duchies your culture does not use with:
# (?:\ \ \ \ \ \ \ \ d_)(?:.*)(?:\ \=\ \{)(?:(?:\n)|(?:\r\n))(?:\ \ \ \ \ \ \ \ \})
# 17. Select all occasions with Ctrl + Shift + L (in VSC)
# 18. Delete with DEL + DEL
# 19. Find all kingdoms your culture does not use with:
# (?:\ \ \ \ k_)(?:.*)(?:\ \=\ \{)(?:(?:\n)|(?:\r\n))(?:\ \ \ \ \})
# 20. Select all occasions with Ctrl + Shift + L (in VSC)
# 21. Delete with DEL + DEL
# 22. Find all empires your culture does not use with:
# (?:e_)(?:.*)(?:\ \=\ \{)(?:(?:\n)|(?:\r\n))(?:\})
# 23. Select all occasions with Ctrl + Shift + L (in VSC)
# 24. Delete with DEL + DEL
# 25. Manually check/import the titular titles at the bottom of the file
# 26. Use full text replacement to replace all occasions of the source culture with your new culture
# 27. Copy and Paste this guide at the top of your file
###########################################################################

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.