r/decomps

RecompOne Proof of Concept (PS1 Static Recompiler)
▲ 62 r/decomps+5 crossposts

RecompOne Proof of Concept (PS1 Static Recompiler)

Hello people, these past months ive been working on a static recompiler for PS1

Ive started learning more about CPUs and compilers in uni and fell in love with the topic, then recompilation really interested me and i started studying it and wanted to make something

i choose PS1 because since n64 is also mips i could use n64recomp as a reference on how they deal with some things, and also because i really think some ps1 games deserve native ports, and also because the only "recompiler" out there is ai generated =/

Talking about AI this recompiler is not ai generated, doesnt mean the code is good tho lol, but i tried my best to keep everything organized and legible

I managed to create a recompilation for Castlevania SotN as a proof of concept, it took a while until it was "playable" but rn im confident to say that the recompiler is at least usable, it still has a lot of bugs tho, it took about 3 months to get the actual code recompiler to work decently and the past 2 weeks i spent improving the runtime

I also managed to boot silent hill (it was a pain in the ass) but it still very broken at the moment

i do not consider the recompiler ready for "production", very far from that tbf, i still need to improve my rendering system to use an HLE renderer instead of an LLE (so you can increase the resolution and make game patches for stuff like different aspect ratios) and other features like an actual modding system and yada yada

and like n64Recomp this works using the files generated by an ongoing decomp, ive tried making an automatic function "sweeper" to find all functions but it is pretty bad and i dont think i will try pushing that further

Sorry my messy post im kinda tired today lol, i hope ya enjoy this project :3c

Repository: https://github.com/flafmg/RecompOne

Simple showcase video: https://www.youtube.com/watch?v=7IBgpdZGhFY

u/flafmg_ — 13 hours ago
▲ 9 r/decomps+1 crossposts

Sloppy Misleading Article Calls PC Ports Inferior

https://www.gameslearningsociety.org/can-you-play-super-mario-odyssey-on-pc/

This webiste also uses WordPress, and their comment submit page is broken and gives a 404, so I am going to reply here.

  1. Most well-known unofficial PC ports (not fan recreations like Super Mario Bros. Remastered) are ports created using the decompiled/reverse-engineered code of the game, as Nintendo's games, which are commercial, are not open source. This means that to decompile the files, lots of people spent years of their lives, and at the end, if you compile the obtained code, it traditionally must match the original game's file. PC ports based on this work can offer major technical improvements, such as higher resolutions, better framerates, widescreen support, improved input options, and modding support, often making them technically superior to the original versions. They are not automatically inferior just because they are unofficial. Even fan recreations, such as Super Mario Bros. Remastered, are widely considered superior to their original version, and people should stop hating on these just because they are unofficial, and instead think about the effort that went into them.
  2. Emulators themselves are not inherently illegal, and using a personally dumped copy is legally distinct from downloading ROMs, though laws vary by country and Switch dumping can involve anti-circumvention/ToS issues.
  3. Super Mario Odyssey is currently being decompiled, and it is plausible that it will be finished in the next few years. So, the claim is partially correct, as it is not coming in the near future. The writer(s) likely couldn't have known that at the time of this article's release. A game being fully decompiled, though, doesn't mean it will run on PC. A PC port would still require additional porting work after or alongside the decompilation. That said, a future PC port is likely if the decompilation progresses far enough and people choose to build one.
  4. The games listed in the table are not officially playable on PC, though the first two do have unofficial PC ports.
  5. "64-bit graphics" is not a thing. If referring to the console's CPU architecture, although the Nintendo 64 is a 64-bit console, Super Mario 64 is a 32-bit game like most N64 games. "8-bit" graphics has now become a term to describe an artstyle, but in reality, 8-bit refers to the architecture of the CPU of the device. An example would be the SEGA Master System, which was 8-bit, but had graphics most people associate with 16-bit devices.

TL;DR: This article is more misleading than helpful, and writers should do more research before putting out such an inaccurate article that even calls the outcome of years of work to conserve and improve iconic games inferior to the original.

u/Which-Taro5092 — 2 days ago
▲ 669 r/decomps+4 crossposts

Another Skate 3 native recompilation for Windows & Linux

Hi!

I'm aware of a similar recompilation effort from the last few days, but it just so happens that I was finishing up work on my own. I have now released version 1.0.

It is very stable, runs well at 4K unlocked FPS (165FPS at 4K on my 4090), and has builds for both Windows and Linux.

Try it out if you get a chance and be sure to give it a star if it worked well for you!

https://github.com/mchughalex/skate3recomp

u/competitivepebble — 4 days ago

How difficult is it to start helping with Decomps?

Finished Dusk and the two Ship of Harkinian decomps and just would enjoy getting more involved.

I was looking around and saw some startup guides, but wanted to get a temp check before I dive deep into getting stuff setup.

I took a coding bootcamp a while back, and have to code things for work occasionally. I wouldn't say I'm proficient, but at work I do look at code on occasion and debug things.

I've worked on Java projects, but never C (which is what i've mostly seen as the main language, but I may be wrong).

So helping with a Decomp like SSBM - would it be something I could actually make helpful additions to in a reasonable amount of time, or is it something that would take months to get to enough of an understanding to start making helpful contributions?

reddit.com
u/Theseus_Employee — 6 days ago
▲ 72 r/decomps+3 crossposts

Looks like the touhou 6 recompilation is already starting to bear fruit! Native Touhou 6 android port has reached a stable beta state!

The apk file DOESN'T come bundled with eosd files (it isn't piracy since the link doesnt have the touhou files) , you still need to get the normal windows game's files into your phone via copying a eosd installation into a readable folder for the app in order for it to run, but after that it's smooth sailing.

The video shows how it works and in-game footage

Includes gamepad support (as far as some comments suggested and my tests went)

youtu.be
u/Im_dumb_fat_and_lazy — 7 days ago
▲ 22 r/decomps

Currently working with a Dev to get Unreal Championship 2 unfinished PC port working.

If anyone is interested in testing message the guy on telegram. Hoping to see an android port one day 🙏

reddit.com
u/Expert_Function1569 — 6 days ago
▲ 6 r/decomps+1 crossposts

dusklight blackscreen on bootup

hello everyone, i hope this is the correct sub for my problem. i wanted to play dusklight on pc (windows 11) but everytime i try to launch it i just get a blackscreen and nothing happened even after waiting for a while. i really dont know what to do and im hoping someone here could help me figure this out

reddit.com
u/saiboton — 5 days ago