How to extract *.bin files?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Sun Rays
Posts: 21
Joined: Thu Mar 08, 2018 10:51 am

How to extract *.bin files?

Post by Sun Rays »

These bin files seem to contain text data and perhaps some texture or model data too as there seems to be some paths defined, but I can't edit them unless they are extracted so I think that it is possible to extract files from these. Preferably text files, but I hope that all the files can be extracted.

Some samples have been attached.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: How to extract *.bin files?

Post by LolHacksRule »

What game?
Sun Rays
Posts: 21
Joined: Thu Mar 08, 2018 10:51 am

Re: How to extract *.bin files?

Post by Sun Rays »

Gods: Lands of Infinity.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: How to extract *.bin files?

Post by LolHacksRule »

It has some UTF-8 stuff in it... Not sure who's to extract tho...
Sun Rays
Posts: 21
Joined: Thu Mar 08, 2018 10:51 am

Re: How to extract *.bin files?

Post by Sun Rays »

Code: Select all

f.u.n.c. .a.t.t.a.c.k.w.a.l.k.(.).....{.....h.e.r.o.p.a.u.s.e.(.).;.....H.e.r.o.R.o.t.a.t.e.T.o.P.e.r.s.o.n.(.3.9.).;.....P.e.r.s.o.n.S.e.t.M.o.v.e.T.i.m.e.O.u.t.(.3.9.,.7.5.0.).;.....R.u.n.B.a.t.t.l.e.S.w.o.r.d.s.(.).;....././.S.e.t.B.i.l.l.b.o.a.r.d.T.e.x.t.(.".F.i.g.h.t. .!.!.!.".,.7.5.0.).;.....p.e.r.s.o.n.g.o.t.o.p.e.r.s.o.n.(.3.9.,.0.,.3.).;.....h.e.r.o.u.n.p.a.u.s.e.(.).;.....r.u.n.b.a.t.t.l.e.(.3.9.).;.....}

This is from the second file and it seems like a script to me and it's similar to other scripts of the game so I think that these files contain text data atleast.

A script from the game for comparison:

Code: Select all

func StartDialog(id0,id1)
{
var sc0 = GetLivePersonsCount(20);
var sc1 = GetLivePersonsCount(25);
var sc = sc0 + sc1;

if(sc < 2)
{
   DoDialog(0,240,"_hrad_win");
}
DialogEnd();
}
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: How to extract *.bin files?

Post by LolHacksRule »

Looks like Lua.
Sun Rays
Posts: 21
Joined: Thu Mar 08, 2018 10:51 am

Re: How to extract *.bin files?

Post by Sun Rays »

So yea, that's why I think that the *.bin files should have these text files inside them, and if that's the case then it should be possible to extract them right?
ferhat78
Posts: 26
Joined: Wed Apr 10, 2019 2:06 pm

Re: How to extract *.bin files?

Post by ferhat78 »

hi i have a .bin file which contains text files, can you help me to extract and repack it guys ? thanks in advance.

file here : https://www.mediafire.com/file/pk0bam5g ... y.bin/file