Giter Site home page Giter Site logo

medeor413 / starcheat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wizzomafizzo/starcheat

10.0 3.0 5.0 5.5 MB

Starbound player save editor and Python library

Home Page: http://starcheat.org/

License: MIT License

Python 99.40% Ruby 0.60%

starcheat's Introduction

starcheat Build Status Build status

starcheat is a Starbound player save editor, you can get free pixels with this! (omg)

woohoo

Downloads

Starbound starcheat
Glad Giraffe 0.27.1
Pleased Giraffe 0.26
Spirited Giraffe 0.25
Upbeat Giraffe 0.21
Enraged Koala 0.17

Nightlies

You can try out the latest in development version (which may not be stable) by following these steps.

Windows: Appveyor artifacts

You can download prebuild nightlies for the latest commit from our Appveyor build bot. Go to https://ci.appveyor.com/project/wizzomafizzo/starcheat/branch/dev choose the build matching your architecture (win32 or win64) and download the latest snapshot from the Artifacts tab.

Mac: Homebrew HEAD build

Follow the steps below to set up our Homebrew tap but instead of installing the stable version run brew install chrmoritz/starcheat/starcheat --HEAD to install the latest nightly.

Linux + all Platforms: Build from source

Follow the steps below to build the dev branch from source.

Reporting an issue

Please read and follow these instructions when reporting an issue. This will help us fix your issue faster, because we don't need to ask you for additional information.

Building from source

Here is how to build starcheat from source. Make sure everything in the dependencies section is installed before you do a build.

Dependencies

Windows

Lines starting with > can be run in PowerShell or cmd.exe.

  • > cd <starcheat top folder>
  • > C:\Python33\python.exe .\build.py
  • Browse to newly created build\ folder
  • Double click starcheat.py

Standalone Build

The standalone build makes an executable which includes all Python and Qt dependencies.

  • Install cx_freeze
  • > cd <starcheat top folder>
  • > C:\Python33\python.exe .\build.py -e
  • Browse to newly created dist\ folder
  • Double click starcheat.exe

Linux

$ cd <starcheat top folder>
$ ./build.py
$ ./build/starcheat.py

Mac

Install
  • Install homebrew
  • $ brew update
  • $ brew install chrmoritz/starcheat/starcheat (optionally pass --without-app to not create a .app or pass --HEAD to build the nightly version instead of the latest stable release)
  • brew linkapps starcheat (symlinks the .app into your Applications folder)
Update
  • $ brew update (check if starcheat is in the updated formula list)
  • $ brew upgrade starcheat (if its in the list above or in brew outdated)

Release checklist

starcheat's People

Contributors

chrmoritz avatar garywilsonjr avatar kamilion avatar kurisubrooks avatar lophatkao avatar septarius avatar tsunder avatar wizzomafizzo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

starcheat's Issues

Item Quantity Overlay for Bag Items

Add a quantity overlay text in the bottom right of each tile saying how much of each item is in that stack. Useful so we don't have to double click each tile to see how many of each item is there.

Efficient editing addition?

Hey, maybe you could try to add an ability to directly copy jsons over to items, instead of manually copying the text and title.
Or at least possible to open two items at once for copying?

Hotbar cannot be edited

The hotbar doesn't hold items anymore, it's more of a link to items in the inventory. Starcheat will need patching to support this.

Reading player files is incredibly slow

It takes about 4 to 8 minutes for Starcheat to finish reading player files.
I only have two characters, and I've tried to clear their inventories and getting rid of any custom items they have on them, along with removing all mods I have to see if it made it read any faster. No dice.
I've linked others this version of Starcheat and they have no issues with it. What's going on here?

Tech dialog broken

Techs were moved within the player file, and also are no longer items. The tech dialog will need to be overhauled to support the new system.

Crash when using Item Browser

Traceback (most recent call last):
  File "build\gui\itembrowser.py", line 159, in update_item_view
  File "build\assets\items.py", line 141, in get_item_icon
AttributeError: 'list' object has no attribute 'split'
Traceback (most recent call last):
  File "build\gui\itembrowser.py", line 159, in update_item_view
  File "build\assets\items.py", line 137, in get_item_icon
TypeError: argument of type 'NoneType' is not iterable

No player files detected?

When I run star cheat I receive a pop up that says: No player files dected. Reselect the Starbound Folder?

The folder that was detected by starcheat as the correct folder: C:\Program Files (x86)\Steam\SteamApps\common\Starbound

Continually get the same message. So I manually selected the starbound folder, got the same message.

Cheerful Giraffe player file support

  • Read nightly files
  • Read all inventories correctly
  • Support new hotbar
  • Use new storage locations as default

Armor and cosmetic slots were separated into individual slots, essentials were separated into individual slots, a new inspectionTool slot was created, two new bags were added, bag was renamed to mainBag, tileBag was renamed to materialBag, wieldable slots were removed, playTime was moved under log. The hotbar no longer actually holds items, but contains a reference to an item in another inventory.

