ROM Hack Is there a way to unpack/repack/edit .arc-files?

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
433
Country
Gambia, The
Hey Guys, right now, I want to customize "Harvest Moon - A new Beginning" (my thread about it)
And there are some .arc-files which I can open with EveryFileExplorer.

And now I want to know: is there a way to unpack and repack .arc files or possibly, create new .arc files with own files inside of it?
it-png.16272
 

Romsstar

Operation Decoded
Member
Joined
Sep 14, 2008
Messages
1,099
Trophies
0
XP
1,382
Country
Germany
There certainly is a way it's just not that easy.
If I recall correct EFE is open source right?
Figure out how it reads the .arc format, write your own extractor and repacker based on this.
Will save you time figuring out the format.
That's about the best you could do.
There will usually be a header, followed by a filetable, size descriptions and so on.
Usually a stream reader+writer are used for such operations.
 

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
433
Country
Gambia, The
There certainly is a way it's just not that easy.
If I recall correct EFE is open source right?
Figure out how it reads the .arc format, write your own extractor and repacker based on this.
Will save you time figuring out the format.
That's about the best you could do.
There will usually be a header, followed by a filetable, size descriptions and so on.
Usually a stream reader+writer are used for such operations.

uhh... i really don`t know how to write a Tool like this :/
 

Anton299

Well-Known Member
Member
Joined
Jan 18, 2012
Messages
125
Trophies
0
Age
48
Location
Kiev
Website
www.shedevr.org.ru
XP
299
Country
Ukraine
What is the header of that .arc file?
.arc is just a file extension, not file format, AFAIK. Most likely it's just a file container (like DARC, NARC, U8, RARC, whatever) with the .arc extension.
Or, maybe, you can just replace those .bclims in EFE?
 

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
433
Country
Gambia, The
What is the header of that .arc file?
.arc is just a file extension, not file format, AFAIK. Most likely it's just a file container (like DARC, NARC, U8, RARC, whatever) with the .arc extension.
Or, maybe, you can just replace those .bclims in EFE?

It's a "darc" header. With EFE, I can export bclims but not insert them back o_o
 

Anton299

Well-Known Member
Member
Joined
Jan 18, 2012
Messages
125
Trophies
0
Age
48
Location
Kiev
Website
www.shedevr.org.ru
XP
299
Country
Ukraine

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
433
Country
Gambia, The

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
433
Country
Gambia, The
No one who could help me with this? I really don't know how to create such a tool >_>
It's weird that EveryFileExplorer and 3DSExplorer1.5.3 are able to read the files but not to reimport files :/
 

[^Blark^]

Well-Known Member
Member
Joined
Dec 19, 2012
Messages
502
Trophies
0
Age
31
XP
593
Country
United States
..so..
..any news about if its now possible to replace bclim files inside arc files?
Yes it can be done.

3 things are needed:
darc tool
python 2.7
png2bclim

1.extract the arc with darc tool I believe
2.convert bclim img to png with png2bclim
3.edit png
4.run edited img through png2bclim
5.and use darc tool to inject newly made bclim that will create a newly named arc file.
6.replace this new arc with the old one in the romfs folder and rebuild rom or use layeredfs

may be rusty on directions been awhile since ive done it.
 
Last edited by [^Blark^],

puss2puss

.. well ..
Member
Joined
Dec 18, 2013
Messages
927
Trophies
0
Age
34
XP
835
Country
Canada
Yes it can be done.

3 things are needed:
darc tool
python 2.7
png2bclim

1.extract the arc with darc tool I believe
2.convert bclim img to png with png2bclim
3.edit png
4.run edited img through png2bclim
5.and use darc tool to inject newly made bclim that will create a newly named arc file.
6.replace this new arc with the old one in the romfs folder and rebuild rom or use layeredfs

may be rusty on directions been awhile since ive done it.
Thank you :)
I already made a bunch of edited textures, so now all i need is to use darc tool to replace the bclim in it :)
Gonna try it in a couple of minutes!
Thanks for the help ;)
 
  • Like
Reactions: [^Blark^]

[^Blark^]

Well-Known Member
Member
Joined
Dec 19, 2012
Messages
502
Trophies
0
Age
31
XP
593
Country
United States
While we're on 3DS image formats, any news on the .tex format? It's used in Cave Story eShop, for instance.
I know nothing on this format but a quick search I found a video on YouTube with a mega link to a tool too extract img from .tex files? but again I know nothing on them. sorry
 

CeeDee

art by @x65943
Member
Joined
May 4, 2014
Messages
4,977
Trophies
2
XP
7,674
Country
United States
I know nothing on this format but a quick search I found a video on YouTube with a mega link to a tool too extract img from .tex files? but again I know nothing on them. sorry
I saw that, wrong/different type.

And I know what the images are, as the EUR CIA I downloaded uses .png, but I need some way to convert png to tex as the USA eShop version uses .tex.
 
General chit-chat
Help Users
    AncientBoi @ AncientBoi: [tells my mother on Kennie]