msikma / Easy3DS

A simple script for generating 3DS CIA files from RPG Maker 2000/2003 games using EasyRPG
14 stars 2 forks source link

instructions not the most clear #1

Open velamyGH opened 2 years ago

velamyGH commented 2 years ago

so im trying to build this game as a standalone cia file, the main problems i am having is figuring out what to do with bannertool.exe, 3dstool.exe and makerom.exe, as well as how to run the "./build.py games" script as listed in the readme.

any help would be appreciated to know what to do with these :) sorry for the dumb questions, i always have trouble building these kinds of things

here is also a drive upload in case there is something else i have done wrong in my process

msikma commented 2 years ago

Hi there. I'll be honest: I've written this code very long ago and I haven't used it in a while. At some point, the 3DS version of EasyRPG broke so it became impossible to properly run games built with this script. (However I actually believe it was very recently fixed in EasyRPG#2256, so hopefully that will not be a problem, although I haven't tested it.)

Basically you shouldn't have to do anything with bannertool/3dstool/etc. This script should do it for you. Unfortunately I don't use Windows, so I have not been able to actually test this properly for it. I'm fairly sure the script needs an adjustment for Windows (the binaries being executed in make_cia_file() should have .exe in the filename). That might be why it doesn't work. Let me know if you're unable to do this yourself and I'll give it a shot.

From your Drive upload I can see you still need to do the work explained in the "Preparing assets" section in the readme, though. It should be simple.

By the way, just in case, I want you to know that this isn't the EasyRPG repo. This is just a script I wrote to make it easier to build EasyRPG games for 3DS. You could also just install EasyRPG for 3DS itself and then run the game from there.

velamyGH commented 2 years ago

hi again :)

so i now realized i misunderstood a part of the preparing assets section, assuming you had to replace the default files with what we wanted the banner and icon to be as you can see in my drive link. ive put the assets in the right place, but still cannot figure out how to make the build script execute properly, even after putting ".exe" at the end of the binaries in the .py script, im very bad at anything related to coding so any help from here would be appreciated

also yes im aware that the game im trying to build can be run from the standalone easyrpg app, ive been doing this the way listed in the instructions as a band-aid fix but i would much prefer to have the game run straight from a cia file as its the only game i actually play with easyrpg this way, plus love the idea of having oneshot as a game on my home screen :) let me know if theres anything else i can provide from my situation!!

msikma commented 2 years ago

I'll see if I can help you get the script running. Could you post what the output of the script is when running it?

velamyGH commented 2 years ago

this is what it outputs, i managed to make more progress on my laptop but cant seem to get past this part image image

msikma commented 2 years ago

Can you try it with build.py -V games? That should give some more information.

velamyGH commented 2 years ago

doing that gives the same output

msikma commented 2 years ago

I'll just go and have a look at it myself soon! Clearly the script needs to be fixed, and I haven't actually used it in a long time due to the 3DS build of EasyRPG breaking.

velamyGH commented 2 years ago

no worries, thanks for helping out!!

velamyGH commented 2 years ago

small update but trying again on my pc gives a completely different error that i still havent been able to fix image

msikma commented 2 years ago

Could you see if this build works?

https://drive.google.com/file/d/1zFO0-fEbFICTHYtGVA3_UcFwnHipJ7Fu/view?usp=sharing

Note, this is just a test. It uses a very old build of EasyRPG. I'm going to take down this download later. I'm just trying to see if my script produces a working CIA as-is.

small update but trying again on my pc gives a completely different error that i still havent been able to fix

This seems to indicate it maybe can't find the prerequisite programs such as makebanner.exe, etc. Can you try running makebanner.exe in that directory to see if it's accessible? I see you're running it in a different directory, so that might be a cause.

msikma commented 2 years ago

By the way, I might just do a rewrite of this script at some point. It's a typical script that was supposed to be very simple but then turned out to be a bit too complex, and now I feel like it's better off being structured differently. But in my current version of the script (I've got a few modifications that haven't been committed yet) it at least seems to work on my computer, so I'm sure getting it to work for you shouldn't be that difficult.

edit: relevant, linking this here so I don't forget about it: https://community.easyrpg.org/t/easyrpg-elf-file-for-3ds/1112

velamyGH commented 2 years ago

sorry for the late response, downloading the cia file and trying to open it gives this output when i try to launch:

An error occured (ErrDisp)

Error type: generic

Process id: 15 Process name: menu Process title id: 0x0004003000008f02

Address: 0x0022939c Error code: 0xc8804478

velamyGH commented 2 years ago

as for how to use makebanner, im not really sure what it is at all. but im guessing its part of bannertool but as for how to run anything related to that i have no idea

Elekktrouus commented 2 years ago

I don't mean to bump an old discussion but I'm wondering if this script still functions? Bannertool also doesn't work for me (unrelated)

msikma commented 2 years ago

I don't mean to bump an old discussion but I'm wondering if this script still functions? Bannertool also doesn't work for me (unrelated)

Unfortunately I haven't actually worked on this script for a long time. At one point the EasyRPG binary for 3DS broke and I haven't given it much thought since then.

I think it probably doesn't work correctly on Windows as-is. I'll investigate this in the coming days though and see if I can make it work.

velamyGH commented 1 year ago

heya, any updates on this? still rly lookin forward to seeing this working in some way

sen-ix commented 1 year ago

Hi there! I apologize for the very late reply. I found that this script was challenging to use, but I finally got it done. I do have a compiled CIA for Oneshot that I was able to do. You are welcome to try it, and more than welcome to download it and add it to this feed. Download CIA

rrraya81 commented 10 months ago

made an account to ask: how did you do it?

Hobette commented 9 months ago

hi, i too would like to know what changes you made to the code, if possible

JupiterDoomsday commented 9 months ago

So I managed to figure out that if makebanner is throwing an error, your icon.png or banner.png files are likely causing the error and may not be the right size. the banner size should be : 256 x 128 and the Icon size should be 48 x 48

I fixed my icon to 48x48 and that seemed to resolve the error I had with makebanner

I am encountering Error 5: where makerom isn't working/ compiling the converted files Screenshot (50)

TheFlowersSystem commented 9 months ago

getting the same "build failed at step 5 (makerom)" error too, so advice on getting past it would be helpful,

figured it out. for me the issue was the CIA ID, i tried a bunch till the error stopped and the cia got made "004015" is a working ID if you get the step 5 error!

Spoobunk commented 3 months ago

Hey, if anyone is stumbling across this later on, I went through this process and eventually got a .cia. Like other people have mentioned, the banner and icon images have to be the correct sizes (256x128 and 48x48 respectively), otherwise bannertool will fail. Also, the provided cia id must start with 0 (or at least that's what worked for me), or else the id provided to makerom will be out of range, and it'll fail.

Doing that got me a cia file, but unfortunately I can't tell if the game will run since it seems like easyRPG in general is having problems on my 3ds. Also, there's this script which seems like a more streamlined alternative to this one.

Hope this is helpful