Git Product home page Git Product logo

nossplash's Introduction

NosSplash

Simple script utility that allows you to extract and set custom splash inside EWSF.EWS

Features

  • Easy to install and use
  • Support multiple image inputs (auto conversion of various image types)
  • Ability to resize the splash window for your splash to fit

Installation

python -m pip install nosplash

Usage

Extract all splashes

python -m nosplash EWSF.EWS --extract

Minimal import

python -m nosplash EWSF.EWS -in image.png

Import your splash as bitmap

python -m nosplash EWSF.EWS -format bmp -in image.png -out OUT.EWS

Import your splash as jpeg

python -m nosplash EWSF.EWS -format jpeg -quality 95 -in image.png -out OUT.EWS

nossplash's People

Contributors

morsisko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nossplash's Issues

Image doesn't get displayed correctly

I've been toying arround with your tool since i wasn't abled to get the Image replaced with Resource Hacker in a working manner..

I tried various things such as importing my own images, import them with set format etc. and it looked like the Height and Width are swapped for me.

I tried the same thing with extracting the Official Splash files and re-importing them to see if the issue still persists with the files that are already embedded in the File and the same thing happens again.

image

*Black bar is mine, white field is from the Splash Screen

Error

when i use command

python -m nosplash EWSF.EWS --extract

 is not an ELF
Traceback (most recent call last):
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Purge\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\nosplash\__main__.py", line 4, in <module>
    main()
  File "C:\Users\Purge\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\nosplash\nosplash.py", line 82, in main
    extract(content)
  File "C:\Users\Purge\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\nosplash\nosplash.py", line 23, in extract
    index = find_and_get_index(content, b"Picture.Data", index + 1)
NameError: name 'content' is not defined

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.