Problem with screenpack

Started by TrinitroRoy, September 16, 2012, 05:43:33 PM

Previous topic - Next topic

TrinitroRoy

Hello again,
I have a problem with a screenpack. In the versus screen, P1's portrait shows up, but not P2's portrait.
Here's the code:

[Versus Screen]
time = 435
p1.spr = 9000, 1
p1.pos = 95, 288
p1.facing = 1
p1.scale = 1, 1
p2.spr = 9000, 1
p2.pos = 180, 288
p2.facing = -1
p2.scale = 1, 1

Can someone help me fixing that problem? Thanks in advance!
===My discord servers===
Unlimited Force HQ: https://discord.gg/hnyK7JZ
Mega Man Megamix Engine Help Server: https://discord.gg/Wjm9GYU

Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
Quote from: bitter nothings on April 30, 2010, 09:35:51 PM
you are all small and can't grow manly sideburns

Cyanide

Both are the same character? All i can suggest is positioning. Put p2's sprite in the same place as P1's and see if you get an overlap then move things from there.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

TrinitroRoy

===My discord servers===
Unlimited Force HQ: https://discord.gg/hnyK7JZ
Mega Man Megamix Engine Help Server: https://discord.gg/Wjm9GYU

Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
Quote from: bitter nothings on April 30, 2010, 09:35:51 PM
you are all small and can't grow manly sideburns

Cyanide

Ok, so, both the same character, Remove all aspects apart from the portraits, test. If that still fails, post a larger section of your system.def please.

Make sure it IS the same 2 characters as well, i don't want to be dealing with a potential palette issue on character 2 that you may not have picked up on.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

TrinitroRoy

Quote from: Cyanide on September 18, 2012, 08:31:54 AM
Ok, so, both the same character, Remove all aspects apart from the portraits, test. If that still fails, post a larger section of your system.def please.

Make sure it IS the same 2 characters as well, i don't want to be dealing with a potential palette issue on character 2 that you may not have picked up on.
I can't remove the background. Everytime, I try to, it gives me an error, that crashes MUGEN.
So here is the full code:

[Info]
Name = "Higurashi no naku koro ni screen pack"
Author = "'Twinkle' or 'OMEGA ZERO'"  ;Edited by Trinitronity
;Author = "Butti, and Ruddy, and Musou"
;First Edited Author = "Tanza"

[Files]
spr = higurashi.sff
snd = system.snd
select = select.def
fight = data/ggxxs_life_bar/fight.def
font1 = font/jg.fnt
font2 = font/kof98um-name.fnt
font3 = font/kof98title-a.fnt
font4 = font/kof98title-b.fnt
font5 = font/kof98name-a.fnt
font6 = font/kof98um-name2.fnt
;----------------------------
[Music]
title.bgm = sound/nage.mp3
title.bgm.volume = 255
title.bgm.loop = 255
select.bgm = sound/desp.mp3
select.bgm.volume = 255
select.bgm.loop = 255
vs.bgm = sound/vs.mp3
vs.bgm.volume = 255
vs.bgm.loop = 0
;vs.bgm = sound/higu.mp3
;vs.bgm.loop = 255


;-------------------------------------------------------------------
[Title Info]
menu.pos = 159,158
menu.item.font = 1,0,0
menu.item.active.font = 1,5,0
menu.item.spacing = 0, 13
menu.itemname.arcade = "Single Mode"
menu.itemname.versus = "VS Mode"
menu.itemname.teamarcade = "Team Mode"
menu.itemname.teamversus = "Team VS mode"
menu.itemname.teamcoop = "Team CO-OP"
menu.itemname.training = "Training"
menu.itemname.watch = "Watch"
menu.itemname.options = "Options"
menu.itemname.exit = "B.B.F.N."
menu.window.margins.y = 12, 8
menu.window.visibleitems = 5
menu.boxcursor.visible = 1
menu.boxcursor.coords = -48,-10,47,2
cursor.move.snd = 100,4
cursor.done.snd = 100,6
cancel.snd = 100,5


;[Title Info]
;menu.pos = 159,158
;menu.item.font = 4,0,0
;menu.item.active.font = 3,0,0
;menu.item.spacing = 0,16
;menu.itemname.arcade = "A"
;menu.itemname.versus = "B"
;menu.itemname.teamarcade = "C"
;menu.itemname.teamversus = "D"
;menu.itemname.teamcoop = "E"
;menu.itemname.training = "F"
;menu.itemname.watch = "G"
;menu.itemname.options = "H"
;menu.itemname.exit = "I"
;menu.window.margins.y = 16,16
;menu.window.visibleitems = 5
;menu.boxcursor.visible = 1
;menu.boxcursor.coords = -45,-14,45,-2
;cursor.move.snd = 100,0
;cursor.done.snd = 100,1
;cancel.snd = 100,2

;----------------------------
[TitleBGdef]
bgclearcolor = 0,0,0

