Any chance you could adjust the zipfiles? They seem to not be storing folders correctly, so I have a bunch of files named things like "Content\GeonBit.UI\themes\editor\styles\ButtonParagraph-Default.xnb", which of course doesn't work when I load up the game because they're just sitting loose in the program directory. I've not had this issue with other games, so I'm guessing it's just something about the specific tool you're using to make the zip files (which I'm guessing is windows explorer :P )
Viewing post in Update 21 - Ctrl-Z, Photo Camera & Benchmark comments
Hi thePalindrome! I would love to adjust those as soon as I can replicate your issue. I tried re-downloading both versions (dotnet and notdotnet) from itch.io (to be sure), and extracting it with the native Windows 11 file explorer and with 7zip. In each case, I was able to run the game and have all files seemingly at the proper location. Can you give me more details on your repro steps?
Also, I want to make sure I understand your description. When you unzip, specifically for the example you gave, the "ButtonParagraph-Default.xnb" file is unzipped in the current top folder (so next to HardChip.exe) instead of in a subfolder (precisely "Content\GeonBit.UI\themes\editor\styles\"). Did I get your issue right?
notes: you are right. The build process uses the PowerShell built-in cmd line to zip the game, which seems to be the same as the file explorer one.
The problem is that the "ButtonParagraph-Default.xnb" file *doesn't* get put in a folder, because of a quirk in how the zip is produced. On filesystems that don't use `\` as the folder deliniator (so everything but windows), it creates a file at the root folder *named* "Content\GeoBit.UI\themes\editor\styles\ButtonParagraph-Default.xnb", which looks very silly and also doesn't really work right :P
If I had to guess, it's the native windows 11 file explorer you used to create the zip file that is doing it badly, although unfortunately it's not an issue you could really replicate on windows!
You are correct indeed! I assume then you are not on Windows, probably Linux then. Unfortunately, the game doesn't support an other OS than Windows at the time (even if I see a not-so-complicated path to run on Linux). I can see other areas of the game where I use DirectX only APIs or Windows APIs.
It is still a pre-alpha game and I'm looking to validate if there is a real interest for it. So I cut a lot of corners to have a playable prototype. You are the first to ask for a Linux version (still assuming you are on Linux). When it will be an obvious obstacle to more potential players, I'll work on it!
It *almost* worked! I get to the main menu, but it crashes when I click to continue. After doing some digging on the code `HRESULT: [0xC00D36C4]` I see it has something to do with an invalid mimetype, and checking the error.txt I see a small stacktrace that suggests it's not liking the main menu music!
What codec are you using for the music? I tried digging myself but they're packed into xnb files, which I'm not familiar enough to crack open.
P.S. I found this, might also be handy for future things:Archived forum post about sharpdx exceptions
That's great! It wouldn't be too hard to get a workaround for the music. Did you manage to get at least one draw of a 3D scene ? There is demos in the Main menu background. If you see something, that means you compiled the shaders properly! That would have been the main obstacle.
For the codec, I use the Content Pipeline of Monogame framework to convert them in a platform specific format. I target Windows, not even sure what format the sound files are converted to. I will do another build for you with no sounds to see.
Woo, we have a winner!
I went through the tutorial then did the inverter challenge seperately with only one crash (when the game first asks for a pmos transistor, I put it in the wrong place and it crashed, not sure if that's on wine though)
I'm glad that I got this working, though! Thanks a ton for helping with putting out builds and working with it instead of just assuming "this is a windows game, it'll never work on linux" ^v^
Edit: I ran the benchmark and it crashed when returning to the main menu (at least, so I assume), the log indicates OutOfMemory, which is a bit odd
So to keep track of this, I posted a Leave a +1 for: Linux version topic on the main game page!