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 » Mon Dec 23, 2013 2:04 pm

.NES is allowed, so I think .UNF should be allowed too.

tepples
Posts: 21749
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 » Mon Dec 23, 2013 2:31 pm

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 » Tue Dec 24, 2013 4:45 am

Thank you tepples :)

User avatar
Dwedit
Posts: 4236
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

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

Post by Dwedit » Sat Jan 04, 2014 11:53 am

How about adding .IPS next?
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!

tepples
Posts: 21749
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 » Sat Jan 04, 2014 11:56 am

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: 4236
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

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

Post by Dwedit » Sat Jan 04, 2014 12:51 pm

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: 4215
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 » Sat Jan 04, 2014 1:33 pm

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 495 times

User avatar
rainwarrior
Posts: 7669
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 » Mon Mar 24, 2014 5:59 am

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: 21749
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 » Mon Mar 24, 2014 6:04 am

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: 4215
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 » Mon Mar 24, 2014 9:08 am

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: 7669
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 » Mon Mar 24, 2014 12:04 pm

Thanks!

User avatar
rainwarrior
Posts: 7669
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 » Fri May 02, 2014 7:47 am

Could you add .nesproject files for NESICIDE?

User avatar
cpow
NESICIDE developer
Posts: 1089
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 » Fri May 02, 2014 8:49 am

rainwarrior wrote:Could you add .nesproject files for NESICIDE?
Beat me to it. :beer:

tepples
Posts: 21749
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 » Fri May 02, 2014 10:45 am

Is there a spec for .nesproject files? I'm trying to find why not to just zip them.

User avatar
koitsu
Posts: 4215
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 » Fri May 02, 2014 10:46 am

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