https://github.com/simdsoft/wsls
A tiny patch for making ndk build system support Long Paths on windows 7+.
https://github.com/simdsoft/wsls
android-ndk android-sdk cocos2d-x dll inject longpath-ware sdk support-longpaths wsls
Last synced: 8 months ago
JSON representation
A tiny patch for making ndk build system support Long Paths on windows 7+.
- Host: GitHub
- URL: https://github.com/simdsoft/wsls
- Owner: simdsoft
- License: mit
- Created: 2018-09-14T08:49:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-15T04:24:51.000Z (over 1 year ago)
- Last Synced: 2025-04-09T14:09:10.386Z (10 months ago)
- Topics: android-ndk, android-sdk, cocos2d-x, dll, inject, longpath-ware, sdk, support-longpaths, wsls
- Language: C
- Homepage:
- Size: 1.78 MB
- Stars: 31
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wsls
[](https://github.com/simdsoft/wsls/actions?query=workflow%3Awindows_x86)
[](https://github.com/simdsoft/wsls/actions?query=workflow%3Awindows_x64)
[](../../releases/latest)
[](../../releases/latest)
* Purpose: This patch should make any x86/x64 applications support LongPath on win7+
* Feature: This patch can make Android ndk r14 or later support LongPaths on win7+ x64
* Update since v3.4: Android ndk(r14b~r21e) ndk-build/cmake works on win7+ x64
* Remark: Please ensure your anti-virus software allow **wsls-core.dll** & **wow64helper.exe**
## Core files description
* **wsls-core.dll**: the core file to make any application support Long Paths
* **wow64helper.exe**: the inject helper for inject **wsls-core.dll** to target application
## Who need this patch?
* You only want windows, and encounter long path issue on exist software system, such as android ndk,sdk
* Even win10 provide LongPath ware system config, but still doesn't works for android build system when path too long
* Some windows system command does't support long path even open system LongPath ware config, may windows bug or performance purpose,
if you find the commands: ```copy, md, del, echo``` works with long path on future release of win10, please info me.
## Install patch for android ndk & sdk:
1. Set env var ```ANDROID_NDK``` to your android ndk root directory
2. Set env var ```ANDROID_SDK``` to your android sdk root directory
3. Install ndk: right click ```dists/install.bat```, run as administrator.
## References
* https://github.com/simdsoft/wow64helper
* https://github.com/TsudaKageyu/minhook
* https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx