#development

1 messages · Page 491 of 1

primal perch
misty cradle
#

im doing too much in my code to prevent dumb users

#

fuck em

#

just use tweak normal

twilit jungle
misty cradle
#

and youll have 0 visual bugs

primal perch
#

1.1^80

twilit jungle
#

I don't do decimals

primal perch
#

stop being irrational

twilit jungle
#

everything gets casted to int

indigo peak
#

DGh0st comes out as an int

primal perch
#

im a short

#

let it be known this type has nothing to do with a certain organ that may or may not be used in reproductive activties

indigo peak
#

well if thats the case then im a unsigned long long

twilit jungle
#

what you think you are: ^
what you actually are: uint2_t

primal perch
indigo peak
#

thats bold coming from the uint1_t

twilit jungle
#

F

primal perch
#

mad talk coming from storage on a hard drive

#

youre not even ram bud

indigo peak
pure tree
#

What's the correct syntax to use enableCompleteLogging() in Cycript? I get error saying throw new Error("insufficient number of arguments to ffi function")

rain falcon
# primal perch https://cdn.discordapp.com/emojis/748835863890493490.png?v=1

What in the name of Neptune did you just say about me, you nematode? I'll have you know I won the highest award in the Fry Cook Games, and have been involved in numerous secret Jellyfishing sprees in Jellyfish Fields, and I have over 300 confirmed Jellyfish catches. I am trained in flipping Krabby Patties and I'm the top fry cook in the entire Bikini Bottom. You are nothing to me but just another Plankton. I will blow bubbles with the precision of the likes which has never been seen before in the deep blue sea, mark my [dolphin noise] words. You think you can get away with saying bad things about a sea sponge over the internet? Think again, tough guy. As we speak I am contacting Sandy from the Tree Dome and she's using her Texas science to find out where you live so you better prepare for some Karate, you big meanie. The kind of Karate that will make you wish Sandy taught you how to do Karate. You're tartar sauce, kid. I can be anywhere, anytime, and I can fail my driving test in over 700 ways, and that's just with my bare hands. Not only am I extensively trained in driving a sandwich, but I have access to Mermaid Man and Barnacle Boy's Mermalair and I will use all their gadgets to its full extent to wipe you out of our city, you barnacle head. If only you could have known what unholy retribution your little "clever" comment was about to bring upon you, maybe you would have stopped yapping like an Anchovy. But you couldn't, you didn't, and now you're paying the price, you land mammal. I will take my driving test and run over you in the process. You are sleeping with the fishes, kiddo.

twilit jungle
misty cradle
indigo peak
gentle grove
#

:franime:

indigo peak
gusty pelican
#

man man

#
MAN(1)                                     Manual pager utils                                     MAN(1)

NAME
       man - an interface to the system reference manuals

SYNOPSIS
       man [man options] [[section] page ...] ...
       man -k [apropos options] regexp ...
       man -K [man options] [section] term ...
       man -f [whatis options] page ...
       man -l [man options] file ...
       man -w|-W [man options] page ...

