Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

Oneechanbara vorteX (CAT&BIN Info)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 137 times

Oneechanbara vorteX (CAT&BIN Info)

Post by WRS »

in response to a pm.

Code: Select all

# -- WRS
#    xentax.com
#    .cat BMS script (Oneechanbara vorteX)

endian big

for i = 0

  get FPOINTER long

  if FPOINTER == -1
    cleanexit
  endif

  get FSIZE long

  log "" FPOINTER FSIZE

next

Code: Select all

# -- WRS
#    xentax.com
#    .bin BMS script (Oneechanbara vorteX)

endian big

get FILES long

for i = 1 to FILES

  get pFile1 long
  get pFile2 long
  get pEOF long

  if pFile2 == -1

    math sFile1 = pEOF
    math sFile1 -= pFile1

    log "" pFile1 sFile1

  else

    if pEOF == -1

      math sFile1 = pFile2
      math sFile1 -= pFile1

      log "" pFile1 sFile1

      savepos Pos
      get nextFile long
      goto Pos

      math sFile2 = nextFile
      math sFile2 -= pFile2

      log "" pFile2 sFile2

    else

      math sFile1 = pFile2
      math sFile1 -= pFile1

      log "" pFile1 sFile1

      math sFile2 = pEOF
      math sFile2 -= pFile2

      log "" pFile2 sFile2

    endif

  endif
  
next i
Useful tool links:
pceengied
beginner
Posts: 30
Joined: Fri Jan 22, 2010 7:55 pm
Has thanked: 2 times

Re: Oneechanbara vorteX (CAT&BIN Info)

Post by pceengied »

WRS wrote:in response to a pm.

Code: Select all

# -- WRS
#    xentax.com
#    .cat BMS script (Oneechanbara vorteX)

endian big

for i = 0

  get FPOINTER long

  if FPOINTER == -1
    cleanexit
  endif

  get FSIZE long

  log "" FPOINTER FSIZE

next

Code: Select all

# -- WRS
#    xentax.com
#    .bin BMS script (Oneechanbara vorteX)

endian big

get FILES long

for i = 1 to FILES

  get pFile1 long
  get pFile2 long
  get pEOF long

  if pFile2 == -1

    math sFile1 = pEOF
    math sFile1 -= pFile1

    log "" pFile1 sFile1

  else

    if pEOF == -1

      math sFile1 = pFile2
      math sFile1 -= pFile1

      log "" pFile1 sFile1

      savepos Pos
      get nextFile long
      goto Pos

      math sFile2 = nextFile
      math sFile2 -= pFile2

      log "" pFile2 sFile2

    else

      math sFile1 = pFile2
      math sFile1 -= pFile1

      log "" pFile1 sFile1

      math sFile2 = pEOF
      math sFile2 -= pFile2

      log "" pFile2 sFile2

    endif

  endif
  
next i
anyone upto cracking the TGF format? I want to put models into (DREAM C CLUB).
Doronetty
advanced
Posts: 54
Joined: Thu Jun 03, 2010 11:05 am
Has thanked: 28 times
Been thanked: 3 times

Re: Oneechanbara vorteX (CAT&BIN Info)

Post by Doronetty »

I think you better ask for Surveyor, author of TGF to Collada DAE converter download/file.php?id=2979 - he must know all (or almost) about TGF!

P.S: Mega THANKS to WRS for scripts!!!
FEATHER
advanced
Posts: 75
Joined: Sun Jun 13, 2010 6:47 am
Has thanked: 3 times
Been thanked: 4 times

Re: Oneechanbara vorteX (CAT&BIN Info)

Post by FEATHER »

The contents of this post was deleted because of possible forum rules violation.
Post Reply