News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Reverse  (Read 4064 times)

rainbwsprinklez

  • Jr. Member
  • **
  • Posts: 24
  • Anything is possible :)
    • View Profile
Reverse
« on: June 13, 2017, 01:12:45 pm »
Is it possible to flip horizontally the output of a ROM? I want to make a ROM hack that is mirrored....  I realize I will have to swap left and right too... but is this possible? Seems relatively easy

June 13, 2017, 01:19:54 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
i'm new to hacking btw
« Last Edit: June 13, 2017, 01:19:54 pm by rainbwsprinklez »
Anything is possible :)

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 6894
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: Reverse
« Reply #1 on: June 13, 2017, 02:35:21 pm »
You mean you want to horizontally flip the screen?
Making an emulator mod would probably be easier, in relative terms.

Sure you can "flip a ROM"... if you want to reprogram absolutely everything related to the graphics, and probably hit detection and so on. :P
"My watch says 30 chickens" Google, 2018

nesrocks

  • Hero Member
  • *****
  • Posts: 588
    • View Profile
    • nesrocks.com
Re: Reverse
« Reply #2 on: June 13, 2017, 02:37:34 pm »
There is a windows program that mirrors areas on the screen. But I agree emulators should have this built in, it's an interesting and easy to implement feature. Hacking the game on the other hand is a lot of work.

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1203
    • View Profile
Re: Reverse
« Reply #3 on: June 13, 2017, 02:47:19 pm »
This is something I would really want to see getting applied to a ROM like Super Mario Bros.
So that we can finally have a romhack with the full-experience of Super Luigi Bros. from NES Remix.

darkmoon2321

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Reverse
« Reply #4 on: June 13, 2017, 03:00:48 pm »
I've seen another project on this site recently that achieved this:

http://www.romhacking.net/forum/index.php?topic=24043.0

I would wager that it is actually quite a bit of work to make hacks like this though.

rainbwsprinklez

  • Jr. Member
  • **
  • Posts: 24
  • Anything is possible :)
    • View Profile
Re: Reverse
« Reply #5 on: June 13, 2017, 03:04:38 pm »
My ultimate desire is to flip a game of dkc so it could be run on an SD2SNES.... lots of legwork?
Anything is possible :)

Mugi

  • Sr. Member
  • ****
  • Posts: 297
  • Personal text
    • View Profile
    • Blacklabel-translations
Re: Reverse
« Reply #6 on: June 13, 2017, 04:28:06 pm »
didn't someone recently make this for donkey kong country..?

...yup: http://www.romhacking.net/forum/index.php?topic=24043.0
In PSP we trust.

rainbwsprinklez

  • Jr. Member
  • **
  • Posts: 24
  • Anything is possible :)
    • View Profile
Re: Reverse
« Reply #7 on: June 13, 2017, 09:00:05 pm »
didn't someone recently make this for donkey kong country..?

...yup: http://www.romhacking.net/forum/index.php?topic=24043.0

yes and no. It is not a TRUE reverse as you start at the end of levels and still run right. What I want to do is still start at the beginning but work my way left.
Anything is possible :)

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1203
    • View Profile
Re: Reverse
« Reply #8 on: June 13, 2017, 10:51:10 pm »
yes and no. It is not a TRUE reverse as you start at the end of levels and still run right. What I want to do is still start at the beginning but work my way left.

Exactly like this:
https://www.youtube.com/watch?v=J88x08QZTGo

I wish such a hack would exist for the original SMB :(
It  seems like such a good challenge mode for the original and I'd play it constantly.

nesrocks

  • Hero Member
  • *****
  • Posts: 588
    • View Profile
    • nesrocks.com
Re: Reverse
« Reply #9 on: June 13, 2017, 11:00:57 pm »
Again, if you run windows you can play almost any game mirrored, just use the program that mirrors a portion of the screen. I forgot what the name is now, but google is your friend.
Here, a topic I made 4 years ago on the same issue http://tasvideos.org/forum/viewtopic.php?t=13722
Apparently mame already has this feature.
Oh I didn't even remember feos already patched bizhawk for this. It is perfect because it emulates so many platforms. I wonder if it became a standard feature.
edit: oh well the file was deleted (bizhawk). But the mirror program exists http://users.on.net/~rsobon/?page=mirrorimage&downLink=bin%2Fmirrorimage.zip&name=Mirrorimage
edit2: I tested mame on mameuifx and it has vertical and horizontal mirroring.
« Last Edit: June 14, 2017, 01:45:50 pm by nesrocks »

rainbwsprinklez

  • Jr. Member
  • **
  • Posts: 24
  • Anything is possible :)
    • View Profile
