Nanashi3 Posted November 3, 2013 Share Posted November 3, 2013 Hello everyone, I hereby proudly present a modest set of tools which aim at pulling out text from console VNs published by Yeti/Regista/Cyberfront. There was no identifiable name for the VN engine, and it is only one among many others Cyberfront etc. use. Tested titles are: Cross + Channel PSP and X360 Secret Game and its sequel Rebellion's PSP Kana Imouto PSP Hoshizora Planet PSP Ryuu-Koku PSP Konneko PSP Tamayura PSP Root Double X360 Those tools were written in Python 3 and may be freely used provided proper credit is given. Since it is a dynamic scripting language, sourcecode is freely available. You may download it from this Github repository: https://github.com/mchubby/yetireg_tools Hit "Download ZIP" to grab the whole directory. How to use it: 0- Install Python 3 (whatever version) 1- Unzip archive contents. Edit all PS1 files to match your Python 3 path. 2- Extract sn.bin from your game media and copy it into the same folder. Give it a significant name, e.g. sg2psp-sn.bin 3- Open a Powershell prompt and change directory to the extract folder 4- Run _1-extpak.ps1 ( C:\Mydir PS> .\_1-extpak.ps1 ) It should generate a bunch of z__*.opcodescript files 5- Run _2-extjis.ps1 ( C:\Mydir PS> .\_2-extjis.ps1 ) For each opcodescript, a resource txt file may appear depending on whether strings were detected. 6-Optionally you may want to convert those txt files to po for importing them into a Weblate project for instance You may also want to take a look at the presentation I created for installing Weblate on a cloud service: https://slid.es/mchubby/weblate-on-pythonanywhere I had no time to retest the whole process again though >_< Known Non-Bugs: The last item of each archive is not a game script. It certainly serves a purpose, but it does not matter as far as text extraction is concerned. Known Bugs: Rebellion's SG script 002 won't be parsed correctly.. Not that it matters, it seems to be an orphan script. TODO: Decode root double PS3 (BLJM-61100) 's sn.sdat, but I cannot find the corresponding klicensee even after bruteforcing. help? Figure out bitmap format of XTX graphics mode 1 and 2 asmodean's spc2bmp only supports 32bpp bitmaps (mode 0) only clue I have atm is http://tieba.baidu.com/p/2397878791 ; they have the same issue here http://tieba.baidu.com/p/2631815322 PS: @Ziddy, apologies for not answering PMs, I was horribly busy xyz 1 Quote Link to comment Share on other sites More sharing options...
xyz Posted November 4, 2013 Share Posted November 4, 2013 You may also want to take a look at the presentation I created for installing Weblate on a cloud service: https://slid.es/mchubby/weblate-on-pythonanywhereI had no time to retest the whole process again though >_<Hey, that's cool. I've got some suggestions though. It's [probably] possible to use bitbucket for git hosting (I assume you need a private repo). Also, I find the following directory scheme more pleasant to work with:├── en │ ├── ItemList.po │ ├── STARTPOINT.po │ ├── _0000ESS1.po │ ├── _0010ESS0.po │ ├── _0011AAA0.po │ ├── _0011AMI0.po │ ├── _0011HAR0.po │ ├── _0011KOH0.po │ ├── _0011KTM0.po │ ├── _0011SAK0.po │ ├── _0011YUR0.po … … Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.