[TitleBG opening]
type     = anim
actionno = 0
start    = 0, 0

[TitleBG press p1 or p2 start]
type     = anim
actionno = 5
layerno  = 0
start =   -79, 140

[begin action 0] ; Title Opening
0,1, -160,0, 40

[Begin Action 5]
5,0 ,0, 0, 20
5,1 ,0, 0, 20
;-------------------------------------------------------------------
[Select Info]
rows = 999
columns = 13
spacing = 0
wrapping = 1
pos = -2,0
showemptyboxes = 0
moveoveremptyboxes = 0
cell.size = 25,26
cell.spacing = 0
cell.bg.spr = 150,0
cell.random.spr = 180,0
cell.random.switchtime = 0
p1.cursor.startcell = 5,2
p1.cursor.active.anim = 1
;p1.cursor..active.scale = 0.5,0.5
;p1.cursor.done.spr = 161,0
p1.cursor.move.snd = 100,4
p1.cursor.done.snd = 100,5

p2.cursor.startcell = 5,10
p2.cursor.active.anim = 2
;p2.cursor..active.scale = 0.5,0.5
;p2.cursor.done.spr = 171,0
p2.cursor.blink = 1
p2.cursor.move.snd = 100,4
p2.cursor.done.snd = 100,5

cancel.snd = 100,6
portrait.offset = 0,0
portrait.scale = 1,1
title.offset = 159,13
title.font = -1;3,0,0

;Big portraits
p1.face.offset = 500,100
p1.face.scale = 1, 1
p2.face.offset = 500,100
p2.face.scale =  1, 1

;Name
p1.name.offset = 60, 175
p1.name.font = 2,0,0
p2.name.offset = 260, 175
p2.name.font = 2,1,0

;Stage select
stage.pos = 160,237
stage.active.font = 1,0,0
stage.active2.font = 1,2
stage.done.font = 2,0

;Sounds
;Team menu
teammenu.move.wrapping = 1
p1.teammenu.pos = 20, 175
;p1.teammenu.bg.spr =
p1.teammenu.selftitle.font = 5,0, 0
p1.teammenu.selftitle.text =
p1.teammenu.enemytitle.font = 5,0, 0
p1.teammenu.enemytitle.text =
p1.teammenu.move.snd = 100,4
p1.teammenu.value.snd = 100,4
p1.teammenu.done.snd = 100,5
p1.teammenu.item.offset = 0,20
p1.teammenu.item.spacing = 0,15
p1.teammenu.item.font = 5,0, 1
p1.teammenu.item.active.font = 5,1, 1
p1.teammenu.item.active2.font = 5,0, 1
p1.teammenu.item.cursor.offset = -10, 0
p1.teammenu.item.cursor.anim = 183,0
p1.teammenu.value.icon.offset = 60,1
p1.teammenu.value.icon.spr = 181,0
p1.teammenu.value.empty.icon.offset = 60,1
p1.teammenu.value.empty.icon.spr = 182,0
p1.teammenu.value.spacing = 6,0

;p2 team
p2.teammenu.pos = 299, 175
;p2.teammenu.bg.spr =
p2.teammenu.selftitle.font = 5,1, -1
p2.teammenu.selftitle.text =
p2.teammenu.enemytitle.font = 5,0, -1
p2.teammenu.enemytitle.text =
p2.teammenu.move.snd = 100,4
p2.teammenu.value.snd = 100,4
p2.teammenu.done.snd = 100,5
p2.teammenu.item.offset = 0,20
p2.teammenu.item.spacing = 0,15
p2.teammenu.item.font = 5,1, -1
p2.teammenu.item.active.font = 5,0, -1
p2.teammenu.item.active2.font = 5,1, -1
p2.teammenu.item.cursor.offset = 10, 0
p2.teammenu.item.cursor.anim = 184,0
p2.teammenu.value.icon.offset = -60,1
p2.teammenu.value.icon.spr = 191,0
p2.teammenu.value.empty.icon.offset = -60,1
p2.teammenu.value.empty.icon.spr = 192,0
p2.teammenu.value.spacing = -6,0

[begin action 1]
160,0, 0,0, 3
160,1, 0,0, 3

[begin action 2]
160,2, 0,0, 3
160,3, 0,0, 3


;-----------------------
[SelectBGdef]

[SelectBG 0]
type  = normal
spriteno = 1, 0
layerno = 0
start = -160,0
tile = 0, 0
velocity = 0, 0

;-------------------------------------------------------------------
[VS Screen]
time = 435
p1.spr = 9000, 1
p1.pos =  95, 288
p1.facing = 1
p1.scale = 1,1
p2.spr = 9000, 1
p2.pos = 110, 288
p2.facing = -1
p2.scale = 1,1
p1.name.pos  = 55, 205
p1.name.font =   6, 0, 0
p2.name.pos  = 255, 205
p2.name.font =   6, 0, 0

