Language…
7 users online: anoMaly666, Brian94, HD_DankBaron, monkey03297,  Nanako, Shiki_Makiro, TheOrangeToad - Guests: 237 - Bots: 317
Users: 64,795 (2,377 active)
Latest user: mathew

UberASM patch not working

  • Pages:
  • 1
  • 2
I got the version of uberASM that comes in Asar form only, a modified ROM and Asar 1.33. I run cmd and type asar.exe asar_patch.asm Super Mario World (USA).smc as usual but it never applies it; it just gives me an error. I did the same thing after I put GHB's uberASM screen scrolling pipes code in gamemode_14 in gamemode_code.asm and saved it. Is it because I'm using the wrong version of Asar?
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

Mind telling us what exact error message you're getting? That'd help lots.

For now, all I can do is blindly guess - it may be because your ROM name has spaces in it (although Asar should be able to handle that) - and suggest you try the newest version of Asar (1.36, although I doubt that's the cause of your problem).


 
Originally posted by WhiteYoshiEgg
although Asar should be able to handle that

As usual with command line programs, spaces in filenames only work if you put quotes (") around the filename.
<blm> zsnes users are the flatearthers of emulation
When I read Alcaro's post I noticed your error: your filename has got spaces. The options are simple: Either put quotes at the ROM name or use Asar directly (the latter because it ask for one filename at time and don't think, spaces means another command/ file).
Originally posted by Alcaro
As usual with command line programs, spaces in filenames only work if you put quotes (") around the filename.

Sounds true now that you mention it. I was referring to this post of yours, but I must have misread that then.



Anyway,
Originally posted by DaSpongeBobMan
I run cmd and type asar.exe asar_patch.asm Super Mario World (USA).smc as usual but it never applies it; it just gives me an error.

that leaves us with two conclusions:

* spaces in your file names won't work.
* in the future, please tell us right away what error message you're getting. It's much easier to help you that way.


 


 
options can be zero or more of the following: -nocheck -pause={no, err, warn, yes}
-verbose -v or -version -werror That's the error.
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

Ah alright, that looks like spaces are the problem then.

Assuming you haven't already solved it by now: Either change your ROM's file name so it doesn't have spaces, or put quotes around it in the Asar command.


 
Only the ROM name?
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

Why not just try and see for yourself? It won't hurt.

Well, you need to do that for every file that has spaces in its name, but your ROM is the only file that has them, so yeah. And by "put quotes around it", I meant "around the ROM name".



 
Still doesn't work. I've tried everything. What should I do now?
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!



Well, I'm surprised it hasn't been mentioned earlier, but if you're using Asar, you can just open Asar itself and it will prompt for the patch and ROM name respectively. And you can even just straight-up drag the files into Asar to have it type the filepath automatically. No need to use command line.

If you would still prefer to use the command line method (for batch files or whatever), then make sure you're typing something like this:
asar.exe "patch name.asm" "ROM name.smc"
(quotes are unnecessary for no-space names, though there's no harm in them anyway)

If that's not working, then does Asar give any kind of error besides the one about the extra options?

Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
Asar did insert the patch but it still didn't work. I tried the command thing with quotes on the patch name and ROM name, but it said 108D30 and made me type it again.
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

Hello? I said Asar did insert UberASM but still the ASM didn't work. CAN YOU HELP ME?!
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

Apparently not?

Try giving us more information. What code are you inserting? Maybe it's just faulty.


 
Code I put in levelcode.asm
Code
	RTS
        LDA #$03 ;\GIVE MARIO FLOWER
STA $19 ;/
LDA $71 ;\
CMP #$01 ; |CHECK IF MARIO GETS HURT
BEQ KILL ;/
RTS
KILL:
JSL $F606 ; IF SO KILL HIM
RTS

My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

Remove the RTS at the start.
<blm> zsnes users are the flatearthers of emulation
Yeah, what about it?
Do what it tells you. Insert under gamemode_14
Anime statistic on MyAnimeList:
400 animes completed ✓
6000 episodes completed ✓
100 Days completed ✓
... what even am I doing with my life?
I put it in gamemode_14 but nothing changed.
Edit:Only the level code works.
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

You know that this is code to support custom blocks... you did use it along with those, right?
Anime statistic on MyAnimeList:
400 animes completed ✓
6000 episodes completed ✓
100 Days completed ✓
... what even am I doing with my life?
  • Pages:
  • 1
  • 2