Site Admin, Skilled player (1250)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
https://tasvideos.org/EmulatorResources/MAME Yes people. This day has come. We've been waiting for years, and today keylie fixed problems with MAME in libTAS. Compile libTAS from source and install it. sudo apt install mame Go to your Home directory, create mame folder there, create roms folder there, and put there all your MAME ROMs. If you want to keep them in a different place, execute mame -w in terminal, Configure Options -> Configure Directories -> ROMs -> Add Folder, and navigate where you need, then hit Tab to save the new path, return to main menu and hit Save Configuration. Put the ROMs there. mame -w means you launch it in a windowed mode. If you want it to remember this mode, go to Configure Options -> Video Options, and set things you like. Return to main menu and hit Save Configuration. Configure input in General Inputs. Other Controls contain inputs for coins and start, as well as some things that may interfere with libTAS hotkeys (mostly Fn keys). Clean those up by selecting them, hitting Enter and then Escape. Check User Interface keys for that matter too. Then either set game input for all games in Player N Controls, or hit Tab with the game running and config input for current machine alone - Input (this Machine). Execute libTAS /usr/games/mame. libTAS will launch with mame executional path already set. In Command-line options just type the name of the ROM you want to play, and hit Run. Games should be tasable with default config, you might want to check Runtime - Savestates - Store savestates in RAM, to speed them up.
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.
Joined: 9/12/2014
Posts: 540
Location: Waterford, MI
I'm having trouble loading games with this.. Running ubuntu 18.04 in latest virtulbox What happens: first, I need root just to make any movie. I done all the configurations you stated, removed all fn keys, and made sure windowed mode was enabled. And set run path(as well as tested it natively) Tried running tgoldeye and it goes for like 2 seconds and crashes before the game loads. Heres what the terminal says: Attempt 1: Connected. 10_06 NOT FOUND (tried in tgoldeye tgoldeye) tgoldeye.svg NOT FOUND (tried in tgoldeye tgoldeye) Fatal error: Required files are missing, the machine cannot be run. mame: fccache.c:548: FcCacheFini: Assertion `fcCacheChains[i] == NULL' failed. Got unknown message!!!
keylie
He/Him
Editor, Emulator Coder, Expert player (2839)
Joined: 3/17/2013
Posts: 392
InfamousKnight wrote:
What happens: first, I need root just to make any movie.
Did you change the movie path? By default, the movie is stored at the same directory as the executable, which is probably in /usr/bin in your case, which only has root permission.
InfamousKnight wrote:
I done all the configurations you stated, removed all fn keys, and made sure windowed mode was enabled. And set run path(as well as tested it natively) Tried running tgoldeye and it goes for like 2 seconds and crashes before the game loads. Heres what the terminal says: Attempt 1: Connected. 10_06 NOT FOUND (tried in tgoldeye tgoldeye) tgoldeye.svg NOT FOUND (tried in tgoldeye tgoldeye) Fatal error: Required files are missing, the machine cannot be run. mame: fccache.c:548: FcCacheFini: Assertion `fcCacheChains[i] == NULL' failed. Got unknown message!!!
What happens when you run the game natively ?
Joined: 9/12/2014
Posts: 540
Location: Waterford, MI
Running it natively works just fine. No error msg. [Edit] got it to work by configuring it through libtas and not natively. It runs kinda slow and the osd is garbled. I did check save states in ram as said above. [Edit 2] got osd to print properly but it doesn't advance frames after 2. I got it to print properly by setting opengl to bgfx which I found in the old issues on github. As in on frame 2 it stops. 0 fps 0 lfps on the title Looks like the page needs some updating.
Joined: 9/12/2014
Posts: 540
Location: Waterford, MI
Arch linux info: usr/bin/mame is a shell script on Arch(or debian as well, may have changed), but the actual program is located in usr/lib/mame/mame. Its recognized as a shared library, but it works. Other missing info, when configuring, it needs to be done within libtas, with prevent writing to files turned off. You can also make a movie file that will set up the emulator.
Site Admin, Skilled player (1250)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
I made a new guide https://tasvideos.org/EmulatorResources/MAME MAME in libTAS is about to get allowed for submissions, so it would help a lot if people tested this out!
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.
Joined: 9/5/2022
Posts: 3
Awesome guide! Thank you very much. Can someone do similiar guide for PPSSPP in LibTAS?
Spikestuff
They/Them
Editor, Publisher, Expert player (2632)
Joined: 10/12/2011
Posts: 6436
Location: The land down under.
Crowberry wrote:
Can someone do similiar guide for PPSSPP in LibTAS?
No point, doesn't actually function to how you'd want it anyways.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.