Author Topic: Trying to create a Notepad++ language for the *.rsc, *.srsl files  (Read 106 times)

0 Members and 1 Guest are viewing this topic.

Offline Browser_ice

  • Newb
  • *
  • Posts: 6
Hi, I have done this but I am trying to create a Notepad++ language based on the RSC and SRSL files.

I have started by concatenated all RSC and SRSL files from the resource folder into one single file. I have then sorted the whole thing and removing duplicates. This should give me a lexique of commands (somewhat).

Found 2 possible errors:

Notice ELEMENET instead of ELEMENT:
Quote
RibbonDescription inventoryRibbon
{
"   ElemenetDescription _border = ""containerBorder"";"
"   bool _vertical = true;"
"   ElementDescription _elements [ inventoryHeader, ""inventory"" ]"
}

Notice the RIMAGE instead of IMAGE:
Quote
      float t = image.x + (1.0 - rimage.z) * image.y;
      
There are a bunch of lines that have calculations with what looks like possible functions or system variables.  Not sure about those so I will not include them.

I have my dictionnary list. Now I need to add them into Notepad++
« Last Edit: December 01, 2017, 05:14:45 PM by Browser_ice »
Computer Specs:
I5-2500 CPU 3.30Mhz,
16GB memory,
GTX 960, DirextX-11
Windows 7 Family Premium

Offline Browser_ice

  • Newb
  • *
  • Posts: 6
Re: Trying to create a Notepad++ language for the *.rsc, *.srsl files
« Reply #1 on: December 01, 2017, 06:19:06 PM »
I am testing the language file. I am using that combined rsc files I manually created to test it.

I have a few issues but don't know if it is because of the rsc combined file I use or not.

I attached what I have so far.

Trying to see autocompletion also.


You are free to try it out.  Again, this is the first I create a custom language file for NotePad++. It is not perfect and has a few mistakes.
« Last Edit: December 01, 2017, 07:14:16 PM by Browser_ice »
Computer Specs:
I5-2500 CPU 3.30Mhz,
16GB memory,
GTX 960, DirextX-11
Windows 7 Family Premium

Offline RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 7499
Re: Trying to create a Notepad++ language for the *.rsc, *.srsl files
« Reply #2 on: December 01, 2017, 10:49:58 PM »
i am not sure where you are going with this....

it is like you want to do programation instead of making mods.
> > > Support Mods Creation developments with Paypal Donations < < <
Click here to PayPal Donate.