Post subject: lsnes Projects
nymx
He/Him
Editor, Judge, Expert player (2235)
Joined: 11/14/2014
Posts: 932
Location: South Pole, True Land Down Under
I've developed a problem where the power has gone out while I'm in the middle of using lsnes a number of times. When loading back up lsnes, there are errors in retrieving the list of projects. The current project I was working on has become corrupt, but all others are fine. I would like to remove projects from lsnes to avoid these, but I can't find its location. My best effort shows that it is in the registry...but I can't decipher what I'm looking at. Has a tool been written to help manipulate project entries?
I recently discovered that if you haven't reached a level of frustration with TASing any game, then you haven't done your due diligence. ---- SOYZA: Are you playing a game? NYMX: I'm not playing a game, I'm TASing. SOYZA: Oh...so its not a game...Its for real? ---- Anybody got a Quantum computer I can borrow for 20 minutes? Nevermind...eien's 64 core machine will do. :) ---- BOTing will be the end of all games. --NYMX
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
You need this: https://amzn.to/365RYvL
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.
Amaraticando
It/Its
Editor, Player (159)
Joined: 1/10/2012
Posts: 673
Location: Brazil
1) Go to lsnes config folder. In Linux, it's at ~/.config/lsnes/ . On Windows, I guess it's at C:\Users\<Username>\AppData\Roaming\lsnes\ . 2) Search for file recent-projects.txt. There you can see the projects that appear in the menu and their location. eg {"display":"Super Mario World - Casual Gameplay","filename":"/home/rod/.config/lsnes/1516241292_dce9.prj","id":"1516241292_dce9"} 3) Open the file prj file (a plain text) to see some details, like the branches and where the lss movie files are saved. Search for prj.bak files too, just in case. eg:
Super Mario World - Casual Gameplay rom= last-save=/home/rod/emu/SNES/Super Mario World/Casual/smw-casual-15--34.lss directory=/home/rod/emu/SNES/Super Mario World/Casual prefix=smw-casual luascript=/home/rod/git/smw-tas/smw-tas.lua gametype=snes_ntsc coreversion=bsnes v085 (Compatibility core) projectid=bd03bf75509708d32ea62dfe6ae6c174d66ff828 time=1000000000:0 romsha=0838e531fe22c077528febe14cb3ff7c492f1f5fa8de354192bdff7137c27f5b romhint=Super Mario World (U) [!] romrom=/home/rod/emu/SNES/Super Mario World/Super Mario World (USA).sfc branch1parent=11 branch1name=Yoshi Island 2 branch2parent=11
Masterjun
He/Him
Site Developer, Skilled player (1988)
Joined: 10/12/2010
Posts: 1185
Location: Germany
Project files aren't in the registry. They are the .prj files in the lsnes config folder (on Windows, that should be %appdata%/lsnes). Those are the project files lsnes tries to enumerate. They're just text files so you can open them to check their name and main directory. So just delete the ones you don't want (and you might want to delete their main directory as well).
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
nymx
He/Him
Editor, Judge, Expert player (2235)
Joined: 11/14/2014
Posts: 932
Location: South Pole, True Land Down Under
Thank you Amaraticando! That helped! Nach, I suppose your idea will work now...seeing that I lost power because someone in this house accidentally flipped a switch on the control panel. :(
I recently discovered that if you haven't reached a level of frustration with TASing any game, then you haven't done your due diligence. ---- SOYZA: Are you playing a game? NYMX: I'm not playing a game, I'm TASing. SOYZA: Oh...so its not a game...Its for real? ---- Anybody got a Quantum computer I can borrow for 20 minutes? Nevermind...eien's 64 core machine will do. :) ---- BOTing will be the end of all games. --NYMX
nymx
He/Him
Editor, Judge, Expert player (2235)
Joined: 11/14/2014
Posts: 932
Location: South Pole, True Land Down Under
Masterjun wrote:
Project files aren't in the registry. They are the .prj files in the lsnes config folder (on Windows, that should be %appdata%/lsnes). Those are the project files lsnes tries to enumerate. They're just text files so you can open them to check their name and main directory. So just delete the ones you don't want (and you might want to delete their main directory as well).
Thanks.
I recently discovered that if you haven't reached a level of frustration with TASing any game, then you haven't done your due diligence. ---- SOYZA: Are you playing a game? NYMX: I'm not playing a game, I'm TASing. SOYZA: Oh...so its not a game...Its for real? ---- Anybody got a Quantum computer I can borrow for 20 minutes? Nevermind...eien's 64 core machine will do. :) ---- BOTing will be the end of all games. --NYMX
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
nymx wrote:
Nach, I suppose your idea will work now...seeing that I lost power because someone in this house accidentally flipped a switch on the control panel. :(
You never know when you might lose power. Over the years I've had nutjob neighbors who knocked out the power in all sorts of crazy ways. Then you could have kids who somehow thought it was smart to have every appliance in the kitchen and wash room going at the exact same time. The list goes on. If you're doing serious computer work, get yourself a decent UPS.
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.
nymx
He/Him
Editor, Judge, Expert player (2235)
Joined: 11/14/2014
Posts: 932
Location: South Pole, True Land Down Under
Nach wrote:
If you're doing serious computer work, get yourself a decent UPS.
Agreed.
I recently discovered that if you haven't reached a level of frustration with TASing any game, then you haven't done your due diligence. ---- SOYZA: Are you playing a game? NYMX: I'm not playing a game, I'm TASing. SOYZA: Oh...so its not a game...Its for real? ---- Anybody got a Quantum computer I can borrow for 20 minutes? Nevermind...eien's 64 core machine will do. :) ---- BOTing will be the end of all games. --NYMX