Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux ISO Compilation Instructions #20

Open
ghost opened this issue Jul 8, 2021 · 0 comments
Open

Linux ISO Compilation Instructions #20

ghost opened this issue Jul 8, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 8, 2021

Linux ISO Compilation Instructions

I use Ubuntu so there might have to be some slight tweaking for other distros but this should cover most. Feel free to put this in the instructions section. I doubt many people will need this but for those that do it's here.

  1. Open terminal and install Wine and xDelta3. Wine helps run Windows stuff on Linux which we will need for the .bat and xDelta3 will let you run the xdelta executable.

     sudo apt install xdelta3 wine64
    
  2. Change directories to be inside the "TM ISO Builder/Windows" folder wherever you have that folder located. You should see the .bat, instructions.txt, and the xdelta.exe files there.

  3. Place your vanilla melee iso into this folder. Rename it something simple. I named mine "Melee.iso"

  4. Make a backup of the "Drag Melee v1.02 ISO Here.bat" file.

     cp Drag\ Melee\ v1.02\ ISO\ Here.bat Drag\ Melee\ v1.02\ ISO\ Here.bat.bak
    
  5. Open the "Drag Melee v1.02 ISO Here.bat" file with your text editor of choice.

     vim Drag\ Melee\ v1.02\ ISO\ Here.bat
    
  6. Change the line

     xdelta.exe -d -f -s %1 "../patch.xdelta" "Training Mode v2.0 Beta 3.iso"
    

    To match the line below (the "%1" tells the .bat to use the file dropped on it, which you can't do on Linux. So we have to tell it what file to use).

     xdelta.exe -d -f -s Melee.iso "../patch.xdelta" "Training Mode v2.0 Beta 3.iso"
    
  7. Change permissions on the .bat file and the xdelta.exe to be executable.

     chmod a+rx Drag\ Melee\ v1.02\ ISO\ Here.bat
     chmod a+rx xdelta.exe
    
  8. Run the command below

     sudo wineconsole Drag\ Melee\ v1.02\ ISO\ Here.bat
    
  9. A Windows like terminal should show up and the file should start processing. Once completed the compiled iso should be in your folder.

Hope this helps anyone using Linux that wanted to compile this iso.

Hunter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants