Language…
7 users online: HaruMKT, Isikoro, krizeth, monkey03297,  Nanako, playagmes169, qantuum - Guests: 252 - Bots: 316
Users: 64,795 (2,376 active)
Latest user: mathew

Can't insert any of Romi's sprites

Link Thread Closed
Hey there. I'm trying to insert an Romi sprite (the SMB2 Flurry) and to make these sprites to work, you need to insert SubOffScreen.asm and GetDrawInfo.asm into your hack to work. Then, you have to open definition.asm and put the locations of where you inserted these patches by using !print pc (thanks Medic for that tip) and insert the .asm file into your hack. Then if your sprite uses xkas_def.asm in it's .asm file, you have to change that into definition.asm. That's exactly what i have done.

Now comes the confusing part. Once i try to add the sprite into my hack by using Sprite Tool, it gives me the following error:

Code
inserting sprite: 1
.\sprites\flurry.cfg
tmpasm.asm:88: error: Unknown command. [JSR $998090]
tmpasm.asm:184: error: Unknown command. [SpriteGraphic: JSR $998000]

************ERROR************
asar reported error. Refer to temp.log and tmpasm.asm
*****************************


Line 88 is referring to !SubOffScreen and line 184 is referring to !GetDrawInfo. As an extra thing, here's the definition.asm file:

Code
!GetDrawInfo	= $998000	; change this to wherever you insert GetDrawInfo.asm
!SubOffScreen	= $998090	; change this to wherever you insert SubOffScreen.asm


What am i doing wrong here? It's supposted to work but it doesn't. Could i get some help?
Change the JSRs on the error lines with JSL. JSR can be both*, 16-bit and 24-bit (i.e. a JSL under a different name) but Asar dislikes 24-bit JSR because of the confusion, not to mention that basically no one does it that way anyway.

*Edit: In xkas, TRASHM and I guess the 65c816 ASM standards anyway. In the end, it all depends on the persons who have coded the tool.
Originally posted by MarioFanGamer
Change the JSRs on the error lines with JSL. JSR can be both, 16-bit and 24-bit (i.e. a JSL under a different name) but Asar dislikes 24-bit JSR because of the confusion, not to mention that basically no one does it that way anyway.

That seemed to do the trick. Thank you very much!
EU NÃO CONSIGO INSERIR O ROMI'S SPRITES NA MINHA ROM DE SMW. ME EXPLIQUE COMO EU FAÇO PARA INSERIR O ROMI'S SPRITES COM O XKAS.EXE
Originally posted by SAMYR DUTRA ARAUJO
EU NÃO CONSIGO INSERIR O ROMI'S SPRITES NA MINHA ROM DE SMW. ME EXPLIQUE COMO EU FAÇO PARA INSERIR O ROMI'S SPRITES COM O XKAS.EXE

...Why are you bumping year old threads, can't you make one yourself?
Oh, and use ST141. It's in Tools.
Hi, I'm a signature!
Hack Thread
Hack Testing Status: Available.
Layout by Koopster.
Originally posted by Konata Izumi
Originally posted by SAMYR DUTRA ARAUJO
EU NÃO CONSIGO INSERIR O ROMI'S SPRITES NA MINHA ROM DE SMW. ME EXPLIQUE COMO EU FAÇO PARA INSERIR O ROMI'S SPRITES COM O XKAS.EXE

...Why are you bumping year old threads, can't you make one yourself?
Oh, and use ST141. It's in Tools.


NÃO CONSIGO. QUANDO EU VOU INSERIR O ARQUIVO .cfg, DÁ ERRO. ME EXPLIQUE COMO EU FAÇO PARA ADICIONAR OS ARQUIVOS .ASM.
Não poste em português fora da área específica pra isso :V

Pra resolver seu problema, copie e cole ambos os arquivos .cfg e .asm na pasta correspondente (dependendo se for sprite, shooter ou generator) para que eles sejam inseridos corretamente. Escreva o slot e o nome do .cfg do sprite no .txt que você criou, abra o SpriteTool e o resto é explicativo.

Fechando esse tópico já que você postou num tópico morto há alguns meses. Pense bem e olhe as datas antes de postar.
Windowless ride, feeling alive
Are you alive or just breathing?
Link Thread Closed