DESCRIPTION
       man is the system's manual pager.  Each page argument given to man is normally the name of a pro‐
       gram, utility or function.  The manual page associated with each of these arguments is then found
       and  displayed.  A section, if provided, will direct man to look only in that section of the man‐
       ual.  The default action is to search in all of the available sections  following  a  pre-defined
       order  (see DEFAULTS), and to show only the first page found, even if page exists in several sec‐
       tions.

       The table below shows the section numbers of the manual followed by the types of pages they  con‐
       tain.

       1   Executable programs or shell commands
       2   System calls (functions provided by the kernel)
       3   Library calls (functions within program libraries)
       4   Special files (usually found in /dev)
       5   File formats and conventions, e.g. /etc/passwd
       6   Games
       7   Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7)
       8   System administration commands (usually only for root)
       9   Kernel routines [Non standard]

       A manual page consists of several sections.```
#

where from send inv

gentle grove
gusty pelican
#

we're reading man man

#

wtf boba anti man man

misty cradle
#

Has anyone gotten frida to work on windows

#

just seems to be stuck here

weary heath
#

Run frida-ls-devices

misty cradle
#

shows my device yeah

weary heath
#

Try in WSL?

misty cradle
#

ok

faint timber
#

wsl no have usb

lime pivot
misty cradle
#

got it working

#

then on pc

gusty pelican
#

Don’t ask to ask, just ask

grim sparrow
#

@vivid dew happy birthday big man

tepid olive
#

I made my own repo and tried to install a package but at the and this error happened: apt had planned for dpkg to more than it reported back
Can some1 help

slender glade
#

BRUH

#

THIS MF

nimble parcel
#

does rust not compile with apple’s llvm fork?

grim sparrow
nimble parcel
#

real programmers code in llvm ir

#

isn’t ld64 open source too?

grim sparrow
#

When supercharge open source /s

nimble parcel
#

I don’t think they’ve dropped the sources for the new ABI yet

tepid olive
#

Yesss i forget about there im really sure you guys will help me

#

Everything were good until my İdevice reset then i resetup theos again do i make anything wrong

#

Theese 2 errors

tepid olive
#

Who said im hackşng
i am trying to make a project
i have sdk alr

silver rampart
#

no its a cheat

#

hacking is when u slap shit that shouldnt work together and ship it

tepid olive
#

virgin

pearl sail
#

You are an idiot

tepid olive
#

You are an idiot

indigo peak
# tepid olive

Including local files in any C based language goes like #include “cock.h”, using the <> are for system headers. And I believe your vector header is a local file, so you use “”

#

And I think your string include should be #include <string.h>

#

This.

#

I was looking at HealthKit implementations in tweaks and someone wanted to make a tweak that allowed him to spoof his Apple Watch rings

#

Like the activity and standing and all of that

gentle grove
#

from files relay due whwows w aa gn o was v was p was h was h was h was es o da un was q in e in a un e in

#

SHUTNUP CPSTO

#

FPAT

#

CAPTIAN

#

INCORPROTETATED

indigo peak
#

Imagine being so lazy you’ll learn to make tweaks to fake your rings

#

It’s almost like being so lazy you’ll learn to make tweaks to skip the getting good part of games

gentle grove
#

Oh right c++

indigo peak
#

Oh well idk why his thing isnt working

#

Nor do I really care

gentle grove
#

The worst lnaggaue

#

Luggage

#

Language

indigo peak
#

Game cheats/mod menus suck donkey dick

wicked summit
#

gm

tepid olive
#

CAPTIAN
INCORPROTETATED

gentle grove
tepid olive
#

that's literally your message

gentle grove
#

use

#

c

#

Better yet

#

Use python

#

Wow you're such a. Python hater. Cancelled

indigo peak
#

yes

#

its in the standard library

#

so it doesnt end with .h

gaunt mesa
#

u need to #include <iostream>

#

@lethal ice thanks for sex update

lethal ice
#

does it work on 14 well

gaunt mesa
#

i'm using it on my testing device tho

#

so idk about incompatibilities

lethal ice
#

thank god

gaunt mesa
#

time to see if scoop got rich today

lethal ice
#

@gaunt mesa i didn't announce it on twitter yet because idk if it fixed everything

#

capperton

indigo peak
#

hello

solemn quiver
#

hello

high citrus
#

Huh why was this channel (and all other channels from this server) read only? Was it just me?

tepid olive
high citrus
tepid olive
#

no, but the server tends to be locked if there's too much spam from raids

high citrus
#

Ah that could be the case, but I saw other people chatting just fine

gaunt mesa
#

hello

high citrus
#

Hello

tepid olive
high citrus
#

Oh that makes sense

tepid olive
#

whitename developer moment

high citrus
#

technically it isn't a whitename

twilit jungle
#

fr it

high citrus
#

Does someone have any suggestions for (creating) a tweak name?

misty cradle
#

Xip opening so fast on m1

#

@high citrus wym create a tweak name

#

Tell me what it’s about and I’ll give a nice name trol

high citrus
#

just read my mind trol

misty cradle
#

I can’t read minds

#

At least not yet

#

I can know how people feel, that is not the same

twilit jungle
#

I can read minds, the name you are looking for is Leaker

wicked summit
#

Lite

#

Plus

#

X

#

S

#

Pro

tepid olive
#

reborn

high citrus
#

Okay, the tweak is a new Sonyfy (Noise cancelling controls native, but for other devices than Apple Airpods). My tweak Sonyfy only worked with Sony, but my new tweak works with almost all headphones (Sony, Bose, Soundcore, and maybe more in the future), it communicates directly with the headphones and thus doesn't need an app.

twilit jungle
#

HighFy

high citrus
#

My current name ideas exist of:
Sonyfy (released as an update, but would confuse all people with other brands)
AnyNC (descriptive, but not easily pronounceable)
Noice (notice the NC (Noise cancelling) silently being present in here, noice)
Noisy
Headphonify (descriptive, but a bit too long imo)

#

Not too bad, but not descriptive for people that don't speak Latin

misty cradle
#

they'll read the description

#

if they don't thats their fault

twilit jungle
#

good one

misty cradle
twilit jungle
misty cradle
#

just like i read hswidgets description everytime

twilit jungle
#

They only read description when its "an awesome mobilesubstrate tweak"

#

Anything else literally doesn't matter

misty cradle
#

true

high citrus
#

I might like this one the most, but not sure yet

twilit jungle
#

How is that more descriptive than Sonitus?

misty cradle
#

Sonitus sounds much better tbh

high citrus
#

Noise / Noice - almost same pronunciation

indigo peak
#

me personally i prefer sonitus

high citrus
#

hmm yeah, also doesn't look bad

twilit jungle
#

Noice is more of a meme

misty cradle
high citrus
#

yeah true

indigo peak
#

noice is the name of a meme tweak, not a practical tweak

#

like noice is the name of a tweak that replaces all occurrences of noise with noice systemwide

high citrus
misty cradle
#

hmm yes Auscultabulum

#

Sonus has been used already

high citrus
#

ah yeah my favorite tweak Auscultabulum, just have to study the name and pronunciation

#

Sonitus isn't bad, but isn't really easy to remember for everyone

misty cradle
#

yes it is....

high citrus
#

hmm

faint lionBOT
high citrus
#

[[Cephei]]

faint lionBOT
#
Cephei

Support library for tweaks

Author

HASHBANG Productions

Version

1.14

Price

Free

Repo
More Info
high citrus
#

hmm yeah, but if everyone is rewriting the same thing, that isn't great either

#

lol

#

I just started using it today

indigo peak
#

i somehow made a tweak in december using cephei and now i have no clue how to use it now

#

cephei is too complicated for my smooth brain

#

its really cool what you can do

#

but i just dont know how to implement it

#

all of my tweaks i make dont even have prefs

#

so its kinda useless trol

pearl sail
#

You are useless uninstall yourself

#

Apology not accepted

high citrus
#

Can I use PSListItemsController and allow multiple selections?

twilit jungle
#

can you?

twilit jungle
pearl sail
#

stepping on your mother's head

twilit jungle
high citrus
#

Should I remove 123 from my devname btw?

twilit jungle
#

wtf you are not the 123rd semvis?

misty cradle
silver rampart
#

yooooooo they added threads to discord

gentle grove
silver rampart
#

wait rly

#

did i misread the thing

twilit jungle
#

they did

#

its looks really weird

silver rampart
#

yeah it looks kinda hacked in

#

slack threads are good just copy them

#

discord threads are just like temp channels anyone can make

twilit jungle
#

Yup

restive ether
#

it sucks

#

just tickets with extra steps and they lied about discord.py/js already supporting threads

tepid olive
#

it's a useful concept but half assed

twilit jungle
#

Its saving the document

misty cradle
grim sparrow
#

Threads

atomic horizon
#

lmao

#

those are the kind of threads that mods should look out for removing

grim sparrow
#

I have admin in that server blind

atomic horizon
#

gfu

restive ether
#

threads have a pretty narrow use case

#

instead of doing things to the client everyone benefits from they just do stupid shit like this

high citrus
#

Anyone ever thought of the idea of putting tweaks in the Appstore? Like merged with the app results, and using the same ui. Repo management tab can replace the Arcade tab (bc who uses Arcade anyways)

restive ether
#

sounds horrible

indigo peak
#

my tweak idea now trol

indigo peak
high citrus
indigo peak
grim sparrow
indigo peak
#

and i think appstore uses swift so thats an entire other problem

grim sparrow
indigo peak
#

but im me

#

so it kinda doesnt go well

grim sparrow
#

It’s nearly no extra work to hook swift methods that inherit something

high citrus
grim sparrow
#

I.e UIKit things

indigo peak
#

well

#

isnt swift just like

grim sparrow
restive ether
#

you’re recreating the wheel

#

and not in a good way

grim sparrow
restive ether
#

real

indigo peak
#
%hook Cock
-(void)bruh {
  %orig;
}
%end 

%ctor {
  %init(Cock = objc_getClass("Appstore.ArcadeTab"))
}```
#

