Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Luminous Arc 1 files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
floral
ultra-n00b
Posts: 2
Joined: Tue Nov 03, 2009 12:50 pm

Luminous Arc 1 files

Post by floral »

The contents of this post was deleted because of possible forum rules violation.
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Luminous Arc 1 files

Post by chrrox »

i looked at the bin file for a little bit it contains a name table in the beggining with a matching offset table.
Some of the files might be unicode or sometype of compression like lzss.
its a very wierd offset table but the firstfile starts at 0x1f80
I think the table goes something like file start offset file end offset
a lot of the files begin with 10 00 06 00


the .iear looks like a model format.
floral
ultra-n00b
Posts: 2
Joined: Tue Nov 03, 2009 12:50 pm

Re: Luminous Arc 1 files

Post by floral »

It is a japanese game, sorry i should have mentioned that. shift jis encode will allow you to see the japanese characters. Can you get at the files? extract them? it sounds like you figured out some of what they are.
GameZelda
advanced
Posts: 61
Joined: Wed Nov 14, 2007 5:56 pm
Been thanked: 29 times

Re: Luminous Arc 1 files

Post by GameZelda »

A small script for .BIN files.

Code: Select all

# script for QuickBMS http://aluigi.org/papers.htm#quickbms

# Main Block
Get OFF_FILENAMES_BLOCK long
Get SIZE_FILENAMES_BLOCK long
Get OFF_OFFSETS_BLOCK long
Get SIZE_OFFSETS_BLOCK long

Set NUM_FILES SIZE_OFFSETS_BLOCK
Math NUM_FILES /= 8

# Filenames block
Math OFF_FILENAMES_BLOCK += 0x08
GoTo OFF_FILENAMES_BLOCK
Math OFF_FILENAMES_BLOCK -= 0x08

Get OFF_FILENAMES_BLOCK_DATA long
Math OFF_FILENAMES_BLOCK_DATA += OFF_FILENAMES_BLOCK

# Offsets block & extract files
Set OFF_NEXT_FILENAME OFF_FILENAMES_BLOCK_DATA
Set OFF_NEXT_OFFSET OFF_OFFSETS_BLOCK

For I = 0 < NUM_FILES
	# Get the file offset
	GoTo OFF_NEXT_OFFSET
	Get START_OFFSET long
	Get END_OFFSET long
	SavePos OFF_NEXT_OFFSET

	# Calculate the size
	Set SIZE END_OFFSET
	Math SIZE -= START_OFFSET

	# Get the file name
	GoTo OFF_NEXT_FILENAME
	Do
		Get FILENAME_LENGTH byte
	While FILENAME_LENGTH == 0 # Zero = End of a folder. Not handled, ATM.
	
	GetDString FILENAME FILENAME_LENGTH
	SavePos OFF_NEXT_FILENAME

	# Extract the file
	Log FILENAME START_OFFSET SIZE
Next I
All files have 5 bytes + LZSS compressed data block.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Luminous Arc 1 files

Post by aluigi »

if you refer to the files extracted from the BIN archive, no they don't use lzss and they look even not compressed at all
GameZelda
advanced
Posts: 61
Joined: Wed Nov 14, 2007 5:56 pm
Been thanked: 29 times

Re: Luminous Arc 1 files

Post by GameZelda »

aluigi wrote:if you refer to the files extracted from the BIN archive, no they don't use lzss and they look even not compressed at all
They are compressed with LZ77 (Wii). I always confuse LZSS and LZ77 :roll:
http://wiibrew.org/wiki/LZ77

BTW, there are just 4 bytes before the LZ77 block, the 5th byte is the first LZ77 flags.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Luminous Arc 1 files

Post by aluigi »

are you aware of other compression algorithms widely used in consoles like this one?
GameZelda
advanced
Posts: 61
Joined: Wed Nov 14, 2007 5:56 pm
Been thanked: 29 times

Re: Luminous Arc 1 files

Post by GameZelda »

NDS games also use the same LZ77 implementation frequently. Other than that, no.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Luminous Arc 1 files

Post by aluigi »

good, it will be added in the next version of quickbms
Post Reply