Did you try SGDK_wine? #4
Replies: 6 comments 6 replies
-
Amazing. Works on a Chromebook! Model CB3-431 (Acer Chromebook 14)
Note: I have Java runtimes installed from previous experiments building the SGDK toolchain from scratch (failed), testing against SGDK 1.51 downloaded as part of the gendev runtimes (okay, but wanted 1.60). Good job, by the way, I'm a happy coder. |
Beta Was this translation helpful? Give feedback.
-
1 Script works perfectly! Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi, I'm on Linux Mint 20.2 and I'm having issues. I should mention that I'm still fairly new to Linux, so keep that in mind, but on your second line |
Beta Was this translation helpful? Give feedback.
-
I'm using it every day and it works well so far, I'm on Ubuntu 22.10 (64 bits), I have the latest version of sgdk_wine and the latest version of SGDK(1.8). Thanks for this script, it's really helpful, I didn't see myself running a VM just for SGDK. One thing I noticed is that the script won't see the changes I made in the sprites / tiles (width / height / colors for example), if I don't edit the resources.res first. |
Beta Was this translation helpful? Give feedback.
-
Hi folks. I am using Linux Mint (Linux Mint 21.1 Cinnamon). I'm very much a Linux noob, but I ended up getting it to work after a bit of time. I'm giving all possible details in case this could lead to the instructions getting improved. First, I thought this script was supposed to be "generate_wine.sh":
I was confused because that script is not named explicitly, and I wasn't even sure if it needed to be in a file or if it could be run from the command line directly. Then I realized the generate_wine.sh file is the one in the Git repo (duh). I downloaded it, put it in my /sgdk/bin, then created a new file called "generate_wine_start.sh" containing the 4 lines above, in the same folder. I ran generate_wine_start.sh, and it seems it did its job fine as it ended up outputting this (the files it created):
So far so good, but then I reach this command line:
And I'm confused again, because the readme says "The following command should then be able to build any SGDK project:", while I don't see a path to an SGDK project in that command line. How am I supposed to let it know where my SGDK project is? It only mentions the path to SGDK itself. I still tried to run it to see if I could get a response that'd lead me to the solution, and I got this:
Oh, right, I did not have Wine installed. I decided not to install it early in case it'd get done automatically by the script or something. I installed Wine myself, then tried again. Still no good:
I guessed my problem was related to the fact I had not specified the path to my SGDK project, so it could not resolve that "out" folder. But I was still not sure what to do about it. I had the following ideas:
That last idea did the trick! I'm not even sure if that's how it's supposed to be done, but it worked. After fixing some paths in my project resources (replacing some \ with / in wav or png paths), now I can compile my project and it generates a ROM file. Last struggle, but which is out of the scope of SGDK_wine: when trying to load the generated ROM in BlastEm, it would show a black screen and freeze. I figured this is because of some permission issue, BlastEm not being able to access the ROM file, so I guess I'm supposed to change the permission to the ROM file and/or parent folder. When I copied that ROM to Windows, I could see that it works fine. Hope that helps, and thanks for your work. Edit: I don't really know why BlastEm would not work, but the nightly works fine here! (blastem64-0.6.3-pre-215c2afbe896.tar.gz) |
Beta Was this translation helpful? Give feedback.
-
If you did, please share the following info in the comments:
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions