Git Product home page Git Product logo

Comments (25)

TesterTesterov avatar TesterTesterov commented on July 18, 2024 2

@Cosetto, okay, got it supported now (in SilkyArcTool 1.1).
Basically, it was an archive with unencrypted data. I added in the program extraction of uncompressed data + option to pack an archive without compressing data.

ANNEVIEWER.AREA is not relevant for reading these files. As for BUILDINFO... Well, I looked into it and it indeed contain information about the archive that was built. So I did check, is it relevant for reading files from the archive, in the following manner. I deleted it, repacked the update.arc and inserted it into the game folder. It worked (data from update.arc was found). Therefore I conclude it is not relevant too.

So it should be supported now.

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

The tool can edit in-games texts. when they are in .mes scripts.

Well, in case of this particular game, text may be or in some other script, or in some other place. If texts in some .mes script, it should work. Otherwise I think no.

Then, I'll do some testing on this matter as I get the game...

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

I did find the game texts. Well, it's quite uncommon for this engine, but... it's on MAP files in data.arc. Strings somehow injects from MAP files to scripts then a message is coming.

This tool is just for MES scripts, not for MAP. But I'll create a specific tool for this game (pretty soon, I hope).

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

Okay, it's ready.

Try MAPTool with .MAP files in data.arc.

from messcriptasseanddisassembler.

Tfausx avatar Tfausx commented on July 18, 2024

Thank you very much for your time to make that tool, can extact and repack perfectly! I just have one last question (if you can help me with that of course), how i can repack to .arc again? (I try left the folder with modified archives in the game directory but not work) I was checking about a tool in this repository:

https://github.com/regomne/chinesize/tree/master/Silky/extarc

But it's on a .go format and i haven't no idea how to run / compile that on windows, if is not much problem, you can give me a hand with that?

Thank you very much again for this!

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

Well, about it... Usually you don't need to repack .arc to modify the game on this engine.
But this case may be different...

This Silky arc file structure as follows:

  • First goes... as I remember correctly, unsigned int for number of entries.
  • Next goes some number (number of entries) of structures as follows:
    • Byte, defines an entry name length (in bytes).
    • Entry name. It's obfucificated. To decrypt +1 in the last byte of string, + 2 in byte before the last and so on.
    • Next is unsigned int in reversed byte order. If I remember correctly, it's a uncompressed entry length.
    • Unsigned int in reversed byte order. If I remember correctly, it's an a compressed entry length.
    • Unsigned int in reversed byte order. If I remember correctly, it's an offset of entry.
  • Next goes data, compressed with lzss.

It wouldn't be hard to make a tool to pack files in the archives, but, as I saw sometimes, "lzss" module in Python often works incorrectly, so I would need to write my own implementation of lzss, which could take some time.

I'll do some testing about how to modify the game without repacking, when I'll have time.
Otherwise I'll do something about lzss.

===
As for that Golang script, it's not working very good with me too.

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

No, there is no need to actually repack arc archives. You can just put the modified file in the game folder. Just don't delete the archive itself.

I try left the folder with modified archives in the game directory but not work

  • What's the problem exactly?

image

from messcriptasseanddisassembler.

Tfausx avatar Tfausx commented on July 18, 2024

Well, i did everything you say before:

-Uncompress data.arc and put the modified scripts inside of that.

Then i left both (uncompressed data folder + data.arc) but the game doesn't recognize the modified script (maybe this not work will all releases?) It's weird, i left you an screenshot of what i did

1

Thanks again for your time and support!

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

It's weird, i left you an screenshot of what i did

  • Ah, I know the problem of your's.
  • You need to put extracted files not in subfolder "data" in the game folder, but in the game folder itself. In the folder, where the exe of it resides.

from messcriptasseanddisassembler.

Tfausx avatar Tfausx commented on July 18, 2024

And that's resolve the problem! Thank you very much for your time, patience and kindness!

Have a nice day!

from messcriptasseanddisassembler.

Cosetto avatar Cosetto commented on July 18, 2024

Just want to ask if you figure out how to repack it? It would be a pain to put those MES files in the directory

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

Just want to ask if you figure out how to repack it? It would be a pain to put those MES files in the directory

You may want to try extarc, as was written below.

from messcriptasseanddisassembler.

Cosetto avatar Cosetto commented on July 18, 2024

Just want to ask if you figure out how to repack it? It would be a pain to put those MES files in the directory

You may want to try extarc, as was written below.

Same question as the guy above, I don't know compile that .go into executable. Can you help?

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

First, install GoLang.
Next, use "go build arc.go" command in command line while having the arc.go directory as active.
Theoretically it should work. Otherwise you'd need to install some dependancies for the building to success.

from messcriptasseanddisassembler.

Cosetto avatar Cosetto commented on July 18, 2024

First, install GoLang.
Next, use "go build arc.go" command in command line while having the arc.go directory as active.
Theoretically it should work. Otherwise you'd need to install some dependancies for the building to success.

image
I repacked it but it doesn't have compressed option too bad

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

Too bad, since I have no better tools.
I had created a tool for Silky .arc repacking long ago, but it seems Python lzss from lzss library (one I used) is not compatible with this lzss. And it would be a pain to implement otherwise. So it won't work.

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

I repacked it but it doesn't have compressed option too bad

Okay, @Cosetto, I hath finally dealed with this pain and implemented Silky Engine's type of LZSS compression (both decompression + compression). See SilkyArcTool. Now you can repack it with proper compression just fine (as far as I tested).

from messcriptasseanddisassembler.

Cosetto avatar Cosetto commented on July 18, 2024

Nice

from messcriptasseanddisassembler.

Cosetto avatar Cosetto commented on July 18, 2024
  • btw did you test if it can read from update.arc? Sekai made adult patch of link by update.arc

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

I'll see about that update.arc now, since I have ended hacking all scripts and archives of AI5WIN. AI6WIN and Silky Engine by now.

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

@Cosetto, seems it is not. I'll work on solution now.

from messcriptasseanddisassembler.

Cosetto avatar Cosetto commented on July 18, 2024

image
Kimagure Temptation.zip
I just double check their update.arc and saw two weird files

from messcriptasseanddisassembler.

Cosetto avatar Cosetto commented on July 18, 2024

thank you

from messcriptasseanddisassembler.

Cosetto avatar Cosetto commented on July 18, 2024

There's another note on Silky's engine: in save folder(usually in C:\Users[Pc name]\AppData\Roaming\Silkys[Game name]\save when installing the game) search for .xml in the save folder, in that will have this:
image
This is where to change font of Silky without using hex editor

from messcriptasseanddisassembler.

TesterTesterov avatar TesterTesterov commented on July 18, 2024

@Cosetto, I indeed know about this method. Yet sometimes Silky Engine generate that xml file (if I remember correctly from my previous testing) based on defaults, so you need to run the game at least once (not in all cases, sometime Silky Engine just won't start without what file and some more) for it to appear. And for it to appear with "crytchy font" you need to HEX-edit.

Also the backward statement is also true: if it already exist, Silky Engine may not change font, even if you change it in exe, unless you edit that XML-file.

from messcriptasseanddisassembler.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.