Third Party Tools / GameGuru Lua syntax highlighting for Notepad++

Author
Message
wermer
9
Years of Service
User Offline
Joined: 18th Sep 2015
Location:
Posted: 3rd Dec 2015 20:15 Edited at: 19th Jul 2016 02:18
This download provides syntax highlighting and auto-completion for Lua and it's standard libraries, as well as Lua commands and keywords specific to GameGuru.

*Requires Notepad++ 6.2 or greater
*Updated 12/9/15 - added 29 functions + 18 globals, fixed decimals, changed Lua syntax from 5.3 to 5.1
*Updated 1/6/16 - added auto-completion file
*Updated 3/22/16 - supports version GameGuru 1.12 (adds 7 globals and over 20 new functions)
*Updated 7/18/16 - supports version GameGuru 1.131 (added +/- 90 keywords)

Installation:
1. Download "GameGuru.zip" from the Google Drive link provided below (CRC32 = B44DD83E)
2. Extract the 2 files "GameGuru_syntax_highlighting.xml" and "GameGuru.xml" to a convenient location
3. Open Notepad++
4. Click "Language" on the menu bar, then click "Define your language" from the pull-down menu
5. Now you should have a window titled "User Defined Language" - click the "Import" button
6. Browse to the location where you extracted "GameGuru_syntax_highlighting.xml" in step 2, select it and click "Open"
7. You should receive the message "Import successful"
8. Close Notepad++
9. Copy "GameGuru.xml" to Notepad++'s \plugins\APIs\ folder (possibly "C:program Files (x86)\Notepad++\plugins\APIs\")
10. Re-open Notepad++ and select "GameGuru" from the "Language" menu, or open a Lua file with Notepad++

Under "Settings-Preferences-Auto-Completion" you can adjust some settings. CTRL+Space for manual completion.

A demonstration of syntax highlighting and auto-completion:
https://www.youtube.com/watch?v=sppCb8jqQH4

Download link:
https://drive.google.com/file/d/0B_kuwdiQiD-qQWV2UVA4Wmd3MUU/view?usp=sharing
Windows 10 Home 64-bit / Intel i5 2500k @ 4.4Ghz + Asetek 510LC / Intel DP67DE / Intel 530 Series 240GB SSD / 16GB Kingston KVR 1333 / XFX Radeon R9 380X / Corsair TX 650 / Antec 300
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 3rd Dec 2015 21:22
thanks, will try this out
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; LG TFT monitor (widescreen). Wanting a new PC at some point.
Interests: Drumming, Saxophone, Art, Theatre, Music.
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 3rd Dec 2015 21:43
couldn't find gameguru.lua.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; LG TFT monitor (widescreen). Wanting a new PC at some point.
Interests: Drumming, Saxophone, Art, Theatre, Music.
wermer
9
Years of Service
User Offline
Joined: 18th Sep 2015
Location:
Posted: 4th Dec 2015 02:07
@Bored of the Rings

Sorry, that should have read GameGuru.xml. I've corrected my original post.
Windows 10 Home 64-bit / Intel i5 2500k @ 4.4Ghz + Asetek 510LC / Intel DP67DE / Intel 530 Series 240GB SSD / 12GB Kingston KVR 1333 / XFX Radeon R9 285 / Corsair TX 650 / Antec 300
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 4th Dec 2015 05:50
I tried to import as .xml , but just said it failed.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; LG TFT monitor (widescreen). Wanting a new PC at some point.
Interests: Drumming, Saxophone, Art, Theatre, Music.
wermer
9
Years of Service
User Offline
Joined: 18th Sep 2015
Location:
Posted: 4th Dec 2015 17:06
@Bored of the Rings

I'm not sure why it's not working for you. I've tested it on a couple other machines without any problems. I have edited the original post again, to try and make the instructions more clear.

It wont work with any Notepad++ versions prior to 6.2, due to differences in the User Defined Language specification.
I'm using Notepad++ 6.8.7, which uses UDL 2.1.0.12.
I've tested on Notepad++ 6.2(the first version that supports UDL 2) and it's working.

If you are not using any other User Defined Language, you can try to import it manually by renaming "GameGuru.xml" to "userDefineLang.xml" and placing it inside your Notepad++ folder.
Windows 10 Home 64-bit / Intel i5 2500k @ 4.4Ghz + Asetek 510LC / Intel DP67DE / Intel 530 Series 240GB SSD / 12GB Kingston KVR 1333 / XFX Radeon R9 285 / Corsair TX 650 / Antec 300
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 4th Dec 2015 18:11
I downloaded the latest version. I'll give it another try probably something I overlooked.
cheers
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; LG TFT monitor (widescreen). Wanting a new PC at some point.
Interests: Drumming, Saxophone, Art, Theatre, Music.
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 4th Dec 2015 20:35
Great, it can help a lot. Thanks for share it.

