Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

D1 Grand Prix

Featured Replies

  • Author
  • Localization

Argonaut, posted Wed Oct 01, 2014 10:07 pm (648)


aluigi wrote:
http://aluigi.org/papers/bms/others/d1_grand_prix.bms


This is perfect, the data.bin provides well organised folders with common file formats (BMP/PNG) that are all uncompressed, plus HSB sound files that can be played with some tool I distantly remember..
Folder structure:

Image

However, in a matter of car models it is actually quite simple- they're all stored in the 'PACK' file out of all the obvious ones (MODEL contains player models of all of the things) and vary from 1.7MB to 1.4MB and are all .BIN files with the car titles and different variations following- eg ER34_P0(x)- about seven of each car which is accurate to the different beginner, intermediate and D1 Pro levels of the cars.

I don't know if these .bins are their final forms, so I've uploaded one of them below for extraction if possible.. Thanks


Sample file (in full):

https://www.dropbox.com/s/2w83ok5syydhk ... 1.BIN?dl=0
  • Author
  • Localization

aluigi, posted Thu Oct 02, 2014 9:33 am (660)


An idea of script to extract these data:
Code:
set NAME string ""
get BIN_SIZE asize
for OFFSET = 0 < BIN_SIZE
    get TYPE long
    get SIZE long
    get DUMMY1 short    # 0xf or 0x37
    get DUMMY2 short    # 0x1c02
    if DUMMY2 != 0x1c02
        print "ERROR"
        cleanexit
    endif
    savepos OFFSET
    if TYPE == 0x2
        getdstring NAME SIZE
    elif TYPE >= 0x100
        getdstring DUMMY SIZE
    endif
    if TYPE == 1
        log NAME OFFSET SIZE
        set NAME string ""
        math OFFSET = SIZE
        goto OFFSET
    endif
    savepos OFFSET
next
Keep in mind that this is not data to extract, that's why the results have no sense.
  • Author
  • Localization

Argonaut, posted Thu Oct 02, 2014 7:21 pm (682)


aluigi wrote:
An idea of script to extract these data:
Code:
set NAME string ""
get BIN_SIZE asize
for OFFSET = 0 < BIN_SIZE
    get TYPE long
    get SIZE long
    get DUMMY1 short    # 0xf or 0x37
    get DUMMY2 short    # 0x1c02
    if DUMMY2 != 0x1c02
        print "ERROR"
        cleanexit
    endif
    savepos OFFSET
    if TYPE == 0x2
        getdstring NAME SIZE
    elif TYPE >= 0x100
        getdstring DUMMY SIZE
    endif
    if TYPE == 1
        log NAME OFFSET SIZE
        set NAME string ""
        math OFFSET = SIZE
        goto OFFSET
    endif
    savepos OFFSET
next
Keep in mind that this is not data to extract, that's why the results have no sense.


Alright, so your suggesting that these aren't really archives with more data inside than what I need? If so, thanks for all your work and I'll try and get something sorted.. hopefully!
  • Author
  • Localization

aluigi, posted Thu Oct 02, 2014 7:33 pm (686)


I remember that they where quite chaotic, I don't even know if they are resources or what.
Maybe some of them are raw files but I don't know what types of files.
  • Author
  • Localization

AMG, posted Wed Dec 21, 2016 2:12 pm (19712)


I've made a simple analysis regarding the game, it probably used RenderWare engine since I've found some .dff 3D models inside the game folders, but just few are in .dff formats (which can be easily imported with ZModeler, you should know).
So I've tried to rename the .bin packages of cars into .dff and imported them into ZModeler. Most of the meshes are there, but by importing these as .dff in ZMod some errors will appear. My guesses are that these .bin files contain not only 3D data but also textures.

PS: UV map also looks intact.

Image
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.