Closed shun9092 closed 5 years ago
I just took a look at the code and when BgOpen is called it loads a file from Data/Data/Bg/BGXXXX.tex
XXXX being the numbers in the parameters. I'm not entirely sure what you mean with the Ma files, They are CG files.
Can you please explain what you are doing? because they don't connect.
I want to edit "MA069001.pck" in "DATE A LIVE Rio Reincarnation \ Data \ Data \ Ma \ 1st". And I want to load this file in the game.
You can find this image in the "day07_RINNE1e.bin" file.
However, if you modify the file and run the game, it will be forcibly terminated.
To confirm, I renamed "start01.bin" to "day07_RINNE1e.bin" and "day07_RINNE1e.bin" to "start01.bin".
So, simply
I want to modify files such as "MA069001.pck" in the "DATE A LIVE Rio Reincarnation \ Data \ Data \ Ma \ 1st" folder.
I want to modify the files in the "DATE A LIVE Rio Reincarnation \ Data \ Data \ Ma \" folder.
And I want to load in the game.
Sorry my bad, but I still don't know why you would rename the script.
Also I did find an issue in the packer while looking at the file you sent. I haven't tested this outside of the MA file you sent, but it fixed the issue with loading the CG. Does this solve your issue?
Thank you, it work.
so, now I'm gonna check like every those files.
If I find the some issue, I'll tell you.
Thank you very much.
This is why I tried to rename the file.
Because when I run the game, I can see the character's events quickly.
Cool, hope your project goes well.
There are questions.
I want to do a batch job by creating a ".bat" command file.
But I have to drag and drop folders in case of pcktool.
So I don't know how to make
Do you know how to make a command?
For all files:
for %%i in (*.pck) do PCKTool "%%i"
For all directories:
for /d %%i in (*) do PCKTool "%%i"
Make sure to modify the commands so they point to PCKTool and make sure the working directory is at the folder you want to batch pack.
I have a question.
Can I add a page of a novel?
If you look at the 1ST page of the novel data, it's page 51.
I'd like to add a page. Is it possible?
It appears you can.
Btw is your previous issue solved? If it is then you can close this issue thread.
D:\Program Files (x86)\Steam\steamapps\common\DATE A LIVE Rio Reincarnation\Kor\PCKTool>PCKTool.exe NovData
처리되지 않은 예외: System.Collections.Generic.KeyNotFoundException: 지정한 키가 사전에 없습니다. 위치: System.Collections.Generic.Dictionary`2.get_Item(TKey key) 위치: DALLib.IO.ExtendedBinaryWriter.FillInOffset(String name, UInt32 value, Boolean absolute, Boolean removeOffset) 위치: DALLib.File.PCKFile.Save(ExtendedBinaryWriter writer) 위치: DALLib.File.FileBase.Save(Stream stream) 위치: DALLib.File.FileBase.Save(String path, Boolean keepOpen) 위치: PCKTool.Program.Main(String[] args)
=======================================
Repacking Error
I want to add the number of novel files.
Because in translation, the number of characters increases, so I need to add a file.
There are 51 files in the 1st folder.
But translating requires more than 51 files.
Can I add more files?
Yeah you can add more files, I have tried it myself and the game loaded them just fine as long as they are sorted which I made a option to do that in the editor. Also for the PCKTool, are you using the one from the release? I used the one from the release and was able to pack them just fine. The one I gave you the other day had a mistake with packing files with folders.
Sorry, I can't understand what u did.
If you have a 'discord', can I ask you here?
I do have a Discord, But I prefer to chat over here for issues with DALTools.
Here is all the updated tools: DALTools.zip
Anyways, Here is some steps for adding a page to the art book
Page ID
as it will automatically be set later onGame
field to whatever game the art book is forPage No
fieldPage Name
Thumb Path
and Data Path
click on the ...
button and select the texture fileSort Pages
It work well.
you can close this issue.
thank you very much!
would you please publish current version?
Great, I just published it. Hope everything goes well with your translation project, and feel free to open a new issue if you have any questions or issues. I'm happy to help.
Closing.
After modifying the background, I ran to check the output.
But it is forcibly terminated in the background loading section.
The modified background is "MA069001.pck" in "DATE A LIVE Rio Reincarnation \ Data \ Data \ Ma \ 1st".
Here are the original and modified files.
Original: https://www.dropbox.com/s/amqu4y02yb253ny/MA069001~.pck?dl=0
Fixed: https://www.dropbox.com/s/wog041e68qjaj8q/MA069001.pck?dl=0
The size of the capacity increased while modifying the PCK file.
We simply modified the script to see the output.
https://www.dropbox.com/s/h8dmpcq0xhudspy/day07_RINNE1e.bin?dl=0
https://www.dropbox.com/s/v6bic00gaovh418/start01.bin?dl=0
In line 68 of the "start01.bin" script, there is a section called "BgOpen (301, 0)".
Copy the contents of line 68, "BgOpen (0x1010D89, 0)", into the script "day07_RINNE1e.bin" and paste it into line 68 of "start01.bin".
However, the script loads nicely but is forced to exit when the background is loaded.
Perhaps in my opinion, you should modify "BgOpen (0x1010D89, 0)".
But there is no information about this.
I have a lot of things to change these background image files.
https://github.com/thesupersonic16/DALTools/blob/master/FUNCTIONS.md
I checked here, but there was no information on "BgOpen".
Do you know about this?
I need your help.