Jump to content
The Dark Mod Forums

Recommended Posts

Posted (edited)

This topic is intended to give each other tips on how to make TDM work well on DIII4a on Android.

Githubpage:
https://github.com/glKarin/com.n0n3m4.diii4a

Android Package
https://github.com/glKarin/com.n0n3m4.diii4a/releases
https://f-droid.org/packages/com.karin.idTech4Amm/

Installation:

  1. download tdm 2.12 full package from moddb,
  2. extract the "darkmod"-folder,
  3. create a folder on the storage of your device, give it the name "diii4a"
  4. move the "darkmod" folder to that folder.  
  5. Download the apk from the releases page, install the apk, accept the storage permissions.

Running the game:

  1. open the app,
  2. select the profile for TDM and hit the start game button.
  3. After this you get a black screen and wait some seconds (8 or 10) until the tdm menu appears.

Video:
https://www.youtube.com/watch?v=ysLQTV8PZ-Q

 

Edited by freyk
  • Like 1

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Posted (edited)

== Tips ==

Updating the application.
download/install the apk from the github release page.
Or install / update the app using f-droid.

Change Advanced settings:
To change settings hitting the button "Edit Darkmod.cfg"
You can also use autoexec.cfg to overrule(?) lines in darkmod.cfg.
(but you need to create a file in the darkmod for it)

Performance tweaks
https://wiki.thedarkmod.com/index.php?title=Performance_Tweaks

Lower the screenresolution,
See DIII4a settings > graphics > screenresolution > Custom: 640 x 480
Or set in darkmod config or add following lines to autoexec.
seta r_customHeight "640"
seta r_customWidth "480"

Problem: Application crashes during loading mission.
No sollution found.
Sometimes restarting the mission helps.

Known problems:
tdm 2.13 crashes during loading mission. tdm 2.12 doesnt.

black textures > (solved in new version of DII4A)
wobbly wall textures when moving > (solved in new version of DII4A)
lights not active > (solved in new version of DII4A)
lightgem never dims > set tdm_lg_weak "1" > (solved in new version of DII4A)

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

  • 4 months later...
Posted (edited)

I customised the DarkmodPadbinds.cfg on my computer and replaced the version in the DIII4a folder on my Android device (Anbernic RG556) but the settings were automatically overwritten with the default next time I started up. Any ideas?

I have noticed the first line in the DarkmodPadbinds.cfg reads 'unbindPad' - is that deleting my custom bindings?

