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
503
Trophies
1
Age
33
XP
679
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,360
Trophies
2
XP
9,903
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
503
Trophies
1
Age
33
XP
679
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,360
Trophies
2
XP
9,903
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:
    Vga pins were a dick
  • K3Nv2 @ K3Nv2:
    I kind of want down a large pizza at 10am then crash out
  • ZeroT21 @ ZeroT21:
    Having pizza all day? done it
  • K3Nv2 @ K3Nv2:
    Nah pizza hut open at 10:30
  • ZeroT21 @ ZeroT21:
    just buy a stack of pizza and keep the rest you don't need yet frozen
  • K3Nv2 @ K3Nv2:
    Or buy frozen pizza
  • ZeroT21 @ ZeroT21:
    I buy the regular kind, not the frozen stuff
  • ZeroT21 @ ZeroT21:
    supermarket pizza is ass
  • K3Nv2 @ K3Nv2:
    x65 would just yell at me
  • ZeroT21 @ ZeroT21:
    sounds ok, he didn't pull a gun out ,so...
  • K3Nv2 @ K3Nv2:
    $12 large any style pizza deal
  • K3Nv2 @ K3Nv2:
    Each bite is a $1 well spent
  • SylverReZ @ SylverReZ:
    @ZeroT21, Agreed. I hate oven pizza, only from pizza place.
    +1
  • K3Nv2 @ K3Nv2:
    Nah I can still go for totinos
  • RedColoredStars @ RedColoredStars:
    i like totinos party pizzas. lol.
  • RedColoredStars @ RedColoredStars:
    the cracker-like crust is great on those
  • RedColoredStars @ RedColoredStars:
    My neighbor and I are going to make this next month....
  • SylverReZ @ SylverReZ:
    Tiger crust is great.
  • K3Nv2 @ K3Nv2:
    I'm beefing with a neighbor currently each time I ask him for help with something he makes bs excuses then ignores my calls text but seems to randomly speak when I'm done with the project after doing things to help him
  • RedColoredStars @ RedColoredStars:
    DiGiorno Crispy Pan Pizza tasted pretty dang close to Pizza hut pan pizza, but Im not sure if theyve been discontinued or not. Havent seen them locally for a couple of months now.
  • RedColoredStars @ RedColoredStars:
    The croissant crust is still available though, but not quite as good imo.
  • RedColoredStars @ RedColoredStars:
    @SylverReZ Never heard of tiger crust. What is it?
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Its known as tiger bread, also known as dutch crust.
  • Maximumbeans @ Maximumbeans:
    It's fuggin gooooood
    Maximumbeans @ Maximumbeans: It's fuggin gooooood