Skip to content

Commit 932a0f3

Browse files
authored
Update and rename README.txt to README.md
1 parent f9a6a52 commit 932a0f3

File tree

1 file changed

+30
-27
lines changed

1 file changed

+30
-27
lines changed
Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,36 @@
1-
2-
## Folder description
3-
4-
- assets-dev: The plain resources for dev, debugging
5-
- assets: The encrypted resources for online or publish
6-
7-
## Build and run
8-
1+
2+
## Folder description
3+
4+
- assets-dev: The plain resources for dev, debugging
5+
- assets: The encrypted resources for online or publish
6+
7+
## Build and run
8+
99
- Clone adxe(another cocos2d-x fork) and run setup.py in root of engine
1010

1111
git clone https://github.com/adxeproject/adxe
1212

13-
# Ensure install visual studio 2019/2022
14-
- Use cmake to build
15-
cmake -B build_x86 -A Win32 -DBUILD_EXTENSION_FAIRYGUI=OFF -DBUILD_EXTENSION_GUI=OFF
16-
cmake --build build_x86 --target HelloLua
17-
13+
- Use cmake to build
14+
15+
```bat
16+
REM Ensure visual studio 2019 or 2022 installed
17+
cmake -B build_x86 -A Win32 -DBUILD_EXTENSION_FAIRYGUI=OFF -DBUILD_EXTENSION_GUI=OFF
18+
cmake --build build_x86 --target HelloLua
19+
```
20+
1821
- Open build_x86/HelloLua.sln, and press F5 to run, by default the vs debugging working directory is the encrypted folder `assets`,
1922
everything should be fine if the decrypt work well.
20-
21-
## Use a new key & ivec to encrypt resources
22-
23-
- Method A:
24-
- Delete file encrypt-cfg.xml and run do-encrypt.bat
25-
26-
- Method B:
27-
- run command: "%XS_INSTDIR%\x-studio" -c -enc -nk -cfg=.\encrypt-cfg.xml -i=.\assets-dev -o=.\assets
28-
29-
- After reencrypt with new key, you needs change it at AppDelegate.cpp
30-
31-
## For more usage of x-studio encrypt system, run follow command:
32-
33-
"%XS_INSTDIR%\x-studio" -c --help
23+
24+
## Use a new key & ivec to encrypt resources
25+
26+
- Method A:
27+
- Delete file encrypt-cfg.xml and run do-encrypt.bat
28+
29+
- Method B:
30+
- run command: "%XS_INSTDIR%\x-studio" -c -enc -nk -cfg=.\encrypt-cfg.xml -i=.\assets-dev -o=.\assets
31+
32+
- After reencrypt with new key, you needs change it at AppDelegate.cpp
33+
34+
## For more usage of x-studio encrypt system, run follow command:
35+
36+
"%XS_INSTDIR%\x-studio" -c --help

0 commit comments

Comments
 (0)