Bruce
Active member
Hello everyone,
Sorry if this similar topic has already created by someone else.
I've packed my data folder for xxx.pak file with Neo Edit Pack 2021-09-12 and also with Paxplode Pack tools,
but this pak file keeps on shutting down with error log "Error loading level list from data/levels.txt" no matter how I fixed the levels.txt.
The data and xxx.pak locations:
Openbor/paks/data
Openbor/paks/xxx.pak
It seems like the game can not locate the levels.txt file or something.
Obvious, I must be doing something wrong....
I am using the OpenBor template
----------------------------------------------------------------------------------------------------
I used to run the game for testing without packing the data folder for xxx.pak in the following locations:
Openbor/data
Openbor/paks
Levels.txt
Can someone please take a look at it and see what I am doing wrong?
Thank you very much for your help.
Sorry if this similar topic has already created by someone else.
I've packed my data folder for xxx.pak file with Neo Edit Pack 2021-09-12 and also with Paxplode Pack tools,
but this pak file keeps on shutting down with error log "Error loading level list from data/levels.txt" no matter how I fixed the levels.txt.
The data and xxx.pak locations:
Openbor/paks/data
Openbor/paks/xxx.pak
It seems like the game can not locate the levels.txt file or something.
Obvious, I must be doing something wrong....
I am using the OpenBor template
----------------------------------------------------------------------------------------------------
I used to run the game for testing without packing the data folder for xxx.pak in the following locations:
Openbor/data
Openbor/paks
Levels.txt
Code:
noslowfx 1
hiscorebg 1
completebg 1
loadingbg 1 5 200 310 120 180 1
loadingbg2 1 5 200 310 120 180 3
#-------Menu placement
#Time location
timeloc 960 20 33 21 2
#-------Lifebars, icons, names, etc.
#lbarsize {w} {h} {noborder} {type} {orientation} {border} {shadow} {graph} {backfill}
# olbarsize = enemy's LifeBar
olbarsize 120 10 0 0 0 -300 -300 -300 -300
lbarsize 240 22 0 1 0 -300 -300 -300 -300
mpbarsize 140 16 0 1 0 -300 -300 -300 -300
p1smenu 160 1000 100 900 # {x1} {y1} {x2} {y2}
# {x1} and {y1} determines player's position
# {x2} and {y2} determines player's "Ready!" position.
p1life 60 27
p1mp 60 54
p1namej 120 26 80 20 10 10 0 # {x1}{y1} {x2}{y2} {x3}{y3} {font}
# {x1}{y1} determines player's name position.
# {x2}{y2} determines "Select Hero"'s position.
# {x3}{y3} = "Press Start"'s position. These also sets "GAME OVER" and credits pos.
p1icon 0 0
p1lifex 5 65 # x (example. x)
p1lifen 20 65 # lives # (example. 3) #combine = x3
p1score 120 26 -50 -100 60 -2 0
# p{#}score {x1}{y1} {x2}{y2} {x3}{y3} {font}
# {x1}{y1} determines player's name position.
# {x2}{y2} determines player's "-" position. Yes, there is "-" between name and score.
# {x3}{y3} determines player's score position.
e1name 52 1020 # enemy's name
e1life 52 1046 # enemy's lifeBar
e1icon 5 1020 # enemy's icon
p2smenu 1750 1000 1690 900 # {x1} {y1} {x2} {y2}
# {x1} and {y1} determines player's position
# {x2} and {y2} determines player's "Ready!" position.
p2life 540 27
p2mp 540 54
p2namej 600 26 560 20 470 10 0
p2icon 480 0
p2lifex 471 65 # x (example. x)
p2lifen 500 65 480 # lives # (example. 3) #combine = x3
p2score 600 26 430 360 520 -2 0
e2name 532 1020 # enemy's name
e2life 532 1046 # enemy's lifeBar
e2icon 485 1020 # enemy's icon
p3smenu 580 1000 520 900 # {x1} {y1} {x2} {y2}
# {x1} and {y1} determines player's position
# {x2} and {y2} determines player's "Ready!" position.
p3life 1020 27
p3mp 1020 54
p3namej 1080 26 1040 20 970 10 0
p3icon 960 0
p3lifex 965 65 # x (example. x)
p3lifen 980 65 # lives # (example. 3) #combine = x3
p3score 1080 26 910 -100 1020 -2 0
e3name 1012 1020 # enemy's name
e3life 1012 1046 # enemy's lifeBar
e3icon 965 1020 # enemy's icon
p4smenu 1330 1000 1270 900 # {x1} {y1} {x2} {y2}
# {x1} and {y1} determines player's position
# {x2} and {y2} determines player's "Ready!" position.
p4life 1500 27
p4mp 1500 54
p4namej 1560 26 1520 20 1450 10 0
p4icon 1440 0
p4lifex 1445 65 # x (example. x)
p4lifen 1460 65 # lives # (example. 3) #combine = x3
p4score 1560 26 1390 -100 1500 -2 0
e4name 1492 1020 # enemy's name
e4life 1492 1046 # enemy's lifeBar
e4icon 1445 1020 # enemy's icon
#-------Rush Placement:
#rush{flag} {duration} {text1} {f1} {f2} {text2} {f3} {f4}
rush 1 3 Hits_x 0 0 Max_Hit 1 1
#p{#}rush{x1} {y1} {x2} {y2} {x3} {y3} {x4} {y4}
p1rush 60 150 140 150 -60 -140 -150 -150 #55 55 113 55
p2rush 540 150 620 150 420 -140 330 -150 #215 55 273 55
p3rush 1020 150 1100 150 900 -140 810 -150 #375 55 433 55
p4rush 1500 150 1580 150 1380 -140 1290 -150 #375 55 433 55
#----------------------------------------------------------------------------------------
set Story
lives 3
credits 3
custfade 50
nosame 1
noshare 1
maxplayers 4
typemp 0
ifcomplete 0
Musicoverlap 1
#-----------------------------Street1
#skipselect Dante
select data/select/char_select1.txt
branch stage1
z 688 1051
file data/levels/Stage1_E.txt
z 688 1051
file data/levels/Stage1_N.txt
next
z 688 1051
file data/levels/Stage1_UH.txt
#file data/levels/scenes/credits/credits.txt
END
#----------------------------------------------------------------------------------------
# End of level.txt. Please do not remove this whitespace.
#----------------------------------------------------------------------------------------
Can someone please take a look at it and see what I am doing wrong?
Thank you very much for your help.