Important information: this site is currently scheduled to go offline indefinitely by end of the year.

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 »

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: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Yulgang 2 BMS Script help

Post by shakotay2 »

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:
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
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 »

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: 3 times

Re: Yulgang 2 BMS Script help

Post by godskin »

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 »

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 »

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: 3 times

Re: Yulgang 2 BMS Script help

Post by godskin »

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