Romhacks with BPG files

discussion about anything that needs to go here: https://sourceforge.net/p/quickplay/_li ... rce=navbar
FabioAreia
Posts: 6
Joined: Sat Dec 31, 2016 3:08 pm

Romhacks with BPG files

Post by FabioAreia » Sat Dec 31, 2016 3:10 pm

Can you suport bpg files like you suport ips files?
User avatar
butter100fly
Posts: 74
Joined: Fri Apr 29, 2016 8:13 am

Re: Romhacks with BPG files

Post by butter100fly » Mon Jan 02, 2017 7:34 pm

Hey Fabio

Can you elaborate pls? I'm guessing you don't mean Better Portable Graphics? I never really used IPS files myself so I'd have to look into how it works, details would really help
FabioAreia
Posts: 6
Joined: Sat Dec 31, 2016 3:08 pm

Re: Romhacks with BPG files

Post by FabioAreia » Wed Jan 04, 2017 12:17 am

No
BPS is an alternative file format

An example of hack in BPG file.
https://www.smwcentral.net/?p=section&a ... s&id=14812
User avatar
butter100fly
Posts: 74
Joined: Fri Apr 29, 2016 8:13 am

Re: Romhacks with BPG files

Post by butter100fly » Wed Jan 04, 2017 8:03 am

Ok - so that tells me its a way to apply a romhack to a rom, and gives me an example file. But I don't know anything else (romhacks have never been my thing, sorry...lots of other things ARE my thing...).

So can someone give me more information, stuff like:
* What systems is the file format for? Is this the one that's only for SMB on the SNES?
* how do you know what rom to apply the BPG to? Say SMB has hundreds of roms in a goodset? So does a PBG say what rom it applies to? In which naming format?
* how do you apply the hack to a rom? How does the process compare to applying an IPS? Can you talk me through applying one in full?
FabioAreia
Posts: 6
Joined: Sat Dec 31, 2016 3:08 pm

Re: Romhacks with BPG files

Post by FabioAreia » Wed Jan 04, 2017 2:07 pm

BPS is an alternative to IPS format.

I use a lot of quickplay feature "Link IPS to rom" where quick play make a temporary patch rom when i "launch ips game"
I ask you to make this feauture avaible to BPS too

You can get more information about *.BPS here
http://www.romhacking.net/utilities/893/
User avatar
butter100fly
Posts: 74
Joined: Fri Apr 29, 2016 8:13 am

Re: Romhacks with BPG files

Post by butter100fly » Sun Jan 08, 2017 12:32 pm

I read that but it didn't help me much. So what systems is BPG for? Is it permissable to allow any system to have a BPG, like is the case with IPS in Quickplay now? (atm any file that has a romdata entry can have an IPS entry in its row in a romdata.dat)

I must admit i've never looked into how IPS works, HOW is a patch file made when you launch a rom? Surely you need a third-party to patch a rom ie: a program capable of understanding both the system rom format and the patch format, or is it just a mathematical operation on a file?

If it is a standard operation on a file, would it work for quickplay to use EXACTLY the same process to apply BPG's as it does IPS ie: If I relax the rules for running IPS files (which I imagine specifies that they must end with .ips) to end in either .bpg or .ips, would that work? Maybe you can test this yourself and tell me - if you pretend that a PBG is an IPS can you make quickplay run it successfully currently? If not, can you tell me what I would have to do to apply a BPG to a rom and why that is different to patching a rom with an IPS?
FabioAreia
Posts: 6
Joined: Sat Dec 31, 2016 3:08 pm

Re: Romhacks with BPG files

Post by FabioAreia » Tue Jan 10, 2017 12:58 am

No the structure of file is very diferent (its a total diferent algorithm)
https://gist.github.com/anonymous/bd56f ... d681828040
User avatar
butter100fly
Posts: 74
Joined: Fri Apr 29, 2016 8:13 am

Re: Romhacks with BPG files

Post by butter100fly » Fri Feb 10, 2017 10:44 am

Ok I see - Can you tell me what I would have to do to make QuickPlay support these then? Is there some third party tool that does the patching? Why doesn't IPS patching require such an external tool?

I've added a ticket here: https://sourceforge.net/p/quickplay/fea ... quests/55/ but as much information as possible from anyone who understands this domain would be really appreciated, as I don't have a clear idea in my head of what work i'd need to do to support this?
User avatar
butter100fly
Posts: 74
Joined: Fri Apr 29, 2016 8:13 am

Re: Romhacks with BPG files

Post by butter100fly » Wed Mar 22, 2017 8:35 am

Thanks for the info

So I read here: https://www.smwcentral.net/?p=viewthrea ... 3#p1399053

and it says that .bps files are Binary Patch System files that are used for SMW hacks on the SNES, and it say that once you've created a patch file yourself with Flips, many SNES emulators will natively load the .bps file. So that (effectively) means that .bps is just another filetype for SNES roms.

So my first suggestion is simply add .bps to the supported filetypes of "Nintendo SNES' in Quickplay via the General Options menu (or manually include *.bps files in the dialog box when when you 'Search For Roms', and bingo! You can do this yourself right now, and I can add it to the defaults for SNES so all users will have that as a default.

Happy?
Post Reply