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 2008-09-08, 13:53
canikizu canikizu is offline
Visitor
 
Join Date: Jul 2008
Posts: 8
Default Koisuru otome to Shugo no tate

I'm playing this game Koisuru otome to Shugo no tate recently and want to do a translation project with it.

Its archive is in .arc format. I checked and saw that .arc format can be extract using mjdev. But since I've never done it before, i don't know if i did it right, or it can't be extracted.

Here are some of its files. Does anyone know how to extract it?

http://www.mediafire.com/file/xdx02ytoejb/script.arc
http://www.mediafire.com/file/yt3xjw2gxyn/instdata.arc
http://www.mediafire.com/file/w8mxrljchjy/se.arc


Thank you, :)
Reply With Quote
  #2  
Old 2008-09-08, 15:48
Asceai's Avatar
Asceai Asceai is offline
Posts way too much
 
Join Date: Mar 2007
Posts: 1,413
Default

.arc is a fairly common extension. Are you sure it's a majiro game?
__________________
www.erogenews.com
Reply With Quote
  #3  
Old 2008-09-08, 17:09
EusthEnoptEron's Avatar
EusthEnoptEron EusthEnoptEron is offline
Member
 
Join Date: Aug 2008
Location: Switzerland
Posts: 24
Default

I just tried to extract the script.arc with ExtractData - so far it worked. But since the files didn't have a *.mjo suffix, I'm not too sure about it being on the Majiro engine.
__________________
~ EusthEnoptEron
Reply With Quote
  #4  
Old 2008-09-08, 17:33
canikizu canikizu is offline
Visitor
 
Join Date: Jul 2008
Posts: 8
Default

uhm sorry I didn't check it carefully. I've never use ExtractData before, so I didn't think about it.
Indeed in the game list of Extractdata, there are AXL games.:)

Thank you guys for clearing it. :)
Reply With Quote
  #5  
Old 2008-09-08, 18:42
canikizu canikizu is offline
Visitor
 
Join Date: Jul 2008
Posts: 8
Default

I can use ExtractData to extract it, but I wonder what I can do to pack it back. :).
Reply With Quote
  #6  
Old 2008-09-09, 13:47
Rasqual Twilight
Guest
 
Posts: n/a
Default

the AXL .arc format uses a sliding window compression dubbed "LZ" in ExtractData. Repacking should be relatively trivial if you don't try to compress things

The decompression goes like this
Code:
	while ((src_pos <= srcSize) || (dst_pos <= dstSize)) {
		BYTE flags = *src++;
		src_pos++;

		for (int i = 0; i < 8; i++) {
			if (flags & 0x01) {
				// データ
				*dst++ = dic[retSize & (dicSize - 1)] = *src++;
				src_pos++;
				dst_pos++;
				retSize++;
				if ((src_pos == srcSize) || (dst_pos == dstSize))
					return;
			}
etc...
			flags >>= 1;
		}

so if you have "ABCDEFGHI" to compress, the resulting stream could be "\xFFABCDEFGH\x80I"
After that, look how compressed entries are stored in the .arc format and see if the "encryption" is easy to implement. (should be fairly, I think)
Reply With Quote
  #7  
Old 2008-09-09, 18:33
canikizu canikizu is offline
Visitor
 
Join Date: Jul 2008
Posts: 8
Default

I'm a complete newbie about VN editing, as well as programming (unless you count those ancient Pascal lesson), so I don't understand anything :) sorry.

I appreciate it if you can guide me step by step :).
Reply With Quote
  #8  
Old 2008-09-16, 12:32
rednaxela rednaxela is offline
Regular
 
Join Date: Dec 2005
Posts: 48
Send a message via MSN to rednaxela
Default

Yeah, I wrote a crude command-line packer for this game over a year ago. Here it is:
http://bbs.sumisora.com/read.php?tid=228258&fpage=3
in case you can't see the thread due to login restrictions, here's the packer:
http://www.mediafire.com/?sharekey=f...4fb105898347f7

usage:
AXLpack0.exe path-of-dir-to-pack output-file-path

So suppose you've got your edited scripts in ./script folder, pack them with the following command to get ./script1.arc:
AXLpack0 ./script ./script1.arc

This tool works on script.arc of KOITATE only. I was too lazy to write the logic to identify and process BMPs, which require some special care replacig the header. So if you're looking for tools to do that, you'll have to get someone else. I don't write any new tools now...

To unpack the archives you'll just need ExtractData mentioned above.

Have fun!

- RednaxelaFX
__________________
Tomoyo's the best wife I expect...
Reply With Quote
  #9  
Old 2008-09-17, 20:58
canikizu canikizu is offline
Visitor
 
Join Date: Jul 2008
Posts: 8
Default

I used rexanaxelaFx's tool and it turned out good.
But I have another problem.

The text doesn't appeear right in the box.





Rednaxela talked about I need to hack to the game execute, and double the threshold per line, since the game count letters per line. But then again, I don't have experience with debugger :(. What should I do now?
Reply With Quote
  #10  
Old 2008-09-17, 21:45
zalas zalas is offline
 
 
Join Date: Feb 2004
Location: fushigi misuterii
Posts: 1,831
Send a message via ICQ to zalas
Default

Quote:
Originally Posted by canikizu View Post
Rednaxela talked about I need to hack to the game execute, and double the threshold per line, since the game count letters per line. But then again, I don't have experience with debugger :(. What should I do now?
Since you have no idea how to do the engineering portion of the localisation process, the only thing you can do is wait for a hacker to help you out. Until then, you'll just have to be patient and wait.
__________________
~Yoda is waiting in the air~ | HAVEN
Reply With Quote
  #11  
Old 2008-09-21, 17:32
canikizu canikizu is offline
Visitor
 
Join Date: Jul 2008
Posts: 8
Default

I'll wait then :).
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
Koisuru Otome to Shugo no Tate - The Code Name is "Shield 9": Setup Help SweetieBelIe Technical Issues 1 2012-09-28 08:06
Idea Factory posts "otome games in English" poll dorkatlarge General Discussion 14 2012-09-10 17:23
Someday Soon: Otome wa Boku ni Koishiteru Minimoto General Discussion 7 2010-05-30 18:30
Looking for Otome wa Boku ni Koishiteru translation B2THERAD General Discussion 6 2009-01-28 14:34


All times are GMT -8. The time now is 10:22.


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