• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[GUIDE] GENERATE SCRIPTWIDGET.WSF FOR GS FILES

Junior Spellweaver
Joined
Mar 22, 2020
Messages
159
Reaction score
110
Q: What is scriptwidget.wsf?
A: A set of lua scripts that is compiled and encrypted into 1 file.

1. Build this tool TextureTool.exe, check your RAN GS Source
1695385374128 - [GUIDE] GENERATE SCRIPTWIDGET.WSF FOR GS FILES - RaGEZONE Forums

2. Copy and paste the compiled TextureTool in your Ran GS Client folder, or any location as long as you can run that file but I suggest that file in your RAN GS Client folder.
3. Download this file , this is required for the tool TextureTool.exe to generate that widgetscript.wsf file. You can check the source why it is needed.
4. Copy the luaplusc.exe and paste it where your TextureTool.exe is located.
5. Open the TextureTool.exe, then in the Option dropdown, select Encrypt Widget Script (don't tick that checkbox "?????")
1695385851893 - [GUIDE] GENERATE SCRIPTWIDGET.WSF FOR GS FILES - RaGEZONE Forums

6. Click Open, then select the folder where your LUA Scripts are located, if we have the same GS SOURCE , check this folder ScaleformLua->WidgetScripts, and those LUA files you can see in that folder are the LUA scripts that we will compile.
1695386258319 - [GUIDE] GENERATE SCRIPTWIDGET.WSF FOR GS FILES - RaGEZONE Forums

1695386390007 - [GUIDE] GENERATE SCRIPTWIDGET.WSF FOR GS FILES - RaGEZONE Forums


7. Now for the second the last step, click RUN to compile or generate widgetscript.wsf file
See screenshot:

8. Last step, check the Output folder and look for this file widgetscript.wsf, copy and paste it in your RAN GS Client folder,
in this path RANGSClient/data/glogic/widgetscript, then you can now run the game.exe or emulator.exe.
1695387405259 - [GUIDE] GENERATE SCRIPTWIDGET.WSF FOR GS FILES - RaGEZONE Forums


Note: Please do feel free to correct me if I'm wrong.
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jul 14, 2023
Messages
58
Reaction score
5
i'm wondering error come up after clicking run and it says
Error CreateFile : attendancecomplete.luc
Error Decrypt WidgetScript File in Folder
D:\Server Source Code\VS2008\_Work\ran\ScaleformLua\WidgetScript
 
Junior Spellweaver
Joined
Mar 22, 2020
Messages
159
Reaction score
110
i'm wondering error come up after clicking run and it says
Error CreateFile : attendancecomplete.luc
Error Decrypt WidgetScript File in Folder
D:\Server Source Code\VS2008\_Work\ran\ScaleformLua\WidgetScript
May I ask, are your trying to decrypt it?
 
Newbie Spellweaver
Joined
Jul 14, 2023
Messages
58
Reaction score
5
May I ask, are your trying to decrypt it?
i'm trying to encrypt it, but error shows with regards to luc? i already followed your instructions put the luaplusc and texturetool in the same folder, but when i tried to run the texture tools error came up
 
Junior Spellweaver
Joined
Mar 22, 2020
Messages
159
Reaction score
110
i'm trying to encrypt it, but error shows with regards to luc? i already followed your instructions put the luaplusc and texturetool in the same folder, but when i tried to run the texture tools error came up
Can you please send a scresnshot also?
 
Junior Spellweaver
Joined
Mar 22, 2020
Messages
159
Reaction score
110

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jul 14, 2023
Messages
58
Reaction score
5
May I ask what Release you are using when compiling the TextureTool?


Please try my texture tool
im using normal release

im sorry i wasn't able to see this reply of yours, let me check.

even using your tools, still error appear, may i asked, have you build the scaleformlua.exe?
May I ask what Release you are using when compiling the TextureTool?


Please try my texture tool
1696832329164 - [GUIDE] GENERATE SCRIPTWIDGET.WSF FOR GS FILES - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Last edited:
Back
Top