New asset format in Cheerful

The asset format was changed from SBBF03 to SBAsset4. It appears that the structure was changed, not just the header. Maybe fallback on extracted assets as a temporary solution?

Some mods' assets can't be decoded

Latest build (pulled 2 hr ago) has a problem with one of the mods:

2016-08-01 16:08:54,571 INFO Scanning mod pak: 729428991.pak
2016-08-01 16:08:54,571 DEBUG 2633158
2016-08-01 16:08:54,572 DEBUG Traceback (most recent call last):
2016-08-01 16:08:54,572 DEBUG File "C:\Python34\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in
exec(code, m.dict)
2016-08-01 16:08:54,572 DEBUG File "build\starcheat.py", line 86, in
2016-08-01 16:08:54,572 DEBUG File "build\starcheat.py", line 83, in main
2016-08-01 16:08:54,572 DEBUG File "build\gui\mainwindow.py", line 157, in init
2016-08-01 16:08:54,573 DEBUG File "build\gui\utils.py", line 103, in check_index_valid
2016-08-01 16:08:54,573 DEBUG File "build\gui\utils.py", line 64, in build_assets_db
2016-08-01 16:08:54,573 DEBUG File "build\assets\core.py", line 140, in find_assets
2016-08-01 16:08:54,573 DEBUG File "build\assets\core.py", line 147, in scan_modpak
2016-08-01 16:08:54,573 DEBUG File "build\assets\sb_asset.py", line 23, in get_pak_info
2016-08-01 16:08:54,573 DEBUG UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbd in position 25: invalid start byte
2016-08-01 16:08:54,574 DEBUG Starbound folder: C:\steamcmd\games
2016-08-01 16:08:54,574 DEBUG Assets folder: C:\steamcmd\games\assets
2016-08-01 16:08:54,575 DEBUG Player folder: C:\steamcmd\games\storage\player

the mod is: http://steamcommunity.com/sharedfiles/filedetails/?id=729428991

Most dialogs broken.

Asset browser, appearance, and blueprints dialogs throw an exception when opened:
TypeError: 'NoneType' object is not subscriptable

Issues interfacing with modded characters/assets

It crashes on start up when loading modded characters
New characters are affected as well. Here's the error information.

[for new human character with nothing in inventory]
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 86, in
File "build\starcheat.py", line 83, in main
File "build\gui\mainwindow.py", line 175, in init
File "build\gui\mainwindow.py", line 554, in open_file
File "build\gui\mainwindow.py", line 260, in update
File "build\gui\mainwindow.py", line 718, in update_bag
File "build\gui\common.py", line 116, in init
File "build\gui\common.py", line 63, in inv_icon
File "build\assets\items.py", line 141, in get_item_icon
AttributeError: 'list' object has no attribute 'split'

[for human character with modded items in inventory]
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 86, in
File "build\starcheat.py", line 83, in main
File "build\gui\mainwindow.py", line 175, in init
File "build\gui\mainwindow.py", line 554, in open_file
File "build\gui\mainwindow.py", line 260, in update
File "build\gui\mainwindow.py", line 718, in update_bag
File "build\gui\common.py", line 116, in init
File "build\gui\common.py", line 63, in inv_icon
File "build\assets\items.py", line 137, in get_item_icon
TypeError: argument of type 'NoneType' is not iterable

It also completely fails to register a modded character that I stripped of all modded items., compare images for details.
screenshot_1
screenshot_6

Inventory is moved in Nightly

In the nightly versions, the bags are moved from being directly inside inventory to a dict inside inventory called itemBags.

Starcheat Deleted Savefile (kind of)

After using Starcheat and launching the game my savefiles were no longer avaible in the character selection screen. Yet I am still able to load my personal character with Starcheat.

Switching Race Causing Color Glitches

Issue details:

image
Basically what is happening is, and I have not done a ton of testing on this. switching races more than once glitches it out. What it seems to be doing is after you switch from, for instance, Floran to Human as I did on the file I was on and then go back to Floran it does not pull up the hair correctly. I noticed it was doing it with what seemed like most of the other races and strangely enough it seems more localized towards the head section with most races. (With the Avian I did notice it affected both the beak and the mask similarly, however you could color those where in this specific case you could not color the hair at all for some reason. This should be in the log somewhere.) The picture above is what it looks like right after switching races a third time (I am kind of assuming its more than once, I have not noticed it happen on the first switch) and if you go into appearance and switch the hair style it comes in, but it wont let you color some sections.

Starcheat V 0.27.1
(not in any beta) I am assuming stable 1.3.3? Whatever the current one is
Seems it just can't pull up what it needs to for some reason. You can just scroll all the way to the end of the log where I re created the issue.
starcheat.log

not file specific
not mod specific

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.