 |
|
 |
|
Views: 236,708,305 Time: 2013-05-25 11:13:44 AM | 24 users online: aj6666, Carka Jack, Disco, everest700, Grav, GreenHammerBro, Henix Aurorus, HuFlungDu, HyperMario, Jolpengammler, K3fka, kebabchilla, kianworld, Ladida, Magiluigi, MaxodeX, Pixels, Pokeymeister80, ShadowPhoenix, Shog, shreerocks1324, Silver Scarlet, Sokobansolver, telinc1 - Guests: 33 - Bots: 12 | Users: 22,886 (1,281 active) Latest: ChiLL3X |
|
|
 |
|
 |
|
| Tip: When you're about to release your hack, make a patch first, patch it to a clean ROM, and then test that. This way, you are testing both the hack AND the patch. |
|
|
|
 |
|
 |
|
 |
|
 |
|
| What do you prefer for patches? xkas or Asar? |
|
Forum Index - SMW Hacking - SMW Hack Discussion - What do you prefer for patches? xkas or Asar? |
|
Pages: 1 2  |
|
|
|
| Posted on 2012-02-16 06:28:05 PM |
Link | Quote |
|
|
Xkas. Asar is more for SMW (which I don't even hack any more really) and xkas is the standard for most other rom hacking boards (I doubt asar will catch on in other places like ROMHacking.net). I'm also not familiar with asar's syntax, but i'm told its about the same as xkas's. And xkas could be update more often, its open source.
|
| Last edited on 2012-02-16 06:35:09 PM by wiiqwertyuiop. |
|
| Posted on 2012-02-17 03:58:38 AM |
Link | Quote |
|
Originally posted by wiiqwertyuiopAnd xkas could be update more often, its open source.
Huh? Asar is open-source, and xkas will most likely never be updated again. Besides, Asar can be used for patching and assembling other ROMs as well (although the freespace command probably wouldn't work with any over 512 KB).
|
|
| Posted on 2012-02-17 05:07:15 AM |
Link | Quote |
|
None of asar's features really interest me, so I'm sticking to xkas.
If the situation ever pops up where it'd be useful, I'd not hesitate to switch, though.
|
|
| Posted on 2012-02-17 10:15:28 AM |
Link | Quote |
|
Originally posted by imameliaOriginally posted by wiiqwertyuiopAnd xkas could be update more often, its open source.
Huh? Asar is open-source, and xkas will most likely never be updated again.
I know, I said it COULD be updated more often (not by byuu, but by others).
|
|
| Posted on 2012-02-17 10:49:18 AM |
Link | Quote |
|
|
So far every patch I wanted to apply was an xkas patch, so there really is no reason for me to switch. I'll probably start using Asar if I ever want to apply something that doesn't work with xkas.
|
|
| Posted on 2012-02-17 11:20:41 AM |
Link | Quote |
|
Originally posted by wiiqwertyuiopI know, I said it COULD be updated more often (not by byuu, but by others).
True, but there would be no point in updating it because Asar can do everything xkas can and more.
|
|
| Posted on 2012-02-18 07:51:04 PM |
Link | Quote |
|
|
But what ever happened to all those other versions, such as xkas v1x, bass, SWR's versions (and I think p4 might have had one)? Were they all necessarily less desirable, or did Alcaro's push and consistent updating cause Asar to win over other users? It's not a matter of syntax if xkas, asar, and bass are all incompatible with each other, which tends to be the biggest complaint.
|
|
| Posted on 2012-02-18 11:02:22 PM |
Link | Quote |
|
Originally posted by UltimaximusBut what ever happened to all those other versions, such as xkas v1x, bass, SWR's versions (and I think p4 might have had one)? Were they all necessarily less desirable, or did Alcaro's push and consistent updating cause Asar to win over other users? It's not a matter of syntax if xkas, asar, and bass are all incompatible with each other, which tends to be the biggest complaint.
Asar is compatible with xkas for the most part, that's why it has gained some purchase. It's still a dismal number of converts though.
|
|
| Posted on 2012-02-19 09:21:46 AM |
Link | Quote |
|
Originally posted by UltimaximusWere they all necessarily less desirable, or did Alcaro's push and consistent updating cause Asar to win over other users? It's not a matter of syntax if xkas, asar, and bass are all incompatible with each other, which tends to be the biggest complaint.
I'm goning to use Asar simply because I'm pretty sure Alcaro would update Asar or fix a glitch...
(and he explains how to fix problems with patches if they don't work with specific stuff from Asar)
Finally, the syntax is similar to xkas/"easier" to convert to Asar. Yeah that's it.
|
|
| Posted on 2012-02-20 04:52:44 PM |
Link | Quote |
|
Originally posted by AustinXkas [...] isn't outdated Originally posted by my profileList of xkas v0.06 bugs I know of (please PM me if you know of any other bugs):
- incsrc thisfiledoesntexist.asm crashes instead of just printing an error.
- !x = xxxxxxxxxxxxxxx : !x = xxxxxxxxxxxxxxxxxxx overflows a buffer and crashes.
- The % operator acts very strangely. xkas seems to think it's a number. I haven't found a way to work around this, but luckily that operator is rarely needed.
- PEA Labelnamehere doesn't work. This made PER $0006 more common than it needs to be, but I appear to have made people use PEA.w Labelnamehere instead.
- !x = $19 : LDA !x refuses to assemble. Splitting it to two lines solves it.
- LDA $0AB5+1 assembles to AF B6 0A 00, not the expected AD 0A B6.
- LDA Label is treated as LDA.l, even if the label is in the same bank.
- REP 0 assembles the instruction after it once, not never. A workaround is REP -1, or any other negative number.
- Garbage in table files doesn't print any errors; instead, it gives various very strange results. "AAAAAAAAAAAAA" is ignored, and "Awesome garbage 'n' shit=42 FLYING HIPPOTAMUSES" acts like "A=42". To make it even stranger, every eighth digit is OR'd together, so "A=81FFFFFF18" acts line "A=99".
- level10:!Freeram = $13E6 defines a label containing invalid characters. No error is printed (until the label is referenced).
- .derp: defines another inaccessible label. No error is printed.
- LDA.B #$42 refuses to assemble since the .b is case sensitive.
- The documentation mentions that only 512 incsrc's may be inside each other. This is fully acceptable, but the truth is less acceptable: Only 512 incsrc's may exist at all. Anything above that makes xkas crash.
- LDA $#01 is treated as LDA $01 for some crappy reason.
I guess it depends on how you define "outdated". It is a pretty tricky word.
Originally posted by miguel21450I prefer xkas, since it's more easier to insert patches than Asar.
I find it easier to not have to worry about freespace than having to worry about freespace, but I guess you've got some arguments in the other direction.
Originally posted by Ripperon-XWhen you insert a patch that's places in a certain location, once you insert it again, the patch will be put in a different location.
I'll fix this as soon as I can figure out how to do it, both in-patch syntax and how to detect where it should be.
Originally posted by Lui37To fix that you'll simply need to type autoclean before the JML or JSL.
Not failproof. Asar slightly overestimates its freespace need, and while it does fix this later, it thinks its previous freespace is too small the second time the patch is assembled (assuming the byte after it is used, which is pretty much guaranteed if anything is done in LM between the assembling rounds).
Originally posted by wiiqwertyuiopAsar is more for SMW
The only SMW-isms in Asar are usage of RATS tags and being hardcoded to not look for freespace in the first 512KB. RATS tag metadata (used by prot) is Asar-only (but designed to be usable by other tools as well), and I replaced the SUPER MARIOWORLD check with a heuristic for whether the ROM name is readable long ago (see lines 153 to 171 in interface-cli.cpp for details). (Yes, the string SUPER MARIOWORLD still exists in libsmw.cpp, but it's not used by Asar.)
Quoteand xkas is the standard for most other rom hacking boards
Yeah, I can't fix that. Getting it accepted around here is hard enough, I'm not going to attempt to push it onto others as well.
QuoteI'm also not familiar with asar's syntax, but i'm told its about the same as xkas's.
Correct. The easiest mistake is that Asar attempts to optimize label access, so if you forget a bank command or .l, you'll get weird results. There's also a bunch of minor differences and additions, but I believe all differences will throw warnings.
Originally posted by UltimaximusBut what ever happened to all those other versions, such as xkas v1x, bass
These two are pretty much the same (bass is xkas15+).
The syntax is pretty different, and the command line is a bit more complicated as well (at least for the latest bass, not sure about xkas14).
I think they died before becoming usable, and considering how buggy xkas6 is, I doubt SWR would be able to kill all bugs.
Quote(and I think p4 might have had one)?
Correct, but he said he dropped that in favor of Asar, since Asar came first and has a feature set that matches his demands.
QuoteIt's not a matter of syntax if xkas, asar, and bass are all incompatible with each other
I can't claim that Asar is identical to xkas, but it attempts to stick pretty close to it, and some of the simpler xkas patches work in Asar without modification (if you set freespace). bass requires lowercasing everything and replacing the entire macro/define syntax, which is a much more complex operation.
Originally posted by HuFlungDuIt's still a dismal number of converts though.
I'm working on it.
Originally posted by ShogI'm pretty sure Alcaro would update Asar or fix a glitch...
Correct. I'll fix all bugs I can find.
But I don't find many these days. I guess most of them are gone already.
|
|
|
Pages: 1 2  |
|
|
|
|
Forum Index - SMW Hacking - SMW Hack Discussion - What do you prefer for patches? xkas or Asar? |
|
|
 |
|
 |
The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.
Copyright © 2005 - 2013 - SMW Central Legal Information - Link To UsTotal queries: 28
|
|
|
|