(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
04-23-23 05:50 PM
Acmlm's Board - I3 Archive - - Posts by Disch
Pages: 1 2 3 4 5 6 7 8 9 10 11
User Post
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-10-05 02:35 PM, in Question Link
Originally posted by kuja killer

LDA #$31
STA $2006
LDA #$04
STA $2006
LDA $0431
STA $2007



These writes to $2006 are strange... they will set the PPU address to $3104 -- which are mirrors of the nametables and not actually the "normal" nametable itself. I'd recommend that for drawing to the nametables, you keep the PPU address inside the typical $2xxx range.

Each of the 4 nametables are 1k ($0400) bytes in size

Upper left @ $2000
Upper right @ $2400
Lower left @ $2800
Lower right @ $2C00

Since this part of the screen has vertical mirroring... upper/lower don't really matter. So if you want to change the right pattern tables... keep the PPU address in $2400-27FF range.

As for the reset... "JMP ($FFFC)" would have almost the exact same effect as hitting the reset button on the console... so if that's what you're going for, I'd recommend taking that route.


Edit:

The desired PPU address can be further calculated by adding the desired coordinates to your address:

$2400 + (y * $20) + x

It looks like you want it at about 22,25... so $2400 + (25 * $20) + 22 = $2736

so try:

LDA #$27
STA $2006
LDA #$36
STA $2006
LDA $0431
STA $2007


(edited by Disch on 12-10-05 01:51 PM)
(edited by Disch on 12-10-05 01:52 PM)
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-10-05 02:44 PM, in Basic and how to use rand() correctly Link
Originally posted by MisterJones
(although on C it's kind of weird IIRC)


C is just typically more geared towards integers, so rand() gives a random integer value (between 0 and RAND_MAX, which I believe to be defined as 0x7FFF). However that's easily transformed to a usable range with a simple mod operation:

int something = rand() % 10;

That will give you a random number between 0-9 (inclusive).
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-12-05 12:43 PM, in Question Link
I know this is already kinda old and this problem has been long since solved... but I feel kind of silly for not noticing this sooner:

FCEUXD's nametable editor tells you the address. Just hover the mouse over the tile you want to change in the nametable editor and it lists the address next to "PPU Address" at the bottom.

Heh... well I guess knowing how it comes up with that address isn't a bad thing
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-14-05 02:11 PM, in A javascript Editor Link
You don't compile javascript... it's a script.

If you want to preview it, just save your file and open it in your web browser.

As FreeDOS mentioned, any text editor will do.
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-14-05 05:38 PM, in A good NES emulator... Link
Originally posted by piratepunk
if your tring to use FCU ultra or what ever its called to play smb1 than i suggest you dont use it cuz fcu has that world 0-1 glitch


That is not a glitch with FCEU, but a glitch in your ROM. Starting that bad ROM at level 0-1 is actually a sign of a good emu. I suggest you redownload a proper version of SMB.


And as long as I'm in this thread:

I never saw the appeal to JNes... ever. It's emulation is okay... but it's not spectacular, it's not blazing fast, it completely lacks features, and it's mapper support is sub-par. Yet somehow it's crazy popular. I never could figure it out.

Anyone that recommends NESticle should be shot on sight. That is especially true for anyone who refers to NESticle as a "good" emu (I'm talking to you, insectduel). NESticle is a pile of steaming dog-shit. The only pro is that it's insanely fast... but then again so is loopyNES... and loopyNES is far less shitty. Typically though... anyone that recommends NESticle is a sign that that person doesn't know what they're talking about (there are rare exceptions though -- as NESticle is not completely without use... as much as it pains me to admit)

Some of the emus at (or near) the top of everyone's list should be:
NEStopia
FCEU
VirtuaNES

Those are the "biggies" when it comes to all around quality (in terms of features, usability, accuracy, and compatibility). Nintendulator deserves an honorable mention for being the absolute best at what it does -- although I wouldn't recommend it here, since its use is somewhat specialized.

Although these days, I pretty much exclusively use my own emulator (Schpune)... which is still in development. Though I have FCEUXD and Nintendulator on stand-by.
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-14-05 08:32 PM, in A good NES emulator... Link
Pretty much every emu has a fastforward button. You'd be hard-pressed to find one that doesn't.

I know NESticle had its +/- frameskip buttons, but those aren't quite the same... and not as useful, imo.


(edited by Disch on 12-14-05 07:33 PM)
(edited by Disch on 12-14-05 07:34 PM)
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-15-05 12:13 AM, in Way To Directly Copy Music? Link
These forums are seperated for a reason.

I could get into a large explaination of the work involved, but I don't think you'd be able to put it to use.
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-15-05 12:33 AM, in Way To Directly Copy Music? Link
Well I'll just have to assume NES... since you didn't really specify what system it's for. And I'll assume SMB1, since you also didn't specify which game.


I don't think any game shares the same music engine as SMB... so a simply copy/paste job with light modification probably isn't going to work. However, since SMB uses mapper 0 it doesn't have any SRAM @ $6000, so you should be able to use that area for music data storage. This means you can copy/paste music from another game by taking the whole engine. Of course you'd have to manually go through it and change all the RAM accesses so that they use unused RAM (again, RAM @ $6000 is nice for this).

Unfortunately, mapper 0 has no SRAM... and SMB is tight on PRG space... so this job also requires a mapper change and PRG expansion. I'd recommend changing to mapper 1 or 4 (probably 1 for this). Mapper 1 provides the benefit of 32k PRG swapping... as well as SRAM at $6000. You could probably put in your new PRG so that it's the "hardwired" bank on startup... then copy the entire music engine (with modifications... it should be able to fit) into SRAM on startup, then change to 32k swap mode and swap in the "original" 32k of PRG and have the game start up normally.

You'd also have to cutoff the music routine and have it JMP to the new music engine. You can use the SMB NSF to help isolate the music routine the game JSRs to every frame. You might also be able to watch $4017 writes (I know SMB writes there every frame -- but I'm not 100% sure if it's part of the music engine -- it probably is).

Of course this leaves the issue of sound effects -- chances are if the game is playing music in a different engine than the sound effects are designed to work with, they'll conflict. You might have to scrap the original SMB sound effects and re-create them using the new engine (or use sound effects from the new engine in their stead)

Needless to say, this is a pretty big job. I did something similar with Final Fantasy back in the day (although I wrote my own music core instead of taking one from another game). Never finished it 100% though...


edit -- although if re-scoring is all you're looking to, Celice's method should work. It won't sound 100% the same being played in a different engine though

edit 2 -- and apparently this was moved anyway ^^


(edited by Disch on 12-14-05 11:36 PM)
(edited by Disch on 12-14-05 11:37 PM)
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-15-05 10:28 PM, in A good NES emulator... Link
Originally posted by neotransotaku
now the next step; being able to map this functionally to a controller; like in ZSNES


That was actually why I used NNNesterJ for so long -- because FCEU had the button stuck on the keyboard like that.

I believe NEStopia also has it configurable. There's probably a special FCEU build out there that makes it configurable as well... although I'm not sure where you'd find it.
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-15-05 10:34 PM, in FF1: Background tiles in menu/battle became junk Link
Sometimes I'm amazed Hackster works at all.

I swear I must've been stoned or something back in the day.
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-15-05 10:38 PM, in NES Scrolling Link
I tried to explain what I thought the problem was on IRC, but you must have missed it.

Anyhoo:

I believe your IRQ counter is the culprit. IIRC you said you had your IRQ reset stuff right at the start of NMI, then you had the game do it's normal stuff -- however the game can "accidentally" make the IRQ counter falsely count by doing certain writes to $2006 .. which it probably does when drawing at that specific area of the nametable. I say, try moving your IRQ counter reset code so that it's after all the game's drawing stuff.
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-17-05 09:58 PM, in [non-public domain/free] ROMs, legality, and ethics/morals Link
I'm bored. So here's some replies to really old posts along with my own additional ramblings


If I developed a game, spent a year or more perfecting it, and then the day it was released it was already available on the internet as a ROM I'd be pissed.
[snip]
If I developed a game ten years ago, it's not sold in stores anymore, I don't make a cent of it, and a fanbase wants to emulate it I have no problem with it what-so-ever


This mentality/logic is flawed. Game programmers, designers, marketers, etc do not profit based on the sales of the game. They're all on salary. They make the same money whether the game is a smash hit or whether it never even gets released.

Game makers do not make royalties... royalties exist when you make something then give to someone else to market/distribute. Since the programmers are not making the game on their own and selling it to Nintendo/Sony/MS/etc... they are not entitled to royalties.

Financial impact of piracy from a modern-day software company is felt only by the head honchoes of the company who already make more than enough money... and to a lesser extent the stockholders of the company. The only way the people actually making the games feel any pinch would be if they have an assload of shares... or if piracy becomes such a problem that they lose their job due to layoffs or whatnot. Considering that the gaming industry has done nothing to grow exponentially the past few years... it's safe to say the latter isn't happening.


The short answer is: Money. Even though the console went out of production ten years ago, they can still make money off of the old games. For those asking how, I point you to Super Mario All Stars, every Sonic compiliation ever made, the NES collection on GBA, and the upcoming Revolution, with downloadable content in the form of old games


Except for the short answer of "money"... this is the best thought in this thread so far. I don't really like to associate copyrights with money, since they're not directly related at all... but the idea in your post is dead on. Bravo.

There's a bit more to it than that though... intellectual rights span MUCH further than just remakes of old games. Maintaining ownership of retro games protects future investments. This is definatly the easiest/clearest example to point to though.


2. ROMs for systems no longer supported should be legal - they aren't, of course, but I feel they should be. And honestly, if I was the one running one of these companies, I'd release the ROMs myself once that console became completely obsolete and further game sales were an improbability.


No you wouldn't. If you made financial decisions like that, you'd bankrupt in a month. Giving away your products for free is a great way to drive your business into the ground.


3. Human greed will prevent 2 from ever happening.


Call it greed if you must... but as it stands, the whole idea of capitalism is to make money off your products. Until you get some real-life experience in the field it's hard to explain... but if you've ever tried to operate your own business, you'll see how competitive and hard it is to get by -- and that's when you're only looking out for yourself -- when you start "looking out for the little guy" and giving away free shit... there's just no way to maintain a profit.... and the business collapses.

The only thing that really seperates large corporations from small business is the rate of success and growth. The reason big companies are sticklers about piracy is because if they weren't, they wouldn't be big companies.


How about this? It has to do with "Access Controls"; scroll down to no. 3.

http://www.loc.gov/loc/lcib/0312/copyright.html


Since you only point out the 3rd class -- I feel it's important to cover what the document is really saying:

"persons who engage in noninfringing uses of copyrighted works in these four classes will not be subject to the statutory prohibition against circumvention of access controls."

[snip]

"The purpose of the proceeding is to determine whether current technologies that control access to copyrighted works are diminishing the ability of individuals to use works in lawful, noninfringing ways. The DMCA does not forbid the act of circumventing copy controls, and therefore, this rulemaking proceeding is not about technologies that control copying."

That's not saying "okay, games which use old outdated hardware are up for grabs" as some people here may have been thinking (not accusing anyone.. just thought I'd cover this base because like I said... I'm bored)

It's saying more or less what Local H was:


As it stands now, the only fully legal way to have ROMs of copyrighted games without explicit permission is to dump the ROM yourself.


It's legal to bypass any lockout/copy-protection measures on the system, pull out any software for whatever purpose you wish (provided you don't redistribute). That is more or less what that doc is saying.


because most of the things about legallty involve people making copies and making money on stuff


As I previously stated I don't like to associate the law with money. The law does not protect a being's money... it protects their rights.

As also has been previously mentioned, retro emulation is not directly damaging financially. It's true that Nintendo doesn't miss out on any NES cart sales when you pirate a SMB1 ROM, but that doesn't mean anything when it comes to whether or not that's illegal.


same for distributing mp3's and stuff, if they don't want us distributing the stuff... why make it so easy to rip them from CD's?


That is quite possibly the stupidest thing I have read all week.


If you ask me, its the government's fault

What is the government's fault? That piracy exists? That downloading ROMs is illegal?

It sounds like you're just ranting incoherently.


Well, they're illegal if you don't own the original board/ROM/disk/whatever


No... it's in how they're distributed. If I download an illegal copy of Toejam and Earl... it's illegal regardless of whether or not I own the cartridge. The site/wherever I got it from didn't have permission to distribute.

"must own the real cartridge to download"
"must delete within 24 hours"
"for educational purposes only"
and other moronic disclaimers do not reflect the law in any way, and are compeltely bogus.


because once you change the data, it's not the publisher's data anymore, it's yours


This is where you get into a grey area. Taking SMB3 graphics and putting them in a patch for SMB1 makes the patch just as illegal as the ROM, since it contains copyrighted images.

But assuming everything you put in a ROM is original content ... it could still be illegal if it was based on copyrighted content. Although like I said it's a very grey area. I can't speak in absolutes but I will say that ROM hacking is definatly not 100% legit.
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-19-05 08:44 PM, in Opening 4MB files...or well, have a seamless hex editor... Link
Originally posted by neotransotaku
Let's see if Java has an equivalent...



Oooh... no WONDER it was taking 10 seconds for a 256k file.
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-20-05 04:19 PM, in FF1 hacking? Link
I should mention my expansion info is not quite right... FF1 is already using MMC1's max PRG-size (unless you go with SUROM -- but that's a whole other ballpark).

It should be noted that if you want to expand FF1... you MUST* change the mapper. MMC3 (mapper 4) is a good candidate.

*(it's technically possible to keep MMC1 and use SUROM -- but it'd actually be more work than changing mappers)
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 12-21-05 01:07 PM, in Surprise!! Mario Seasons is Reborn Link
Originally posted by jman2050
I told you on IRC: make a metroid-style exploration game using this engine. Maybe something more akin to games like Goonies 2 and the like.


Yes

Yes

The world needs more games like Goonies 2


But with SMB? I dunno....
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 01-03-06 12:14 AM, in whats a reasonable language for hacking Link
Originally posted by BGNG
the same thing can be done by dividing or multiplying by an exponent of two.


I felt I should bring up that this work will only work with unsigned values. Granted values will usually be unsigned when working on an editor or something... but I still feel it's worth mentioning.

Example: -1 >> 1 == -1
whereas: -1 / 2 == 0
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 01-06-06 01:19 PM, in Crystalis. Driving me crazy! Link
Crystallis is just generally a graphically glitchy game. The status bar flicker and talk box flicker is normal -- as the game actually did that on the NES. The discolor thing sounds like attribute table runoff (also apparent in SMB3) -- which is normal NES behavior (any game which scrolls horizontally with horizontal mirroring will display at least a bit of that discoloration)

So this is not an emu problem. Crystallis is just really ugly. The emus you're using are likely doing things properly.
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 01-06-06 05:13 PM, in If you hack roms.... (questions) Link
Originally posted by UZI in my pocket
ROMS are only Illegal if you don't own the original cardititage thing.


Owning the cartridge has nothing to do with it. If the copy is distributed illegally, then obtaining it is illegal. People distributing these ROMs do not have the legal authority to do so, therefore they are illegal to download.

EDIT -- I swear I'm dyslexic. Thanks Andrew


(edited by Disch on 01-06-06 08:24 PM)
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 01-06-06 09:30 PM, in If you hack roms.... (questions) Link
Originally posted by UZI in my pocket
Ive seen some ROM sites that say that.


They also say it's okay to try it for 24 hours and delete it and other nonsense that does not reflect the law in any way. Don't believe everything you read on the internet -- especially stuff from pirate sites.


Not as a result of the fact that they're distributed illegally, but more, well, because they say so.


My logic flows with copyright protection. The owner of the copyright is who has the say in how the item in question is to be distributed. If Nintendo wanted to freely distribute NES ROMs from their site, it would be perfectly legal for them... and for you to download and use them. The reason being they control the copyright.

3rd parties (ie: ROM sites) have no such control.

Although your point on distribution/posession being treated seperately does make a lot of sense. Perhaps I need to brush up on my understanding.
Disch

Red Cheep-cheep


 





Since: 12-10-05

Last post: 6187 days
Last view: 6187 days
Posted on 01-08-06 12:20 AM, in If you hack roms.... (questions) Link
Originally posted by Metal Knuckles
You said the government might track you, then followed up with saying that the police wouldn't track you. Honestly, that's contradicting right there.



There's more to the government than just the police. It's not necessarily contradictory.
Pages: 1 2 3 4 5 6 7 8 9 10 11
Acmlm's Board - I3 Archive - - Posts by Disch


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.220 seconds; used 454.93 kB (max 595.44 kB)