Modding

Viewing 25 replies - 201 through 225 (of 784 total)
  • Replies
  • DEAD_ACCOUNT
    @dante-mele

    The PC version of the game wants identical bytecode when starting after packing and encrypting… you get an error otherwise… Also the editor isn’t present on a PC, maybe add them compiled in a 7z with encryption from a current ABClassic version to allow the setting to be useful?

    You Gotta be Joshing me
    @beakymcfeather

    @dante-mele This is pretty common in PC games, it’s most likely because since it’s on PC Rovio just made the editor a separate entity, or it hadn’t been created yet.

    DEAD_ACCOUNT
    @dante-mele

    If that won’t work, I’ll try converting v4.0.0 to v7.9.8 and that might allow the editor to work… maybe powerups and online features as well… There’s also support for OpenGL ES 2.0 (7.9.8’s shaders) if you modify config.lua to force that.

    Thepeckybird
    @thepeckybird

    i will try to force it.

    DEAD_ACCOUNT
    @dante-mele

    I cannot as my PC is missing drivers… I can play 4.0.0 fine with OpenGL 2 shaders though… Its also possible to force the game to use different directories for assets and use encrypted 7z’ed LUAs created by the user. 6.0.6 and versions below for Android do NOT have editors (or Rovio didn’t add it if they have it to the retail version at the time)… I checked… and uses packed PVR files for textures, theoretically, since each version is built similarly for a different platform, it would be easy to determine that those versions don’t have that, they use 7z encryption for assets though… 7.2.1 is the first to have the editors.

    You Gotta be Joshing me
    @beakymcfeather

    @dante mele Same here, in fact, I need to upgrade my graphics card. (although my PC is from 2009 so I most likely won’t be able to do much with it either)

    DEAD_ACCOUNT
    @dante-mele

    The final PC version is picky on using both WAVs and OGGs for audio if using 7.9.8’s audio data LUA, despite releases have them all as OGGs. My PC has no graphics card and graphical display adapter and can play decently play Angry Birds at around 50-60FPS if I add OpenGL(32bit)’s DLL to my PC system32 directory or the game’s. If you read through the PC game’s memory while its running, you can be able to find the AES keys for both saves and assets, maybe try with ABSW2 PC and find keys for that?. Also it may be possible to force sound format via editing audio.lua while compiled.

    RizDub
    @rizdub

    Well, I use a Mac, not a PC, and I’m pretty sure AB Stella was never released for either (as that’s the specific game I want the AES key for), so I’m not sure where to go from here.

    Also, I have a couple questions. First, in the Mac game (4.0.0), Bubbles’ sounds and the Birdday Party ambience are both a little lower pitched than in the mobile game, but the raw files are not. This suggests that something in the audio.lua file is lowering the pitch. Is this the same on the PC version?
    Secondly, is it possible to manually update the Mac version? I tried replacing the data files with newer files from the mobile version 7.9.6, but it just made the game crash…

    DEAD_ACCOUNT
    @dante-mele

    v7.2.1 and up use LZMA packing for ABClassic, you will have to pack their compiled LUAs after archive decryption in 7z archives (EXCEPT OPTIONS.LUA, all versions of their games use 7z packing for that), name identically and encrypt for the computer games to read it as the executable doesn’t support LZMA packing meaning using modern LUAs right from mobile gives a 7z header error… Also the pitch happened on me with audio.lua, maybe… Bytecode has to match for options.lua and maybe others on PC so compiling with luac -s -o OUTPUT.LUA INPUT.LUA, changing 08 to 04 and packing then encrypting as 7z won’t work or you get a “precompiled chunk error”, also if you enable the editor without the editor files, the game will always fail to start (or crash on PC while attempting to find the files). I managed to add level groups to the PC version but they don’t have any images… All public Seasons versions (I think) and all ABSW2 versions do NOT have editors as well, even the latest (or Rovio didn’t include it in the releases). I found ABSW2’s asset key via memory viewing, I’ll post it somewhere… QuickBMS script is improved and supports PC/old encryption mechanism LUAs and config ZIPs for newer versions. Yeah, I forced WAVs for my WIP port of 7.9.8 to PC and the pitch is normal via editing 7.9.8 audio.lua compiled then packing and 7z’ing it. Don’t replace the Egg Defender vehicle scripts with a modern version’s, the PC version puts Pig 1’s vehicles above ground in the air, also its literally the same. I also forced the modern level package layout (X_EpName), it doesn’t seem to like BirdDay selection…

    Thepeckybird
    @thepeckybird

    I’ve been trying to edit the level_end script but is encrypted and there is no way to deencrypt. If someone can do it, that’ll be great.

    Here’s the link https://drive.google.com/file/d/1KgZlzHmuulAs7OGFKz8TwwEh72vb_1iR/view?usp=sharing

    Thepeckybird
    @thepeckybird

    btw this was found when i decrypted it and opened the 7z

    DEAD_ACCOUNT
    @dante-mele

    Its a compiled LUA, you can actually edit it compiled but its pretty confusing, so decompile it with unluac.jar if you have Java, then recompile it with LUA 5.1.4 after changes, then pack it in a 7z, and encrypt. There may be a precompiled header error, if so, the bytecode of the file is dependent… Also it’s not possible to add the modern version editor to the PC version (4.0.0) after setting the flag, you probably will have to convert it to the newer version for it to work… Finally, yes the PC version wants identical LUA code alignment for its LUAs, meaning compiling will give extra empty bytes to make the LUA have a header error most of the time. Three empty bytes of a line means its often correct, I tried to decrypt options.lua, decompile, recompile without any changes except 08-04, encrypt and add to the game and got an error about “precompiled chunks”. I managed to get the FPS display (PC) and debug console.

    RizDub
    @rizdub

    @dante-mele Have you tried getting the editor-enabled game on a desktop-based Android emulator, like Bluestacks or Remix OS? Would that allow you to utilize its full potential?

    DEAD_ACCOUNT
    @dante-mele

    Unlikely, my PC isn’t powerful enough, it has no graphics driver I can get back so Android emulation on my PC is unlikely… I’m pretty sure the FPS will be terrible on it… Also I’d get the oldest versions of the games if planning to find asset/save keys… As Rovio NEVER changes them also code is likely more readable. Got Rio’s editor and debugging features on my phone, Space debugging functions as well but it’s not as useful, Seasons as well (but no editor…), Now ABSW+2.

    Thepeckybird
    @thepeckybird

    @dante-mele you don’t really need a graphics card to run Bluestacks. I have Intel Graphics HD 520 and i can run bluestacks no problem.

     

    You Gotta be Joshing me
    @beakymcfeather

    @thepeckybird But you do need a graphics card to use the right version OpenGL, which is why I can’t play Angry Birds on my PC.

    DEAD_ACCOUNT
    @dante-mele

    I just use the latest OpenGL32 (unfortunately not supporting GLES) DLL in system32 or the game to play on my device. But seriously, I’m stuck with MBDA (Microsoft Basic Display Adapter) and I cannot get an updated display driver as my PC always refuses to accept installation of any from my OEM, PC OEM and Windows Update.

    You Gotta be Joshing me
    @beakymcfeather

    @dante-mele Eh. I just think that I’m better off getting a new graphics card because as I’ve stated before, my PC’s a Dell Studio 540 from around 2009-2011 that originally ran Windows Vista and I recently upgraded it to Windows 10.

    DEAD_ACCOUNT
    @dante-mele

    Mine’s 8(x64) to 10.

    Thepeckybird
    @thepeckybird

    i compiled level_end.lua and possibly added the level complete audio.

    the issue is that i don’t know how to compile the file.


    @dante-mele
    do you think you can help me with this?

    DEAD_ACCOUNT
    @dante-mele

    luac -s -o level_end.comp.lua level_end.decomp.lua. You need LUA binaries for 5.1.4/5.1.5… That’s my common structure, I use directories like DEC: LUA archive, ENC: Game ready modified asset archive, DECOMP: Decompiled LUA and COMP: Compiled modified LUA to sort LUA mods, similar for non-LUA mods, don’t forget to change 08 to 04 in the modified compiled LUA.

    Thepeckybird
    @thepeckybird

    link to the LUA binary you use @dante-mele?

    DEAD_ACCOUNT
    @dante-mele

    https://sourceforge.net/projects/luabinaries/files/LUAVER/Tools Executables should get you ZIPs with binaries for LUA, look for the one for the right OS platform as well. Replace LUAVER to 5.1.4 or a similar LUA version.

    DEAD_ACCOUNT
    @dante-mele

    I’m guessing Rovio used one of the dev/test LUA versions and/or some tool(s) to make LuaQ’ed LUAs with 04 04 04 04 headers, if I figure out what one is used, it can make compiling easier…

    Thepeckybird
    @thepeckybird

    i got this when i tried to compile: luac5.1: level_end3.lua:124: ‘end’ expected (to close ‘if’ at line 113) near ‘elseif’

Viewing 25 replies - 201 through 225 (of 784 total)
  • You must be logged in to reply to this topic.