(I had also listed my bindings more like as seen here: https://github.com/fholger/thedarkmodvr/wiki/Gamepad-support

with line breaks and // etc. Does DarkmodPadbinds.cfg need to be a simpler list format?)

Thanks!

Edited by taste
Posted

Didn't work, sadly. Thanks for the idea though. It seems like the controller isn't being fully recognised. I can't seem to use the d-pad, for example.

Posted

Thanks, I'll try it. Sorry, do you have an example of what the contents of the autoexec.cfg should read?

This is the contents of my DarkmodPadbinds.cfg:

// Custom DarkmodPadbinds.cfg - gamepad button mappings

// NORMAL PRESS
bindPadButton PRESS PAD_A "_jump"
bindPadButton PRESS PAD_B "_crouch"
bindPadButton PRESS PAD_X "_inventory_use"
bindPadButton PRESS PAD_Y "_frob"

bindPadButton PRESS PAD_L1 "_lean_left"
bindPadButton PRESS PAD_R1 "_lean_right"

bindPadButton PRESS PAD_L2 "_parry"
bindPadButton PRESS PAD_R2 "_attack"

bindPadButton PRESS PAD_L3 "_speed"
// spyglass
bindPadButton PRESS PAD_R3 "inventory_use '#str_02396'"

bindPadButton PRESS PAD_UP "_inventory_prev"
bindPadButton PRESS PAD_DOWN "_inventory_next"
// cycle keys
bindPadButton PRESS PAD_LEFT "inventory_cycle_group '#str_02392'"
// cycle picks
bindPadButton PRESS PAD_RIGHT "inventory_cycle_group '#str_02389'"

bindPadButton PRESS PAD_START "escape"
bindPadButton PRESS PAD_SELECT  "savegame quick"

bindPadButton PRESS PAD_BACK "_objectives"

// LONG PRESS
bindPadButton LONG_PRESS PAD_A "_mantle"
bindPadButton LONG_PRESS PAD_B "_weapon_next"
bindPadButton LONG_PRESS PAD_X  "_inventory_grid"
bindPadButton LONG_PRESS PAD_Y "_weapon_prev"

bindPadButton LONG_PRESS PAD_UP "inventory_hotkey ''"
bindPadButton LONG_PRESS PAD_DOWN "_inventory_drop"

// lantern
bindPadButton LONG_PRESS PAD_R3 "inventory_use '#str_02395'"

Posted (edited)

The firstline "Unbindpad" clears the binding settings of the tdm controlpad, before the config file sets the controkpad bindings. That line should not be removed.

 

The lines in the config-files are just "commands". I dont know which config file is loaded first. I think darkmod.cfg, then the keybing configs and last autoexec.cfg.

if so, How about copying your darkmodpadbinds.cfg to autoexec.cfg?

And how about detect the dpad keys commands you need, when you change/set the "controls" in the tdm menu and see them in  keybind.cfg?

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Posted

No luck sadly. In TDM it won't recognise the d-pad (and I can't set long presses on any button), and manually trying to set the controls via autoexec.cfg or darkmodpadbinds.cfg doesn't seem to have an effect. I wondered if it was something to do with the pad being recognised as the wrong type (Dualshock vs. Xbox for example), but I can only seem to change between Xbox and Nintendo Switch on this device, and I'm not sure if that only swaps the A and B button inputs.

 

Maybe I need to wait for an update to DIII4a? Thanks for all the suggestions though.

Posted

For the d-pad, I wonder if it's that the d-pad directions are set to the arrow keys but the joystick is somehow overriding it, leaving the d-pad buttons seemingly unresponsive. I see in DarkmodKeybinds.cfg that the arrow keys are linked to forward / back / left / right. Maybe I can remap those directions to something else and see if the joystick behaves differently.

