Darth_Sapiens

Kotor on android

Recommended Posts

I was wondering if someone could like make a Brotherhood of Shadows Port to Android, I don't have a computer and can't figure out how to separate all the files into override, modules and movies manually, if anyone can do this that would be great thx! :)

Share this post


Link to post
Share on other sites

I was wondering if someone could like make a Brotherhood of Shadows Port to Android, I don't have a computer and can't figure out how to separate all the files into override, modules and movies manually, if anyone can do this that would be great thx! :D

I can do that tomorrow and I will post a link here. I assume you just need the mod installed and then the result bundled up for you?

Share this post


Link to post
Share on other sites

For people who want to use tslpatcher: the patcher checks for a dialog.tlk file. If you extract just that from the OBB and put it in the "files" folder, you can connect to a PC and select that as the KOTOR directory in tslpatcher. You may also need to copy some 2das, if the mod does not include them.

You could also use a PC dialog.tlk, or the one from PC Response Moderation. The only annoyance is some things, such as settings, will have PC text (ex one option says "mouse look" instead of what it should be on Android.) Using the file from the OBB does not have that problem.

 

VLC will not play any wav files from the OBB. So something with them is definitely weird. Since modded streamwaves do not work, can I just delete the folder to save space?

 

EDIT: I got files from the OBB to play properly out of game. I'll attach before and after pictures for the hex edit necessary. Left is before, right is after. What format are the files, with the new header?

post-26018-0-53769700-1488004040_thumb.png

post-26018-0-40880800-1488004047_thumb.png

Share this post


Link to post
Share on other sites

(OK sorry about necro [and previous one]), but ffmpeg output for a random strreamwave is:

 

 

$ ffmpeg -i ba02cs001.wav
ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
  built with Android clang version 5.0.300080 (based on LLVM 5.0.300080)
  configuration: --arch=armeabi-v7a --as=arm-linux-androideabi-clang --cc=arm-linux-androideabi-clang --cxx=arm-linux-androideabi-clang++ --cross-prefix=arm-linux-androideabi- --disable-avdevice --disable-ffserver --disable-static --disable-symver --disable-lzma --enable-cross-compile --enable-gnutls --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libx264 --enable-libx265 --enable-libxvid --enable-libvpx --enable-shared --prefix=/data/data/com.termux/files/usr --target-os=android --extra-libs=-landroid-glob --enable-neon
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
[wav @ 0xb4f3b000] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, wav, from 'ba02cs001.wav':
  Duration: 00:00:00.48, bitrate: 177 kb/s
    Stream #0:0: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 22050 Hz, mono, u8, 176 kb/s
At least one output file must be specified

Share this post


Link to post
Share on other sites

Hello everyone,

I have owned the Android version of Kotor for a while now.
Some of you may know that the android version always has the english voice output, even here in germany. I wanted to somehow integrate the German audio files from my PC version into the android version. Editing the OBB files does not seem to be an option. Are there other options or do I have to live with it as it is?

Share this post


Link to post
Share on other sites
8 hours ago, Ian Starrider said:

Hello everyone,

I have owned the Android version of Kotor for a while now.
Some of you may know that the android version always has the english voice output, even here in germany. I wanted to somehow integrate the German audio files from my PC version into the android version. Editing the OBB files does not seem to be an option. Are there other options or do I have to live with it as it is?

I'm not that familiar with the audio file storage structure (in fact I didn't even know there were non-English voice versions of KOTOR on PC), but as a guess I would start by taking the entire audio file directory (which I think is most likely the 'streamwaves' folder, though possibly some in 'streamsounds' as well) from your PC installation and dumping it in the Override folder of your Android version.

If that doesn't work, you might need to batch change filenames of your German language audio to be the same as the English language versions, so that the Override folder does properly override the original English language voice files saved in the OBB. In most games that would involve renaming the 'de' part of filename to 'en'. See how you get on.

Share this post


Link to post
Share on other sites
17 hours ago, Legion said:

I'm not that familiar with the audio file storage structure (in fact I didn't even know there were non-English voice versions of KOTOR on PC), but as a guess I would start by taking the entire audio file directory (which I think is most likely the 'streamwaves' folder, though possibly some in 'streamsounds' as well) from your PC installation and dumping it in the Override folder of your Android version.

If that doesn't work, you might need to batch change filenames of your German language audio to be the same as the English language versions, so that the Override folder does properly override the original English language voice files saved in the OBB. In most games that would involve renaming the 'de' part of filename to 'en'. See how you get on.

I have already tried all this but without success.
Streamwaves folder and override folder added and files moved etc.

When editing OBB files, the app does not accept them and starts downloading the original obb files.

I guess I have tried everything possible.
If anyone else has an idea I would be grateful.
But so far I'm at the end of trying.

Share this post


Link to post
Share on other sites
2 hours ago, Ian Starrider said:

I have already tried all this but without success.
Streamwaves folder and override folder added and files moved etc.

When editing OBB files, the app does not accept them and starts downloading the original obb files.

I guess I have tried everything possible.
If anyone else has an idea I would be grateful.
But so far I'm at the end of trying.

It's highly likely that a full mod would need to be made in order to do something like this.

As I recall, not all text is stored in the strings of dialog.tlk, some are stored in the various GFF filetypes.

20 hours ago, Legion said:

If that doesn't work, you might need to batch change filenames of your German language audio to be the same as the English language versions, so that the Override folder does properly override the original English language voice files saved in the OBB. In most games that would involve renaming the 'de' part of filename to 'en'. See how you get on.

It would be worth checking a filename in specific to see if this is the case, for example, the first file in the "streamwaves" folder for me is "_m40acdart03999_.wav" when arranged by "date modified" anyway, that is the English installation of the game on Steam.

 

Organised by name and checking folders too "\streamwaves\globe\band01\NGLOBEBAND01000_.wav" for example.

 

It's quite the oversight that different languages were neglected on the mobile versions of the game.

 

On a somewhat related note, I was looking into changing the hardcoded elements of the GUI on Android today for my port of KotOR1 to KotOR2 and any other Total Conversions that might need that information one day. Tutorial #24 : https://deadlystream.com/topic/6886-tutorial-kotor-modding-tutorial-series/

Though it doesn't look like I will finish finding them at the moment.

 

Edited by Thor110
Hard Coded GUI Values

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.