Talk:Double Spoiler: Miscellaneous

From Touhou Wiki
Jump to navigation Jump to search


I've tried using this. But is not working... -Dandan550 08:42, March 15, 2010 (UTC)

You have to make an folder named "user" 08:48, March 15, 2010 (UTC)

Nope, also won't work either, in Windows Vista - KyoriAsh 09:54, March 15, 2010 (UTC)
Oh, I'm on 7. Sorry. 10:02, March 15, 2010 (UTC)
I should note that I've only tested it on 7, but if someone can get it working on other versions, that would be nice. Also, I changed the version on my user page to create the user directory if it doesn't exist. I don't have Vista, but I could try getting it working in XP as well (and hopefully if it works in both XP and 7 then it will work in Vista). —Nereid talk 12:14, March 15, 2010 (UTC)
Finally it works successfully, not sure for XP - KyoriAsh 15:01, March 15, 2010 (UTC)
Additional Note: %%x doesn't support folder name with space bar? - KyoriAsh 15:17, March 15, 2010 (UTC)
If no one minds me asking, what is th125p.bat supposed to do? Knuckx117 19:13, March 15, 2010 (UTC)
Tried it... It just starts the whole thing... I was on Stage EX... But it started again to Stage 1... -Dandan550 00:39, March 16, 2010 (UTC)
That's expected, as it is now using a different directory to store user data. You can copy/move the Users\<username>\AppData\Roaming\ShanghaiAlice directory to <your DS directory>\data\ShanghaiAlice to keep the old data. —Nereid talk 02:53, March 16, 2010 (UTC)

Got it up for XP. Weirdly enough, even though I only used a simple "SET APPDATA=", which /should/ have global effects, it seems it only sets it for programs run through the batch. I don't claim to understand it, but I tried it on both my lap- and desktop, and it works perfectly fine. Carry on~ 01:21, March 16, 2010 (UTC)

So, I borrwed my roommate's Vista desktop, and my other roommate's 7 laptop, and my batch works perfectly on both. I'm hesitant to remove Nereid0's work, but I don't think it's needed anymore, since mine does everything his/her's does, in less code and with better compatibility.
See I was looking for something like %CD%; I'm not sure why I didn't find it. My batch file skills are rather poor though, and I'm more used to a Unix shell. I'll go ahead and remove my version. —Nereid talk 02:53, March 16, 2010 (UTC)
Why set appdata=%CD%\user instead of set appdata=%CD%? This is more better. Meanwhile, no command can read folder with space bar? - KyoriAsh 02:58, March 16, 2010 (UTC)
Setting APPDATA to %CD% works fine as well (and removes the need for the md command), but you end up with a ShanghaiAlice directory under the DS directory. I suppose that's also acceptable. —Nereid talk 03:07, March 16, 2010 (UTC)
It reads spacebars just fine for me.. My 12.5 folder is C:\Touhou\Touhou 12.5. I do know certain characters such as ampersand (&) and such can break it, though ~ Cerxi 19:38, March 17, 2010 (UTC)
Mine is Team Shanghai Alice\Double Spoiler but %CD% only reads as Team, thus create the folder in X:\Team\ShanghaiAlice\[Savepath]KyoriAsh 16:42, March 18, 2010 (UTC)
I have fixed this. —Nereid talk 06:01, March 19, 2010 (UTC)

I think we should change %CD%\user to just %CD%. This way, it (1) removes one directory level, and (2) removes the need for the md command. Does anyone have a reason to keep it as %CD%\user? If not, I'll go ahead and change it. —Nereid talk 06:06, March 19, 2010 (UTC)

Well, the reason I left the \user in there was because of some people (like myself) who want/need to have multiple profiles, for more than one person, and so all they'd have to do to achieve that is change \user to something else.Cerxi 20:56, March 26, 2010 (UTC)
I suppose that's a fairly good point. I suppose we may as well put it back. —Nereid talk 22:19, March 26, 2010 (UTC)

Can't /believe/ I forgot to mention the need for a customp.bat. Honestly, Cerxi, pull it together, man! - Cerxi 10:22, March 28, 2010 (UTC)

I've even had one myself for all this time. It's easy enough though, just replace th125.exe with custom.exe in the bat file. —Nereid talk 19:16, March 28, 2010 (UTC)
Well yes, it's easy, but people who don't know how these things work might change their settings and then come back with "OMG MY SETTINGS DON'T SAVE GUYS WHAT?!". Just thought, yanno, heading that off. Cerxi 08:10, April 2, 2010 (UTC)