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-04-28, 22:06
Hogan's Avatar
Hogan Hogan is offline
Visitor
 
Join Date: Jan 2010
Posts: 5
Default Kid Tools GUI (aka KTG) reversing/encrypting

G'day,

Has anyone had experience with this program, or know the method it uses to decrypt the .bip script files?

Reason being, I can use it to decode the script file (so I can add in the translation), however I cannot re-encrypt it so the game (ever17 psp) can read it.

Its not a simple XOR unfortunately, and re-running the file through GTP yields no results.
For comparison's sake, Here's the scrip files before and after running it through GTP (If opening them up in a hex-editor, the script starts at around 1590)

Cheers,
-Hogan
Reply With Quote
  #2  
Old 2010-04-29, 08:36
dsp2003
Guest
 
Posts: n/a
Default

Here's the E17 PS2/R11 PC BIP decompressor (courtesy of Zidane-sama) written in Object Pascal. Source code is a public domain (BIP files are using simple LZW-alike compression). Hope this will be helpful.
Attached Files
File Type: zip e17_ps2_unlzw.zip (35.8 KB, 208 views)
Reply With Quote
  #3  
Old 2010-04-29, 22:52
Hogan's Avatar
Hogan Hogan is offline
Visitor
 
Join Date: Jan 2010
Posts: 5
Default

Yep, thanks for that, as the R11 tools on TLwiki didn't do the job.
Although now I'm going to need to break the code down, to work out how to go backwards to encode it again, so that the game ca read and run it.

Cheers,
-Hogan
Reply With Quote
  #4  
Old 2010-04-30, 09:21
dsp2003
Guest
 
Posts: n/a
Default

afaik, it's possible to simulate LZ/LZW by inserting $FF code every 8 bytes (starting from 0 position), so no "real" encoding is required. :)
Reply With Quote
  #5  
Old 2010-05-03, 05:47
Hogan's Avatar
Hogan Hogan is offline
Visitor
 
Join Date: Jan 2010
Posts: 5
Default

Cheers, gave it a shot, But no luck unfortunately.
Don't worry, I'll keep plugging away at this, shame its not a straight-up LZW...
Reply With Quote
  #6  
Old 2010-06-26, 14:36
hamhock hamhock is offline
Visitor
 
Join Date: Jun 2010
Posts: 1
Default

Hi, I was looking for more games with .BIP files and came across this thread. Although I do not entirely understand how to do what you want, I do know that an LZSS variation is used for the BIP compression. I found a tool, with C source included, that will perform the decompression. Perhaps you can reverse the source to make it compress? I've attached the file. Good luck!
Attached Files
File Type: zip BIPdec.zip (5.9 KB, 169 views)
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
Kid Tools GUI Message Unregistered Technical Issues 1 2008-07-15 08:15
princess maker 4 (gui only) patch papillon General Discussion 0 2007-11-09 10:03
Squaresoft Published Games For Kid?! DragonmasterX General Discussion 1 2007-01-28 21:58
A note on automated systems =D (aka: DNS Issues) Misu General Discussion 4 2007-01-11 19:30
Kid Declares Bankruptcy DragonmasterX General Discussion 30 2006-12-23 15:29


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


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.