or smth like that

high citrus
indigo peak
#

semi decent idea, but would most likely 10billion percent have a bad execution

#

imo

tardy narwhal
high citrus
#

Yeah, but just replicate/copy Apple’s GUI

atomic horizon
#

is there anybody who could give me resources for getting started with ipa patching?

tardy narwhal
#

peep into theos jailed

high citrus
#

Yeah, I didn’t say it was easy

atomic horizon
twilit jungle
#

That sure sounds like a good way to get apple to support your tweaks for you

high citrus
twilit jungle
silver rampart
#

cydia came first

#

why not do the opposite

#

neither really make sense though

#

ppl shoving important tweak stuff in places it doesn't belong is kind of an issue already

high citrus
silver rampart
#

what happens when ur device is in safe mode

#

how do u uninstall a problematic tweak causing it

high citrus
#

It shouldn’t replace sileo, just optional

silver rampart
#

cant disable it bc tweak prefs are all injected into Settings.app for some reason, cant uninstall it bc that's injected into AppStore.app

twilit jungle
#

Yeah but you are assuming that it would crash, obviously we all write perfect code that would never crash.

twilit jungle
surreal mountain
#

instead of injecting into settings

silver rampart
#

've looked into it

#

should be easy to just yeet preference bundles from the same directory's they're normally in

surreal mountain
#

thats what i'm thinking

silver rampart
#

the new stuff ios 15 changes will force may make it possible for a kernel based jailbreak to make that change easily

#

someone might relay that to CS

surreal mountain
#

interesting

#

ive stopped doing tweaks though they were just

#

eh

#

stressful and not rewarding

silver rampart
#

agreed

surreal mountain
#

like yeah i can make money but

#

i just started doing freelance discord bots which are actually decently enjoyable

silver rampart
#

prefer to write tools to make the lives of currently suffering tweak devs easier

surreal mountain
#

and make me enough money

#

yes fair

silver rampart
surreal mountain
#

new project is an api to replace ipsw.me api

lethal kayak
#

reverse engineering got real tiring for me to do when I didn’t have much time on my hands

slender glade
lethal kayak
#

hours of doing stuff and so little to show for it

surreal mountain
silver rampart
slender glade
#

ipsw.me api is already good enough imo

surreal mountain
#

no

#

they don't update stuff often

silver rampart
#

but it supports dyldextractor + normal arm64 bins

surreal mountain
#

not often enough at least

#

mostly just firmware keys

#

so yeah

surreal mountain
lethal kayak
#

and they don’t provide beta signing status

surreal mountain
#

do you like using poetry @silver rampart

silver rampart
#

is that a python lib

lethal kayak
#

poetry is good

#

it’s a python package manager

surreal mountain
#

ohhh you havent used it

#

its like

silver rampart
#

oh no i use pip

tepid olive
silver rampart
#

i operate with zero dependencies where possible

surreal mountain
#

venv and stuff all combined into one

silver rampart
#

kdump has no deps

surreal mountain
#

nice nice

silver rampart
#

i just prefer very very minimal setup when working across multiple machines

tepid olive
#

poetry can still export a requirements.txt file so you can have the best of both worlds

surreal mountain
silver rampart
#

i can use this (actually fully wrote it) on a windows arm machine

lethal kayak
#

poetry is basically like npm (the manager not the site) for python

silver rampart
#

god bless java/microsoft and whoever compiled the arm64 build of python

lethal kayak
#

plus it adds venvs

surreal mountain
#

pip3 install poetry and then i can set up my venv, get all the packages installed and stuff all in like two commands

#

so its the same setujp on everyt machien

silver rampart
#

oh also the project name macho isn't taken on pypi

tepid olive
#

pip is pain because you either:

  • define only direct dependencies with no versions or just version ranges, and then not have a list of known working versions
  • define a list of all dependencies pinned to specific versions, and manually update them tediously
  • maintain two separate requirements.txt files manually which is even more pain
lethal kayak
#

nice

silver rampart
tepid olive
#

with poetry you define version ranges in pyproject.toml and it automatically generates a lockfile with fixed "known good" versions

silver rampart
#

bc where python/pip suffers is those specific things

#

you have to worry a lot about API versioning with pypi projects

tepid olive
#

and you just run one command and it updates everything to the latest version compatible with your constraints

silver rampart
#

that actually sounds really nice

surreal mountain
#

i know gir uses it

lethal kayak
#

gir uses

#

Yeah

#

Lol

tepid olive
#

and updates them in the lock file as well that you're also supposed to commit

silver rampart
#

im still learning about unit tests gonna take things slowly

tepid olive
#

poetry is a little buggy sometimes but it's far better than pipenv

silver rampart
#

kdump is the first project out of like hundreds i've written that has any tests whatsoever i'm proud

#

pypi is the standard

tepid olive
#

I used pipenv years ago and its default is to just throw a package = "*" into the Pipfile, i.e. no constraints at all

silver rampart
#

oy speaking of

tepid olive
#

you have to manually look up the latest version from pypi or Pipenv.lock if you want a sane constraint

silver rampart
#

can someone compile this as a fat binary

#

cflags are on line 3

tepid olive
#

meanwhile poetry add foo where foo is currently at 1.2.3 creates a constraint of foo = "^1.2.3" in pyproject.toml

#

which means >= 1.2.3 <2.0.0

#

you can also do ~1.2.3 which is >=1.2.3 <1.3.0 and more

silver rampart
#

macho library i'm writing should let me write ktool which is just gonna be a jtool replacement in python

#

bc cross platform and MIT licensed

surreal mountain
#

trueee

#

krit doing cool

pearl sail
#

Nix standard for iOS

surreal mountain
#

shit

#

so frustrating

#

so i just quit

silver rampart
#

after ios 14 i am quitting tweak dev permanently probs

#

i wanna do cool shit that sounds interesting not

surreal mountain
#

smart

silver rampart
#

generic layout manager that works #24

surreal mountain
#

lol

pearl sail
#

or whatever it is called

silver rampart
#

dragon is a build system

surreal mountain
#

homeplus

#

lol

silver rampart
#

like theos but faster and less stable

surreal mountain
#

dragon is cool

#

i like dragon

silver rampart
pearl sail
#

confused by what you meant

surreal mountain
#

lmfao

#

plus pro

silver rampart
#

but yeah ios 15 headers via my shitty prerelease tool eta son

#

just need to write fat support

#

then get ios 15 simulator up and running, yeet the private fws, and run the SDK builder in it

#

usable headers is gonna be a PITA bc structs exist but it's getting quite a bit closer

indigo peak
#

im not sure about the propr way but i would do it by putting a black rectangle on the ls

#

thats just how i would personally do it

haughty bear
#

the propr way

indigo peak
#

yes

#

propr

atomic horizon
#

is there anybody who knows a way to get intellisense on xcode or vscode for tweak development?

twilit jungle
#

How exactly would you expect intellisense to work for tweaks?

tepid olive
twilit jungle
primal perch
#

yeah just make sure you disable face id scanning 24/7 or whaever

#

battery drain as fuck

#

most aod tweaks dont

#

cc @restive ether

wicked summit
#

¿qué es AOD?

primal perch
#

always on dick

wicked summit
#

oh

#

that does drain battery

restive ether
#

literally nuked the battery

#

there’s only like two good AOD tweaks right now

tepid olive
#

Zero*

twilit jungle
#

Its funny how no one gives a fk until its really obvious... wonder how many tweaks are destroying battery slowly

restive ether
tepid olive
#

Think of how many dumbass drm techniques are probably running expensive checks every other minute

twilit jungle
tepid olive
restive ether
#

lmao

#

i’ve never heard anyone else have an issue with it

#

loss

tepid olive
#

I woke up and it went from 100-> 57

restive ether
#

🗿

tepid olive
#

That was with the power saving mode on in hyperion

restive ether
#

ask your friend paisseon

#

half and half they do actually have a peep reborn in their github, if that’s proper or not i do not know because i didn’t actually look

indigo peak
#

systemwide or in just one app

#

like just on homescreen and or lockscreen

#

but in like

#

settings it shows

gaunt mesa
#

unless u have way too much time on ur hands, dont' want to use logos, have no life, and want to waste time doing something that'll have like 0 benefit in the end because u should know like 90% of the things without intellisense anyways

#

¯_(ツ)_/¯

#

@twilit jungle can agree here kekw

twilit jungle
#

fr though I still don't understand how intellisense would work for tweaks

gaunt mesa
#

vscode already does that

twilit jungle
#

Thats not for tweaks though thats normal objc

gaunt mesa
#

it's more autocomplete than intellisense tho

gaunt mesa
atomic horizon
twilit jungle
#

And even then how can you expect your editor to know all the existing headers out there... even ones for apps?

gaunt mesa
#

well u would need to do include directories

#

i have autocomplete "to an extent" where it just knows wtf to do because i've pointed my include dir to my theos sdk

#

for apps and stuff u have to dump them urself anyways wfr

#

tldr, autocomplete is a waste of time if u have even 1/8th of a braincell

gusty pelican
twilit jungle
hardy glen
#

just create your own autocomplete using snippets fr

misty cradle
#

@rancid dome happy birthday big man

grim sparrow
#

@rancid dome happy birthday big man

#

@haughty bear happy birthday big man

gaunt mesa
#

@haughty bear happy birthday big man

#

@rancid dome happy birthday big man

#

they called C++ awesome

misty cradle
#

@haughty bear happy birthday big man

pearl sail
#

@rancid dome happy birthday big man

tepid olive
#

@Mohamed happy birthday big man

slender glade
soft spruce
#

