Reviewer, Expert player (2438)
Joined: 5/21/2013
Posts: 414
With the release of libTAS I thought we could take advantage of all the Linux source ports and other software used to play games that were originally for DOS. libTAS is a much friendlier alternative to TASing in JPC-rr, being able to run games at full speed, having an intuitive mouse interface, and the ability to easily edit past inputs. Some of these games didn't run at all in JPC-rr and are now TASable. I'm going to go through and test some of these Linux alternatives, and I encourage others to test these out as well. Many games can be installed through game-data-packager, provided you have the original game files, with many of them being untested in libTAS: https://salsa.debian.org/games-team/game-data-packager/tree/master/data I will try to keep this thread up to date as new libTAS releases come out and more testing is done. Make sure you use the newest release when trying these. General
    PCem
  • Where to get it: https://github.com/TASEmulators/pcem/releases
  • Status: Runs in libTAS.
  • Savestates: Working, although you should avoid loading/saving states between different resolutions. If you have Voodoo checked then savestates won't work in 1.3.4, use at least this commit.
  • Notes: The FPS has to be set to 100. Use "--config /path/to/config.cfg" in the command line to skip the configuration screen. No time tracking is needed. You will need to uncheck "Recycle threads" for some chipsets. Avoid using these GPUs: ATI Graphics Pro Turbo, Tseng ET4000, Trident TGUI9440, and anything that uses S3 EXCEPT FOR the S3 ViRGE/DX, which has been specifically patched to work in libTAS. Voodoo works as well under the latest commit. DOSBox
  • Where to get it: https://www.dosbox.com/download.php?main=1 or type "sudo apt install dosbox" in the terminal
  • Status: Runs in libTAS.
  • Savestates: Working
  • Notes: Need to set fixed cycles in Dosbox.conf, otherwise it will run extremely slowly. Needs Runtime -> Time tracking -> Main thread -> SDL_GetTicks() to be checked. If you want to submit a DOSBox run, it is likely that it will have to sync with all hotkeys turned off to ensure that the run was not interfered with via cycle adjustments. To do this, run DOSBox with the -startmapper command line parameter to open the key mapper, and then manually delete all the hotkey bindings. DOSBox-x
  • Where to get it: https://github.com/joncampbell123/dosbox-x This is a fork of DOSBox that's more focused on accuracy and emulating different hardware, similar to what PCem is doing. Keep an eye on this one.
  • Status: Runs in libTAS.
  • Savestates: Working
  • Notes: Write a config file with "config.com -all -wc" and set the cycles to a fixed amount, otherwise it will run extremely slowly. Needs Runtime -> Time tracking -> Main thread -> SDL_GetTicks() to be checked. ScummVM
  • Where to get it: https://www.scummvm.org/ or type "sudo apt install scummvm" in the terminal
  • Status: Runs in libTAS.
  • Savestates: Working
  • Notes: Works under default settings.
Abuse
  • Where to get it: https://github.com/antrad/Abuse_1996
  • Status: Runs in libTAS.
  • Savestates: Working
  • Notes: Go into the ".abuse" folder and open abuserc, then set fullscreen to be 0.
Descent
    D1X-Rebirth
  • Where to get it: https://www.dxx-rebirth.com/download-dxx-rebirth/ or type "sudo apt install d1x-rebirth" in the terminal
  • Status: Runs in libTAS.
  • Savestates: Working
  • Notes: Open d1x-rebirth by itself first and turn fullscreen off. Needs Runtime -> Time tracking -> Main thread -> SDL_GetTicks() to be checked.
Doom (and other games using the Doom engine)
    PrBoom+
  • Where to get it: https://sourceforge.net/projects/prboom-plus/ or type "sudo apt install prboom-plus" in the terminal
  • Status: Runs in libTAS.
  • Savestates: Working
  • Notes: Needs Runtime -> Time tracking -> Main thread -> SDL_GetTicks() to be checked. Chocolate Doom
  • Where to get it: https://www.chocolate-doom.org/wiki/index.php/Downloads or type "sudo apt install chocolate-doom" in the terminal. This will also install chocolate-heretic, chocolate-hexen, and chocolate-strife.
  • Status: Runs in libTAS.
  • Savestates: Working
  • Notes: Might get stuck on a warning about OPL - run chocolate-doom-setup and change music settings.
