Small formatting changes

This commit is contained in:
Miguel Horta
2022-04-17 15:45:24 +01:00
committed by pelya
parent 2e44deacdf
commit 921e814669
3 changed files with 341 additions and 340 deletions

View File

@@ -45,7 +45,7 @@ if [ "$#" -gt 0 ]; then
shift shift
fi fi
. ./AndroidAppSettings.cfg source ./AndroidAppSettings.cfg
var="" var=""
@@ -149,343 +149,344 @@ fi
if [ -n "$CHANGED" ]; then if [ -n "$CHANGED" ]; then
cat /dev/null > AndroidAppSettings.cfg cat /dev/null > AndroidAppSettings.cfg
echo "# The application settings for Android libSDL port" >> AndroidAppSettings.cfg cat <<EOF >./AndroidAppSettings.cfg
echo >> AndroidAppSettings.cfg # The application settings for Android libSDL port
echo "# Specify application name (e.x. My Application)" >> AndroidAppSettings.cfg
echo AppName=\"$AppName\" >> AndroidAppSettings.cfg # Specify application name (e.x. My Application)
echo >> AndroidAppSettings.cfg AppName="$AppName"
echo "# Specify reversed site name of application (e.x. com.mysite.myapp)" >> AndroidAppSettings.cfg
echo AppFullName=$AppFullName >> AndroidAppSettings.cfg # Specify reversed site name of application (e.x. com.mysite.myapp)
echo >> AndroidAppSettings.cfg AppFullName=$AppFullName
echo "# Application version code (integer)" >> AndroidAppSettings.cfg
echo AppVersionCode=$AppVersionCode >> AndroidAppSettings.cfg # Application version code (integer)
echo >> AndroidAppSettings.cfg AppVersionCode=$AppVersionCode
echo "# Application user-visible version name (string)" >> AndroidAppSettings.cfg
echo AppVersionName=\"$AppVersionName\" >> AndroidAppSettings.cfg # Application user-visible version name (string)
echo >> AndroidAppSettings.cfg AppVersionName="$AppVersionName"
echo "# Specify path to download application data in zip archive in the form \"Description|URL|MirrorURL^Description2|URL2|MirrorURL2^...\"" >> AndroidAppSettings.cfg
echo "# If you'll start Description with '!' symbol it will be enabled by default, '!!' will also hide the entry from the menu, so it cannot be disabled" >> AndroidAppSettings.cfg # Specify path to download application data in zip archive in the form "Description|URL|MirrorURL^Description2|URL2|MirrorURL2^...
echo "# If the URL in in the form ':dir/file.dat:http://URL/' it will be downloaded as binary BLOB to the application dir and not unzipped" >> AndroidAppSettings.cfg # If you'll start Description with '!' symbol it will be enabled by default, '!!' will also hide the entry from the menu, so it cannot be disabled
echo "# If the URL does not contain 'http://' or 'https://', it is treated as file from 'project/jni/application/src/AndroidData' dir -" >> AndroidAppSettings.cfg # If the URL in in the form ':dir/file.dat:http://URL/' it will be downloaded as binary BLOB to the application dir and not unzipped
echo "# these files are put inside .apk package by the build system" >> AndroidAppSettings.cfg # If the URL does not contain 'http://' or 'https://', it is treated as file from 'project/jni/application/src/AndroidData' dir -
echo "# You can specify Google Play expansion files in the form 'obb:main.12345' or 'obb:patch.12345' where 12345 is the app version for the obb file" >> AndroidAppSettings.cfg # these files are put inside .apk package by the build system
echo "# You can mount expansion files created with jobb tool if you put 'mnt:main.12345' or 'mnt:patch.12345'" >> AndroidAppSettings.cfg # You can specify Google Play expansion files in the form 'obb:main.12345' or 'obb:patch.12345' where 12345 is the app version for the obb file
echo "# The mount directory will be returned by calling getenv(\"ANDROID_OBB_MOUNT_DIR\")" >> AndroidAppSettings.cfg # You can mount expansion files created with jobb tool if you put 'mnt:main.12345' or 'mnt:patch.12345'
echo "# Android app bundles do not support .obb files, they use asset packs instead." >> AndroidAppSettings.cfg # The mount directory will be returned by calling getenv("ANDROID_OBB_MOUNT_DIR")
echo "# This app project includes one pre-configured install-time asset pack." >> AndroidAppSettings.cfg # Android app bundles do not support .obb files, they use asset packs instead.
echo "# To put your data into asset pack, copy it to the directory AndroidData/assetpack" >> AndroidAppSettings.cfg # This app project includes one pre-configured install-time asset pack.
echo "# and run changeAppSettings.sh. The asset pack zip archive will be returned by" >> AndroidAppSettings.cfg # To put your data into asset pack, copy it to the directory AndroidData/assetpack
echo "# getenv(\"ANDROID_ASSET_PACK_PATH\"), this call will return NULL if the asset pack is not installed." >> AndroidAppSettings.cfg # and run changeAppSettings.sh. The asset pack zip archive will be returned by
echo "# You can put \"assetpack\" keyword to AppDataDownloadUrl, the code will check" >> AndroidAppSettings.cfg # getenv("ANDROID_ASSET_PACK_PATH"), this call will return NULL if the asset pack is not installed.
echo "# if the asset pack is installed and will not download the data from other URLs." >> AndroidAppSettings.cfg # You can put "assetpack" keyword to AppDataDownloadUrl, the code will check
echo "# You can extract files from the asset pack the same way you extract files from the app assets." >> AndroidAppSettings.cfg # if the asset pack is installed and will not download the data from other URLs.
echo "# You can use .zip.xz archives for better compression, but you need to add 'lzma' to CompiledLibraries" >> AndroidAppSettings.cfg # You can extract files from the asset pack the same way you extract files from the app assets.
echo "# Generate .zip.xz files like this: zip -0 -r data.zip your-data/* ; xz -8 data.zip" >> AndroidAppSettings.cfg # You can use .zip.xz archives for better compression, but you need to add 'lzma' to CompiledLibraries
echo AppDataDownloadUrl=\"$AppDataDownloadUrl\" >> AndroidAppSettings.cfg # Generate .zip.xz files like this: zip -0 -r data.zip your-data/* ; xz -8 data.zip
echo >> AndroidAppSettings.cfg AppDataDownloadUrl="$AppDataDownloadUrl"
echo "# Reset SDL config when updating application to the new version (y) / (n)" >> AndroidAppSettings.cfg
echo ResetSdlConfigForThisVersion=$ResetSdlConfigForThisVersion >> AndroidAppSettings.cfg # Reset SDL config when updating application to the new version (y) / (n)
echo >> AndroidAppSettings.cfg ResetSdlConfigForThisVersion=$ResetSdlConfigForThisVersion
echo "# Delete application data files when upgrading (specify file/dir paths separated by spaces)" >> AndroidAppSettings.cfg
echo DeleteFilesOnUpgrade=\"$DeleteFilesOnUpgrade\" >> AndroidAppSettings.cfg # Delete application data files when upgrading (specify file/dir paths separated by spaces)
echo >> AndroidAppSettings.cfg DeleteFilesOnUpgrade="$DeleteFilesOnUpgrade"
echo "# Here you may type readme text, which will be shown during startup. Format is:" >> AndroidAppSettings.cfg
echo "# Text in English, use \\\\\\\\\\\\\\\\n to separate lines (that's four backslashes)^de:Text in Deutsch^ru:Text in Russian^button:Button that will open some URL:http://url-to-open/" >> AndroidAppSettings.cfg # Here you may type readme text, which will be shown during startup. Format is:
echo ReadmeText=\'$ReadmeText\' | sed 's/\\\\n/\\\\\\\\n/g' >> AndroidAppSettings.cfg # Text in English, use \\\\n to separate lines (that's four backslashes)^de:Text in Deutsch^ru:Text in Russian^button:Button that will open some URL:http://url-to-open/
echo >> AndroidAppSettings.cfg ReadmeText='$ReadmeText' | sed 's/\\\\n/\\\\\\\\n/g'
echo "# libSDL version to use (1.2/2)" >> AndroidAppSettings.cfg
echo LibSdlVersion=$LibSdlVersion >> AndroidAppSettings.cfg # libSDL version to use (1.2/2)
echo >> AndroidAppSettings.cfg LibSdlVersion=$LibSdlVersion
echo "# Specify screen orientation: (v)ertical/(p)ortrait or (h)orizontal/(l)andscape" >> AndroidAppSettings.cfg
echo ScreenOrientation=$ScreenOrientation >> AndroidAppSettings.cfg # Specify screen orientation: (v)ertical/(p)ortrait or (h)orizontal/(l)andscape
echo >> AndroidAppSettings.cfg ScreenOrientation=$ScreenOrientation
echo "# Video color depth - 16 BPP is the fastest and supported for all modes, 24 bpp is supported only" >> AndroidAppSettings.cfg
echo "# with SwVideoMode=y, SDL_OPENGL mode supports everything. (16)/(24)/(32)" >> AndroidAppSettings.cfg # Video color depth - 16 BPP is the fastest and supported for all modes, 24 bpp is supported only
echo VideoDepthBpp=$VideoDepthBpp >> AndroidAppSettings.cfg # with SwVideoMode=y, SDL_OPENGL mode supports everything. (16)/(24)/(32)
echo >> AndroidAppSettings.cfg VideoDepthBpp=$VideoDepthBpp
echo "# Enable OpenGL depth buffer (needed only for 3-d applications, small speed decrease) (y) or (n)" >> AndroidAppSettings.cfg
echo NeedDepthBuffer=$NeedDepthBuffer >> AndroidAppSettings.cfg # Enable OpenGL depth buffer (needed only for 3-d applications, small speed decrease) (y) or (n)
echo >> AndroidAppSettings.cfg NeedDepthBuffer=$NeedDepthBuffer
echo "# Enable OpenGL stencil buffer (needed only for 3-d applications, small speed decrease) (y) or (n)" >> AndroidAppSettings.cfg
echo NeedStencilBuffer=$NeedStencilBuffer >> AndroidAppSettings.cfg # Enable OpenGL stencil buffer (needed only for 3-d applications, small speed decrease) (y) or (n)
echo >> AndroidAppSettings.cfg NeedStencilBuffer=$NeedStencilBuffer
echo "# Use GLES 2.x context" >> AndroidAppSettings.cfg
echo "# you need this option only if you're developing 3-d app (y) or (n)" >> AndroidAppSettings.cfg # Use GLES 2.x context
echo NeedGles2=$NeedGles2 >> AndroidAppSettings.cfg # you need this option only if you're developing 3-d app (y) or (n)
echo >> AndroidAppSettings.cfg NeedGles2=$NeedGles2
echo "# Use GLES 3.x context" >> AndroidAppSettings.cfg
echo "# you need this option only if you're developing 3-d app (y) or (n)" >> AndroidAppSettings.cfg # Use GLES 3.x context
echo NeedGles3=$NeedGles3 >> AndroidAppSettings.cfg # you need this option only if you're developing 3-d app (y) or (n)
echo >> AndroidAppSettings.cfg NeedGles3=$NeedGles3
echo "# Use gl4es library for provide OpenGL 1.x functionality to OpenGL ES accelerated cards (y) or (n)" >> AndroidAppSettings.cfg
echo UseGl4es=$UseGl4es >> AndroidAppSettings.cfg # Use gl4es library for provide OpenGL 1.x functionality to OpenGL ES accelerated cards (y) or (n)
echo >> AndroidAppSettings.cfg UseGl4es=$UseGl4es
echo "# Application uses software video buffer - you're calling SDL_SetVideoMode() without SDL_HWSURFACE and without SDL_OPENGL," >> AndroidAppSettings.cfg
echo "# this will allow small speed optimization. Enable this even when you're using SDL_HWSURFACE. (y) or (n)" >> AndroidAppSettings.cfg # Application uses software video buffer - you're calling SDL_SetVideoMode() without SDL_HWSURFACE and without SDL_OPENGL,
echo SwVideoMode=$SwVideoMode >> AndroidAppSettings.cfg # this will allow small speed optimization. Enable this even when you're using SDL_HWSURFACE. (y) or (n)
echo >> AndroidAppSettings.cfg SwVideoMode=$SwVideoMode
echo "# Application video output will be resized to fit into native device screen (y)/(n)" >> AndroidAppSettings.cfg
echo SdlVideoResize=$SdlVideoResize >> AndroidAppSettings.cfg # Application video output will be resized to fit into native device screen (y)/(n)
echo >> AndroidAppSettings.cfg SdlVideoResize=$SdlVideoResize
echo "# Application resizing will keep 4:3 aspect ratio, with black bars at sides (y)/(n)" >> AndroidAppSettings.cfg
echo SdlVideoResizeKeepAspect=$SdlVideoResizeKeepAspect >> AndroidAppSettings.cfg # Application resizing will keep 4:3 aspect ratio, with black bars at sides (y)/(n)
echo >> AndroidAppSettings.cfg SdlVideoResizeKeepAspect=$SdlVideoResizeKeepAspect
echo "# Do not allow device to sleep when the application is in foreground, set this for video players or apps which use accelerometer" >> AndroidAppSettings.cfg
echo InhibitSuspend=$InhibitSuspend >> AndroidAppSettings.cfg Do not allow device to sleep when the application is in foreground, set this for video players or apps which use accelerometer
echo >> AndroidAppSettings.cfg InhibitSuspend=$InhibitSuspend
echo "# Create Android service, so the app is less likely to be killed while in background" >> AndroidAppSettings.cfg
echo CreateService=$CreateService >> AndroidAppSettings.cfg # Create Android service, so the app is less likely to be killed while in background
echo >> AndroidAppSettings.cfg CreateService=$CreateService
echo "# Application does not call SDL_Flip() or SDL_UpdateRects() appropriately, or draws from non-main thread -" >> AndroidAppSettings.cfg
echo "# enabling the compatibility mode will force screen update every 100 milliseconds, which is laggy and inefficient (y) or (n)" >> AndroidAppSettings.cfg # Application does not call SDL_Flip() or SDL_UpdateRects() appropriately, or draws from non-main thread -
echo CompatibilityHacksForceScreenUpdate=$CompatibilityHacksForceScreenUpdate >> AndroidAppSettings.cfg # enabling the compatibility mode will force screen update every 100 milliseconds, which is laggy and inefficient (y) or (n)
echo >> AndroidAppSettings.cfg CompatibilityHacksForceScreenUpdate=$CompatibilityHacksForceScreenUpdate
echo "# Application does not call SDL_Flip() or SDL_UpdateRects() after mouse click (ScummVM and all Amiga emulators do that) -" >> AndroidAppSettings.cfg
echo "# force screen update by moving mouse cursor a little after each click (y) or (n)" >> AndroidAppSettings.cfg # Application does not call SDL_Flip() or SDL_UpdateRects() after mouse click (ScummVM and all Amiga emulators do that) -
echo CompatibilityHacksForceScreenUpdateMouseClick=$CompatibilityHacksForceScreenUpdateMouseClick >> AndroidAppSettings.cfg # force screen update by moving mouse cursor a little after each click (y) or (n)
echo >> AndroidAppSettings.cfg CompatibilityHacksForceScreenUpdateMouseClick=$CompatibilityHacksForceScreenUpdateMouseClick
echo "# Application initializes SDL audio/video inside static constructors (which is bad, you won't be able to run ndk-gdb) (y)/(n)" >> AndroidAppSettings.cfg
echo CompatibilityHacksStaticInit=$CompatibilityHacksStaticInit >> AndroidAppSettings.cfg # Application initializes SDL audio/video inside static constructors (which is bad, you won't be able to run ndk-gdb) (y)/(n)
echo >> AndroidAppSettings.cfg CompatibilityHacksStaticInit=$CompatibilityHacksStaticInit
echo "# On-screen Android soft text input emulates hardware keyboard, this will only work with Hackers Keyboard app (y)/(n)" >> AndroidAppSettings.cfg
echo CompatibilityHacksTextInputEmulatesHwKeyboard=$CompatibilityHacksTextInputEmulatesHwKeyboard >> AndroidAppSettings.cfg # On-screen Android soft text input emulates hardware keyboard, this will only work with Hackers Keyboard app (y)/(n)
echo >> AndroidAppSettings.cfg CompatibilityHacksTextInputEmulatesHwKeyboard=$CompatibilityHacksTextInputEmulatesHwKeyboard
echo "# Built-in text input keyboards with custom layouts for emulators, requires CompatibilityHacksTextInputEmulatesHwKeyboard=y" >> AndroidAppSettings.cfg
echo "# 0 or empty - standard Android keyboard" >> AndroidAppSettings.cfg # Built-in text input keyboards with custom layouts for emulators, requires CompatibilityHacksTextInputEmulatesHwKeyboard=y
echo "# 1 - Simple QWERTY keyboard, no function keys, no arrow keys" >> AndroidAppSettings.cfg # 0 or empty - standard Android keyboard
echo "# 2 - Commodore 64 keyboard" >> AndroidAppSettings.cfg # 1 - Simple QWERTY keyboard, no function keys, no arrow keys
echo "# 3 - Amiga keyboard" >> AndroidAppSettings.cfg # 2 - Commodore 64 keyboard
echo "# 4 - Atari800 keyboard" >> AndroidAppSettings.cfg # 3 - Amiga keyboard
echo TextInputKeyboard=$TextInputKeyboard >> AndroidAppSettings.cfg # 4 - Atari800 keyboard
echo >> AndroidAppSettings.cfg TextInputKeyboard=$TextInputKeyboard
echo "# Hack for broken devices: prevent audio chopping, by sleeping a bit after pushing each audio chunk (y)/(n)" >> AndroidAppSettings.cfg
echo CompatibilityHacksPreventAudioChopping=$CompatibilityHacksPreventAudioChopping >> AndroidAppSettings.cfg # Hack for broken devices: prevent audio chopping, by sleeping a bit after pushing each audio chunk (y)/(n)
echo >> AndroidAppSettings.cfg CompatibilityHacksPreventAudioChopping=$CompatibilityHacksPreventAudioChopping
echo "# Hack for broken apps: application ignores audio buffer size returned by SDL (y)/(n)" >> AndroidAppSettings.cfg
echo CompatibilityHacksAppIgnoresAudioBufferSize=$CompatibilityHacksAppIgnoresAudioBufferSize >> AndroidAppSettings.cfg # Hack for broken apps: application ignores audio buffer size returned by SDL (y)/(n)
echo >> AndroidAppSettings.cfg CompatibilityHacksAppIgnoresAudioBufferSize=$CompatibilityHacksAppIgnoresAudioBufferSize
echo "# Hack for VCMI: preload additional shared libraries before aplication start" >> AndroidAppSettings.cfg
echo CompatibilityHacksAdditionalPreloadedSharedLibraries=\"$CompatibilityHacksAdditionalPreloadedSharedLibraries\" >> AndroidAppSettings.cfg # Hack for VCMI: preload additional shared libraries before aplication start
echo >> AndroidAppSettings.cfg CompatibilityHacksAdditionalPreloadedSharedLibraries="$CompatibilityHacksAdditionalPreloadedSharedLibraries"
echo "# Hack for Free Heroes 2, which redraws the screen inside SDL_PumpEvents(): slow and compatible SDL event queue -" >> AndroidAppSettings.cfg
echo "# do not use it with accelerometer/gyroscope, or your app may freeze at random (y)/(n)" >> AndroidAppSettings.cfg # Hack for Free Heroes 2, which redraws the screen inside SDL_PumpEvents(): slow and compatible SDL event queue -
echo CompatibilityHacksSlowCompatibleEventQueue=$CompatibilityHacksSlowCompatibleEventQueue >> AndroidAppSettings.cfg # do not use it with accelerometer/gyroscope, or your app may freeze at random (y)/(n)
echo >> AndroidAppSettings.cfg CompatibilityHacksSlowCompatibleEventQueue=$CompatibilityHacksSlowCompatibleEventQueue
echo "# Save and restore OpenGL state when drawing on-screen keyboard for apps that use SDL_OPENGL" >> AndroidAppSettings.cfg
echo CompatibilityHacksTouchscreenKeyboardSaveRestoreOpenGLState=$CompatibilityHacksTouchscreenKeyboardSaveRestoreOpenGLState >> AndroidAppSettings.cfg # Save and restore OpenGL state when drawing on-screen keyboard for apps that use SDL_OPENGL
echo >> AndroidAppSettings.cfg CompatibilityHacksTouchscreenKeyboardSaveRestoreOpenGLState=$CompatibilityHacksTouchscreenKeyboardSaveRestoreOpenGLState
echo "# Application uses SDL_UpdateRects() properly, and does not draw in any region outside those rects." >> AndroidAppSettings.cfg
echo "# This improves drawing speed, but I know only one application that does that, and it's written by me (y)/(n)" >> AndroidAppSettings.cfg # Application uses SDL_UpdateRects() properly, and does not draw in any region outside those rects.
echo CompatibilityHacksProperUsageOfSDL_UpdateRects=$CompatibilityHacksProperUsageOfSDL_UpdateRects >> AndroidAppSettings.cfg # This improves drawing speed, but I know only one application that does that, and it's written by me (y)/(n)
echo >> AndroidAppSettings.cfg CompatibilityHacksProperUsageOfSDL_UpdateRects=$CompatibilityHacksProperUsageOfSDL_UpdateRects
echo "# Application uses mouse (y) or (n), this will show mouse emulation dialog to the user" >> AndroidAppSettings.cfg
echo AppUsesMouse=$AppUsesMouse >> AndroidAppSettings.cfg # Application uses mouse (y) or (n), this will show mouse emulation dialog to the user
echo >> AndroidAppSettings.cfg AppUsesMouse=$AppUsesMouse
echo "# Application needs two-button mouse, will also enable advanced point-and-click features (y) or (n)" >> AndroidAppSettings.cfg
echo AppNeedsTwoButtonMouse=$AppNeedsTwoButtonMouse >> AndroidAppSettings.cfg # Application needs two-button mouse, will also enable advanced point-and-click features (y) or (n)
echo >> AndroidAppSettings.cfg AppNeedsTwoButtonMouse=$AppNeedsTwoButtonMouse
echo "# Right mouse button can do long-press/drag&drop action, necessary for some games (y) or (n)" >> AndroidAppSettings.cfg
echo "# If you disable it, swiping with two fingers will send mouse wheel events" >> AndroidAppSettings.cfg # Right mouse button can do long-press/drag&drop action, necessary for some games (y) or (n)
echo RightMouseButtonLongPress=$RightMouseButtonLongPress >> AndroidAppSettings.cfg # If you disable it, swiping with two fingers will send mouse wheel events
echo >> AndroidAppSettings.cfg RightMouseButtonLongPress=$RightMouseButtonLongPress
echo "# Show SDL mouse cursor, for applications that do not draw cursor at all (y) or (n)" >> AndroidAppSettings.cfg
echo ShowMouseCursor=$ShowMouseCursor >> AndroidAppSettings.cfg # Show SDL mouse cursor, for applications that do not draw cursor at all (y) or (n)
echo >> AndroidAppSettings.cfg ShowMouseCursor=$ShowMouseCursor
echo "# Screen follows mouse cursor, when it's covered by soft keyboard, this works only in software video mode (y) or (n)" >> AndroidAppSettings.cfg
echo ScreenFollowsMouse=$ScreenFollowsMouse >> AndroidAppSettings.cfg # Screen follows mouse cursor, when it's covered by soft keyboard, this works only in software video mode (y) or (n)
echo >> AndroidAppSettings.cfg ScreenFollowsMouse=$ScreenFollowsMouse
echo "# Generate more touch events, by default SDL generates one event per one video frame, this is useful for drawing apps (y) or (n)" >> AndroidAppSettings.cfg
echo GenerateSubframeTouchEvents=$GenerateSubframeTouchEvents >> AndroidAppSettings.cfg # Generate more touch events, by default SDL generates one event per one video frame, this is useful for drawing apps (y) or (n)
echo >> AndroidAppSettings.cfg GenerateSubframeTouchEvents=$GenerateSubframeTouchEvents
echo "# Force relative (laptop) mouse movement mode, useful when both on-screen keyboard and mouse are needed (y) or (n)" >> AndroidAppSettings.cfg
echo ForceRelativeMouseMode=$ForceRelativeMouseMode >> AndroidAppSettings.cfg # Force relative (laptop) mouse movement mode, useful when both on-screen keyboard and mouse are needed (y) or (n)
echo >> AndroidAppSettings.cfg ForceRelativeMouseMode=$ForceRelativeMouseMode
echo "# Show on-screen dpad/joystick, that will act as arrow keys (y) or (n)" >> AndroidAppSettings.cfg
echo AppNeedsArrowKeys=$AppNeedsArrowKeys >> AndroidAppSettings.cfg # Show on-screen dpad/joystick, that will act as arrow keys (y) or (n)
echo >> AndroidAppSettings.cfg AppNeedsArrowKeys=$AppNeedsArrowKeys
echo "# On-screen dpad/joystick will appear under finger when it touches the screen (y) or (n)" >> AndroidAppSettings.cfg
echo "# Joystick always follows finger, so moving mouse requires touching the screen with other finger" >> AndroidAppSettings.cfg # On-screen dpad/joystick will appear under finger when it touches the screen (y) or (n)
echo FloatingScreenJoystick=$FloatingScreenJoystick >> AndroidAppSettings.cfg # Joystick always follows finger, so moving mouse requires touching the screen with other finger
echo >> AndroidAppSettings.cfg FloatingScreenJoystick=$FloatingScreenJoystick
echo "# Application needs text input (y) or (n), enables button for text input on screen" >> AndroidAppSettings.cfg
echo AppNeedsTextInput=$AppNeedsTextInput >> AndroidAppSettings.cfg # Application needs text input (y) or (n), enables button for text input on screen
echo >> AndroidAppSettings.cfg AppNeedsTextInput=$AppNeedsTextInput
echo "# Application uses joystick (y) or (n), the on-screen DPAD will be used as joystick 0 axes 0-1" >> AndroidAppSettings.cfg
echo "# This will disable AppNeedsArrowKeys option" >> AndroidAppSettings.cfg # Application uses joystick (y) or (n), the on-screen DPAD will be used as joystick 0 axes 0-1
echo AppUsesJoystick=$AppUsesJoystick >> AndroidAppSettings.cfg # This will disable AppNeedsArrowKeys option
echo >> AndroidAppSettings.cfg AppUsesJoystick=$AppUsesJoystick
echo "# Application uses second on-screen joystick, as SDL joystick 0 axes 2-3 (y)/(n)" >> AndroidAppSettings.cfg
echo AppUsesSecondJoystick=$AppUsesSecondJoystick >> AndroidAppSettings.cfg # Application uses second on-screen joystick, as SDL joystick 0 axes 2-3 (y)/(n)
echo >> AndroidAppSettings.cfg AppUsesSecondJoystick=$AppUsesSecondJoystick
echo "# Application uses third on-screen joystick, as SDL joystick 0 axes 20-21 (y)/(n)" >> AndroidAppSettings.cfg
echo AppUsesThirdJoystick=$AppUsesThirdJoystick >> AndroidAppSettings.cfg # Application uses third on-screen joystick, as SDL joystick 0 axes 20-21 (y)/(n)
echo >> AndroidAppSettings.cfg AppUsesThirdJoystick=$AppUsesThirdJoystick
echo "# Application uses accelerometer (y) or (n), the accelerometer will be used as joystick 1 axes 0-1 and 5-7" >> AndroidAppSettings.cfg
echo AppUsesAccelerometer=$AppUsesAccelerometer >> AndroidAppSettings.cfg # Application uses accelerometer (y) or (n), the accelerometer will be used as joystick 1 axes 0-1 and 5-7
echo >> AndroidAppSettings.cfg AppUsesAccelerometer=$AppUsesAccelerometer
echo "# Application uses gyroscope (y) or (n), the gyroscope will be used as joystick 1 axes 2-4" >> AndroidAppSettings.cfg
echo AppUsesGyroscope=$AppUsesGyroscope >> AndroidAppSettings.cfg # Application uses gyroscope (y) or (n), the gyroscope will be used as joystick 1 axes 2-4
echo >> AndroidAppSettings.cfg AppUsesGyroscope=$AppUsesGyroscope
echo "# Application uses orientation sensor (y) or (n), reported as joystick 1 axes 8-10" >> AndroidAppSettings.cfg
echo AppUsesOrientationSensor=$AppUsesOrientationSensor >> AndroidAppSettings.cfg # Application uses orientation sensor (y) or (n), reported as joystick 1 axes 8-10
echo >> AndroidAppSettings.cfg AppUsesOrientationSensor=$AppUsesOrientationSensor
echo "# Use gyroscope to move mouse cursor (y) or (n), it eats battery, and can be disabled in settings, do not use with AppUsesGyroscope setting" >> AndroidAppSettings.cfg
echo MoveMouseWithGyroscope=$MoveMouseWithGyroscope >> AndroidAppSettings.cfg # Use gyroscope to move mouse cursor (y) or (n), it eats battery, and can be disabled in settings, do not use with AppUsesGyroscope setting
echo >> AndroidAppSettings.cfg MoveMouseWithGyroscope=$MoveMouseWithGyroscope
echo "# Application uses multitouch (y) or (n), multitouch events are passed as SDL_JOYBALLMOTION events for the joystick 0" >> AndroidAppSettings.cfg
echo AppUsesMultitouch=$AppUsesMultitouch >> AndroidAppSettings.cfg # Application uses multitouch (y) or (n), multitouch events are passed as SDL_JOYBALLMOTION events for the joystick 0
echo >> AndroidAppSettings.cfg AppUsesMultitouch=$AppUsesMultitouch
echo "# Application records audio (it will use any available source, such a s microphone)" >> AndroidAppSettings.cfg
echo "# API is defined in file SDL_android.h: int SDL_ANDROID_OpenAudioRecording(SDL_AudioSpec *spec); void SDL_ANDROID_CloseAudioRecording(void);" >> AndroidAppSettings.cfg # Application records audio (it will use any available source, such a s microphone)
echo "# This option will add additional permission to Android manifest (y)/(n)" >> AndroidAppSettings.cfg # API is defined in file SDL_android.h: int SDL_ANDROID_OpenAudioRecording(SDL_AudioSpec *spec); void SDL_ANDROID_CloseAudioRecording(void);
echo AppRecordsAudio=$AppRecordsAudio >> AndroidAppSettings.cfg # This option will add additional permission to Android manifest (y)/(n)
echo >> AndroidAppSettings.cfg AppRecordsAudio=$AppRecordsAudio
echo "# Application needs read/write access SD card. Always disable it, unless you want to access user photos and downloads. (y) / (n)" >> AndroidAppSettings.cfg
echo AccessSdCard=$AccessSdCard >> AndroidAppSettings.cfg # Application needs read/write access SD card. Always disable it, unless you want to access user photos and downloads. (y) / (n)
echo >> AndroidAppSettings.cfg AccessSdCard=$AccessSdCard
echo "# Application needs to read it's own OBB file. Enable this if you are using Play Store expansion files. (y) / (n)" >> AndroidAppSettings.cfg
echo ReadObbFile=$ReadObbFile >> AndroidAppSettings.cfg # Application needs to read it's own OBB file. Enable this if you are using Play Store expansion files. (y) / (n)
echo >> AndroidAppSettings.cfg ReadObbFile=$ReadObbFile
echo "# Application needs Internet access. If you disable it, you'll have to bundle all your data files inside .apk (y) / (n)" >> AndroidAppSettings.cfg
echo AccessInternet=$AccessInternet >> AndroidAppSettings.cfg # Application needs Internet access. If you disable it, you'll have to bundle all your data files inside .apk (y) / (n)
echo >> AndroidAppSettings.cfg AccessInternet=$AccessInternet
echo "# Immersive mode - Android will hide on-screen Home/Back keys. Looks bad if you invoke Android keyboard. (y) / (n)" >> AndroidAppSettings.cfg
echo ImmersiveMode=$ImmersiveMode >> AndroidAppSettings.cfg # Immersive mode - Android will hide on-screen Home/Back keys. Looks bad if you invoke Android keyboard. (y) / (n)
echo >> AndroidAppSettings.cfg ImmersiveMode=$ImmersiveMode
echo "# Draw in the display cutout area. (y) / (n)" >> AndroidAppSettings.cfg
echo DrawInDisplayCutout=$DrawInDisplayCutout >> AndroidAppSettings.cfg # Draw in the display cutout area. (y) / (n)
echo >> AndroidAppSettings.cfg DrawInDisplayCutout=$DrawInDisplayCutout
echo "# Hide Android system mouse cursor image when USB mouse is attached (y) or (n) - the app must draw it's own mouse cursor" >> AndroidAppSettings.cfg
echo HideSystemMousePointer=$HideSystemMousePointer >> AndroidAppSettings.cfg # Hide Android system mouse cursor image when USB mouse is attached (y) or (n) - the app must draw it's own mouse cursor
echo >> AndroidAppSettings.cfg HideSystemMousePointer=$HideSystemMousePointer
echo "# Application implements Android-specific routines to put to background, and will not draw anything to screen" >> AndroidAppSettings.cfg
echo "# between SDL_ACTIVEEVENT lost / gained notifications - you should check for them" >> AndroidAppSettings.cfg # Application implements Android-specific routines to put to background, and will not draw anything to screen
echo "# rigth after SDL_Flip(), if (n) then SDL_Flip() will block till app in background (y) or (n)" >> AndroidAppSettings.cfg # between SDL_ACTIVEEVENT lost / gained notifications - you should check for them
echo "# This option is reported to be buggy, sometimes failing to restore video state" >> AndroidAppSettings.cfg # rigth after SDL_Flip(), if (n) then SDL_Flip() will block till app in background (y) or (n)
echo NonBlockingSwapBuffers=$NonBlockingSwapBuffers >> AndroidAppSettings.cfg # This option is reported to be buggy, sometimes failing to restore video state
echo >> AndroidAppSettings.cfg NonBlockingSwapBuffers=$NonBlockingSwapBuffers
echo "# Redefine common hardware keys to SDL keysyms" >> AndroidAppSettings.cfg
echo "# BACK hardware key is available on all devices, MENU is available on pre-ICS devices, other keys may be absent" >> AndroidAppSettings.cfg # Redefine common hardware keys to SDL keysyms
echo "# SEARCH and CALL by default return same keycode as DPAD_CENTER - one of those keys is available on most devices" >> AndroidAppSettings.cfg # BACK hardware key is available on all devices, MENU is available on pre-ICS devices, other keys may be absent
echo "# Use word NO_REMAP if you want to preserve native functionality for certain key (volume keys are 3-rd and 4-th)" >> AndroidAppSettings.cfg # SEARCH and CALL by default return same keycode as DPAD_CENTER - one of those keys is available on most devices
echo "# Keys: TOUCHSCREEN (works only when AppUsesMouse=n), DPAD_CENTER/SEARCH, VOLUMEUP, VOLUMEDOWN, MENU, BACK, CAMERA" >> AndroidAppSettings.cfg # Use word NO_REMAP if you want to preserve native functionality for certain key (volume keys are 3-rd and 4-th)
echo RedefinedKeys=\"$RedefinedKeys\" >> AndroidAppSettings.cfg # Keys: TOUCHSCREEN (works only when AppUsesMouse=n), DPAD_CENTER/SEARCH, VOLUMEUP, VOLUMEDOWN, MENU, BACK, CAMERA
echo >> AndroidAppSettings.cfg RedefinedKeys="$RedefinedKeys"
echo "# Number of virtual keyboard keys - currently 12 keys is the maximum" >> AndroidAppSettings.cfg
echo AppTouchscreenKeyboardKeysAmount=$AppTouchscreenKeyboardKeysAmount >> AndroidAppSettings.cfg # Number of virtual keyboard keys - currently 12 keys is the maximum
echo >> AndroidAppSettings.cfg AppTouchscreenKeyboardKeysAmount=$AppTouchscreenKeyboardKeysAmount
echo "# Define SDL keysyms for multitouch gestures - pinch-zoom in, pinch-zoom out, rotate left, rotate right" >> AndroidAppSettings.cfg
echo RedefinedKeysScreenGestures=\"$RedefinedKeysScreenGestures\" >> AndroidAppSettings.cfg # Define SDL keysyms for multitouch gestures - pinch-zoom in, pinch-zoom out, rotate left, rotate right
echo >> AndroidAppSettings.cfg RedefinedKeysScreenGestures="$RedefinedKeysScreenGestures"
echo "# Redefine on-screen keyboard keys to SDL keysyms - currently 12 keys is the maximum" >> AndroidAppSettings.cfg
echo RedefinedKeysScreenKb=\"$RedefinedKeysScreenKb\" >> AndroidAppSettings.cfg # Redefine on-screen keyboard keys to SDL keysyms - currently 12 keys is the maximum
echo >> AndroidAppSettings.cfg RedefinedKeysScreenKb="$RedefinedKeysScreenKb"
echo "# Names for on-screen keyboard keys, such as Fire, Jump, Run etc, separated by spaces, they are used in SDL config menu" >> AndroidAppSettings.cfg
echo RedefinedKeysScreenKbNames=\"$RedefinedKeysScreenKbNames\" >> AndroidAppSettings.cfg # Names for on-screen keyboard keys, such as Fire, Jump, Run etc, separated by spaces, they are used in SDL config menu
echo >> AndroidAppSettings.cfg RedefinedKeysScreenKbNames="$RedefinedKeysScreenKbNames"
echo "# On-screen keys theme" >> AndroidAppSettings.cfg
echo "# 0 = Ultimate Droid by Sean Stieber (green, with cross joystick)" >> AndroidAppSettings.cfg # On-screen keys theme
echo "# 1 = Simple Theme by Beholder (white, with cross joystick)" >> AndroidAppSettings.cfg # 0 = Ultimate Droid by Sean Stieber (green, with cross joystick)
echo "# 2 = Sun by Sirea (yellow, with round joystick)" >> AndroidAppSettings.cfg # 1 = Simple Theme by Beholder (white, with cross joystick)
echo "# 3 = Keen by Gerstrong (multicolor, with round joystick)" >> AndroidAppSettings.cfg # 2 = Sun by Sirea (yellow, with round joystick)
echo "# 4 = Retro by Santiago Radeff (red/white, with cross joystick)" >> AndroidAppSettings.cfg # 3 = Keen by Gerstrong (multicolor, with round joystick)
echo "# 5 = GameBoy from RetroArch" >> AndroidAppSettings.cfg # 4 = Retro by Santiago Radeff (red/white, with cross joystick)
echo "# 6 = PlayStation from RetroArch" >> AndroidAppSettings.cfg # 5 = GameBoy from RetroArch
echo "# 7 = SuperNintendo from RetroArch" >> AndroidAppSettings.cfg # 6 = PlayStation from RetroArch
echo "# 8 = DualShock from RetroArch" >> AndroidAppSettings.cfg # 7 = SuperNintendo from RetroArch
echo "# 9 = Nintendo64 from RetroArch" >> AndroidAppSettings.cfg # 8 = DualShock from RetroArch
echo TouchscreenKeysTheme=$TouchscreenKeysTheme >> AndroidAppSettings.cfg # 9 = Nintendo64 from RetroArch
echo >> AndroidAppSettings.cfg TouchscreenKeysTheme=$TouchscreenKeysTheme
echo "# Redefine gamepad keys to SDL keysyms, button order is:" >> AndroidAppSettings.cfg
echo "# A B X Y L1 R1 L2 R2 LThumb RThumb Start Select Up Down Left Right LThumbUp LThumbDown LThumbLeft LThumbRight RThumbUp RThumbDown RThumbLeft RThumbRight" >> AndroidAppSettings.cfg # Redefine gamepad keys to SDL keysyms, button order is:
echo RedefinedKeysGamepad=\"$RedefinedKeysGamepad\" >> AndroidAppSettings.cfg # A B X Y L1 R1 L2 R2 LThumb RThumb Start Select Up Down Left Right LThumbUp LThumbDown LThumbLeft LThumbRight RThumbUp RThumbDown RThumbLeft RThumbRight
echo >> AndroidAppSettings.cfg RedefinedKeysGamepad="$RedefinedKeysGamepad"
echo "# Redefine keys for the second gamepad, same as the first gamepad if not set:" >> AndroidAppSettings.cfg
echo RedefinedKeysSecondGamepad=\"$RedefinedKeysSecondGamepad\" >> AndroidAppSettings.cfg # Redefine keys for the second gamepad, same as the first gamepad if not set:
echo >> AndroidAppSettings.cfg RedefinedKeysSecondGamepad="$RedefinedKeysSecondGamepad"
echo "# Redefine keys for the third gamepad, same as the first gamepad if not set:" >> AndroidAppSettings.cfg
echo RedefinedKeysThirdGamepad=\"$RedefinedKeysThirdGamepad\" >> AndroidAppSettings.cfg # Redefine keys for the third gamepad, same as the first gamepad if not set:
echo >> AndroidAppSettings.cfg RedefinedKeysThirdGamepad="$RedefinedKeysThirdGamepad"
echo "# Redefine keys for the fourth gamepad, same as the first gamepad if not set:" >> AndroidAppSettings.cfg
echo RedefinedKeysFourthGamepad=\"$RedefinedKeysFourthGamepad\" >> AndroidAppSettings.cfg # Redefine keys for the fourth gamepad, same as the first gamepad if not set:
echo >> AndroidAppSettings.cfg RedefinedKeysFourthGamepad="$RedefinedKeysFourthGamepad"
echo "# How long to show startup menu button, in msec, 0 to disable startup menu" >> AndroidAppSettings.cfg
echo StartupMenuButtonTimeout=$StartupMenuButtonTimeout >> AndroidAppSettings.cfg "# How long to show startup menu button, in msec, 0 to disable startup menu
echo >> AndroidAppSettings.cfg StartupMenuButtonTimeout=$StartupMenuButtonTimeout
echo "# Menu items to hide from startup menu, available menu items (SDL 1.2 only):" >> AndroidAppSettings.cfg
echo "# $MenuOptionsAvailable" >> AndroidAppSettings.cfg # Menu items to hide from startup menu, available menu items (SDL 1.2 only):
echo HiddenMenuOptions=\'$HiddenMenuOptions\' >> AndroidAppSettings.cfg # $MenuOptionsAvailable
echo >> AndroidAppSettings.cfg HiddenMenuOptions='$HiddenMenuOptions'
echo "# Menu items to show at startup - this is Java code snippet, leave empty for default" >> AndroidAppSettings.cfg
echo "# $FirstStartMenuOptionsDefault" >> AndroidAppSettings.cfg # Menu items to show at startup - this is Java code snippet, leave empty for default
echo "# Available menu items:" >> AndroidAppSettings.cfg # $FirstStartMenuOptionsDefault
echo "# $MenuOptionsAvailable" >> AndroidAppSettings.cfg # Available menu items:
echo FirstStartMenuOptions=\'$FirstStartMenuOptions\' >> AndroidAppSettings.cfg # $MenuOptionsAvailable
echo >> AndroidAppSettings.cfg FirstStartMenuOptions='$FirstStartMenuOptions'
echo "# Minimum amount of RAM application requires, in Mb, SDL will print warning to user if it's lower" >> AndroidAppSettings.cfg
echo AppMinimumRAM=$AppMinimumRAM >> AndroidAppSettings.cfg # Minimum amount of RAM application requires, in Mb, SDL will print warning to user if it's lower
echo >> AndroidAppSettings.cfg AppMinimumRAM=$AppMinimumRAM
echo "# GCC version, or 'clang' for CLANG" >> AndroidAppSettings.cfg
echo NDK_TOOLCHAIN_VERSION=$NDK_TOOLCHAIN_VERSION >> AndroidAppSettings.cfg # GCC version, or 'clang' for CLANG
echo >> AndroidAppSettings.cfg NDK_TOOLCHAIN_VERSION=$NDK_TOOLCHAIN_VERSION
echo "# Android platform version." >> AndroidAppSettings.cfg
echo "# android-16 = Android 4.1, the earliest supported version in NDK r18." >> AndroidAppSettings.cfg # Android platform version.
echo "# android-18 = Android 4.3, the first version supporting GLES3." >> AndroidAppSettings.cfg # android-16 = Android 4.1, the earliest supported version in NDK r18.
echo "# android-21 = Android 5.1, the first version with SO_REUSEPORT defined." >> AndroidAppSettings.cfg # android-18 = Android 4.3, the first version supporting GLES3.
echo APP_PLATFORM=$APP_PLATFORM >> AndroidAppSettings.cfg # android-21 = Android 5.1, the first version with SO_REUSEPORT defined.
echo >> AndroidAppSettings.cfg APP_PLATFORM=$APP_PLATFORM
echo "# Specify architectures to compile, 'all' or 'y' to compile for all architectures." >> AndroidAppSettings.cfg
echo "# Available architectures: armeabi-v7a arm64-v8a x86 x86_64" >> AndroidAppSettings.cfg # Specify architectures to compile, 'all' or 'y' to compile for all architectures.
echo MultiABI=\'$MultiABI\' >> AndroidAppSettings.cfg # Available architectures: armeabi-v7a arm64-v8a x86 x86_64
echo >> AndroidAppSettings.cfg MultiABI='$MultiABI'
echo "# Optional shared libraries to compile - removing some of them will save space" >> AndroidAppSettings.cfg
echo "# MP3 patents are expired, but libmad license is GPL, not LGPL" >> AndroidAppSettings.cfg # Optional shared libraries to compile - removing some of them will save space
grep 'Available' project/jni/SettingsTemplate.mk >> AndroidAppSettings.cfg # MP3 patents are expired, but libmad license is GPL, not LGPL
echo CompiledLibraries=\"$CompiledLibraries\" >> AndroidAppSettings.cfg rep 'Available' project/jni/SettingsTemplate.mk
echo >> AndroidAppSettings.cfg CompiledLibraries="$CompiledLibraries"
echo "# Application uses custom build script AndroidBuild.sh instead of Android.mk (y) or (n)" >> AndroidAppSettings.cfg
echo CustomBuildScript=$CustomBuildScript >> AndroidAppSettings.cfg # Application uses custom build script AndroidBuild.sh instead of Android.mk (y) or (n)
echo >> AndroidAppSettings.cfg CustomBuildScript=$CustomBuildScript
echo "# Aditional CFLAGS for application" >> AndroidAppSettings.cfg
echo AppCflags=\'$AppCflags\' >> AndroidAppSettings.cfg # Aditional CFLAGS for application
echo >> AndroidAppSettings.cfg AppCflags='$AppCflags'
echo "# Aditional C++-specific compiler flags for application, added after AppCflags" >> AndroidAppSettings.cfg
echo AppCppflags=\'$AppCppflags\' >> AndroidAppSettings.cfg # Aditional C++-specific compiler flags for application, added after AppCflags
echo >> AndroidAppSettings.cfg AppCppflags='$AppCppflags'
echo "# Additional LDFLAGS for application" >> AndroidAppSettings.cfg
echo AppLdflags=\'$AppLdflags\' >> AndroidAppSettings.cfg # Additional LDFLAGS for application
echo >> AndroidAppSettings.cfg AppLdflags='$AppLdflags'
echo "# If application has headers with the same name as system headers, this option tries to fix compiler flags to make it compilable" >> AndroidAppSettings.cfg
echo AppOverlapsSystemHeaders=$AppOverlapsSystemHeaders >> AndroidAppSettings.cfg # If application has headers with the same name as system headers, this option tries to fix compiler flags to make it compilable
echo >> AndroidAppSettings.cfg AppOverlapsSystemHeaders=$AppOverlapsSystemHeaders
echo "# Build only following subdirs (empty will build all dirs, ignored with custom script)" >> AndroidAppSettings.cfg
echo AppSubdirsBuild=\'$AppSubdirsBuild\' >> AndroidAppSettings.cfg # Build only following subdirs (empty will build all dirs, ignored with custom script)
echo >> AndroidAppSettings.cfg AppSubdirsBuild='$AppSubdirsBuild'
echo "# Exclude these files from build" >> AndroidAppSettings.cfg
echo AppBuildExclude=\'$AppBuildExclude\' >> AndroidAppSettings.cfg # Exclude these files from build
echo >> AndroidAppSettings.cfg AppBuildExclude='$AppBuildExclude'
echo "# Application command line parameters, including app name as 0-th param" >> AndroidAppSettings.cfg
echo AppCmdline=\'$AppCmdline\' >> AndroidAppSettings.cfg # Application command line parameters, including app name as 0-th param
echo >> AndroidAppSettings.cfg AppCmdline='$AppCmdline'
echo "# Screen size is used by Google Play to prevent an app to be installed on devices with smaller screens" >> AndroidAppSettings.cfg
echo "# Minimum screen size that application supports: (s)mall / (m)edium / (l)arge" >> AndroidAppSettings.cfg # Screen size is used by Google Play to prevent an app to be installed on devices with smaller screens
echo MinimumScreenSize=$MinimumScreenSize >> AndroidAppSettings.cfg # Minimum screen size that application supports: (s)mall / (m)edium / (l)arge
echo >> AndroidAppSettings.cfg MinimumScreenSize=$MinimumScreenSize
echo "# Your AdMob Publisher ID, (n) if you don't want advertisements" >> AndroidAppSettings.cfg
echo AdmobPublisherId=$AdmobPublisherId >> AndroidAppSettings.cfg # Your AdMob Publisher ID, (n) if you don't want advertisements
echo >> AndroidAppSettings.cfg AdmobPublisherId=$AdmobPublisherId
echo "# Your AdMob test device ID, to receive a test ad" >> AndroidAppSettings.cfg
echo AdmobTestDeviceId=$AdmobTestDeviceId >> AndroidAppSettings.cfg # Your AdMob test device ID, to receive a test ad
echo >> AndroidAppSettings.cfg AdmobTestDeviceId=$AdmobTestDeviceId
echo "# Your AdMob banner size (BANNER/FULL_BANNER/LEADERBOARD/MEDIUM_RECTANGLE/SMART_BANNER/WIDE_SKYSCRAPER/FULL_WIDTH:Height/Width:AUTO_HEIGHT/Width:Height)" >> AndroidAppSettings.cfg
echo AdmobBannerSize=$AdmobBannerSize >> AndroidAppSettings.cfg # Your AdMob banner size (BANNER/FULL_BANNER/LEADERBOARD/MEDIUM_RECTANGLE/SMART_BANNER/WIDE_SKYSCRAPER/FULL_WIDTH:Height/Width:AUTO_HEIGHT/Width:Height)
echo >> AndroidAppSettings.cfg AdmobBannerSize=$AdmobBannerSize
echo "# Google Play Game Services application ID, required for cloud saves to work" >> AndroidAppSettings.cfg
echo GooglePlayGameServicesId=$GooglePlayGameServicesId >> AndroidAppSettings.cfg # Google Play Game Services application ID, required for cloud saves to work
echo >> AndroidAppSettings.cfg GooglePlayGameServicesId=$GooglePlayGameServicesId
echo "# The app will open files with following extension, file path will be added to commandline params" >> AndroidAppSettings.cfg
echo AppOpenFileExtension=\'$AppOpenFileExtension\' >> AndroidAppSettings.cfg # The app will open files with following extension, file path will be added to commandline params
echo >> AndroidAppSettings.cfg AppOpenFileExtension='$AppOpenFileExtension'
EOF
fi fi
AppShortName=`echo $AppName | sed 's/ //g'` AppShortName=`echo $AppName | sed 's/ //g'`

View File

@@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
. ./AndroidAppSettings.cfg source ./AndroidAppSettings.cfg
adb shell pm clear $AppFullName adb shell pm clear $AppFullName

View File

@@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
. ./AndroidAppSettings.cfg source ./AndroidAppSettings.cfg
adb uninstall $AppFullName adb uninstall $AppFullName