Language…
10 users online: adamlucero, Dave Chipmunk,  Donut, Isikoro, JPhanto, MiguelShow, Rykon-V73, sholmes, TheOtherGuy25, wye - Guests: 85 - Bots: 262
Users: 65,972 (2,172 active)
Latest user: delion902

Posts by Hayashi Neru

Hayashi Neru's Profile → Posts

Applying this patch will cause problems that can not be capped.

I want to put more than 2 fonts like this one in the VWF Dialogues, but I do not know what to do. Can you tell me how to insert it?

※It would be better if you let me know how to put it in two or more bin files.


http://www.smwcentral.net/?p=section&a=details&id=6863
I wrote this in vwfdialogues.asm. But it did not insert
Is there anything wrong?
(However, Freespace is properly aligned)

Code
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4490: error: Bad macro name [% newbank ( "1", $ 288000)]
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4491: error: Bad macro name [% binary ( "0", "vwffont2.bin");]
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4491: error: Bad macro name [% source ( "1", "vwffont2.asm");]
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4491: error: Bad macro name [% endbank ()]


Code
(The omitted part has not been modified.)
;;;;;;;;;;;;;;;;
;[CUSTOMTABLES];
;;;;;;;;;;;;;;;;

Fonttable:
	dl Font1,Font1_Width
	dl $268000,$268000+$4000 
	dl Bank1Data0,Bank1Data1

Palettes:
dw $0000,$FFFF,$0000
dw $0A56,$04ED,$0044
dw $45ED,$24E6,$0C41
dw $477D,$2E55,$214D
dw $00C4,$1F7F,$15D1
dw $739C,$5250,$0000
dw $473F,$3EDC,$3258
dw $5235,$290A,$679F
dw $3250,$2D09,$0C63
dw $3250,$2D09,$0C63
dw $3250,$2D09,$0C63
dw $45ED,$24E6,$0C41
dw $0A56,$04ED,$0044
dw $19F0,$00CB,$0044
dw $3250,$2D09,$0C63
dw $3250,$2D09,$0C63





;;;;;;;;;;;;;;;;
;External Files;
;;;;;;;;;;;;;;;;

Frames:
incbin vwfframes.bin

Patterns:
incbin vwfpatterns.bin

Font1:
% newbank ( "1", $ 288000)
% binary ( "0", "vwffont2.bin");
% source ( "1", "vwffont2.asm");
% endbank ()
incbin vwffont1.bin
.Width
incsrc vwffont1.asm
print ""

print "VWF State register at address $",hex(!vwfmode),"."
print "Message register at address $",hex(!message),"."
print "BG GFX register at address $",hex(!boxbg),"."
print "BG Color register at address $",hex(!boxcolor),"."
print "Frame GFX register at address $",hex(!boxframe),"."

print ""
print "See Readme for details!"
print ""

freedata
!PrevFreespace:
Pointers:
incsrc vwfmessagepointers.asm

%nextbank()

Text:
incsrc vwfmessages.asm

;-------------------------------------------------------------
;INSERT DATA HERE!




;END
;-------------------------------------------------------------

freedata : prot !PrevFreespace : Kleenex: db $00;ignore this line, it must be last in the patch for technical reasons


File List
ASAR.EXE
(Omit other files)
📁vwf
📁Blocks
  📁Fonts
  ↳ vwffont2.asm
   vwffont2.bin
  📁Readme
 vwfdialogues.asm
 vwffont1.asm
 vwffont1.bin
 vwffont2.asm
 vwffont2.bin
 vwffont3.asm
 vwffont3.bin
 vwffont4.asm
 vwffont4a.bin
 vwffont4b.bin
 vwffont4c.bin
 vwffont4d.bin
 vwffont4e.bin
 vwffont4f.bin
 vwfframes.bin
 vwfmessagepointers.asm
 vwfmessages.asm
 vwfpatterns.bin
 vwftable.txt
Freespace?

Code
;;;;;;;;;;;;;;;;
;External Files;
;;;;;;;;;;;;;;;;

Frames:
incbin vwfframes.bin

Patterns:
incbin vwfpatterns.bin

Font1:
% newbank ( "1", $ 288000)
% binary ( "0", "vwffont2.bin");
% source ( "1", "vwffont2.asm");
% endbank ()
incbin vwffont1.bin
.Width
incsrc vwffont1.asm


Code
PC offset		LoROM offset		Size

0x088047		0x10FE47		0x0011
0x08813F		0x10FF3F		0x0008
0x0881EB		0x10FFEB		0x0015
0x08C0BF		0x11BEBF		0x0003
    ⦙  			    ⦙  			   ⦙