Duke Nukem 3D
    EDuke32
  • Where to get it: https://www.eduke32.com/ You will have to build it yourself, use this guide: http://wiki.eduke32.com/wiki/Building_EDuke32_on_Linux
  • Status: Runs in libTAS.
  • Savestates: A little slow, but working
  • Notes: A couple things to set up: First, run eduke32 and uncheck "Always show this window at startup". In the game, go to Options -> Display Setup -> Video Mode, then set Renderer to Classic (or else it will look like clown vomit in libTAS). Set windowed mode as well, as it defaults to fullscreen. In libTAS, needs Runtime -> Time tracking -> Main thread -> SDL_GetTicks() to be checked.
Quake
Reviewer, Expert player (2438)
Joined: 5/21/2013
Posts: 414
Added DOSBox-x and Abuse, alphabetized things as well
GJTASer2018
He/Him
Joined: 1/24/2018
Posts: 308
Location: Stafford, NY
So which one of these options should be the recommended one if the DOS game someone is trying to TAS won't run in the (now-dead) Hourglass?
c-square wrote:
Yes, standard runs are needed and very appreciated here too
Dylon Stejakoski wrote:
Me and the boys starting over our games of choice for the infinityieth time in a row because of just-found optimizations
^ Why I don't have any submissions despite being on the forums for years now...
Reviewer, Expert player (2438)
Joined: 5/21/2013
Posts: 414
GJTASer2018 wrote:
So which one of these options should be the recommended one if the DOS game someone is trying to TAS won't run in the (now-dead) Hourglass?
That will depend on the game and the options available for that game. As long as the game runs accurately and the TAS syncs properly, then it could be accepted.
keylie
He/Him
Editor, Emulator Coder, Expert player (2844)
Joined: 3/17/2013
Posts: 392
Thanks for doing all those testings! Error "stack smashing detected" was fixed in commit bc62551. Scummvm and chocolate doom savestates seem to work correctly now. EDIT: The XIO error was fixed in commit de3a846.
Reviewer, Expert player (2438)
Joined: 5/21/2013
Posts: 414
keylie wrote:
Thanks for doing all those testings! Error "stack smashing detected" was fixed in commit bc62551. Scummvm and chocolate doom savestates seem to work correctly now. EDIT: The XIO error was fixed in commit de3a846.
Thank you for libTAS and staying on top of these bugs. You're opening a lot of doors for new TASes. EDIT: Updated the thread, all of these have working savestates now in the newest interim
Patashu
He/Him
Joined: 10/2/2005
Posts: 4045
Descent and Abuse finally TASable?!
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Realms of Chaos TAS? Praise keylie! BTW keylie, I upgraded your forum titles.
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Patashu
He/Him
Joined: 10/2/2005
Posts: 4045
Nach wrote:
BTW keylie, I upgraded your forum titles.
But we just had a whole topic about how libTAS shouldn't be called an emulator! /s
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
Reviewer, Expert player (2438)
Joined: 5/21/2013
Posts: 414
Just a video testing DOSBox TASing... Link to video I had zero crashes in the making of this and after replaying it a few times, there doesn't seem to be any sync issues. The run is not very optimized so don't mind that, this is just a test.
Patashu
He/Him
Joined: 10/2/2005
Posts: 4045
Super exciting!
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
Editor
Joined: 11/17/2015
Posts: 61
I've heard that Fallout 1 also had a DOS version. I can only imagine the possibilities.
Totally irrelevant link My consoles: PS2 (PS1 as bw\c), NDS Lite (GBA as bw/c), 3DS XL, Wii U (vWii theoretically), PS4 slim.
Editor, Skilled player (1441)
Joined: 3/31/2010
Posts: 2113
Yo this is awesome. Thanks for doing all this work, keylie
Reviewer, Expert player (2438)
Joined: 5/21/2013
Posts: 414
With the release of libTAS 1.3.2, these all should work on an official release now. I've updated the post accordingly.
filpAM
He/Him
Banned User
Joined: 10/24/2018
Posts: 23
Location: earth
What? Is that allowed? TASing a platform running under a emulator which in turn is running under another emulator even though there is a dedicated tas emulator for that platform already?
EZGames69
He/They
Publisher, Reviewer, Expert player (4468)
Joined: 5/29/2017
Posts: 2765
filpAM wrote:
What? Is that allowed? TASing a platform running under a emulator which in turn is running under another emulator even though there is a dedicated tas emulator for that platform already?
can you please read the rest of the thread to get more context into this? to quote slamo's original post:
libTAS is a much friendlier alternative to TASing in JPC-rr, being able to run games at full speed, having an intuitive mouse interface, and the ability to easily edit past inputs. Some of these games didn't run at all in JPC-rr and are now TASable.
As for this method being acceptable for submissions, that is still under discussion. JPC-rr is an incredibly hard emulator to tas with. Not just because it's slow, but even at points just broken. Save States are weird, mouse traction isn't the best, and it requires a whole lot of patience. just because there's already an acceptable emulator doesn't mean we cant look for alternatives. Edit: Also, libTAS isnt an emulator.
[14:15] <feos> WinDOES what DOSn't 12:33:44 PM <Mothrayas> "I got an oof with my game!" Mothrayas Today at 12:22: <Colin> thank you for supporting noble causes such as my feet MemoryTAS Today at 11:55 AM: you wouldn't know beauty if it slapped you in the face with a giant fish [Today at 4:51 PM] Mothrayas: although if you like your own tweets that's the online equivalent of sniffing your own farts and probably tells a lot about you as a person MemoryTAS Today at 7:01 PM: But I exert big staff energy honestly lol Samsara Today at 1:20 PM: wouldn't ACE in a real life TAS just stand for Actually Cease Existing
Joined: 9/12/2014
Posts: 543
Location: Waterford, MI
Looks like dosbox-x found libtas and is fixing issues that might be related to it. Like sdl2 functions and detecting Linux. Btw, I’ve had trouble with setting up dosbox and dosbox-x(couldn’t even start it with latest release). With dosbox, I don’t know where to set cycles, and libtas doesn’t advance frames. I did follow the other configuration like get-ticks though which is real obvious. Any help?
Reviewer, Expert player (2438)
Joined: 5/21/2013
Posts: 414
InfamousKnight wrote:
With dosbox, I don’t know where to set cycles, and libtas doesn’t advance frames. I did follow the other configuration like get-ticks though which is real obvious. Any help?
Your DOSBox config file will be in ~/.dosbox. Look here for info on setting cycles. This might solve your frame advance problem.
Joined: 9/12/2014
Posts: 543
Location: Waterford, MI
Thanks. Works now
Joined: 9/12/2014
Posts: 543
Location: Waterford, MI
Fell into another problem.. I don’t know how to load a game.. I tried mounting, but that only works outside libtas. It will say “doesn’t exist”. But when I run mount outside libtas, it works fine. Also, for dosbox-x, I don’t even know where to begin with that.. I do want to wait until next release to play around with, but I also want to know how to use it.
Joined: 12/17/2018
Posts: 9
Well I was pretty excited to try this out for myself. Compiled both the latest stable versions of libTAS and DOSBox in Fedora 27 and setup two games of mine, Chasm: The Rift and The Terminator: SkyNET. Both of them threw back random error messages which tells me they didn't like libTAS very much as they play normally outside of it. I tested out another game I had, Radix: Beyond the Void, and that appears to work just fine. Bit of a shame, as I was really hoping to test out those two prior games.
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11495
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
AlbertHamik wrote:
Well I was pretty excited to try this out for myself. Compiled both the latest stable versions of libTAS and DOSBox in Fedora 27 and setup two games of mine, Chasm: The Rift and The Terminator: SkyNET. Both of them threw back random error messages which tells me they didn't like libTAS very much as they play normally outside of it. I tested out another game I had, Radix: Beyond the Void, and that appears to work just fine. Bit of a shame, as I was really hoping to test out those two prior games.
Just report whatever bugs you're having to libtas repo. Keylie fixes things quite quickly if he has a way to reproduce them.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
keylie
He/Him
Editor, Emulator Coder, Expert player (2844)
Joined: 3/17/2013
Posts: 392
AlbertHamik wrote:
Both of them threw back random error messages which tells me they didn't like libTAS very much as they play normally outside of it.
It looks like an issue with savefiles management. Try disabling "Backup savefiles in memory" until the issue is fixed.
Joined: 12/17/2018
Posts: 9
Well good news, meh news, that absolutely fixes the issue. However, I guess libTAS eats at the emulation a bit too much as SkyNET drops to an unplayable crawl, and while Chasm fares better, it still doesn't run at it's ideal speed. Anyways, at least I know it's possible to do these games with libTAS now, so thanks for that.
Joined: 9/12/2014
Posts: 543
Location: Waterford, MI
Again, how do I run dos games in libtas? Do I just put the path in command line of a game?