Any chance it working as some sort of "IntelliSense feature" ? , it would be nice.
Just some suggestion.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
wermer
9
Years of Service
User Offline
Joined: 18th Sep 2015
Location:
Posted: 10th Dec 2015 19:15
@3com

Notepad++ does support automatic completion of keywords and functions with optional parameter hints for functions. I may look into this if as time permits. Notepad++ does have manual completion(Ctrl+Enter) that works with this GameGuru UDL file. Thank you for the suggestion.
Windows 10 Home 64-bit / Intel i5 2500k @ 4.4Ghz + Asetek 510LC / Intel DP67DE / Intel 530 Series 240GB SSD / 12GB Kingston KVR 1333 / XFX Radeon R9 285 / Corsair TX 650 / Antec 300
PM
SharpCoder
8
Years of Service
User Offline
Joined: 2nd Jan 2016
Location:
Posted: 2nd Jan 2016 03:08
Thank you sooo much!!
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 2nd Jan 2016 07:18
I've revisited this and works perfectly, many thanks !!
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; LG TFT monitor (widescreen). Wanting a new PC at some point.
Interests: Drumming, Saxophone, Art, Theatre, Music.
wermer
9
Years of Service
User Offline
Joined: 18th Sep 2015
Location:
Posted: 6th Jan 2016 21:10
@Bored of the Rings, @SharpCoder
Thanks for the feedback.
Windows 10 Home 64-bit / Intel i5 2500k @ 4.4Ghz + Asetek 510LC / Intel DP67DE / Intel 530 Series 240GB SSD / 12GB Kingston KVR 1333 / XFX Radeon R9 285 / Corsair TX 650 / Antec 300
PM
Bloodknight
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 9th Jan 2016 01:01
clicked on the link and it said i needed special permissions
PM
wermer
9
Years of Service
User Offline
Joined: 18th Sep 2015
Location:
Posted: 10th Jan 2016 17:09
@Bloodknight
Sorry about that. I've corrected the google drive options, and now anyone can download.
Windows 10 Home 64-bit / Intel i5 2500k @ 4.4Ghz + Asetek 510LC / Intel DP67DE / Intel 530 Series 240GB SSD / 12GB Kingston KVR 1333 / XFX Radeon R9 285 / Corsair TX 650 / Antec 300
PM
Bloodknight
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 10th Jan 2016 17:29
Bang on!

thanks, downloaded and i'll test soon since it looks like i cant avoid lua for much longer
PM
wermer
9
Years of Service
User Offline
Joined: 18th Sep 2015
Location:
Posted: 22nd Mar 2016 18:30 Edited at: 22nd Mar 2016 18:50
*Updated 3/22/16 - supports version GameGuru 1.21 (adds 7 globals and over 20 new functions)
Windows 10 Home 64-bit / Intel i5 2500k @ 4.4Ghz + Asetek 510LC / Intel DP67DE / Intel 530 Series 240GB SSD / 16GB Kingston KVR 1333 / XFX Radeon R9 380X / Corsair TX 650 / Antec 300
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 5th Apr 2016 01:43
Excellent. I will give the update a try.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Kalle801
10
Years of Service
User Offline
Joined: 8th Jan 2014
Location: Germany
Posted: 14th Jun 2016 22:02
Works very well. Thank You
Kalle801
10
Years of Service
User Offline
Joined: 8th Jan 2014
Location: Germany
Posted: 14th Jun 2016 22:03 Edited at: 14th Jun 2016 22:03
Where can i find all gamegurulua comands pls?
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 15th Jun 2016 08:21
Go into your scriptbank folder and open up the global.lua file, that has all of the commands available listed with brief information on their syntax.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
Kalle801
10
Years of Service
User Offline
Joined: 8th Jan 2014
Location: Germany
Posted: 15th Jun 2016 13:48
Thank You
wermer
9
Years of Service
User Offline
Joined: 18th Sep 2015
Location:
Posted: 19th Jul 2016 02:20
*Updated 7/18/16 - supports version GameGuru 1.131 (added +/- 90 keywords)
Windows 10 Home 64-bit / Intel i5 2500k @ 4.4Ghz + Asetek 510LC / Intel DP67DE / Intel 530 Series 240GB SSD / 16GB Kingston KVR 1333 / XFX Radeon R9 380X / Corsair TX 650 / Antec 300
PM

Login to post a reply

Server time is: 2024-12-22 01:21:35
Your offset time is: 2024-12-22 01:21:35