pelya / commandergenius

Port of SDL library and several games to the Android OS.
http://libsdl-android.sourceforge.net/
GNU Lesser General Public License v2.1
531 stars 248 forks source link

Where do i look for command line arguments? #129

Open xu3s opened 3 years ago

xu3s commented 3 years ago

As the tittle say, where do i look for command lines argument and its value? Do i need to look at the source code? Or is there documentation somewhere?.

Thank you

pelya commented 3 years ago

'Change device config' menu at app start can modify them.

On Thu, 25 Mar 2021, 03:36 xu3s, @.***> wrote:

As the tittle say, where do i look for command lines argument and its value? Do i need to look at the source code? Or is there documentation somewhere?.

Thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/129, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABF5QFPHKQUX5XDYI7PSX3TFKHTPANCNFSM4ZYMXXOQ .

xu3s commented 3 years ago

Maybe i didn't explain it correctly, What i mean is how do i know what parameters to put inside this command line argument settings? Like

XSDL
-nohelp
-screen
2160x1080x16

I found this by looking at closed issue, but i want to know where to get that? For example i want to disable pulseaudio server without clicking on the startup menu and just skip it with -nohelp. Hope you understand what i mean

pelya commented 3 years ago

There's no commandline argument for PulseAudio, you need to edit config file at /data/app/.../x.org.server/files/.xsdl.cfg It's the last option in the file.

https://github.com/pelya/commandergenius/blob/sdl_android/project/jni/application/xserver/gfx.c#L496

On Thu, 25 Mar 2021, 04:02 xu3s, @.***> wrote:

Maybe i didn't explain it correctly, What i mean is how do i know what parameters to put inside this command line argument settings? Like ``` XSDL -nohelp -screen 2160x1080x16

I found this by looking at closed issue, but i want to know where to get that? For example i want to disable pulseaudio server without clicking on the startup menu and just skip it with -nohelp. Hope you understand what i mean

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/129#issuecomment-806304799, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABF5QGFHWZHOYA74MBONCTTFKKTRANCNFSM4ZYMXXOQ .

xu3s commented 3 years ago

Oh, so that mean i have to compile this app myself or have root access to edit the app data? But i don't have the ability to do so, thank you then

pelya commented 3 years ago

Yes, either will work.

On Thu, 25 Mar 2021, 05:01 xu3s, @.***> wrote:

Oh, so that mean i have to compile this app myself or have root access to edit the app data?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/129#issuecomment-806327792, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABF5QDCALYDF7DNRR5X72LTFKRRNANCNFSM4ZYMXXOQ .

xu3s commented 3 years ago

Ok, you could close the issue, as i don't have the ability to do both options you suggest for now, thanks for your time. Have a nice day