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
  #16  
Old 2012-02-26, 18:43
Tsukiko Tsukiko is offline
Visitor
 
Join Date: Feb 2012
Posts: 6
Default

I hope you don't mind Minagi but I upped the source of nipa in github https://github.com/Wilhansen/nipa and modified the code to be non-japanese-locale-friendly (i.e. it can extract japanese file names even if the system locale is not Shift-JIS).
Reply With Quote
  #17  
Old 2012-02-29, 15:14
Minagi's Avatar
Minagi Minagi is offline
Regular
 
Join Date: Jun 2007
Posts: 85
Default

I don't mind but the source code you are working with is more than half year out of date (even older than the one hosted on tsukuru). Here's the latest version: http://www.mediafire.com/?ga79dk40qaflq2y

I guess my only request is that you include a binary release every once in a while (especially when/if you add new games) since I intended for this to be for the average person (mostly just those working on fan translations using the N2System engine) and not just people who knew how to compile the code.

I'm kinda curious, is there any particular reason you wanted to fix it up? I know my code isn't all that great but I figured it would have been too specific of a tool for anyone besides me to care about maintaining.
Reply With Quote
  #18  
Old 2012-03-02, 05:40
Tsukiko Tsukiko is offline
Visitor
 
Join Date: Feb 2012
Posts: 6
Default

Quote:
Originally Posted by Minagi View Post
I don't mind but the source code you are working with is more than half year out of date (even older than the one hosted on tsukuru). Here's the latest version: http://www.mediafire.com/?ga79dk40qaflq2y
Ooooh, ok. I'll merge the changes as soon as I can (probably over this weekend). Is this purely a bugfix or did you add something?

Quote:
Originally Posted by Minagi View Post
I guess my only request is that you include a binary release every once in a while (especially when/if you add new games) since I intended for this to be for the average person (mostly just those working on fan translations using the N2System engine) and not just people who knew how to compile the code.
No problem. Actually, the download links are here: https://github.com/Wilhansen/nipa/downloads (YAY free file hosting). I also changed the TLWiki page link to this url.

Quote:
Originally Posted by Minagi View Post
I'm kinda curious, is there any particular reason you wanted to fix it up? I know my code isn't all that great but I figured it would have been too specific of a tool for anyone besides me to care about maintaining.
I was working with the people on the Lamento project and well, it seems that the executable requires resources to be encrypted for it to be loaded. So I implemented encryption for repacking (thank goodness the cipher is symmetric). So don't worry, I'm not on a code-cleaning crusade :)

Also, as what I've said previously, I want it to be usable for people who are too lazy to set their system locale to Japanese (like me :P). Actually... this is the initial reason why fudged with the code.

This might be redundant but: thanks for the documentation!

Last edited by Tsukiko; 2012-03-02 at 05:50.
Reply With Quote
  #19  
Old 2012-03-02, 13:10
Minagi's Avatar
Minagi Minagi is offline
Regular
 
Join Date: Jun 2007
Posts: 85
Default

Quote:
Originally Posted by Tsukiko View Post
Ooooh, ok. I'll merge the changes as soon as I can (probably over this weekend). Is this purely a bugfix or did you add something?
Just adding stuff. At this point the only time it gets updated is to add new games. I'll probably still be updating it for as long as the engine is still in use or until I no longer care.

Quote:
Originally Posted by Tsukiko View Post
Also, as what I've said previously, I want it to be usable for people who are too lazy to set their system locale to Japanese (like me :P). Actually... this is the initial reason why fudged with the code.
Not a big deal but your modifications make all of the Japanese display as ?s for me in the command prompt.

Good luck with Lamento!
Reply With Quote
  #20  
Old 2012-03-03, 00:35
Tsukiko Tsukiko is offline
Visitor
 
Join Date: Feb 2012
Posts: 6
Default

Incorporated the additions you made. If you have a github handle, I can add you as a project collaborator if ya want.

As for the japanese text issue, well, I sorta "fixed" the issue with the new build (you may want to test it out again). It's not 100% bullet-proof because Unicode support in windows is... shall I say... broken:

For example, if you pipe the output to a text file, "type dump.txt" will show you garbage but if you open it in notepad, it will show you the text properly. Saving the text and typing "type dump.txt" in the command line will show you the fixed output.

Another is when you have a non-japanese console, the output will contain the dreaded "[]". But if you copy-paste it to something like notepad... it appears fine.
Reply With Quote
  #21  
