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.

Asking how to extract "Crazy Chicken Jewel of Darkness" mooh.stg file

Featured Replies

  • Author
  • Localization

hithewo123, posted Mon Mar 14, 2022 3:46 pm (70484)


Hi, I'm looking for how to unpack the mooh.stg (~16MB) file in the 2008 game "Crazy Chicken Jewel of Darkness". I checked the file in HEX format and found some OGGs and stuff inside it, but I don't know how to extract them.

Here is the link: mega.nz/file/1hRXnDgQ#vWuyqjLZV3--xw1ulGaFyvTPbJvGIYb2kulXUULd01s

Thanks in advance.
  • Author
  • Localization

rabatini, posted Mon Mar 14, 2022 5:56 pm (70488)


hithewo123 wrote:
Hi, I'm looking for how to unpack the mooh.stg (~16MB) file in the 2008 game "Crazy Chicken Jewel of Darkness". I checked the file in HEX format and found some OGGs and stuff inside it, but I don't know how to extract them.

Here is the link: mega.nz/file/1hRXnDgQ#vWuyqjLZV3--xw1ulGaFyvTPbJvGIYb2kulXUULd01s

Thanks in advance.


Try this.

Code:
#Crazy Chicken Jewel of Darkness.stg
#scriptforQuickBMShttp://quickbms.aluigi.org

idstring "stg2"
getdstring ondinha 0x0e
get end_table long
get entries long
get dummy short

for rip = 1 to entries
get offset_info long
get checkfile long

if checkfile != 0
savepos temp
goto offset_info

for A = 0 < checkfile
get name_size short
get dummy long
get zero byte
get size long
get offset long
getdstring name name_size

log name offset size

for checkbyte = 0 == 0
get checkbyte byte
next

savepos position
math position -= 1
goto position
math rip = 1
next A

goto temp
endif
next
  • Author
  • Localization

rabatini, posted Mon Mar 14, 2022 6:06 pm (70489)


You can use this from alugi.

work as same than mine.
but little better.

Code:
# Intenium games - Beetle Ju 2 / Fairy Jewels (script 0.2)

idstring "stg2"
get VER long
get OFFSET long

set NAME string ""
set PATH string ""
callfunction EXTRACT

startfunction EXTRACT
    string PATH NAME
    string PATH /

    savepos BACKUP_OFFSET
    goto OFFSET

    get DUMMY short
    get OFFSET long
    get INFO_SIZE long
    get FILES long
    get ENTRYSZ short
    xmath RESTSZ "ENTRYSZ - (2 1 4 4 4)"

    goto OFFSET
    for i = 0 < FILES
        get OFFSET long
        get SUB_FILES long

        savepos BACKUP_OFFSET2
        goto OFFSET
        for x = 0 < SUB_FILES
            get NAMESZ short
            get DUMMY byte
            get DUMMY long
            get SIZE long
            get OFFSET long
            getdstring NAME RESTSZ
            putvarchr NAME NAMESZ 0
            if SIZE == 0
                callfunction EXTRACT
            else
                string FNAME p "%s%s" PATH NAME
                log FNAME OFFSET SIZE
            endif

            math x 1
            math i 1
        next
        goto BACKUP_OFFSET2
    next

    goto BACKUP_OFFSET
endfunction
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.