READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Yulgang 2 BMS Script help

Post questions about game models here, or help out others!
Post Reply
qscrgn
ultra-n00b
Posts: 8
Joined: Fri Jun 26, 2015 4:19 pm
Been thanked: 1 time

Yulgang 2 BMS Script help

Post by qscrgn » Sat Sep 03, 2016 7:31 pm

Hi i have a problem
I have used this bms script on the forum that it's written for yulgang 2

Code: Select all

#quickbms script
#yulgang2 .mpki
#from chrrox
#fix iaw

open FDDE mpki 1
set arcnum 0

goto 0x0c 1
get files long 1

goto 0x20001c 1

for i = 0 < files
    get offset long 1
    get zsize long 1
    get null3 long 1
    get size long 1
    get arcnum long 1
#   print "%arcnum%"
       
    get null1 long 1
    get null2 long 1

    get name string 1
    Padding 4 1
    get null long 1
    set ofile string "ko-kr"

if  name & ofile

    set NAME1 string "ko-KR_"
    set MYEXT string arcnum
    string NAME1 += MYEXT
    string NAME1 += .mpk
    open FDSE NAME1 0

else

    set NAME1 string "Common_"
    set MYEXT string arcnum
    string NAME1 += MYEXT
    string NAME1 += .mpk
    open FDSE NAME1 0

endif

if zsize == size
        log name offset zsize
else
        clog name offset zsize size
endif
next i
But when i use i have this error


Image


Can you help me?
Link to ko_kr_4.mpk
https://mega.nz/#!2MtEmTIS!YN41sINFnd0H ... n3srd5Kq-k

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2768
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 688 times
Been thanked: 1427 times

Re: Yulgang 2 BMS Script help

Post by shakotay2 » Sat Sep 03, 2016 8:15 pm

the script searches for ko-KR_0-mpki which you didn't provide

lines which (indirectly) causes the error:
open FDDE mpki 1

from quickbms.txt:

Code: Select all

Open FOLDER NAME [FILENUM] [EXISTS]
    It opens a file for reading, practically it assigns a file number/id
    to an existent file that you want to use

    arguments:
      FOLDER    FDDE, means that you want to open the file in the same
                  location of the input one which has the extension
                  provided with NAME
You also could do a forum search:
viewtopic.php?f=16&t=9330
iaw wrote:Common_*.mpk
ko-KR_*.mpk
data.mpki
On the same directory :wink:
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

qscrgn
ultra-n00b
Posts: 8
Joined: Fri Jun 26, 2015 4:19 pm
Been thanked: 1 time

Re: Yulgang 2 BMS Script help

Post by qscrgn » Sat Sep 03, 2016 8:40 pm

So i muat to put data.mpki all the common_*.mpk and ko-kr_*.mpk in the same folder?

godskin
veteran
Posts: 98
Joined: Thu Nov 05, 2015 2:45 pm
Has thanked: 11 times
Been thanked: 2 times

Re: Yulgang 2 BMS Script help

Post by godskin » Sun Sep 04, 2016 3:25 am

qscrgn wrote:So i muat to put data.mpki all the common_*.mpk and ko-kr_*.mpk in the same folder?
unpack data.mpki this main for all

qscrgn
ultra-n00b
Posts: 8
Joined: Fri Jun 26, 2015 4:19 pm
Been thanked: 1 time

Re: Yulgang 2 BMS Script help

Post by qscrgn » Sun Sep 04, 2016 9:12 am

Merci beacoup.
I solved thanks to your suggestions.

Next step find the noesis plugin who work :)

troll1981
n00b
Posts: 18
Joined: Mon Jun 09, 2014 7:28 pm
Has thanked: 1 time

Re: Yulgang 2 BMS Script help

Post by troll1981 » Thu Sep 08, 2016 10:32 am

have anybody the client from this game for Download! Homepage is offline from this game !

godskin
veteran
Posts: 98
Joined: Thu Nov 05, 2015 2:45 pm
Has thanked: 11 times
Been thanked: 2 times

Re: Yulgang 2 BMS Script help

Post by godskin » Thu Sep 08, 2016 2:53 pm

troll1981 wrote:have anybody the client from this game for Download! Homepage is offline from this game !
coment 2
viewtopic.php?f=10&t=14990

Post Reply