0xDC00 / scripts

A collection of scripts for Agent. Feel free to submit a pull request to add your script.
https://github.com/0xDC00/agent
MIT License
71 stars 35 forks source link

[Request] Shinigami to Shoujo (possibly both PSP and Switch) #119

Closed Norowareshi closed 6 months ago

Norowareshi commented 1 year ago

Hello, I'm trying hard to work around this game but had no luck with neither the Switch version nor the PSP one.

Link to the VNDB tab: https://vndb.org/v6656

Thanks in advance for your help.

amy10111111111 commented 1 year ago

try using cheat Engine and search for the value(text) with encoding Shift-JIS with value type (Array of Byte), usually, for psp games with ppsspp emulator, you can find the address quickly and there is a possibility that the switch version uses the same encoding.

Norowareshi commented 1 year ago

Thank you for your tips! Sadly I'm a bit of a major noob, so I'm having a friend help me out through remote. We'll try again later this week and I hope these will work! Thanks anyway for your kindess!😊

amy10111111111 commented 1 year ago

Just a tip that you need to do this process every time you open the game because the address is dynamic, however, you can for example use the D-code method using the guide here https://github.com/0xDC00/agent/wiki/Finding-D-CODE-(Deprecated) it says it's deprecated but it works for some games with the old version of agent, I am not sure if it still works with the new version of agent because it is not a stable method but you can try and see but the best method right now is custom script which requires knowledge in revers engineering, and you're welcome !!

Norowareshi commented 1 year ago

Once again, thank you so much for going out of your way to give me other tips!🥺 I will make sure to link this thread to my friend and let them guide me accordingly. You're a lifesaver!🙏

Norowareshi commented 1 year ago

Unfortunately despite trying all of @amy10111111111 's super kind tips, we were barely able to set Textractor after countless tries and errors. It still won't work properly and only seems to function from a certain point after the prologue and I have no idea if it will keep working. Of course I am plenty aware of the big request I'm asking you, but if someone would consider creating a script for this game I'd be eternally grateful. Thanks again.

WinterfuryZX commented 1 year ago

I actually tried this yesterday and it works quite fine with textractor albeit not perfectly, It works from the very first line but I think it skips all the lines where the nameable protagonist name is included (at the very least it skipped all the lines where her childhood friend was saying "Sayo-chan"). That's what I did: Attach the game, wait for the first text line appearing on screen (貴方のお名前は if I don't remember wrong), then search for hooks, then search for specific text and enter the same sentence you're seeing onscreen.

Norowareshi commented 1 year ago

That's what me and my friend did ;__; But still had troubles with it... at this point I really can't understand if it's something with my PC or what. I'll try again with your line, we tried the exact one without the first kanji bc I couldn't recognize which one it was LOL, and it would end capturing only some of the lines and partially. If we tried going forward after the first answers and search another line from the prologue it seemed to work, but as long as I loaded back to the prologue to read that part it would start giving torubles again. My friend is no noob like me and helped me from remote with TeamViewer, he basically did all the things he could think of but still to no avail. I'll try and see if using the first kanji as well actually does the magic ;U; Thanks a lot!

Norowareshi commented 1 year ago

Edit: it kinda does get better, it still skips some of the lines in the prologue and I can't understand why, but worst case scenario I'll stick with it if there are no better options! Thanks!

amy10111111111 commented 1 year ago

@Norowareshi Hi,I tried the game on both switch (ryujinx) and PSVita emulator(vita 3k) to extract the text using cheat engine, on switch the emulator displayed the text jumbled up and when I try to find the D-code it just gives infinite instructions. On the other hand on vita 3k, the game works perfectly and found D-code but it doesn't extract all lines and skips some so I don't think I will try the PSP version because I don't like to read VNs on it since the CG becomes blurry, hope someone can make a script for it one day.

Norowareshi commented 1 year ago

God, you're an angel😭❤ But same, I hope Ryujinx or Yuzu will support the Switch game soon (bc it wouldn't work for me when I tried it last time), since I bought it specifically because I relied on the fact of being able to find a working text hooker ;; Sadly I wouldn't be able to play the game unless I rely on the text hooker and a MTL/work with some dictionaries. So yeah... I'll try to wait and see if some of the updates of Yuzu and Ryujinx will support the game and see if I can find someone to work on the script!

Thanks a lot for all the extra work you did even if it wasn't a title you were interested into in the first place!;;

amy10111111111 commented 1 year ago

