mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-22 21:09:52 +00:00
Build: Remove old-style android/assets/.
We now read everything directly from assets/, so there's no need for outdated duplicates. Also cleanup some outdated files/instructions.
This commit is contained in:
parent
d4237fd542
commit
7e578b31f5
@ -2249,10 +2249,10 @@ set(BigFontAssets
|
||||
)
|
||||
|
||||
set(NativeAssets
|
||||
android/assets/ui_atlas.zim # Why are we getting these from the Android folder?
|
||||
android/assets/ui_atlas.meta
|
||||
android/assets/asciifont_atlas.zim
|
||||
android/assets/asciifont_atlas.meta
|
||||
assets/ui_atlas.zim
|
||||
assets/ui_atlas.meta
|
||||
assets/asciifont_atlas.zim
|
||||
assets/asciifont_atlas.meta
|
||||
assets/debugger
|
||||
assets/lang
|
||||
assets/shaders
|
||||
@ -2373,7 +2373,7 @@ if(TargetBin)
|
||||
endif()
|
||||
|
||||
if(IOS)
|
||||
add_executable(${TargetBin} MACOSX_BUNDLE ${ICON_PATH_ABS} ${NativeAssets} ${BigFontAssets} {SHADER_FILES} ${DEBUGGER_FILES} ${FLASH0_FILES} ${LANG_FILES} ${NativeAppSource} "ios/Settings.bundle" "ios/Launch Screen.storyboard")
|
||||
add_executable(${TargetBin} MACOSX_BUNDLE ${ICON_PATH_ABS} ${NativeAssets} ${BigFontAssets} ${SHADER_FILES} ${DEBUGGER_FILES} ${FLASH0_FILES} ${LANG_FILES} ${NativeAppSource} "ios/Settings.bundle" "ios/Launch Screen.storyboard")
|
||||
file(INSTALL "${CMAKE_SOURCE_DIR}/ext/vulkan/iOS/Frameworks/libMoltenVK.dylib" DESTINATION "${CMAKE_BINARY_DIR}/PPSSPP.app/Frameworks/")
|
||||
else()
|
||||
add_executable(${TargetBin} MACOSX_BUNDLE ${ICON_PATH_ABS} ${NativeAssets} ${BigFontAssets} ${SHADER_FILES} ${DEBUGGER_FILES} ${FLASH0_FILES} ${LANG_FILES} ${NativeAppSource})
|
||||
|
@ -1,7 +1,8 @@
|
||||
1. Install GCC, CMake, and development libraries for zlib and sdl.
|
||||
2. cd SDL
|
||||
3. ./buildassets.sh
|
||||
4. ./b.sh
|
||||
2. mkdir build
|
||||
3. cd build
|
||||
4. cmake ..
|
||||
5. make
|
||||
|
||||
That should do it.
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
cp -r ../android/assets .
|
||||
cp ../assets/ppge_atlas.zim assets
|
@ -1,10 +1,13 @@
|
||||
mkdir assets > nul
|
||||
xcopy ..\assets\flash0 assets\flash0\ /s /y <d.txt
|
||||
xcopy ..\assets\lang assets\lang\ /s /y <d.txt
|
||||
xcopy ..\assets\shaders assets\shaders\ /s /y <d.txt
|
||||
copy ..\assets\langregion.ini assets\langregion.ini
|
||||
copy ..\assets\compat.ini assets\compat.ini
|
||||
copy ..\assets\*.ini assets\
|
||||
copy ..\assets\Roboto-Condensed.ttf assets\Roboto-Condensed.ttf
|
||||
copy ..\assets\*.png assets\
|
||||
copy ..\assets\*.zim assets\
|
||||
copy ..\assets\*.meta assets\
|
||||
copy ..\assets\*.wav assets\
|
||||
SET NDK=C:\Android\sdk\ndk\21.3.6528147
|
||||
REM SET NDK=C:\Android\ndk
|
||||
SET NDK_MODULE_PATH=..\ext;..\ext\native\ext
|
||||
|
@ -1,9 +1,12 @@
|
||||
mkdir -p assets
|
||||
cp -r ../assets/flash0 assets/
|
||||
cp -r ../assets/lang assets/
|
||||
cp -r ../assets/shaders assets/
|
||||
cp -r ../assets/debugger assets/
|
||||
cp ../assets/langregion.ini assets/langregion.ini
|
||||
cp ../assets/compat.ini assets/compat.ini
|
||||
cp ../assets/*.ini assets/
|
||||
cp ../assets/Roboto-Condensed.ttf assets/Roboto-Condensed.ttf
|
||||
cp ../assets/*.png assets/
|
||||
cp ../assets/*.zim assets/
|
||||
cp ../assets/*.meta assets/
|
||||
cp ../assets/*.wav assets/
|
||||
NDK_MODULE_PATH=../ext $NDK/ndk-build -j3 $*
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 9.0 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6.2 KiB |
@ -3,8 +3,10 @@ cp ../assets/7z.png assets/
|
||||
cp ../assets/rargray.png assets/
|
||||
cp ../assets/unknown.png assets/
|
||||
cp ../assets/zip.png assets/
|
||||
cp ../assets/ui_atlas.zim assets/
|
||||
cp ../assets/ppge_atlas.zim assets/
|
||||
cp ../assets/*.zim assets/
|
||||
cp ../assets/*.meta assets/
|
||||
cp ../assets/*.wav assets/
|
||||
cp ../assets/*.ini assets/
|
||||
cp ../assets/Roboto-Condensed.ttf assets/
|
||||
cp -r ../assets/flash0 assets/
|
||||
cp -r ../assets/lang assets/
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Note that we do not copy the big font atlas to Android assets. No longer needed!
|
||||
|
||||
./ext/native/tools/build/atlastool ui_atlasscript.txt ui 8888 && cp ui_atlas.zim ui_atlas.meta assets && cp ui_atlas.zim ui_atlas.meta android/assets && rm ui_atlas.cpp ui_atlas.h
|
||||
./ext/native/tools/build/atlastool ui_atlasscript.txt ui 8888 && cp ui_atlas.zim ui_atlas.meta assets && rm ui_atlas.cpp ui_atlas.h
|
||||
./ext/native/tools/build/atlastool font_atlasscript.txt font 8888 && cp font_atlas.zim font_atlas.meta assets && rm font_atlas.cpp font_atlas.h
|
||||
./ext/native/tools/build/atlastool asciifont_atlasscript.txt asciifont 8888 && cp asciifont_atlas.zim asciifont_atlas.meta assets && cp asciifont_atlas.zim asciifont_atlas.meta android/assets && rm asciifont_atlas.cpp asciifont_atlas.h
|
||||
./ext/native/tools/build/atlastool asciifont_atlasscript.txt asciifont 8888 && cp asciifont_atlas.zim asciifont_atlas.meta assets && rm asciifont_atlas.cpp asciifont_atlas.h
|
||||
|
||||
rm ui_atlas.zim ui_atlas.meta
|
||||
rm font_atlas.zim font_atlas.meta
|
||||
|
@ -1,3 +0,0 @@
|
||||
cat assets/lang/zh_CN.ini assets/lang/zh_TW.ini assets/langregion.ini > chinese.txt
|
||||
cat assets/lang/ko_KR.ini assets/langregion.ini > korean.txt
|
||||
|
Loading…
Reference in New Issue
Block a user