Please add .UNF extension to the list of allowed files

Found an issue with the phpBB system here at NESdev? Use this forum to report problems.

Moderator: Moderators

socram8888

Please add .UNF extension to the list of allowed files

Post by socram8888 »

.NES is allowed, so I think .UNF should be allowed too.
tepples
Posts: 22796
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Please add .UNF extension to the list of allowed files

Post by tepples »

I've added .unf extension and a few others. Now I need a ROM that plays "The Terrible Secret of Space", called "pak_chooie.unf".
socram8888

Re: Please add .UNF extension to the list of allowed files

Post by socram8888 »

Thank you tepples :)
User avatar
Dwedit
Posts: 5021
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: Please add .UNF extension to the list of allowed files

Post by Dwedit »

How about adding .IPS next?
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
tepples
Posts: 22796
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Please add .UNF extension to the list of allowed files

Post by tepples »

For extensions in a category that did not exist, I first have to add the category ("Patch files"). What other patch formats in this category are desired?
User avatar
Dwedit
Posts: 5021
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: Please add .UNF extension to the list of allowed files

Post by Dwedit »

IPS, UPS, XDELTA, BPS, anything else?
As for what is actually used, IPS is by far used the most, since many patches don't need to move data around.

edit: List of all patching tools from Romhacking.net: http://www.romhacking.net/?page=utiliti ... lsearch=Go

File extensions:
.ips
.xdelta3
.bps (beat)
.bdf (bdiff)
.pat/.ffp (fileflower patch)
.ups
.ppf (playstation patch format)
.jfp (just F patch)
.rup (NINJA patch)
.gdiff
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
User avatar
koitsu
Posts: 4201
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: Please add .UNF extension to the list of allowed files

Post by koitsu »

I've added support for these extensions, under the extension group called "Patch Files".

Attached a test .ips file just as proof.
Attachments
MRTYI Demo.ips
(411.4 KiB) Downloaded 797 times
User avatar
rainwarrior
Posts: 8756
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: Please add .UNF extension to the list of allowed files

Post by rainwarrior »

Can I request the .py file extension? I use python to build simple tools for working with NES code sometimes and they might be helpful to share. (Is there a security risk with .py or is everything just disallowed by default?)
tepples
Posts: 22796
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Please add .UNF extension to the list of allowed files

Post by tepples »

is everything just disallowed by default?
Correct; it's a whitelist. But py.zip should be fine because it sees only the extension of the outermost container.
User avatar
koitsu
Posts: 4201
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: Please add .UNF extension to the list of allowed files

Post by koitsu »

Rephrased: the forum software only looks at everything past the last dot found in the filename. ("Container"? Damn Python freaks... ;P) And yes, by default nothing is permitted. I can't find a good screenshot of the control panel that controls this (all the stuff I find is either outdated or obfuscated or in a foreign language) else I'd show you and you'd understand the UI/model a bit better.

I've added the following extensions as permissible:

.py
.php
.bmp
.dmg
.lha
.lzh
User avatar
rainwarrior
Posts: 8756
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: Please add .UNF extension to the list of allowed files

Post by rainwarrior »

Thanks!
User avatar
rainwarrior
Posts: 8756
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: Please add .UNF extension to the list of allowed files

Post by rainwarrior »

Could you add .nesproject files for NESICIDE?
User avatar
cpow
NESICIDE developer
Posts: 1097
Joined: Mon Oct 13, 2008 7:55 pm
Location: Minneapolis, MN
Contact:

Re: Please add .UNF extension to the list of allowed files

Post by cpow »

rainwarrior wrote:Could you add .nesproject files for NESICIDE?
Beat me to it. :beer:
tepples
Posts: 22796
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Please add .UNF extension to the list of allowed files

Post by tepples »

Is there a spec for .nesproject files? I'm trying to find why not to just zip them.
User avatar
koitsu
Posts: 4201
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: Please add .UNF extension to the list of allowed files

Post by koitsu »

I've added .nesproject (for Tepples: I added it to "Downloadable Files" because it's the only description/section/behaviour that makes the most sense for what it is. I didn't want to add it to Plain Text, etc...)
Post Reply