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.

WRC Generations .PKG bms

Featured Replies

  • Author
  • Localization

Franco, posted Wed Nov 09, 2022 4:22 pm (74170)


Can anyone take a look, please?
  • Author
  • Localization

Franco, posted Mon Nov 14, 2022 8:17 pm (74229)


Yes, I tried everything, unfortunately it doesn't work.
  • Author
  • Localization

Skalia16, posted Tue Nov 15, 2022 7:56 am (74235)


Yes can someone please make a bms script?
  • Author
  • Localization

Franco, posted Tue Nov 22, 2022 5:08 pm (74329)


Can someone please take a look?
  • Author
  • Localization

Ha3aP, posted Tue Nov 22, 2022 6:07 pm (74330)


Pls pls pls
  • Author
  • Localization

Ekey, posted Tue Nov 22, 2022 9:29 pm (74331)


Some fields are now 64-bit

Code:
# WRC 7 / WRC 10 FIA World Rally Championship (script 0.2.2)
# WRC Generations
# script for QuickBMS http://quickbms.aluigi.org

comtype lz4f    # "\x04\x22\x4d\x18" magic is lz4f

set KEY string ""
getdstring SIGN 4
goto 0
if SIGN u!= "PPKG"
    # the key is "35DsFsyDFFUC4NVANPpYggyakreWkJfy" (quickbms gives problems using the key as-is...)
    set KEY string "0x33 0x35 0x44 0x73 0x46 0x73 0x79 0x44 0x46 0x46 0x55 0x43 0x34 0x4E 0x56 0x41 0x4E 0x50 0x70 0x59 0x67 0x67 0x79 0x61 0x6B 0x72 0x65 0x57 0x6B 0x4A 0x66 0x79"
    filexor KEY
    getdstring DUMMY 0x180  # unknown data
endif

idstring "PPKG"
get VER long    # 2 or 4 (WRC Generations)
get FILES long
get INFO_SIZE long
getdstring ZERO 0x20
for i = 0 < FILES
    filexor KEY 0
    get NAMESZ long
    getdstring NAME NAMESZ
    get NAME_CRC long
    get OFFSET longlong
    get TSTAMP longlong
    get ZSIZE longlong  # PKGB ZSIZE PKGE
    get SIZE longlong   # PKGB SIZE  PKGE
    get ZIP long
   
    if VER == 2
       get ZCRC long
       get CRC long
    elif VER == 4
       get ZCRC longlong
       get CRC longlong
    else
       print "Error: unsupported version -> %VER% contact me"
       cleanexit
    endif
   
    getdstring ZERO 0x20
    filexor ""

    math OFFSET 4     # PKGB
    if ZIP == 0
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next i
  • Author
  • Localization

Franco, posted Wed Nov 23, 2022 3:46 pm (74340)


Ekey wrote:
Some fields are now 64-bit

Code:
# WRC 7 / WRC 10 FIA World Rally Championship (script 0.2.2)
# WRC Generations
# script for QuickBMS http://quickbms.aluigi.org

comtype lz4f    # "\x04\x22\x4d\x18" magic is lz4f

set KEY string ""
getdstring SIGN 4
goto 0
if SIGN u!= "PPKG"
    # the key is "35DsFsyDFFUC4NVANPpYggyakreWkJfy" (quickbms gives problems using the key as-is...)
    set KEY string "0x33 0x35 0x44 0x73 0x46 0x73 0x79 0x44 0x46 0x46 0x55 0x43 0x34 0x4E 0x56 0x41 0x4E 0x50 0x70 0x59 0x67 0x67 0x79 0x61 0x6B 0x72 0x65 0x57 0x6B 0x4A 0x66 0x79"
    filexor KEY
    getdstring DUMMY 0x180  # unknown data
endif

idstring "PPKG"
get VER long    # 2 or 4 (WRC Generations)
get FILES long
get INFO_SIZE long
getdstring ZERO 0x20
for i = 0     filexor KEY 0
    get NAMESZ long
    getdstring NAME NAMESZ
    get NAME_CRC long
    get OFFSET longlong
    get TSTAMP longlong
    get ZSIZE longlong  # PKGB ZSIZE PKGE
    get SIZE longlong   # PKGB SIZE  PKGE
    get ZIP long
   
    if VER == 2
       get ZCRC long
       get CRC long
    elif VER == 4
       get ZCRC longlong
       get CRC longlong
    else
       print "Error: unsupported version -> %VER% contact me"
       cleanexit
    endif
   
    getdstring ZERO 0x20
    filexor ""

    math OFFSET 4     # PKGB
    if ZIP == 0
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next i


Ekey thank you very much. You're the king man, thanks :)
  • Author
  • Localization

Ha3aP, posted Sat Nov 26, 2022 5:30 pm (74371)


Franco wrote:
Ekey thank you very much. You're the king man, thanks :)

How open P3D?
  • Author
  • Localization

the_keane, posted Sun Nov 27, 2022 2:36 pm (74381)


Hi, Thanks for updating the script, did anybody found a way to use the Blender script with .P3D? Its working for WRC10, but not Generations..

Thank you!
  • Author
  • Localization

Franco, posted Sun Nov 27, 2022 5:36 pm (74385)


Ha3aP wrote:
Franco wrote:
Ekey thank you very much. You're the king man, thanks :)

How open P3D?


I don't know anything about it. But unfortunately it doesn't allow changes to the archive files anyway. The game crashes.
  • Author
  • Localization

the_keane, posted Tue Nov 29, 2022 10:13 am (74391)


I keep getting this error when importing the models from Generations, it works with no problem with WRC10.. any idea why this happens please?

Thank you!
  • Author
  • Localization

Wibbyess, posted Thu Dec 22, 2022 6:03 pm (74715)


Hi guys, i can't repack the PKG, it give me an error, can you help me?
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.