starcheat icon indicating copy to clipboard operation
starcheat copied to clipboard

Starbound 1.0 Support

Open rubellyte opened this issue 8 years ago • 17 comments

Includes fixes to player file reading and support for the new SBAsset format. Known issues can be found here.

rubellyte avatar Jul 25 '16 21:07 rubellyte

Uuuh, if remove those trailing whitespaces then recommit I'm sure all the checks will pass.

Hope this gets merged soon.

Angelite191 avatar Jul 26 '16 22:07 Angelite191

One thing to keep in mind for a2507f6 : the fix works by just using the first image, because it appears that some item icons are constructed from several images which are combined. A good example is the starting sword: it is made from a hilt image and a blade image. If you want it to show up correctly, starcheat will need to support icons built from multiple images.

Lknechtli avatar Jul 27 '16 19:07 Lknechtli

Thanks for the heads-up, I'll look into that. Rendering icons from multiple parts has been something we've needed for a while, actually.

rubellyte avatar Jul 27 '16 19:07 rubellyte

ERROR No game mode set on player Traceback (most recent call last): File "/home/halkeye/git/starcheat/build/gui/mainwindow.py", line 210, in update self.ui.game_mode.setCurrentText(self.assets.player().mode_types[game_mode]) KeyError: 'survival'

halkeye avatar Jul 28 '16 18:07 halkeye

halkeye.player.zip

halkeye avatar Jul 28 '16 18:07 halkeye

diff --git a/starcheat/assets/player.py b/starcheat/assets/player.py
index 63ebc98..044efe2 100644
--- a/starcheat/assets/player.py
+++ b/starcheat/assets/player.py
@@ -7,6 +7,7 @@ class Player(object):
         self.mode_types = {
             "casual": "Casual",
             "normal": "Survival",
+            "survival": "Survival",
             "hardcore": "Hardcore",
         }

Seemed to fix it so no more issues

halkeye avatar Jul 28 '16 18:07 halkeye

oh yea, ran into that. as long as I didn't change the value, it didn't appear to break the save.

Lknechtli avatar Jul 28 '16 19:07 Lknechtli

Great, I'll patch that in shortly.

rubellyte avatar Jul 28 '16 19:07 rubellyte

Codacy PR check fails because of code written prior to our Pull Request. Should be good for merge at any time 👏

kurisubrooks avatar Jul 29 '16 00:07 kurisubrooks

For those who come lurking looking for a nightly build, the latest version is currently a00f400.

kurisubrooks avatar Jul 29 '16 01:07 kurisubrooks

hey my starcheat is crash but i dont know what it is.

Traceback (most recent call last): File "C:\Python34-x64\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in File "build\starcheat.py", line 83, in File "build\starcheat.py", line 80, in main File "build\gui\mainwindow.py", line 154, in init File "build\gui\utils.py", line 103, in check_index_valid File "build\gui\utils.py", line 64, in build_assets_db File "build\assets\core.py", line 127, in find_assets File "build\assets\core.py", line 156, in scan_asset_folder File "build\starbound\helpers.py", line 213, in open File "build\starbound\helpers.py", line 220, in read_stream File "build\starbound\btreedb4.py", line 119, in initialize File "build\starbound\sbbf02.py", line 89, in initialize AssertionError: Invalid file format

DarkSasin avatar Aug 06 '16 07:08 DarkSasin

Starbound 1.0 is currently not supported in the main repo. Builds for 1.0 will be available soon.

kurisubrooks avatar Aug 06 '16 07:08 kurisubrooks

So, uh. The .exe builds aren't working for no reason I can see. Running the source works fine, but the .exe builds just crash without doing anything, no errors or any output. I honestly have no idea what to do about this. I've tried reverting all the changes, using older versions of dependencies to make sure an update didn't break them, I've really got nothing left to try.

rubellyte avatar Dec 18 '16 16:12 rubellyte

My guess is that the latest cx_freeze messed something up. The (not working) builds are now more than 3 times as big as before. @medeor413 Maybe pinning cx_freeze to an older known working version over here might help: https://github.com/wizzomafizzo/starcheat/blob/master/appveyor.yml#L28

chrmoritz avatar Dec 19 '16 18:12 chrmoritz

Well, that did it. I tried that locally, and it didn't work, but I don't think I'll question it too much.

rubellyte avatar Dec 19 '16 22:12 rubellyte

So is stearcheat fixed now and is there a download link? because this was super useful and is now dead. this was like the best thing in starbound. making custom weapons. Please fix or give a download link to a working version compatible with the current starbound, that being 1.3.2 or anything that would work with this version.

OrangeJuice2404 avatar Sep 01 '17 20:09 OrangeJuice2404

@OrangeJuice2404 this worked fine for me: https://ci.appveyor.com/project/wizzomafizzo/starcheat/build/master-b74/job/ve8yig7de3sqf89c/artifacts

mrexodia avatar Nov 16 '17 21:11 mrexodia