Giter Club home page Giter Club logo

Comments (4)

BinBashBanana avatar BinBashBanana commented on May 30, 2024

can not "fast-forward"

this is a bug in v6.5, it will be fixed in v6.6 (see #21)

i play the "Dragon Quest Monsters 1 & 2" lost my character, I seem to remember that the ios app seems to have this problem too.

this is probably a bug with the hardware renderer, try using the software renderer as it is more accurate but it can be slower (see #24)

Instructions for using the software renderer: before choosing ROM files, go to the menu at the top, "More" > "Pre-start Options" > "Use Software Renderer" (check)

or for your UI, here is the code (use before callMain)

FS.createPath("/", "home/web_user/retroarch/userdata/config/Beetle PSX HW", true, true);
FS.writeFile("/home/web_user/retroarch/userdata/config/Beetle PSX HW/Beetle PSX HW.opt", 'beetle_psx_hw_renderer = "software"\n');

state save very very slow.

I'll see what I can do about this in the next release, but it won't be able to get much better without completely disabling the compression.

can you can build the "pcsx_rearmed_libretro" ?

I could, but the software renderer on Beetle/Mednafen PSX is more accurate, and decently fast too.

lost method.
Module._cmd not have Module["cwrap"] to call run.
Module.cwrap('cmd_cheat_get_code', '', [])();

I'm not sure what you're saying, but if you mean there is no way to call run, use this in LDFLAGS when building RetroArch: -s EXPORTED_RUNTIME_METHODS="['callMain', 'FS']

Then do this in javascript to call run: Module.callMain(Module.arguments);

from webretro.

nenge123 avatar nenge123 commented on May 30, 2024

thanks,it can run in retroarch-ui!

Maybe there is something wrong with my game roms/bios, so "DQ1&2" is abnormal.

but:
"Module._cmd_cheat_get_code" returns a numeric handle instead of the character I want.

I need to check this javascript now. Why can't it run in ios safari?

from webretro.

BinBashBanana avatar BinBashBanana commented on May 30, 2024

You need to use UTF8ToString to get the pointer value, like so:

UTF8ToString(Module._cmd_cheat_get_code(index));

this will give you the real cheat code.

Likewise for setting a cheat code:

Module._cmd_cheat_set_code(index, allocateUTF8("CODE"));

from webretro.

nenge123 avatar nenge123 commented on May 30, 2024

So that's it!

from webretro.

Related Issues (20)

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.