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
458
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,100
Trophies
2
XP
1,489
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
458
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
126
Trophies
1
Age
50
Location
Kiev
Website
www.shedevr.org.ru
XP
359
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
458
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
126
Trophies
1
Age
50
Location
Kiev
Website
www.shedevr.org.ru
XP
359
Country
Ukraine

ChrisX930

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

ChrisX930

Banned!
OP
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
458
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
504
Trophies
1
Age
33
XP
707
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^],

CeeDee

fuckin dork
Member
Joined
May 4, 2014
Messages
5,361
Trophies
3
XP
9,955
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.
 

puss2puss

.. well ..
Member
Joined
Dec 18, 2013
Messages
927
Trophies
0
Age
37
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
504
Trophies
1
Age
33
XP
707
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

fuckin dork
Member
Joined
May 4, 2014
Messages
5,361
Trophies
3
XP
9,955
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Speedcum
    +1
  • BigOnYa @ BigOnYa:
    I mean what would you really need that fast for tho, 500mb streams 4k fine. 1gb should be fine for 8k eventually. That's what I just switched to Spermrum.
  • Psionic Roshambo @ Psionic Roshambo:
    I was funny to have both networks running lol
  • Psionic Roshambo @ Psionic Roshambo:
    It was cheaper lol
  • Psionic Roshambo @ Psionic Roshambo:
    The only reason I switched was $$$
  • Psionic Roshambo @ Psionic Roshambo:
    Might have only been like 7 bucks but thats like 84 dollars at the end of the year lol
  • Psionic Roshambo @ Psionic Roshambo:
    840 dollars after 10 years
  • K3Nv2 @ K3Nv2:
    I hope I can be rich enough to pay all bills annually someday
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Not that I will save the money, rather I will just spend it on other crap lol
  • Psionic Roshambo @ Psionic Roshambo:
    lol just do autopay it's as lazy as it gets
  • BigOnYa @ BigOnYa:
    @K3Nv2 tell uremum to start charging, then you keep the money
    +1
  • K3Nv2 @ K3Nv2:
    I charge your wife rent at this point
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Now serving number E73
    +1
  • BigOnYa @ BigOnYa:
    Good, maybe she will leave me the f alone, now I can drink, smoke, and play my games in peace!
    +1
  • K3Nv2 @ K3Nv2:
    The DMV giving citizens of Detroit empowerment
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, and with yourself :creep:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    As a reminder crack pipes left in the lobby will be thrown away, the DMV is not responsible for lost crack pipes!
  • K3Nv2 @ K3Nv2:
    I got a camera I can film what I want
    +1
  • BigOnYa @ BigOnYa:
    Gotta give my fans what they want...
    +1
  • K3Nv2 @ K3Nv2:
    Deeze nuts
  • ZeroT21 @ ZeroT21:
    get crackin'
  • Psionic Roshambo @ Psionic Roshambo:
    Well hmm got that Eeros 6+ router working so no need for a new one for now lol
  • Psionic Roshambo @ Psionic Roshambo:
    Scratch!!! In broad daylight!!!
    Psionic Roshambo @ Psionic Roshambo: Scratch!!! In broad daylight!!!