0x0CD1CA		0x19CFCA		0x302E
0x0D6F9A		0x1AED9A		0x1266
0x0D8200		0x1B8000		0x8000
0x0E0200		0x1C8000		0x8000
0x0E8200		0x1D8000		0x8000
0x0F0200		0x1E8000		0x8000
0x0F8200		0x1F8000		0x6BD8
0x0FFC4E		0x1FFA4E		0x05B2
0x100200		0x208000		0x8000
0x108200		0x218000		0x8000
0x110200		0x228000		0x8000
0x118200		0x238000		0x8000
0x120200		0x248000		0x8000
0x128200		0x258000		0x8000
0x130200		0x268000		0x8000
0x138200		0x278000		0x8000
0x140200		0x288000		0x8000
0x148200		0x298000		0x8000
0x150200		0x2A8000		0x8000
0x158200		0x2B8000		0x8000
0x160200		0x2C8000		0x8000
0x1701F4		0x2DFFF4		0x000C
0x1781F8		0x2EFFF8		0x0008
0x178200		0x2F8000		0x8000
    ⦙  			    ⦙  			   ⦙


Code
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4490: error: Bad macro name [% newbank ( "1", $ 288000)]
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4491: error: Bad macro name [% binary ( "0", "vwffont2.bin");]
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4491: error: Bad macro name [% source ( "1", "vwffont2.asm");]
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4491: error: Bad macro name [% endbank ()]
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4491: error: Label Bank1data0 not found [dl Bank1Data0,Bank1Data1] ←I did not do this before, sorry.
Oh, I wrote it wrong. Sorry.
I'm translating it into Korean with a Google translator. (There was a space in this process.)

Code
;;;;;;;;;;;;;;;;
;[CUSTOMTABLES];
;;;;;;;;;;;;;;;;

Fonttable:
	dl Font1,Font1_Width
	dl $268000,$268000+$4000 
	dl Bank1Data0,Bank1Data1

Palettes:
dw $0000,$FFFF,$0000
dw $0A56,$04ED,$0044
dw $45ED,$24E6,$0C41
dw $477D,$2E55,$214D
dw $00C4,$1F7F,$15D1
dw $739C,$5250,$0000
dw $473F,$3EDC,$3258
dw $5235,$290A,$679F
dw $3250,$2D09,$0C63
dw $3250,$2D09,$0C63
dw $3250,$2D09,$0C63
dw $45ED,$24E6,$0C41
dw $0A56,$04ED,$0044
dw $19F0,$00CB,$0044
dw $3250,$2D09,$0C63
dw $3250,$2D09,$0C63





;;;;;;;;;;;;;;;;
;External Files;
;;;;;;;;;;;;;;;;

Frames:
incbin vwfframes.bin

Patterns:
incbin vwfpatterns.bin

Font1:
%newbank("1",$288000)
%binary("0","vwffont2.bin")	; removed space
%source("1","vwffont2.asm")	; removed space
%endbank()
incbin vwffont1.bin
.Width
incsrc vwffont1.asm

print ""

print "VWF State register at address $",hex(!vwfmode),"."
print "Message register at address $",hex(!message),"."
print "BG GFX register at address $",hex(!boxbg),"."
print "BG Color register at address $",hex(!boxcolor),"."
print "Frame GFX register at address $",hex(!boxframe),"."

print ""
print "See Readme for details!"
print ""

freedata
!PrevFreespace:
Pointers:
incsrc vwfmessagepointers.asm

%nextbank()

Text:
incsrc vwfmessages.asm

;-------------------------------------------------------------
;INSERT DATA HERE!




;END
;-------------------------------------------------------------

freedata : prot !PrevFreespace : Kleenex: db $00;ignore this line, it must be last in the patch for technical reasons


But this also causes an error.

Code
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4490: error: Bad macro name [%newbank("1",$288000)]
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4491: error: Bad macro name [%endbank()]
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4491: error: A bank border was crossed somewhere prior to this point [incsre vwffont1.asm]

Errors were detected while assembling the patch. Assembling aborted. Your ROM has not been modified.


If put 4 lines under INSERT DATA HERE, an error also appears.

Code
;;;;;;;;;;;;;;;;
;[CUSTOMTABLES];
;;;;;;;;;;;;;;;;

Fonttable:
	dl Font1,Font1_Width
	dl $268000,$268000+$4000 
	dl Bank1Data0,Bank1Data1

Palettes:
dw $0000,$FFFF,$0000
dw $0A56,$04ED,$0044
dw $45ED,$24E6,$0C41
dw $477D,$2E55,$214D
dw $00C4,$1F7F,$15D1
dw $739C,$5250,$0000
dw $473F,$3EDC,$3258
dw $5235,$290A,$679F
dw $3250,$2D09,$0C63
dw $3250,$2D09,$0C63
dw $3250,$2D09,$0C63
dw $45ED,$24E6,$0C41
dw $0A56,$04ED,$0044
dw $19F0,$00CB,$0044
dw $3250,$2D09,$0C63
dw $3250,$2D09,$0C63





;;;;;;;;;;;;;;;;
;External Files;
;;;;;;;;;;;;;;;;

Frames:
incbin vwfframes.bin

Patterns:
incbin vwfpatterns.bin

Font1:
incbin vwffont1.bin
.Width
incsrc vwffont1.asm

print ""

print "VWF State register at address $",hex(!vwfmode),"."
print "Message register at address $",hex(!message),"."
print "BG GFX register at address $",hex(!boxbg),"."
print "BG Color register at address $",hex(!boxcolor),"."
print "Frame GFX register at address $",hex(!boxframe),"."

