Bullet girl PSVITA grp.bin

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
xperiagenerator
Posts: 34
Joined: Fri Dec 23, 2016 2:57 pm

Bullet girl PSVITA grp.bin

Post by xperiagenerator »

Hi
I want extract the file of this grp.bin file
Can someone please take a look at it?
thanks in advance

http://www.mediafire.com/file/xekj61pca82bbqj/grp.rar
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Bullet girl PSVITA grp.bin

Post by aluigi »

Apparently there are various games that use this GRP.BIN container, in fact there are posts on both zenhax and xentax, all about an uncertain format:
viewtopic.php?t=3062
https://forum.xentax.com/viewtopic.php?f=10&t=5597

Long story short, I opted for a scanner of compressed files with magic 0xa755aafc that dumps everything correctly and works perfectly:
http://aluigi.org/bms/grp_bin_a755aafc.bms

I don't know if it works also with the other grp.bin archives but if they contain these compressed files (Spike Chunsoft/Danganronpa for PS Vita) then you have the solution.
xperiagenerator
Posts: 34
Joined: Fri Dec 23, 2016 2:57 pm

Re: Bullet girl PSVITA grp.bin

Post by xperiagenerator »

sorry for my late reply.
Thankyou its working :D
happydance
Posts: 81
Joined: Sun Jul 10, 2016 11:07 am

Re: Bullet girl PSVITA grp.bin

Post by happydance »

strange... it doesn't seem to extract on mine
KamiIsHate
Posts: 1
Joined: Wed Jul 11, 2018 6:07 pm

Bullet Girls 2 [PSVITA] file formats

Post by KamiIsHate »

I'm new to translating and i'm doing it for learning purposes so i selected this game to start and i got stuck after sometime cos of the GXT, GX3, PSC, PSM, PTC, SHT, SSA, formats.

Never saw any of them and don't know how to open, edit, etc.

Those files came out of grp.bin files after extraction.

I just want directions of what program or script to use.

Thanks in advance.
LinkOFF
Posts: 88
Joined: Thu Aug 11, 2016 6:52 pm

Re: Bullet girl PSVITA grp.bin

Post by LinkOFF »

Code: Select all

# Bullet Girls PS Vita (without names)

comtype dr12ae

get FILES long
get OFFSET_ALIGN long
get SIZE_ALIGN long
get OFFSET_BITS long
get SIZE_BITS short
get COMP_FLAG short
get DUMMY longlong
get NAMEBLOCKSIZE long
get ZERO long
for i = 0 < FILES
	get VAR long
	xmath OFFSET "(VAR >> OFFSET_BITS) * OFFSET_ALIGN"
	xmath SIZE "(VAR & ((1 << OFFSET_BITS) - 1)) * SIZE_ALIGN"
	if COMP_FLAG == 1
		log "" OFFSET SIZE
	endif
	if COMP_FLAG == 0
		savepos LASTPOS
		math OFFSET + 4
		goto OFFSET
		get SIZE long
		get ZSIZE long
		math OFFSET + 8
		math ZSIZE - 12
		clog "" OFFSET ZSIZE SIZE
		goto LASTPOS
	endif
next i