gemot encubed  

Go Back   gemot encubed > Gemot > Production & Help

Production & Help For discussions regarding production aspects, especially localisation, of visual novels and related games.

Reply
 
Thread Tools Display Modes
  #1  
Old 2010-08-11, 06:22
Unregistered
Guest
 
Posts: n/a
Cool How can I repack yu-ris script engine's files?

Hi

I tried to translate some yu-ris script engines game.

I could extract script and cg file with crass,

so, I have finished translation, I tried to repack them, but I can't


can anyone help me to solve this problem?

cheers!
Reply With Quote
  #2  
Old 2010-08-11, 09:06
dsp2003
Guest
 
Posts: n/a
Default

You'll be able to pack YU-RIS engine archives (v2.47, v2.55 and v2.90) with the next release of AnimED. I'm still testing it and several bugs yet to be fixed before new build will be released. Stay tuned.

P.S. Something about the format you'll probably be surprised to hear: it uses recovery record feature.

Edit: Here you go, the "nighty" build (link not available anymore). No source code this time though. If you need it, please wait for the stable build.

Last edited by dsp2003; 2010-08-19 at 03:54. Reason: Sleepless night... =_=
Reply With Quote
  #3  
Old 2010-08-12, 05:03
Unregistered
Guest
 
Posts: n/a
Default WoooooooooooooW Thanks to your reply

Quote:
Originally Posted by dsp2003 View Post
You'll be able to pack YU-RIS engine archives (v2.47, v2.55 and v2.90) with the next release of AnimED. I'm still testing it and several bugs yet to be fixed before new build will be released. Stay tuned.

P.S. Something about the format you'll probably be surprised to hear: it uses recovery record feature.

Edit: Here you go, the "nighty" build in 7-zip archive. No source code this time though. If you need it, please wait for the stable build.
It's cooooooooooooooooooooooL

thanks to your reply :)

Have a nice day!
Reply With Quote
  #4  
Old 2012-05-01, 18:32
Unregistered
Guest
 
Posts: n/a
Default

Hey hou can you extract their script file?
I've tried crass, but after I extract .ypf file I got some .ybn file, ang crass can't do anything with them.
So how can you extract the .ybn one?
Reply With Quote
  #5  
Old 2012-05-01, 21:49
Strum
Guest
 
Posts: n/a
Default

The ybn files are encrypted. You'll need to figure out the XOR key in order to make the script files readable. Out of interest, what game are you trying to crack?
Reply With Quote
  #6  
Old 2012-05-03, 05:52
Unregistered
Guest
 
Posts: n/a
Default

I'm trying with Ina koi. What about the ybn file?
Reply With Quote
  #7  
Old 2012-05-03, 10:17
Strum
Guest
 
Posts: n/a
Default

As I said, the ybn files are encrypted. You will need to figure out the XOR key to decrypt them so you can read the script files. The XOR key is different for every game.
Reply With Quote
  #8  
Old 2012-05-03, 18:42
Unregistered
Guest
 
Posts: n/a
Default

So how can I find that key? Or someway to extract that file?
Reply With Quote
  #9  
Old 2012-05-04, 10:23
Somebody
Guest
 
Posts: n/a
Default

(assuming the encryption scheme is just "XOR script with this static key")
XOR is symmetric, so decryption = encryption. Also, (0 XOR key) = key.

So at first I'd have dumped the memory of the game and looked for the decrypted script there. Hopefully you can spot some "marker", like VN engine commands, script file header, constant starting address of the decrypted script or something else that would simplify finding it the next time.
Having found the decrypted script, I'd have tried to feed the game with a zero-filled script file, dumped its memory again and what would be the "decrypted script" (use your "marker" to find it) will actually be the key (repeated several times if the script is longer than the key).

There are many ways to prevent this kind of attack (verifying the checksum of encrypted script before decrypting it, for example), but it's worth a try if you have no ideas at all.
Reply With Quote
  #10  
Old 2012-05-06, 07:35
Unregistered
Guest
 
Posts: n/a
Default

I'm new, so can you give me a specific instruction?
Reply With Quote
  #11  
Old 2012-05-06, 10:42
Somebody
Guest
 
Posts: n/a
Default

No, for a variety of reasons including but not limited to:
- I don't have the game nor I'm interested in it
- it doesn't look like there's any translation project around
- "specific instruction" must be a wall of text for it to be of use to "new" ones (which won't follow it anyway)

If you're really curious, read a VN hacking guide linked to at ttp://vn.i-forge.net/tools/
Then you'll be able to explain a programmer friend or freelancer what you want him to do for you.
Reply With Quote
  #12  
Old 2012-05-07, 06:47
Unregistered
Guest
 
Posts: n/a
Default

I'll try.
Btw thank you.
Reply With Quote
  #13  
Old 2012-05-09, 10:26
Strum
Guest
 
Posts: n/a
Default

Good luck, you may have a little trouble editing the names though. The names are stored in a seperate script file. When editing the script files (not the one with the list of names), leave the names alone or the whole thing will drop down into the textbox.



For some games like Master by Maid, its not a problem because of the plain rectangle textbox design.



In other games like in Lyrical, it can be a bit of a problem since there's a space for the character names to appear above the textbox. As you can see, the name Makoto has dropped into the textbox.

Unfortunately, the textbox for Ina Koi is that of the latter, ie there's a space set for the character names above the textbox.

Last edited by Strum; 2012-05-13 at 02:20.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
YU-RIS engine hacking Mimi_chan Production & Help 0 2013-12-11 08:06
How to repack LPK Files? Unregistered Technical Issues 1 2013-03-25 14:29
Little Buster script repack. OMG daoluong Technical Issues 1 2013-02-23 21:15
Help extract Magus Tale(YU-RIS)'s script files SSK Production & Help 0 2011-03-05 22:02
Need Help with Rldev script repack Slash Technical Issues 0 2009-12-27 21:05


All times are GMT -8. The time now is 08:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.