If I change commands inside the TDM settings menu it does seem to save the results (so I've been able to remap ABXY, for example), but I can't get it to register the d-pad in order to change those buttons. Maybe this idea could shed some light. Sorry if I'm repeating myself, it's a combo of tiredness and trying to formulate a plan to sort this!

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.

  • Recent Status Updates

    • jivo

      I just uploaded a new version of the Visible Player Hands mod. It's been updated for TDM 2.13 and has new animations. Check out the post if you're interested!
      · 0 replies
    • datiswous

      I moved from Manjaro Linux (rolling release) to Linux Mint (LTS). One of the reasons was that I found the updates a bit too often and long. But now on Mint I get updates every day, although they're usually small updates.
      · 3 replies
    • JackFarmer

      "Hidden Hands: Vitalic Fever" - new update available including subtitles & compressed briefing video (thanks to @datiswous) and several fixes.
      · 0 replies
    • Wolfmond

      🇬🇧

      2025-04-20
      I'd like to track my level design progress a bit more often now, so I'm using the feed in my profile here.
      I've been working intensively on Springheel's YouTube course over the past few days. I'm currently up to lesson 8. There is so much information that needs to be processed and practiced. 
      I have started to create my own house. As I don't have the imagination to create a good floor plan, I grabbed a floor plan generator from Watabou and experimented with it. I chose a floor plan that I will modify slightly, but at least I now have an initial idea. 
      I used two guards as a measuring tape: The rooms are two guards high. It turned out that I can simply double the number of boxes in DarkRadiant in grid size 8 that are drawn in the floor plan. 
      I practiced the simplest things on the floor plan first. Drawing walls, cutting walls, inserting doors, cutting out frames, creating VisPortals, furnishing rooms.
      I have had my first success in creating a book. Creating a book was easier than I thought. I have a few ideas with books. The level I'm creating will be more or less a chill level, just for me, where I'll try out a few things. I don't have an idea for my own mission yet. I want to start small first.
      For the cellar, I wanted to have a second entrance, which should be on the outside. I'm fascinated by these basement doors from the USA, I think they're called Bilco basement doors. They are very unusual in Germany, but this type of access is sometimes used for deliveries to restaurants etc., where barrels can be rolled or lifted into the cellar. 
      I used two Hatch Doors, but they got completely disoriented after turning. I have since got them reasonably tamed. It's not perfect, but it's acceptable. 
      In the cellar today I experimented with a trap door that leads to a shaft system. The rooms aren't practically finished yet, but I want to continue working on the floor plan for now. I'll be starting on the upper floor very soon.

      __________________________________________________________________________________
      🇩🇪

      2025-04-20

      Ich möchte nun mal öfters ein bisschen meinen Werdegang beim Leveldesign tracken, dazu nutze ich hier den Feed in meinem Profil.
      Ich habe mich in den vergangenen Tagen intensiv mit dem Youtube-Kurs von Springheel beschäftigt. Aktuell bin ich bis zu Lektion 8 gekommen. Das sind so viele Informationen, die erstmal verarbeitet werden wollen und trainiert werden wollen. 

      Ich habe mich daran gemacht, ein eigenes Haus zu erstellen. Da mir die Fantasie fehlt, einen guten Raumplan zu erstellen, habe ich mir einen Grundrissgenerator von Watabou geschnappt und damit experimentiert. Ich habe mich für einen Grundriss entschieden, den ich noch leicht abwandeln werde, aber zumindest habe ich nun eine erste Idee. 

      Als Maßband habe ich zwei Wächter genommen: Die Räume sind zwei Wächter hoch. Es hat sich herausgestellt, dass ich in DarkRadiant in Gittergröße 8 einfach die doppelte Anzahl an Kästchen übernehmen kann, die im Grundriss eingezeichnet sind. 

      Ich habe bei dem Grundriss erstmal die einfachsten Sachen geübt. Wände ziehen, Wände zerschneiden, Türen einsetzen, Zargen herausschneiden, VisPortals erstellen, Räume einrichten.

      Ich habe erste Erfolge mit einem Buch gehabt. Das Erstellen eines Buchs ging leichter als gedacht. Ich habe ein paar Ideen mit Bücher. Das Level, das ich gerade erstelle, wird mehr oder weniger ein Chill-Level, einfach nur für mich, bei dem ich ein paar Sachen ausprobieren werde. Ich habe noch keine Idee für eine eigene Mission. Ich möchte erst einmal klein anfangen.

      Beim Keller wollte ich gerne einen zweiten Zugang haben, der sich außen befinden soll. Mich faszinieren diese Kellertüren aus den USA, Bilco basement doors heißen die, glaube ich. Diese sind in Deutschland sehr unüblich, diese Art von Zugängen gibt es aber manchmal zur Anlieferung bei Restaurants etc., wo Fässer dann in den Keller gerollt oder gehoben werden können. 
      Ich habe zwei Hatch Doors verwendet, die allerdings nach dem Drehen vollkommen aus dem Ruder liefen. Inzwischen habe ich sie einigermaßen gebändigt bekommen. Es ist nicht perfekt, aber annehmbar. 
      Im Keller habe ich heute mit einer Falltür experimentiert, die zu einem Schachtsystem führt. Die Räume sind noch quasi nicht eingerichtet, aber ich möchte erstmal am Grundriss weiterarbeiten. In Kürze fange ich das Obergeschoss an.



      · 2 replies
    • JackFarmer

      On a lighter note, thanks to my cat-like reflexes, my superior puzzle skills and my perfect memory, I was able to beat the remastered version of "Tomb Raider: The Last Revelation" in a new superhuman record time of 23 h : 35 m, worship me!
      · 5 replies
×
×
  • Create New...