G2D: Difference between revisions
Jump to navigation
Jump to search
(→Usage) |
(→Usage) |
||
Line 10: | Line 10: | ||
===<span style="color:#000000;text-shadow:0.05em 0.05em 0.2em #00000099;">Usage</span>=== | ===<span style="color:#000000;text-shadow:0.05em 0.05em 0.2em #00000099;">Usage</span>=== | ||
'''Server-sided G2D script converter (G2DSC)''' | '''Server-sided G2D script converter (G2DSC)''' | ||
Command: g2d [-Option] [Arguments] | Command: g2d [-Option] [Arguments] | ||
{| class="wikitable" style="width: 800px; text-align: center; table-layout: fixed;" | |||
|- | |||
!Options | |||
-add | !Arguments | ||
!Comment | |||
-c | |- | ||
| -add | |||
-h | |Resource Name | ||
|Retain selections and select other resources (-m :Pattern Match) | |||
-rm | |- | ||
| -c | |||
-l | | | ||
|Clear selections | |||
-e | |- | ||
| -h | |||
-q | | | ||
|G2D Help | |||
|- | |||
| -rm | |||
|Remove Name | |||
|Remove specific selected resources from list (-m :Pattern Match) | |||
|- | |||
| -l | |||
| | |||
|List all selected resources | |||
|- | |||
| -e | |||
| | |||
|Start to convert | |||
|- | |||
| -q | |||
| | |||
|Stop converting process | |||
|- |
Revision as of 13:23, 28 September 2019
Description
1. G2D aims to convert GUI to DGS without a lot of complex steps. 2. There are 2 versions of G2D:
- 1) Server-sided G2D script converter (G2DSC)
- G2DSC is used to convert GUI functions/events to DGS ones by editing scripts. (Useful for converting scripts created by GUI Editor, but it will cause a lot of errors/bugs if you make it convert complicated scripts)
- 2) Client-sided G2D hooker (G2D Hooker)
- G2D Hooker is used to convert complex scripts by injecting hooker before executing the script instead of editing files. (The hooker is valid in one resource)
Usage
Server-sided G2D script converter (G2DSC)
Command: g2d [-Option] [Arguments]
Options | Arguments | Comment |
---|---|---|
-add | Resource Name | Retain selections and select other resources (-m :Pattern Match) |
-c | Clear selections | |
-h | G2D Help | |
-rm | Remove Name | Remove specific selected resources from list (-m :Pattern Match) |
-l | List all selected resources | |
-e | Start to convert | |
-q | Stop converting process |