;-----------------------
[VersusBGdef]

[VersusBG 0]
type  = normal
spriteno = 605, 178
start = 0,0
mask = 1


;-------------------------------------------------------------------
[Demo Mode]
enabled = 1
select.enabled = 1
vsscreen.enabled = 1
title.waittime = 3300
fight.endtime = 1500
fight.playbgm = 1
fight.bars.display = 1
intro.waitcycles = 1
debuginfo = 0


;-------------------------------------------------------------------
[Continue Screen]
enabled = 1


;-------------------------------------------------------------------
[Game Over Screen]
enabled = 0
storyboard =


;-------------------------------------------------------------------
[Win Screen]
enabled = 1
wintext.text = YOU WIN!
wintext.font = 1,0,0
wintext.offset = 159,70
wintext.displaytime = -1
wintext.layerno = 2
fadein.time = 32
pose.time = 300
fadeout.time = 64


;-------------------------------------------------------------------
[Default Ending]
enabled = 0
storyboard =


;-------------------------------------------------------------------
[End Credits]
enabled = 0
storyboard =


;-------------------------------------------------------------------
[Option Info]
cursor.move.snd = 100,4
cursor.done.snd = 100,5
cancel.snd = 100,6


;-------------------
[OptionBGdef]

[OptionBG 1]
type  = norm
spriteno = 2,0
layerno = 0
start = -160,0


===My discord servers===
Unlimited Force HQ: https://discord.gg/hnyK7JZ
Mega Man Megamix Engine Help Server: https://discord.gg/Wjm9GYU

Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
Quote from: bitter nothings on April 30, 2010, 09:35:51 PM
you are all small and can't grow manly sideburns

Cyanide

Screenshot of current problem too please. I would like to see the problem as well. This is going to be something DUMB i can tell, so lets see if we can work out what. While we're at it, please place


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

TrinitroRoy

===My discord servers===
Unlimited Force HQ: https://discord.gg/hnyK7JZ
Mega Man Megamix Engine Help Server: https://discord.gg/Wjm9GYU

Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
Quote from: bitter nothings on April 30, 2010, 09:35:51 PM
you are all small and can't grow manly sideburns

Ζεϱø

Maybe you have the p2.pos in VS Screen wrong. In my current screenpack p2.pos is smaller than p1.pos so maybe p2's portrait is to the left of p1 (i'm too lazy to test this). I didn't see anything else "wrong" with system.def

TrinitroRoy

Already tried, still doesn't show up...
===My discord servers===
Unlimited Force HQ: https://discord.gg/hnyK7JZ
Mega Man Megamix Engine Help Server: https://discord.gg/Wjm9GYU

Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
Quote from: bitter nothings on April 30, 2010, 09:35:51 PM
you are all small and can't grow manly sideburns

Cyanide

There is nothing wrong there. Can you upload it somewhere? I am happy for a PM regarding this as i think we need to look at this point. I will be testing against KFM.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Ζεϱø

Ok so could this a problem similar to warzone screenpack with normal made characters. in your sp, p2's portrait doesn't show up but in warzone sp, p1's portrait doesn't show up.

TrinitroRoy

Quote from: SilverSkin on September 19, 2012, 11:39:29 PM
Ok so could this a problem similar to warzone screenpack with normal made characters. in your sp, p2's portrait doesn't show up but in warzone sp, p1's portrait doesn't show up.
How can I solve this problem?
===My discord servers===
Unlimited Force HQ: https://discord.gg/hnyK7JZ
Mega Man Megamix Engine Help Server: https://discord.gg/Wjm9GYU

Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
Quote from: bitter nothings on April 30, 2010, 09:35:51 PM
you are all small and can't grow manly sideburns

Seravy

It should be p1.offset=x,y instead of p1.pos=x,y I think. At least that's how it is in the screenpack I use, and it works. Same for P2.
I assume Mugen ignored those lines and used some default values for positioning instead. If those default positions are 0,0, because P2's portrait is facing the other way, it will be invisible because it's appearing left from the edge of the screen.

TrinitroRoy

Quote from: Seravy on September 22, 2012, 09:24:15 PM
It should be p1.offset=x,y instead of p1.pos=x,y I think. At least that's how it is in the screenpack I use, and it works. Same for P2.
I assume Mugen ignored those lines and used some default values for positioning instead. If those default positions are 0,0, because P2's portrait is facing the other way, it will be invisible because it's appearing left from the edge of the screen.
...
...Damn, how could I miss that?
Changed, and it works!
I think, I can solve this topic now.
===My discord servers===
Unlimited Force HQ: https://discord.gg/hnyK7JZ
Mega Man Megamix Engine Help Server: https://discord.gg/Wjm9GYU

Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
Quote from: bitter nothings on April 30, 2010, 09:35:51 PM
you are all small and can't grow manly sideburns