Jump to content

Guest

Recommended Posts

 

On 8/25/2024 at 7:56 AM, Linsey22 said:

You can use the offzip tool made by aluigi to extract the DAT: https://www.aluigi.altervista.org/mytoolz/offzip.zip
And the packzip one to repack the edited files: https://www.aluigi.altervista.org/mytoolz/packzip.zip

  • To use offzip: 
offzip -a -z -15 -Q "where_your_package_dat_is" "folder_where_you_want_to_extract_the_files"

Example:

offzip -a -z -15 -Q "C:\Users\your_user\Downloads\Trick or Alice\package.dat" "C:\Users\your_user\Downloads\Trick or Alice\output files"
  • Edit the files (you can open them with Notepad++) and save the changes.
  • To repack:
packzip -w -15 -o "offset of the file you edited" "file_you_edited" "package_file_you_want_to_want_to_modify" 

Example:

packzip -w -15 -o 0x00139db4 "C:\Users\your_user\Downloads\Trick or Alice\output files\00139db4.__a" "C:\Users\your_user\Downloads\Trick or Alice\package.dat"

The offset of each file is the name of the file itself (with "0x" in front of it). I haven't tried modifying a lot of files so I don't really know how the repack of a whole folder would work but I guess it's easy. Let me know if it works :D

I tried out the tools and it worked! Thank you very much for your help. I was finding ways to extract the game file and was left with nothing on the internet, so your help was very much godsend. Like you suggested, I only tried editing one script file and I haven't tried editing the other scripts so I still don't know if repacking a whole folder works but ill let you know once I've tried! Thank you so much again. Here is what it looks like after I inserted the edited text into the game.

test22.png

trick-or-alice-test.png

Link to comment
Share on other sites

On 8/26/2024 at 10:59 AM, Water Boo said:

I would like to know if there is any other tool that can create the .dat file with those files. If anyone could help me, please.

Search for a tool that understands that game engine or archive format.

When opening the archive in Garbro, at the bottom left it says which archive type it is using. Look through https://github.com/crskycode/GARbro/tree/master/ArcFormats for clues about which game engine that archive type is associated with. Then search for more resources for that game engine, like on github, or post the name of the game engine here to see if anyone is aware of any resources that work with that engine.

Link to comment
Share on other sites

  • 3 weeks later...
On 2/21/2018 at 10:37 PM, Formacarta said:

Hi guys! I'm looking for help with extracting data from eroges made by Valkyria. There's a few that I would absolutely love to translate and share in english. I have not had any luck with finding out how to extract or repack data from their games and it seems that they use their own proprietary engine so it's seeming kind of hopeless right now. Thanks!

Kinda late but this tool can be used to tl Valkyria scripts

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...