earthpigg
February 15th, 2009, 09:55 PM
Editing this post to contain directions that work. The directions work on both the demo and the full game (which i purchased shortly after playing hte demo :guitar:)
This is how to repackage the World of Goo demo (or any other i386 deb) for amd64.
i took the directions from here (http://ubuntuforums.org/showthread.php?t=962835) and modified them.
this quote is from that thread, but modified so it applies to changing an i386 deb to an amd64 one.
I am reposting this with more visibility. You can easily repackage any i386 deb outside the repos into an amd64 one. The reason you want amd64 packages instead of forcing the i386, is that while the former will show up as an installed package on synaptic, the later won't, so good luck uninstalling it. For example here's the directions to convert the stock i386 package for the World of Goo demo into an amd64 package:
1. Download the deb version of the World of Goo demo here (http://worldofgoo.com/dl2.php?lk=demo).
2. Use the Archive manager to uncompress it. Alternatively, right click on the deb package and select "extract here"
3. Rename the uncompressed folder to "goo64" or whatever you want.
4. Open the folder
5. There are 3 files. remove the "debian-binary" file
6. Decompress "control.tar.gz". There are tree files in it.
7. Make a folder "DEBIAN" in the main folder, and placed the 3 files you just decompressed inside it.
8. Open one of the files inside DEBIAN, "control". Change the line "Architecture: i386" into "Architecture: amd64" (this is the key step of this process)
9. Open the other archive "data.tar.gz". There is a folder "." inside. Open it (double click). Select both the folders (usr and opt) and select uncompress.
10. Remove the files "control.tar.gz" and "data.tar.gz"
11. You should now have your main folder with the following inside:
DEBIAN folder with tree text files in it (control, postinst, and postrm); a "usr" folder and an "opt" folder.
12. You are now ready to prepare your amd64 deb folder.
13. From the command line, go to the folder that contains your main goo64 folder you just prepared (again, you can name the folder whatever you want. i chose goo64).
14. type: dpkg --build goo64
15. Your deb package is ready. Double click on it and follow instruction. After installation it should appear in Synaptic, and from there you can remove it at any time.
16. Enjoy!!!
This is how to repackage the World of Goo demo (or any other i386 deb) for amd64.
i took the directions from here (http://ubuntuforums.org/showthread.php?t=962835) and modified them.
this quote is from that thread, but modified so it applies to changing an i386 deb to an amd64 one.
I am reposting this with more visibility. You can easily repackage any i386 deb outside the repos into an amd64 one. The reason you want amd64 packages instead of forcing the i386, is that while the former will show up as an installed package on synaptic, the later won't, so good luck uninstalling it. For example here's the directions to convert the stock i386 package for the World of Goo demo into an amd64 package:
1. Download the deb version of the World of Goo demo here (http://worldofgoo.com/dl2.php?lk=demo).
2. Use the Archive manager to uncompress it. Alternatively, right click on the deb package and select "extract here"
3. Rename the uncompressed folder to "goo64" or whatever you want.
4. Open the folder
5. There are 3 files. remove the "debian-binary" file
6. Decompress "control.tar.gz". There are tree files in it.
7. Make a folder "DEBIAN" in the main folder, and placed the 3 files you just decompressed inside it.
8. Open one of the files inside DEBIAN, "control". Change the line "Architecture: i386" into "Architecture: amd64" (this is the key step of this process)
9. Open the other archive "data.tar.gz". There is a folder "." inside. Open it (double click). Select both the folders (usr and opt) and select uncompress.
10. Remove the files "control.tar.gz" and "data.tar.gz"
11. You should now have your main folder with the following inside:
DEBIAN folder with tree text files in it (control, postinst, and postrm); a "usr" folder and an "opt" folder.
12. You are now ready to prepare your amd64 deb folder.
13. From the command line, go to the folder that contains your main goo64 folder you just prepared (again, you can name the folder whatever you want. i chose goo64).
14. type: dpkg --build goo64
15. Your deb package is ready. Double click on it and follow instruction. After installation it should appear in Synaptic, and from there you can remove it at any time.
16. Enjoy!!!