print ""
print "See Readme for details!"
print ""

freedata
!PrevFreespace:
Pointers:
incsrc vwfmessagepointers.asm

%nextbank()

Text:
incsrc vwfmessages.asm

;-------------------------------------------------------------
;INSERT DATA HERE!


%newbank("1",$288000)
%binary("0","vwffont2.bin")	; removed space
%source("1","vwffont2.asm")	; removed space
%endbank()


;END
;-------------------------------------------------------------

freedata : prot !PrevFreespace : Kleenex: db $00;ignore this line, it must be last in the patch for technical reasons


In this way,

Code
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4490: error: Unknown macro [%newbank("1",$288000)]
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4491: error: Unknown macro [%endbank()]
E:\Lunar magic\ASAR\VWF₩vwfdialogues.asm:4491: error: Label Bank1data0 not found [dl Bank1Data0,Bank1Data1]

VWF Dialogues Patch v1.01 - (c) 2014 RPG Hacker

VWF Creation Routine at address $9B9F9C.
Pattern Addition Routine at address $9BA0DA.

VWF State register at address $702000.
Message register at address $702001.
BG GFX register at address $702008
BG Color register at address $702009
Frame GFX register at address $70200F

See Readme for details!

Errors were detected while assembling the patch. Assembling aborted. Your ROM has not been modified.


Is there anything wrong?
It has succeeded now. thank you.



sussessed code ↓

Code
;;;;;;;;;;;;;;;;
;[CUSTOMTABLES];
;;;;;;;;;;;;;;;;

Fonttable:
	dl Font1,Font1_Width
	dl Data2,Data2_Width
	dl $268000,$268000+$4000 

Palettes:
dw $0000,$FFFF,$0000
dw $0A56,$04ED,$0044
dw $45ED,$24E6,$0C41
dw $477D,$2E55,$214D
dw $00C4,$1F7F,$15D1
dw $739C,$5250,$0000
dw $473F,$3EDC,$3258
dw $5235,$290A,$679F
dw $3250,$2D09,$0C63
dw $3250,$2D09,$0C63
dw $3250,$2D09,$0C63
dw $45ED,$24E6,$0C41
dw $0A56,$04ED,$0044
dw $19F0,$00CB,$0044
dw $3250,$2D09,$0C63
dw $3250,$2D09,$0C63





;;;;;;;;;;;;;;;;
;External Files;
;;;;;;;;;;;;;;;;

Frames:
incbin vwfframes.bin

Patterns:
incbin vwfpatterns.bin

Font1:
incbin vwffont1.bin
.Width
incsrc vwffont1.asm

print ""

print "VWF State register at address $",hex(!vwfmode),"."
print "Message register at address $",hex(!message),"."
print "BG GFX register at address $",hex(!boxbg),"."
print "BG Color register at address $",hex(!boxcolor),"."
print "Frame GFX register at address $",hex(!boxframe),"."

print ""
print "See Readme for details!"
print ""

freedata
!PrevFreespace:
Pointers:
incsrc vwfmessagepointers.asm

%nextbank()

Text:
incsrc vwfmessages.asm

;-------------------------------------------------------------
;INSERT DATA HERE!

%nextbank()
%binary("2","vwffont2.bin")
%source("2_Width","vwffont2.asm")

;END
;-------------------------------------------------------------

freedata : prot !PrevFreespace : Kleenex: db $00;ignore this line, it must be last in the patch for technical reasons
Can I write VWF dialog messages and plain messages at the same time?
See this video.
5:17 = Normal message
8:58·10:35 = VWF Message (Without box)
or this level
(Answers will be available after August 3rd.)
(sorry, bad english)
※I use Asar version
※sorry, bad english.
How can I use both gradient and message boxes?
The message box obscures the gradient.
See this video.
I use UberASM Patch(ASAR), H-DMA Gradiant, Effect tool
※PS: Do not ask me to use the VWF dialogues.
※Is it also available in overworld?
(restricted)
(restricted)
Sorry, I do not know where to insert it.

Falled code List
(File name: vwfmessages.asm)
Code
.body
db $F1
	LDA #$01
	STA $70200F
	RTL
db "Message",$FA,$FF

Code
.header
	LDA #$01
	STA $70200F
db $00
db %00001000,%01111000,%11010001,%11000000,$01,%00100000
dw $7FFF,$0000
db %11110100
db %00001111,$13,$13,$23,$29

Is there anything wrong with it?
Or put it in the [vwfmessagepointers.asm] file?
I forgot to turn off the translator.
MarioFanGamer, This code is useless.
Code
.body
db $F1
dl .code

db "Message",$FA,$FF

.code
	LDA #$01
	STA $70200F
RTL

(This code can not be processed here.)
If use Sprite message box, you can use Layer 3 and messages at the same time.
When you use the VWF Dialog patch, Layer 3 fades off temporarily, but when the message is closed, the message reappears.
However, do not write to the level to which the Sprite status bar is applied.