Post subject: TASing with the touch screen
Dashjump
He/Him
Experienced player (578)
Joined: 8/18/2012
Posts: 82
Hi guys, I've been wanting to make an any% TAS for Trauma Center: Under the Knife 2 for some time, but have never TASed on a DS emulator before. The game relies on touch screen inputs entirely, and I have a few questions which I hope experienced TASers could guide me through: 1) Is the touch screen calibrated properly on DeSmuME 0.9.9, and if not, is there any way to calibrate it? I may be wrong, but I think that the actual DS console has a small separation between the screen and the LCD touch sensors. I've tried clicking a certain part on the screen, only to have the desired effect showing slightly above/below where I clicked. 2) Is there any way to get a specific (x,y) coordinate input on the touch screen, rather than adjusting my mouse ever so slightly over and over again to get the exact coordinate? 3) When I enter inputs on the touch screen with "Show inputs" enabled, what do the green/red/white xy coordinate numbers represent respectively? In addition to the above questions, I'd really appreciate it if anyone could give me some general tips on TASing DS games! Thanks for reading this.
ALAKTORN
He/Him
Former player
Joined: 10/19/2009
Posts: 2527
Location: Italy
1) should be calibrated 2) maybe with Lua 3) these are obvious to figure out. red is pressed input while green/white are what you’re currently pressing more or less
Editor, Experienced player (847)
Joined: 5/2/2015
Posts: 696
Location: France
1] The inputs are fully calibrated. If inputs show at the 'wrong' place, that's the fault of the game and not of the emulator 2] Use lua scripting for this case. One thing I would recommend tracking for precision is the stylus position, which you should find in the RAM (it exists for all DS games I've worked with, and exists in Under The Knife; no idea for this game, though.) 3] The numbers are coordinates on the touchscreen (256x193). Red lines are input that was pressed on the previous frame, green input is the one you're currently one. When the lines overlap and are orange, then you know you're doing the same input as the previous frame.
Skilled player (1736)
Joined: 9/17/2009
Posts: 4979
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
If you need to hold the stylus at a certain spot for long periods of the time, you should try the auto-hold feature. It's under confg->Hotkey config at the "tools" section. To toggle it back off assign something to "Auto-hold clear" at main.
ViGadeomes
He/Him
Judge, Active player (310)
Joined: 10/16/2017
Posts: 461
Location: France
Hello, I'm trying to prepare TASes on DS but I need the stylus and I don't know how many pixels by frames I have to let between two stylus inputs. Is there a way to figure it out or this is the same for all DS games (I'm sure it's not but I ask anyway) ?
Spikestuff
They/Them
Editor, Publisher, Expert player (2630)
Joined: 10/12/2011
Posts: 6435
Location: The land down under.
View > HUD > Display Input (comma key) Put frame counter on whilst you're there.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
ViGadeomes
He/Him
Judge, Active player (310)
Joined: 10/16/2017
Posts: 461
Location: France
Ok thank you but sorry : I have to draw a line by holding the stylus on the screen and I do the first stylus input on a pixel at the first frame, I don't know where I have to position the second stylus input on the second frame to draw the line, How many pixel between these two inputs/frames ?
Stovent
He/Him
Publisher
Joined: 8/23/2016
Posts: 165
Location: France
It depends of the game. You have to try every cases and take the one that works the best.
[17:37:00]<TheCoreyBurton> It's N64 - it's ALWAYS bad news.
ViGadeomes
He/Him
Judge, Active player (310)
Joined: 10/16/2017
Posts: 461
Location: France
ok thanks.