Giter VIP home page Giter VIP logo

bbtools's People

Contributors

jonmagon avatar trass3r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bbtools's Issues

Question about tilemap ids maping

Hi,

I'm writing a Beasts and Bumpkins resource unpacker and got a question.
The goal of my project is to convert those BOX files into more readable formats For example png for spritesheets and tmx for missions)
I took your repository as an inspiration and also as a source of texture id mappings, but it seems it lacks quite a few of those values (for example there are only 2 buildings - peasant hut & builders)

So my question is:
Where did you get those values?

I saw a reference to palettes in the code (https://bitbucket.org/trass3r/openbb/full-commit/881d183eda96/openbb/io/palette.d) but it seems this repository is not available anymore.

Do you know where / how I can get those values?

Question about resolution and redraw area.

Hello,

I am interested in modifying beasts.exe in a hex editor to increase the resolution of the game from the original 640 x 480

I was able to modify it and increase the resolution by searching for 80020000E001 and replace the entire thing with 000500000004 to increase the resolution to 1280x1024.

This makes the play area bigger like this picture

I also moved the unit portraits with these

At offset 29714 replace 1C 02 with 9C 04
At offset 2972D replace 7C 01 with 9C 03.

The only problems I have left are the unit thought bubble (not critical) and sprites like houses and monsters sometimes disappear if they are outside the viewport and they come back. I am guessing there is some kind of clipping or frustum culling going on to increase performance. It looks like the below picture. It fixes itself if I open and close the main menu or if peasants move over these areas causing a redraw. So it feels like the engine isn't redrawing everything everywhere and only redrawing areas that needs to be updated.

bnb

Since you have disassembled the exe do you have any idea where this might be? Maybe there are other values of 640 x 480 that needs to be changed to increase the clipping area.

Thanks for the great tools ๐Ÿ‘๐Ÿผ

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.