Re: Reverse
« Reply #10 on: June 14, 2017, 10:01:27 am »
Again, if you run windows you can play almost any game mirrored, just use the program that mirrors a portion of the screen. I forgot what the name is now, but google is your friend.

Again, I want something that can be run on console :P Also, that is fine for ME but for distribution? i don't think so
Anything is possible :)

rainbwsprinklez

  • Jr. Member
  • **
  • Posts: 24
  • Anything is possible :)
    • View Profile
Re: Reverse
« Reply #11 on: June 14, 2017, 10:08:50 am »
Anything is possible :)

nesrocks

  • Hero Member
  • *****
  • Posts: 588
    • View Profile
    • nesrocks.com
Re: Reverse
« Reply #12 on: June 19, 2017, 02:50:40 am »
I'm curious why would you be worried about distribution?

rainbwsprinklez

  • Jr. Member
  • **
  • Posts: 24
  • Anything is possible :)
    • View Profile
Re: Reverse
« Reply #13 on: June 21, 2017, 06:15:15 pm »
Um, well I want to SHARE my hack so others can play it
Anything is possible :)

SCO

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Re: Reverse
« Reply #14 on: June 22, 2017, 02:57:48 am »
Maybe retroarch can accept a shader + option (to invert controller and pointer coordinates x axis) that does this as a contribution? Sounds easy and compatible with multiple emulators.

However, obviously this is mostly cosmetic, not like a true hack 'starting from the end to the beginning' etc. OTOH, it wouldn't break games progression and would be enough to give the illusion of novelty for a while in already memorized games.

You should open a request for enhancement, i think it wouldn't be closed.

edit: nvm, i did it.

edit: doooh, forgot about text and reading. Mirror text was what Leonardo Da Vinci used as a poor attempt to i don't know what (obfuscation??) so it might be fun.
« Last Edit: June 22, 2017, 03:40:13 am by SCO »

nesrocks

  • Hero Member
  • *****
  • Posts: 588
    • View Profile
    • nesrocks.com
Re: Reverse
« Reply #15 on: June 22, 2017, 09:20:05 am »
Um, well I want to SHARE my hack so others can play it
Well then get to work. I thought you just wanted to play it.

rainbwsprinklez

  • Jr. Member
  • **
  • Posts: 24
  • Anything is possible :)
    • View Profile
Re: Reverse
« Reply #16 on: June 25, 2017, 07:43:42 pm »
You should open a request for enhancement, i think it wouldn't be closed.

edit: nvm, i did it.

I'm sorry, I'm a noob lol. What's enhancement?

June 25, 2017, 07:45:13 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
You should open a request for enhancement, i think it wouldn't be closed.

edit: nvm, i did it.

I'm sorry, I'm a noob lol. What's enhancement?
Anything is possible :)

SCO

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Re: Reverse
« Reply #17 on: June 26, 2017, 06:07:47 pm »
I meant that since this is actually pretty easy to do on a emulator, you could ask for a 'feature' for it on retroarch. And then i asked myself.


In comparasion to a dedicated game hack, the main problem is that flipping the image also mirrors text, so all text is 'unreadable' (well, Leonardo da Vinci wrote and read like this, so not really, with practice).

The advantages are great though, including using it on any game that RA cores support (many many games)

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1203
    • View Profile
Re: Reverse
« Reply #18 on: June 26, 2017, 07:21:00 pm »
I meant that since this is actually pretty easy to do on a emulator, you could ask for a 'feature' for it on retroarch. And then i asked myself.


In comparasion to a dedicated game hack, the main problem is that flipping the image also mirrors text, so all text is 'unreadable' (well, Leonardo da Vinci wrote and read like this, so not really, with practice).

The advantages are great though, including using it on any game that RA cores support (many many games)
Flipping the text is the least of worries, mirroring the text tiles would suffice.
Tile Layer Pro has that feature to mirror tiles, I assume other yile editors do.

SCO

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Re: Reverse
« Reply #19 on: June 26, 2017, 10:07:08 pm »
Yeah, good point, for some platforms that use text bitmaps. It's just that its frustrating to get to 90% of a elegant solution and then have to drop down to hacks. Still better than caring about coordinates and doing it all by hand ofc.

I hope the retroarch guys take the single day it would take to code this option. Doesn't seem like a maintenance burden...

June 26, 2017, 11:35:12 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
Seems like they don't want to implement it - called it 'niche' and said it was easy for a user to do it themselves (aha, programmer skewed perspective). Anyway, if you want this there, your best chance is doing it yourself and sending a pull request.
« Last Edit: June 26, 2017, 11:35:12 pm by SCO »