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.

Problem: lightgem never dims

Change the the following line in darkmod.cfg or autoexec

set tdm_lg_weak "1"

Known problems:

black textures
wobbly wall textures when moving
lights not active

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

    • Airship-Ballet

      https://www.twitch.tv/airshipballet2 There was a mapping stream here, it's gone now.
      · 8 replies
    • peter_spy

      Stumbled upon a documentary on Enki Bilal, he is one of the most influential comic book artists of my adolescence. English auto-subtitles is rubbish, so you might need to brush up on your French
      · 3 replies
    • Goblin of Akenash

      Today I did a bit of an experiment! I wanted to see if I could get a dark radiant map into garry's mod, the quickest and dirtiest and not-workiest method is "OBJ2VMF" which converts .obj models into VMF files for hammer to then compile, the way its supposed to work is that you input a 6 sided cube and it turns it into a 6 brush room (not exactly ideal for this since that's not how TDM maps work, this honestly would have been a better idea with any thief game from 1 to the one from 2014 since they all work like that) so what ended up happening was that for every brush there was 6 brushes would be ontop of that almost inflating everything in the map like a balloon, map scale was also an issue that I couldn't fine-tune easily either so the scale is way off ontop of everything being inflated making the space inside the map very tiny! anyways heres the result of that and it looks almost nothing like footloose (plus I did add a bunch of random props in gmod for funsies and better visibility since the process involved replacing all the textures with dev ones that look very flat when in full-bright)

      https://streamable.com/ctmh58

      (streamable link will expire in 2 days but I'll have a spoken word version of this post along side the video and other fun images relating to the bsp inflation effect in the next "Goblin Secrets" video next month)
      · 0 replies
    • Frost_Salamander

      @taaaki Wiki seems broken. Main page works but click any link and:

      · 2 replies
    • Goblin of Akenash

      Another goblin secrets episode on the way with the new update
      Focuses are:
      supporting 100% runs on shadow playstyles
      fixing the softlock
      and a tiny visual upgrade

      · 1 reply
×
×
  • Create New...