Onigiri Online
-
- Posts: 3
- Joined: Wed May 04, 2016 6:07 pm
Re: Onigiri Online
Hi there, im totally new on this i just wanna ask what this script will do to the game when i unpack it? Sorry for the rookie question but can anyone answer me pls
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Onigiri Online
The script about you refer is this one: http://aluigi.org/bms/onigiri_online.bms
It works with quickbms.
The topic for this game is the following:
viewtopic.php?t=56
It works with quickbms.
The topic for this game is the following:
viewtopic.php?t=56
-
- Posts: 3
- Joined: Wed May 04, 2016 6:07 pm
Re: Onigiri Online
aluigi wrote:The script about you refer is this one: http://aluigi.org/bms/onigiri_online.bms
It works with quickbms.
The topic for this game is the following:
viewtopic.php?t=56
Hi aluigi ty for the reply, i as just wondering what the script will change on the game cause my friend told me that theres a hack for this game which need to unpack the files and change something on it and when i read the topic i realized that could be it. Sorry i do not understand any kind of programing codes and maybe the script is just to make the archives avaliable for unpacking and do not change anything on it (for what i understand is this what the script really does).
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Onigiri Online
quickbms allows to reimport/reinject the files back in the original archive.
If you need info about this method read section 3 of quickbms.txt:
http://aluigi.org/papers/quickbms.txt
Regarding this specific script I can say that the files with type 0 "may" or "may not" be reimported, type 4 should work (I don't know if it's zlib or deflate) and all the other types work.
If you need info about this method read section 3 of quickbms.txt:
http://aluigi.org/papers/quickbms.txt
Regarding this specific script I can say that the files with type 0 "may" or "may not" be reimported, type 4 should work (I don't know if it's zlib or deflate) and all the other types work.
-
- Posts: 3
- Joined: Wed May 04, 2016 6:07 pm
Re: Onigiri Online
I got it, yesterday i read tutorials a out the quickbms and is exaclty what i as looking for but sadly i have no use for it sin e i don't know what to change on the archives onde i get tem and either do i have the modified archives to reinject. I don't really want to learn complex codes just to modify this single game so i'll give up. Ty very much for the replies and sorry for wasting tour time.
-
- Posts: 36
- Joined: Tue Aug 26, 2014 7:33 am
Re: Onigiri Online
is it possible for the script to be updated? won't work on switch/steam version of .kxr
sample file:
https://www101.zippyshare.com/v/qbLy6iI2/file.html
sample file:
https://www101.zippyshare.com/v/qbLy6iI2/file.html
-
- Posts: 36
- Joined: Tue Aug 26, 2014 7:33 am
Re: Onigiri Online
not sure if it will help but found this
// switch用パッケージ対応 16byteごとにアライン
local _s = kxr.datasize % 16;
local _alignbuf = null;
if (_s) {
local _offs = kxr.datasize;
local _align = 16 - _s;
_alignbuf = ByteBuffer(_align);
_alignbuf.fill(0, _align);
kxr.datasize += _align;
kxr.write(_offs,_alignbuf);
}
// switch用パッケージ対応 16byteごとにアライン
local _s = kxr.datasize % 16;
local _alignbuf = null;
if (_s) {
local _offs = kxr.datasize;
local _align = 16 - _s;
_alignbuf = ByteBuffer(_align);
_alignbuf.fill(0, _align);
kxr.datasize += _align;
kxr.write(_offs,_alignbuf);
}
-
- Posts: 719
- Joined: Sat Sep 28, 2019 7:00 pm
Re: Onigiri Online
@huehuehue: But aluigi's script works fine with the provided sample.
-
- Posts: 36
- Joined: Tue Aug 26, 2014 7:33 am
Re: Onigiri Online
spiritovod wrote:@huehuehue: But aluigi's script works fine with the provided sample.
the file was garble and not readable compared when extracting kxr from pc release.
-
- Posts: 719
- Joined: Sat Sep 28, 2019 7:00 pm
Re: Onigiri Online
@huehuehue: This doesn't look like garble to me, you should be more specific. I think file format may be different for different platforms.
-
- Posts: 36
- Joined: Tue Aug 26, 2014 7:33 am
Re: Onigiri Online
spiritovod wrote:@huehuehue: This doesn't look like garble to me, you should be more specific. I think file format may be different for different platforms.
i mean something like this. the left one was from the steam/switch kxr, and the right one was from the pc.
-
- Posts: 719
- Joined: Sat Sep 28, 2019 7:00 pm
Re: Onigiri Online
@huehuehue: Files after 2203 still has the same format, while previous ones looks like pairs of header for script system (first file) and opcodes+actual data (second file). From my point of view it doesn't related to the script, which works fine, but to changes in the script system.
-
- Posts: 5
- Joined: Thu Sep 16, 2021 4:16 pm
Re: Onigiri Online
Good afternoon, sorry for my English, the problem arose with the fact that after extracting the archives, the file format has the following extensions
.dat
.cpp
.dds
The question is how to open these models and use working textures, apparently they are encrypted in a text file "sorry, I do not work with such formats"
.dat
.cpp
.dds
The question is how to open these models and use working textures, apparently they are encrypted in a text file "sorry, I do not work with such formats"
-
- Posts: 5
- Joined: Thu Sep 16, 2021 4:16 pm
Re: Onigiri Online
I managed to get the models, but it is not clear how to convert the following files, only the texture works (
http://joxi.ru/BA0nVvgIM68pam
http://joxi.ru/BA0nVvgIM68pam
-
- Posts: 45
- Joined: Fri Jan 07, 2022 7:44 pm
Re: Onigiri Online
aluigi wrote:I thought that the getamped2.bms script worked, right?
It's valid also for reimporting.
Yes it is