![]() |
|
Technical Issues For bug reports, problem solving, and help running Japanese software. |
![]() |
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
![]()
I'd like to create a new archive to store edited image files in Tsukihime, but lack a sar archive encoder to create arc1.sar. Would it be possible to use both arc.sar and whatever.nsa at the same time?
From what I understand ONS doesn't really use the arc or nsa commands anymore, but will instead automatically look for arc.sar or arc.nsa and continue in arc1.sar/arc1.nsa if it cannot find a resource, is this correct? At the very least, telling ONS to nsa does not make it unable to find a resource in arc.sar, even if the arc command is commented out in 0.txt. Does anyone know what ONS really does do to determine where to get the necessary resources? |
#2
|
|||
|
|||
![]()
You can always run it under Filemon and check which files it tries to open. Move the originals for maximum effect.
|
#3
|
||||
|
||||
![]()
Using the following commands in *define:
Code:
arc "arc.sar|scrunarc.dll" nsa Adding arc.sar to the directory, it's the same up to loading 0.txt, after that it only tries to read from arc.sar, not finding the graphics it needs. Reversing the two codelines at the top has no notable effect. removing both codelines makes ONS not find anything at all. It looks like ONS automatically searches for arc.sar and arc?.nsa, but does not actually read from them until it is specifically told to do so. What's more annoying is that, even if you tell ONS to only 'nsa' (thus, remove the 'sar' command above), it still ONLY uses arc.sar if it is available... >_> |
#4
|
||||
|
||||
![]()
It's clear from the source that ONScripter will never read from an .nsa if a .sar is present, but it should be simple enough to modify so that it will try an .nsa if the file is not found in the .sar.
The code in question is in NsaReader.cpp. NsaReader::getFile(), NsaReader::getFileLength(), and NsaReader::open() are the three functions where there are obvious problems. |
#5
|
||||
|
||||
![]()
Hahaha, yeah, now that I know where to look even I can see it will never work as it is now. Thanks a lot for the tip. ^^
|
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Letter from minami repack *.pack archives | Unregistered | Production & Help | 2 | 2010-12-18 04:07 |
First post- Using effects in ONScripter | HAXLION | Production & Help | 4 | 2009-05-01 22:43 |
Using SEEN documents | JDF | Technical Issues | 4 | 2008-02-09 14:51 |
Using seen.txt | Unregistered | Technical Issues | 2 | 2006-12-05 11:41 |
Game archives | 07ChanF | Technical Issues | 2 | 2006-01-19 12:23 |