Happy bday

tepid olive
#

@haughty bear happy birthday big woman

tepid olive
#

@haughty bear happy birthday big woman

twilit jungle
#

Even though name says otherwise, _simulateHomeButtonPress should be called for physical presses as well

gaunt mesa
#

who pinged me

tepid olive
#

@gaunt mesa

gaunt mesa
#

stop reproducing with monsters

misty cradle
#

check signe's source

#

on krits github

#

i hooked it there

indigo peak
#

me with anything

#

did you ever figure out how it hide the status bar on the springboard

#

so THATS why it wouldnt work

#

when i tried last night

#

i tried removing it from subview

#

and it would remove from all subviews

#

not just springboard

solemn quiver
#

the gods have spoken to me

primal perch
#

nobodys going to try to hack or impersonate your stupid color changing tweak

#

all my homies use unsigned repos

tepid olive
#

please sign them before she takes legal action

solemn quiver
#

lol

primal perch
#

F

pearl sail
ashen birch
pearl sail
cloud sundial
#

@misty cradle why are you like this

twilit jungle
cloud sundial
indigo peak
twilit jungle
#

nah

cloud sundial
#

It's still a possibility

twilit jungle
#

He hit the ceiling when he was raised

cloud sundial
#

He hit it then got dropped

#

Best of both worlds

#

Fr now uhh

twilit jungle
indigo peak
#
try:
  raise("Tr1")
exception:
  drop("Tr1")
#

tr1's childhood colorized

#

NameError: name 'false' is not defined

indigo peak
#

is there a better way to do this

#

like instead of having all the objc_getClass references in the same %init is there a more efficient way or smth

twilit jungle
#

Thats all happening at compile time so efficient doesn't matter

#

And also that

indigo peak
#

well when i delete it

#

nothing happens

indigo peak
#

i shall try that

#

yeah yeah that makes sense

#

well

#

%init works

#

thanks

#

ive been using the normal class names

#

because back when i first started working on this tweak

#

i didnt know you could rename the hook

#

if you used objc_getClass

#

so i used the default class names

#

and now i can do %init

#

thanks

#

oh

#

uh

#

fiore has left the chat

#

one of my old teachers got on the news for tax evasion

#

fun times

#

@high citrus i just saw this 2 months later

#

thanks for the promo <3

wicked summit
#

gm

indigo peak
#

gm

tepid olive
#

gm

primal perch
indigo peak
#

something wrong with that

#

all i want to do is make open source game pigeon hax

primal perch
#

@flat thunder happy birthday big man

tepid olive
#

@flat thunder happy birthday big man

primal perch
#

i hate hayden

#

use zig

tepid olive
#

I hope its a blessed zig day

primal perch
#

TRUE

tepid olive
#

General-purpose programming language and toolchain
Zig is a general-purpose programming language and toolchain for maintaining
robust, optimal, and reusable software.
.
This package contains the Zig executable (zig) as well as the Zig
language reference in HTML format.

primal perch
#

installing zig rn

#

so i can finally get some safe programs

#

with using (c)rust

tepid olive
#

Thank goodness zig invented robust and reusable software

#

Before zig i had to delete my software every run

primal perch
#

yea thanks to c

#

holy shit

#

terrible stuff

tepid olive
#

Rewrite springboard in zig

primal perch
#

yeah i lied its a shit lang

#

356KB hello world

#
const std = @import("std");

pub fn main() !void {
    const stdout = std.io.getStdOut().writer();
    try stdout.print("poop, {s}!\n", .{"world"});
}```
#

i love writing all this to print

tepid olive
#

Bro its sade

#

Safe

primal perch
#

hm

#

i guess the tradeoff is worth it

#

for safe code

#

this shit makes rust look mature

#

which is impressive

twilit jungle
#

try stdout wtf

primal perch
#

what if it fails bro

twilit jungle
#

Then let it crash...

primal perch
#

wtf

#

unsafe

twilit jungle
#

Its safe

primal perch
#

its not safe

#

kernel could crash

#

by handling exception wrong

twilit jungle
#

remove the exception

primal perch
#

that requires modding kernel

#

unsfae

twilit jungle
tepid olive
#

so sexy

#

%%

twilit jungle
primal perch
#

fr

#

makes rust look good

#
fn main() {
  println!("cock and ball torture");
}```
tepid olive
#

println!

primal perch
#

yeah they really using a macro for it

#

suboptimal

#

you cant beat the printf though

tepid olive
#

i mean honestly? shell got it the best

#

echo hello world

primal perch
#

my homies using swift

tepid olive
#

an empty program in Stuck will output Hello, World!

primal perch
#

good lang

#

me reading zig docs

#

Maintainable - precisely communicate intent to the compiler and other programmers. The language imposes a low overhead to reading code and is resilient to changing requirements and environments.

#

low overhead to reading codelow overhead to reading codelow overhead to reading codelow overhead to reading code

#

bruh you literally have %% everywhere shut the fuck up

#

pub fn main() -> %void

#

how

#

pubic

tepid olive
#

My ipad reseeted and i tried to setup terminal again but it gives me thaat error can someone help

tepid olive
#

Can you send me ios 11.2 sdk

#

There isnt 11.2 sdk at. Github

#

İ wanna usneit

#

Use it

#

i just need it

#

Yea

#

But cant tell

pearl sail
primal perch
#

for game hax bro

pearl sail
#

Yeah

primal perch
#

we do a little styx

#

and dyx

tepid olive
#

i used the sdk which theos gives me 11.4 but it still gives error

#

theos installer automaticly generated ios 11.4 sdk so it cant be wrong

#

@grave sparrow

#

there is vector and string files are missing

#

Someone should give it to me

#

i think*

