Language…
21 users online: aka_Raccoon,  Alex, Allanbrou2, BearAndBoarFan, Conal, E-man38, Gregor, HengShao,  icrawfish, Jacko,  JamesD28, MarsAmpere, Romano338, Shiki_Makiro, slopcore, Steffi4689, TheCrazyBuzzyBeetle, TheSorrow, UTF, VinylHeart, Zavok - Guests: 80 - Bots: 866
Users: 55,024 (2,220 active)
Latest user: biblicaldemoman

ROMclean

Tools → ROMclean

Submission Details

Name: ROMclean
Author: Alcaro
Added:
Version History: View
Operating System: Windows, Linux
Platforms: SNES
Games: SMW
Source Available: Yes
Featured: Yes
Website: None
Description: This tool checks if your ROM is a clean, headered (U) [!] ROM, suitable for use here. If it's unclean, it tries to clean it.

If you prefer not downloading anything, try this.
Tags: clean
Comments: 38 (jump to comments)
Rating:
4.7 (27 ratings)
No rating
Download 8.50 KiB | 34,480 downloads

Comments (38)

foxsouns Link
Originally posted by Pixels
JS version no longer works due to HTTPS for download.js website being broken. Can be fixed by going to http://danml.com/js/download.js and just ctrl-a ctrl-c on the JS, and then ctrl-v into the developer console on the ROMClean html.
(Don't do this on Wi-Fi you don't trust though, obviously.)


js version works now for any 2022'ers in the forum. just wanted to LYAK
Lanausse Link
Nice!
CapnClown Link
how to I even use use this, is there a tutorial somewhere?

oderjunks Link
11/10
BrandoGaming Link
Yes! Now I have a clean rom that I can use!
Pixels Link
JS version no longer works due to HTTPS for download.js website being broken. Can be fixed by going to http://danml.com/js/download.js and just ctrl-a ctrl-c on the JS, and then ctrl-v into the developer console on the ROMClean html.
(Don't do this on Wi-Fi you don't trust though, obviously.)
damy2 Link
Thanks
galladegamer Link
I DON'T UNDERSTAND IT! I CAN'T EVEN PLACE A ROM ANYWHERE!
J.R. Link
I ❤️ hacking
Haydee Link
Great tool used it multiple times. Thanks 5/5
Okey Link
Wow, this made cleaning a file look so easy!
cosmo Link
Wow, that was really fast. It seems to be working on my machine also.
randomdude999 Link
There, I Erik uploaded the fixed version. Seems to work fine on my machine now.
randomdude999 Link
@cosmo: That problem can't exist on windows because that code is in a #ifndef _WIN32. Good catch though. It appears that someone (Alcaro?) replaced the call to gets (which someone complained about) with fgets in ~August 2018 without testing the fix, and fgets does include the terminating newline, unlike gets.
cosmo Link
A very useful tool. But it doesn't work in Linux as expected. When run without the filename in the command line, it fails every time.
I did find a fix though, that only requires adding one line to the cpp file. Here is a patch file that I made to add this line, all you need to do is run the following before compiling the program,
Code
patch romclean.cpp romclean.patch

and that will fix the problem. I don't have a Windows machine set up right now, so I don't know if it will work there, or even if the problem exists in Windows.

It has been fixed
meesutje Link
#smrpg{argh}
Chipmunkboy2 Link
Good tool, I like how you can not download it and just use it in your browser. I would like the features in the .exe to be added to the browser version. Other than that, this is a useful tool and would definitely recommend it to a friend if they weren't sure if their SMW ROM was clean. - 5/5
Muki Link
It's a very useful tool.
djb1024 Link
This tool no longer compiles on Linux. It says that "gets" was not declared. Looked up the error and everything I'm finding is saying "gets" is deprecated and should never ever be used under any circumstances. I used this in the past and it worked great, but it would be great if this was fixed.
nyanpasu64 Link
Uh how do I undo my vote?
KBY30 Link
@TheBiob
but what if you can't find an .smc to save your life?

EDIT: Never mind. The .exe file creates a .smc file out of an .sfc file.
TheBiob Link
.sfc isn't as compatible as .smc so you're better off using a .smc file
SteveGamer68 Link
I check my original ROM (cleaned) and it still create a clean file but the extension is .smc not .sfc (I use .sfc extension)
And my .sfc is deleted :(
lucassouce215 Link
says [bad checksum] LoROM, corrupt, ROM, NTSC,
lucassouce215 Link
says [bad checksum] LoROM, corrupt, ROM, NTSC,
 MarioFanGamer Link
Originally posted by Rod
Says Virus

A false positive. SMWC has got guidelines to not upload viruses or any other malware. People who did it get punished pretty hard with the tool being deleted, obviously. It's also highly unlikely that a mod (deliberately) uploads a virus and Alcaro is one.
 Rod Link
Says Virus
scaryslender18 Link
Thank you! Very useful.
h.carrell Link
why can't i clean my rom when it is in a huge size
Alcaro Author Link
Leftover from when it did like Asar and asked for filenames if it wasn't given one already.
 Vitor Vilela Link
Nice unused static bool interactive=false; :P
MrMartley64 From older version: ROMclean Link
Could it work on SM64 roms?
RiVaL_SMW From older version: ROMclean Link
Thank you!! I was trying to use IPS patches from this site but it always resulted in corrupted Roms. Turns out my Rom wasn't "clean" because after using this tool, it worked fine. Thanks!
Polak23p From older version: ROMclean Link
Thank you!
Alcaro Author Link
Now uses Windows native file dialogs instead of demanding filenames via command line.
HammerBrother Link
What are the changes?
Alcaro Author From older version: ROMclean Link
Works fine on weird systems if you've got a compiler. If not, use Wine.
poodle448 From older version: ROMclean Link
Mac port?