Old 2012-03-03, 02:27
Minagi's Avatar
Minagi Minagi is offline
Regular
 
Join Date: Jun 2007
Posts: 85
Default

I don't have a github account or even git installed so I'll have to pass on that. The text looks alright now too.
Reply With Quote
  #22  
Old 2012-03-09, 18:33
Unregistered
Guest
 
Posts: n/a
Default

Nitro+ released a new trailer for an upcoming game, it uses some new encryption though.

http://www.nitroplus.co.jp/game/lost_x/story/trailer/

There's cg, nss, sound, and system .npa files along with a directx folder. It'd be great if someone who knew what they were doing could take a look at it, there's some really nice art!
Reply With Quote
  #23  
Old 2012-03-12, 00:54
Minagi's Avatar
Minagi Minagi is offline
Regular
 
Join Date: Jun 2007
Posts: 85
Default

Thanks for the heads up, Unregistered. Updated to support the Lost Xmas trailer.

Bin: http://www.mediafire.com/?ww29snnibeim7ir
Src: http://www.mediafire.com/?7m46wq9lb68t56j

Last edited by Minagi; 2012-03-12 at 00:59.
Reply With Quote
  #24  
Old 2012-03-14, 18:31
Tsukiko Tsukiko is offline
Visitor
 
Join Date: Feb 2012
Posts: 6
Default

just to notify, also updated the binary at the github.
Reply With Quote
  #25  
Old 2012-04-05, 05:38
swiftnissity swiftnissity is offline
Obsessive
 
Join Date: Dec 2008
Posts: 231
Default

Any chance you could make it compatible with DMMD? (http://vndb.org/v5916)
Considering it for a future project after Togainu.
Reply With Quote
  #26  
Old 2012-04-09, 08:39
Tsukiko Tsukiko is offline
Visitor
 
Join Date: Feb 2012
Posts: 6
Default

I'll see what I can do after I manage to get the game running (3 gigs wow)... But Minagi might beat me to it :P
Reply With Quote
  #27  
Old 2012-04-09, 15:22
Minagi's Avatar
Minagi Minagi is offline
Regular
 
Join Date: Jun 2007
Posts: 85
Default

Quote:
Originally Posted by Tsukiko View Post
I'll see what I can do after I manage to get the game running (3 gigs wow)... But Minagi might beat me to it :P
Eh, sorry. :P You could can usually just download patch data if it's available since they usually include the EXE.

Updated first post with new versions.

By the way, I've been kinda working on a Go version in my free time just to play around with the language a little bit. It fixes a lot of the issues I had with my original design and the code is nicer. It's just a little bit slower, though. I may start only maintaining the Go version once it's near finished.

Last edited by Minagi; 2012-04-09 at 15:28.
Reply With Quote
  #28  
Old 2012-04-10, 16:13
Tsukiko Tsukiko is offline
Visitor
 
Join Date: Feb 2012
Posts: 6
Default

Naw, it's ok as long as things get done :) (that was fast)

I was plannin' to figure out how to extract the key table myself so yeah XD
Reply With Quote
  #29  
Old 2012-07-27, 07:57
Avalon Avalon is offline
Visitor
 
Join Date: Jul 2012
Posts: 4
Default

Nitro+ released a new trailer (ver. 2.0), i think it uses some new encryption.
Sorry my English is not good.
www.nitroplus.co.jp/game/lost_x/story/trailer
Reply With Quote
  #30  
Old 2012-07-29, 17:32
Minagi's Avatar
Minagi Minagi is offline
Regular
 
Join Date: Jun 2007
Posts: 85
Default

Quote:
Originally Posted by Avalon View Post
Nitro+ released a new trailer (ver. 2.0), i think it uses some new encryption.
Sorry my English is not good.
www.nitroplus.co.jp/game/lost_x/story/trailer
Thanks for the report of a possible new encryption but it looks to be the same as the first trial's encryption. Use the following parameters: "nipa.exe -xg (file).nss LostXTrailer". It works for me on the nss.npa and cg.npa files I tried.
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
Eustia script format? zz887878zz Production & Help 15 2011-06-14 13:19
how to open pak or npa files???Please help RavenCloud Technical Issues 0 2007-09-22 11:01
Kanoso Script Format Unregistered Technical Issues 0 2007-01-21 17:28
NBZ format? Starchanchan Technical Issues 2 2007-01-08 10:39
ever17 music format Technical Issues 6 2006-11-17 10:25


All times are GMT -8. The time now is 20:25.


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