primal perch
#

you just need rust

#

install rust from procursus

tepid olive
primal perch
#

rust

#

the package on procursus

tepid olive
#

i did

#

i delete if you saw

#

No way!

#

i dont

#

Pff

#

it looks none has enough info at here thanks for time

gusty pelican
#

Trying to set up a tweak environment on Linux, when I go to compile it says

Makefile:11: /tweak.mk: No such file or directory
make: *** No rule to make target '/tweak.mk'.  Stop.

I have $THEOS set to my $HOME/theos

#

I'm using fish which doesn't use exports in the config, it uses set THEOS $HOME/theos to set the shell variable. Also, fish doesn't support the $ usage to run a command, do I need to remove those references in the makefile?

#

Yeah it's just /home/dylanbolger/theos

#

I mean

#

It let me use nic.pl

#

I copied the toolchain over afaik

#

And the SDK

#

Right

#

Does nic.pl generate that file by default? or where is it normally

#

What directory

#

Yeah I blame fish

#

Tried echoing the reference in the Makefile

#

Made my own reference to /home/.../theos/makefiles in my fish config

#

@grave sparrow Can i make the makefile use like sh or bash

#

Kk

#

That didn't work

#

Fuck

#

@lime pivot I see a comment about this from 2019 on the repo, do you have any ideas?

primal perch
#

proof windows is superior

gusty pelican
#

god no

primal perch
gusty pelican
#

so for now I guess I'll hardcode in the paths

lime pivot
#

if you run it from bash, does it work?

gusty pelican
#

I added SHELL = /bin/bash, supposedly the default is /bin/sh but neither seemed to work

lime pivot
#

it’s overridden to bash by Theos anyway

#

can you run bash -i and then make from there?

#

I’d imagine it should make no difference but worth a try

gusty pelican
lime pivot
#

I can't guarantee much about arch but I still see no reason why it wouldn't work

primal perch
#

arch linux imfuckingdone

gusty pelican
#

i think its due to fish

lime pivot
#

it should be using /bin/sh

#

maybe you need to install dash? is there something at /bin/sh already, and is that thing possibly fish?

lime pivot
#

what in hell

#

there's like no reason that shouldn't work then

#

I'm trying this on macOS but I set my default shell to fish, still can't break it myself

#

and I'm sure @gaunt mesa would have yelled at me if it were broken on macOS lmao

gusty pelican
#

@lime pivot why is there $(THEOS)/makefiles/ and $(THEOS_MAKE_PATH)

lime pivot
#

it's just always been that way, no particular reason why

#

THEOS_MAKE_PATH is the same as $(THEOS)/makefiles

flat thunder
#

Thanks!

#

@primal perch @tepid olive @vivid dew thank you

grim sparrow
#

@tacit spade happy birthday big man

tacit spade
#

TYSM!

#

TY!

indigo peak
#

@tacit spade happy birthday big man

tacit spade
#

tysm

indigo peak
#

@flat thunder bappy hirthday big woman

grim sparrow
#

lmao

flat thunder
haughty bear
#

@haughty bear happy birthday bro! yk how we rock and you always been there for me, so live it up today bro!!

tepid olive
#

loser

turbid bobcat
#

Anyone know what “ChinaBrick” key means ?

indigo peak
#

this is very unsettling

indigo peak
#

whyu is it so smol

haughty bear
atomic horizon
#

Hello, I am trying to use theos-jailed to patch an ipa but I ran into a problem that the patched ipa crashes when I open it (just an empty tweak without any hooks), the original ipa file is working for the app and yes I am using a decrypted ipa. Does anybody know what could be causing this to happen?

tepid olive
#

also check syslog

primal perch
twilit jungle
indigo peak
tepid olive
#

Zig programs cant crash

#

@rancid dome happy birthday big man

haughty bear
#

@rancid dome happy birthday big wo-man

atomic horizon
#

Yes, but im using appsync too

#

Imma check

#

Cant rn

#

But will in 1 hour

heavy kernel
#

@grave sparrow hola

#

ur good with C right

#

attempting to do some file reading/writing and it's pain

#

in an ini file

#

gotta make it change NDS_PATH and SAV_PATH to something else

grim sparrow
turbid bobcat
#

Can you get the devices udid via COM port when it’s in recovery ?

heavy kernel
#

code example

#
int editNDSBSini(string name) {
    FILE *fp = fopen("sd:/_nds/nds-bootstrap.ini", "r+");

    if (fp == NULL) return 0;

    int ndsPathLine = findLine(fp, fileSize, "NDS_PATH", 8);
    int ndsPathLine = findLine(fp, fileSize, "SAV_PATH", 8);

    if ((ndsPathLine < 0) || (ndsPathLine < 0)) return 0;

    fclose(fp);

    return 1;
}

int findLine(FILE *fp, char *str, int size) {
    int count = 0;
    char buff[256];
    while(fgets(buff, sizeof(buff), fp) != NULL) {
        char s[size];
        strcpy(s, buff);
        if (strcmp(s, str) == 0) break;
        else count++;

        if (count > 128) return -1;
    }

    return count;
}
#

my approach right now is

#
  1. find the line where NDS_PATH is on
#
  1. overwrite that line with NDS_PATH = sd:/path/to/rom.nds
#

so i have a function there to find the line its on

#

but idk how to overwrite the line

grim sparrow
#

fr

indigo peak
#

@heavy kernel what you could try doing is write a function that rewrites the entire file by copying the contents of the orig file to a new file and modify the lines as you rewrite

#

thats how i would do it

heavy kernel
#

i wanted to avoid doing that

indigo peak
atomic horizon
#

would u mind showing me how can I see the crash log?

#

like where do I look

#

is that a tweak?

#