@Norowareshi For the switch version , I tried a couple of lines with cheat Engine on Ryujinx and it does extract them, I even wrote a script in cheat Engine to copy the text to the clipboard and it worked! but you need to set it up from zero each time since the address changes plus I am not sure if the method will work for the entire game.

Also, Don't worry. actually, I was interested in this game for some time but didn't have a break recently to find the D-code, and to be honest I thought it would be easy because the encoding is in shift_js sadly it was not.

Hope this game gets supported on Ryujinx or yuzu one day, and you're welcome!

Norowareshi commented 1 year ago

@Norowareshi For the switch version , I tried a couple of lines with cheat Engine on Ryujinx and it does extract them, I even wrote a script in cheat Engine to copy the text to the clipboard and it worked! but you need to set it up from zero each time since the address changes plus I am not sure if the method will work for the entire game.

Also, Don't worry. actually, I was interested in this game for some time but didn't have a break recently to find the D-code, and to be honest I thought it would be easy because the encoding is in shift_js sadly it was not.

Hope this game gets supported on Ryujinx or yuzu one day, and you're welcome!

You still are an angel to me because of your kindness and willingness to share your findings!;_; I truly hope it'll work soon on Ryujinx or Yuzu, and even better, for someone to finally localize it in English! (Also bit of OT but if you've not played it yet, Taisho x Alice is from the same writer and luckily it got localized in English! I wholeheartedly recommend it <3)

amy10111111111 commented 1 year ago

Already played Taisho x Alice and loved it .I hope Shinigami gets localized too

Kalleo1 commented 7 months ago

There's a script for PSP. As for switch I tested it with both yuzu and ryujinx and it doesn't work well, this is how the text is showing: image

Norowareshi commented 7 months ago

There's a script for PSP. As for switch I tested it with both yuzu and ryujinx and it doesn't work well, this is how the text is showing: image

Yes, I saw there is a PSP script, but having bought the Switch game exactly to experience it in the best possible quality I would like to try and wait if someone can fix it for Yuzu or Ryujinx!;;

I just need to find a moment to attach proof of my owned copy and write a request in their forums I guess...

amy10111111111 commented 7 months ago

There's a script for PSP. As for switch I tested it with both yuzu and ryujinx and it doesn't work well, this is how the text is showing: image

I tried to find the hook and only got two addresses and both of them extract the name and the text but whenever the choices appear it gives me the access violation error. I already made a script for the vita one and aside from the bgm issue the game works fine.

bacbt9 commented 6 months ago

@Kalleo1 @Norowareshi FWIW game itself works on yuzu, but you have to use opengl, download older build https://github.com/yuzu-emu/yuzu-mainline/releases/tag/mainline-0-1523 here and set graphic emulation accuracy extreme in adv. graphic settings would be cool to see yuzu switch now

yuzu yuzu_1523__死神と少女_(32-bit)__1 0 1__NVIDIA  2024-02 14-07-00

yuzu Properties  2024-02 14-10-07 yuzu Properties  2024-02 14-10-09

amy10111111111 commented 6 months ago

@Kalleo1 @Norowareshi FWIW game itself works on yuzu, but you have to use opengl, download older build https://github.com/yuzu-emu/yuzu-mainline/releases/tag/mainline-0-1523 here and set graphic emulation accuracy extreme in adv. graphic settings would be cool to see yuzu switch now

yuzu yuzu_1523__死神と少女_(32-bit)__1 0 1__NVIDIA 2024-02 14-07-00

yuzu Properties 2024-02 14-10-07 yuzu Properties 2024-02 14-10-09

Thank you so much for sharing this, it even worked on later build too,I already found a hook for the text but wasnt sure to share it because of the issues with the text but now its solved I will share it .

bacbt9 commented 6 months ago

it even worked on later build too

Yep, it works on later builds up to certain version... But I tried on latest build just today and it did not work.

Norowareshi commented 6 months ago

amy10111111111

@Kalleo1 @Norowareshi FWIW game itself works on yuzu, but you have to use opengl, download older build https://github.com/yuzu-emu/yuzu-mainline/releases/tag/mainline-0-1523 here and set graphic emulation accuracy extreme in adv. graphic settings would be cool to see yuzu switch now

yuzu yuzu_1523__死神と少女_(32-bit)__1 0 1__NVIDIA 2024-02 14-07-00

yuzu Properties 2024-02 14-10-07 yuzu Properties 2024-02 14-10-09

Holy cow, thank you SO much, from the bottom of my heart ;_; My copy of STS sitting on my shelf collecting dust is thanking you as well! I can't wait to find the time to set everything up and play it! Really, thank you again! (both to you and @amy10111111111 who tried out every way to fix this as well!<3)