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

    • JackFarmer

      "The Year of the Rat." 
      😄

      Al Stewart must be proud of you!
      Happy testing!
      @MirceaKitsune
      · 1 reply
    • datiswous

      I posted about it before, but I think the default tdm logo video looks outdated. For a (i.m.o.) better looking version, you can download the pk4 attached to this post and plonk it in your tdm root folder. Every mission that starts with the tdm logo then starts with the better looking one. Try for example mission COS1 Pearls and Swine.
      tdm_logo_video.pk4
      · 2 replies
    • JackFarmer

      Kill the bots! (see the "Who is online" bar)
      · 3 replies
    • STiFU

      I finished DOOM - The Dark Ages the other day. It is a decent shooter, but not as great as its predecessors, especially because of the soundtrack.
      · 5 replies
    • JackFarmer

      What do you know about a 40 degree day?
      @demagogue
      · 4 replies
×
×
  • Create New...