after further investigation on google

#

it is a tweak

#

rebooting my device

heavy kernel
#

storing every line to an array

twilit jungle
#

The only way you can avoid rewriting entire file is if the number of bytes that you want to write is the same as the existing bytes

#

Otherwise you need to shift everything after what you overwrote.

high citrus
#

Why are the Twitter avatars not loading, was busy testing my own tweak when suddenly the Twitter avatar disappeared, but also from the Cephei Demo. I do have internet btw, and the twitter acc that the cell is linking to exists

primal perch
#

@heavy kernel this is wii u home brew i assume?

#

if you can just use c++ standard libraries use that

atomic horizon
#

no logs on the tweak, must be a signing issue or something

grim sparrow
#

Check the log in console

indigo peak
indigo peak
indigo peak
atomic horizon
grim sparrow
#

Open Console

#

Console.app

atomic horizon
#

:tom:

high citrus
atomic horizon
#

ok

indigo peak
high citrus
indigo peak
#

thanks!

heavy kernel
#

cuz why not

indigo peak
grim sparrow
#

Fr

#

Emma

indigo peak
#

is it gonna be a general file manipulation class or an ini file specific

grim sparrow
#

Should I make the Amiibo decoder or fix the chip logs

heavy kernel
#

fish and chip logs

grim sparrow
#

True

heavy kernel
indigo peak
#

ahh

grim sparrow
#

Technically speaking Amiibo emulation is possible but I haven’t tried it yet blind

#

From a raw hardware perspective it is but I don’t know how much nfcd is gonna like it

atomic horizon
#

here's the log

#
default    18:31:45.902020-0300    ReportCrash    Process:             AmongUs [1651]
Path:                /private/var/containers/Bundle/Application/F8F3E3AB-9CBD-4359-B8E2-FA573B397539/AmongUs.app/AmongUs
OS Version:          iPhone OS 13.5 (17F75)
default    18:31:45.903980-0300    ReportCrash    Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Description: DYLD, Library not loaded: @rpath/sussycord.dylib | Referenced from: /private/var/containers/Bundle/Application/F8F3E3AB-9CBD-4359-B8E2-FA573B397539/AmongUs.app/AmongUs | Reason: no suitable image found.  Did find: | /private/var/containers/Bundle/Application/F8F3E3AB-9CBD-4359-B8E2-FA573B397539/AmongUs.app/Frameworks/sussycord.dylib: code signature invalid for '/private/var/containers/Bundle/Application/F8F3E3AB-9CBD-4359-B8E2-FA573B397539/AmongUs.app/Frameworks/sussycord.dylib'
Triggered by Thread:  0
default    18:31:45.904040-0300    ReportCrash    Thread 0 Crashed:
0   dyld                              0x0000000102fdcf30 0x102f8c000 + 331568
1   dyld                              0x0000000102fe466c 0x102f8c000 + 362092
2   dyld                              0x0000000102fe46a0 0x102f8c000 + 362144
3   dyld                              0x0000000102fe1354 0x102f8c000 + 349012
4   dyld                              0x0000000102f9350c 0x102f8c000 + 29964
5   dyld                              0x0000000102f8d22c 0x102f8c000 + 4652
6   dyld                              0x0000000102f8d038 0x102f8c000 + 4152
#
default    18:31:45.904221-0300    ReportCrash    Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000006   x1: 0x0000000000000005   x2: 0x000000016d002bd0   x3: 0x000000000000008f
    x4: 0x000000016d0027d0   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x0000000000000020   x9: 0x0000000000000009  x10: 0x6f77656d6172462f  x11: 0x737375732f736b72
   x12: 0x656d6172462f7070  x13: 0x75732f736b726f77  x14: 0x2e64726f63797373  x15: 0x000a2762696c7964
   x16: 0x0000000000000209  x17: 0x0000000102fd7510  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x000000016d0027d0  x21: 0x000000000000008f  x22: 0x000000016d002bd0  x23: 0x0000000000000005
   x24: 0x0000000000000006  x25: 0x0000000102ffc000  x26: 0x0000000102ffc000  x27: 0x0000000102ffc000
   x28: 0x0000000000000001   fp: 0x000000016d0027a0   lr: 0x0000000102fe466c
    sp: 0x000000016d002760   pc: 0x0000000102fdcf30 cpsr: 0x00000000
   esr: 0x56000080  Address size fault
#

it has something to do with my tweak lib

grim sparrow
#

sussycord

#

Lmao

atomic horizon
#

(name is kinda trash)

twilit jungle
atomic horizon
#

not much imagination for the name as this is just a test project so I can get everything working

high citrus
#

Anybody tips for improving this any further?

grim sparrow
#

Put credits below the actual settings

twilit jungle
#

Credits before usually mean the rest of the content is bad.

high citrus
indigo peak
#

why can i not open the cephei demo entry.plist file in any editor

grim sparrow
#

Does the file exist

indigo peak
#

yes

grim sparrow
#

Have you tried opening it

indigo peak
#

i have tried

#

and it does like

#

a binary error

twilit jungle
indigo peak
#

in vscode and notepad

#

idk about cat tho

restive ether
#

does the header have a stroke when opening the preferences like half the tweaks i see

twilit jungle
#

Actually disregard that, looks like that is a separate issue

indigo peak
twilit jungle
#

Your crash is because of code signature

#

Is your dylib signed?

atomic horizon
high citrus
grim sparrow
atomic horizon
#

imma send my makefile

#
ARCHS = arm64 arm64e

MODULES = jailed
include $(THEOS)/makefiles/common.mk

TWEAK_NAME = sussycord
DISPLAY_NAME = Mogus?
BUNDLE_ID = com.funnynumber.sussycord

