Spaqin / fbwo-3ds

10 stars 3 forks source link

Resource files for building a cia are missing #3

Open acmiyaguchi opened 1 year ago

acmiyaguchi commented 1 year ago

Hi there @Spaqin, I recently got homebrew running on my 3ds and came across your project. I'm interested in building on top of fbwo when I have some free time. It would be a good exercise for me to add in some basic UI and put together more robust stats tracking (maybe with sqlite).

I currently have it building in a docker container after fixing up some old libraries. It currently works in citra (but strangely, haven't had time to debug).

image

I have a branch of my modifications here: https://github.com/Spaqin/fbwo-3ds/compare/master...acmiyaguchi:fbwo-3ds:update?expand=1

The project is missing the resources directory, which includes fbwo.rsf and presumably the rest of the assets that are necessary for running the game. It looks like I can get a copy of most of the assets in the latest zip file (https://github.com/Spaqin/fbwo-3ds/releases/tag/v0.4.1), but I was also wondering if there were more things in the resources directory that might be helpful.

Spaqin commented 1 year ago

Hi!

I'm super super happy someone's digging into my old projects :) It's been 6 years now? I don't have a 3DS with me anymore, so it would be difficult to recover the content of resources directory. I'll try to recover it though. If my memory serves me well, the resource package should have most of it.

I also recall wanting to move some resources into the cia/3dsx so the game would be runnable without anything, so I can only assume it's mostly been graphics/font assets.

The glitches you see in Citra probably come from SF2DL - my lazy ass never wanted to learn 3D graphics, and pixel grid based system was more than enough.

Whenever you're done with your changes, please open a pull request. I'd be happy to incorporate your changes.

acmiyaguchi commented 1 year ago

Unfortunate, it would be handy to have the icon and sound clip for the cia. I might be able to extract it using some tools, but if you have the source that would be ideal.

I do see a lot of opportunities for refactoring, and it would be nice to move off of sf2d to something like citro2d (and get rid of the vendored libraries). I'll try to make a PR before I go off the rails too much :)

P.S.

image

I found out that I was porting sf2d incorrectly for newer versions of ctru, looks graphically perfect. It looks like there are some modifications I need to make on the audio playing side of things, but it's neat to get this working.