Herringway / earthbound

attempt at decompiling+porting earthbound
31 stars 7 forks source link

how do you run this decomp port? #81

Open broman2323 opened 1 year ago

broman2323 commented 1 year ago

how do i run this port of earthbound?

Herringway commented 1 year ago

Sorry, it's still a long way from being playable

Anonymous941 commented 1 year ago

@Herringway How do you run it for development purposes? The issues seem to indicate it can run, even if it's nowhere near playable.

Herringway commented 1 year ago

Things are still very much in flux. But right now, the process is similar to https://github.com/Herringway/ebsrc/ - the assets must be extracted from an earthbound ROM and placed in the right location. from there, compiling can be done with dub build :sdl in the repo directory, with the binary being placed in the sdl dir.

Anonymous941 commented 1 year ago

I've made a PR with a README telling these instructions, so people won't be confused in the future.

broman2323 commented 1 year ago

since ive ripped the rom stuffs which directory is it

Anonymous941 commented 1 year ago

It should be in the SDL directory.

Herringway commented 1 year ago

ebbinex is no longer used to extract data. all you need is an earthbound rom named earthbound.sfc in the same dir as the exe now

Anonymous941 commented 1 year ago

@Herringway I've tried that, it's not extracting anything. I need to put the data folder in the same directory and rename text_data to text.

Herringway commented 1 year ago

Your copy is out of date

Anonymous941 commented 1 year ago

Oh right, I forgot the rate at which this project is changing. It's working now, and finally builds flawlessly on Linux

jbmanlol commented 1 year ago

i can not even open the program just shows the cmd prompt then exits afterwards

Anonymous941 commented 1 year ago

You have to place earthbound.sfc in the same folder. If that fails, open the command prompt and run the executable and you can see the reason it's not opening. Although even if you get it working, it crashes constantly because it's not finished. It's currently impossible to get past the first scene without the debug menu, but every day this project gets more and more stable.

jbmanlol commented 1 year ago

what folder?

Anonymous941 commented 1 year ago

Sorry, I forgot there's no pre-compiled version. Here's a step-by-step process for Windows (macOS is easier and Linux is the easiest):

  1. Install git for Windows and DMD
  2. Open the command prompt
  3. Copy-paste these commands:
    git clone https://github.com/Herringway/earthbound
    cd earthbound
    cd sdl
    explorer .
    cd ..
  4. Get an EarthBound ROM, rename it to earthbound (earthbound.sfc if you show file extensions) and copy it to the folder that just popped up
  5. Go back to the Command Prompt and run dub build :sdl
  6. Open the explorer window again and double-click on the .exe file that should have been made

Again, it's not finished, and it will be much easier to run it once it's completed. It also has a massive amount of bugs, so it will crash before you can even get Porky in your party.