sussycord_FILES = Tweak.xm
sussycord_IPA = $(HOME)/dev/ios/sussycord/AmongUs.ipa

include $(THEOS_MAKE_PATH)/tweak.mk
tardy narwhal
#

sussycord
I hope you attain a wonderful paper cut between the fingers on your dominant hand

atomic horizon
#

today

#

my finger hurts

#

when I type

#

today is a very cold day

indigo peak
#

whats the difference between #include and #import

high citrus
indigo peak
#

ah

#

makes sense

tardy narwhal
high citrus
#

but now it kinda looks weird (spacing around respring probably)

indigo peak
#

maybe add a footer

#

that says like

#

respring requred for changes to take effect

#

or smth like that

twilit jungle
atomic horizon
#

kay

primal perch
#

use google people

lethal ice
#

gm

primal perch
#

gm

lethal ice
#

fiending to write a new paid tweak rn

high citrus
lethal ice
#

brand new

indigo peak
primal perch
#

when we making paid game pigeon hacks

lethal ice
#

no i just like money

primal perch
#

tru

lethal ice
#

never

primal perch
#

f

indigo peak
twilit jungle
lethal ice
#

bro thats long term

#

i want instant gratification

primal perch
#

true tho

twilit jungle
#

Yeah but like the other F[redacted]

lethal ice
#

oh

#

atfer first F[redacted]

#

too much work

high citrus
tardy narwhal
twilit jungle
tardy narwhal
#

ez cash

lethal ice
#

lmao tru

primal perch
#

oh the other F[redacted]

twilit jungle
#

Like the homescreen

lethal ice
#

yea rip

primal perch
#

yea that got cancelled

lethal ice
#

lmao

primal perch
tardy narwhal
lethal ice
#

bro when NextGenUI14???

tardy narwhal
#

if your UI number doesn’t start with a 9 you are not a 10x engineer

twilit jungle
lethal ice
#

f

high citrus
twilit jungle
#

Only like most of the tweaks

indigo peak
#

@high citrus put thje respring in the title area

lethal ice
#

oh yea i submitted sex 1.5.0

#

gotta wait until 5 am

twilit jungle
#

F

high citrus
#

hmm I will just remove it I guess

twilit jungle
#

Now also remove the enable switch

indigo peak
#

just remove the tweak fr

twilit jungle
#

And add a automatic way of detecting headphones

lethal ice
#

true

twilit jungle
#

And fk sony users

#

they don't need special treatment

indigo peak
high citrus
twilit jungle
high citrus
twilit jungle
#

I stand by my words, they don't need special treatment

high citrus
#

Well then I would need to add automatically detection of wind reduction support

twilit jungle
#

Why would anyone not want that?

high citrus
#

Because if the headphones don’t support it, the protocol (hex values) changes. And that would break the regular functionality. And visa versa

tardy narwhal
twilit jungle
twilit jungle
high citrus
twilit jungle
#

Okay, not my tweak but this is the kind of shit that I wouldn't have a preference option because its not really an option

#

Suggestion, since you have automatic headphone detection. Maybe only show the Sony options if the user has sony headphones connected?

high citrus
#

Well, I could ask the headphones if they support it, but that would cause an extra delay, and would require me to correctly receive data.

twilit jungle
#

Sounds like something that should be available through the protocol

indigo peak
#

COCK

high citrus
#

Btw feel free to overengineer some two way communication solution for this problem, as this tweak will be open source soon

indigo peak
#

anyone know why cephei prefs arent working

#

i have cephei installed

twilit jungle
#

Its not feeling it today

indigo peak
#

and i linked Cephei in my makefile and i linked CepheiPrefs in my bundle makefile

indigo peak
twilit jungle
#

I think it needs a few months to cope and recover

indigo peak
high citrus
indigo peak
#

i did that too

#

and still nothign

#

bundle prefs ^

high citrus
indigo peak
#

tweak make ^

heavy kernel
#

nah i got it

#

thanks

indigo peak
#

or work

#

they just dont

high citrus
#

Does the demo work?

indigo peak
#

yes

#

wait i just went off of the bundle

#

and went back

#

and it worked

twilit jungle
indigo peak
#

i guess it really wasnt feeling at that moment @twilit jungle

#

wait

#

now its gone

high citrus
#

You just had to ask it nicely

twilit jungle
indigo peak
#

rebooting userspace

#

ok rebooting userspace did nothign

high citrus
#

make clean package

indigo peak
#

make clean package worked

#

ty

twilit jungle
high citrus
#

Sometimes you just have to clean the packages with some soap 🧼 because they can get dirty after the compiler tries to read your horror code

indigo peak
#

ahhh makes sense

#

ive only tried asking nicely

#

ive never actually cleaned the packages before

#

this is how covid affects programming

high citrus
#

It fixes all of the random errors

indigo peak
#

mhm

#

well thanks anyways

#

i was legit about to punch something

high citrus
#

You can also use make clean do, to automatically install it btw

raw solar
indigo peak
indigo peak
#

Help

#

Again

#

With cephei

#

I did the link button thing

#

And it doesn’t open a page

lime pivot
#

your view controller needs to be a subclass of HBListController for that to work

indigo peak
#

Oooohhhhh thanks

#

That would explain a lot

#

Thanks

restive ether
#

look it’s the cephei guy

indigo peak
#

It’s that one guy

#

That did that one thing

#

That happens to be real

restive ether
#

it’s time for cephei 2.0

indigo peak
#

can i have opinions on this color

ashen birch
#

too pale imo

indigo peak
#

so make it slightly darker?

twilit jungle
#

Make it green

primal perch
#

we do a little twerking

#

true

#

green

indigo peak
#

like how dark

#

or how light

primal perch
#

00ff00